/**
 * AutoClipper Landing Page Styles
 * ================================
 * 
 * Styles specific to the landing page.
 */

@import url('../shared/variables.css');

/* ============================================
   PAGE LAYOUT
   ============================================ */

body {
    font-family: var(--font-family-primary);
    background: var(--gradient-bg-main);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

/* ============================================
   ANIMATED BACKGROUND PARTICLES
   ============================================ */

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-100px) translateX(50px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-200px) translateX(-50px) scale(0.9);
        opacity: 0.3;
    }
    75% {
        transform: translateY(-100px) translateX(100px) scale(1.2);
        opacity: 0.4;
    }
}

/* ============================================
   CONTAINER & ANIMATIONS
   ============================================ */

.landing-container {
    text-align: center;
    z-index: 1;
    max-width: 1000px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 25px 80px var(--color-primary-alpha-40);
        transform: scale(1.02);
    }
}

/* ============================================
   LOGO SECTION
   ============================================ */

.logo-container {
    margin-bottom: 2rem;
    animation: fadeInScale 1s ease-out 0.2s both;
}

.logo-circle {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    animation: pulse 3s ease-in-out infinite;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: 0.5rem;
    color: var(--color-white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeIn 1s ease-out 0.4s both;
}

.tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 1rem;
    font-weight: var(--font-weight-normal);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeIn 1s ease-out 0.6s both;
}

.description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    line-height: var(--line-height-loose);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.8s both;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 1s both;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-slow);
}

.feature:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature i {
    font-size: 2.5rem;
    color: var(--color-accent-gold);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.feature h3 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-white);
    margin-bottom: 0.3rem;
}

.feature p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: var(--line-height-normal);
}

/* ============================================
   STATISTICS
   ============================================ */

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 1.2s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: var(--font-weight-bold);
    color: var(--color-accent-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   CALL TO ACTION BUTTONS
   ============================================ */

.cta-container {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1.4s both;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-secondary);
    background: linear-gradient(135deg, var(--color-white), #c8dade);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-slow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #f0f0f0, var(--color-white));
    text-decoration: none;
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button i {
    font-size: 1.3rem;
    transition: transform var(--transition-slow);
}

.cta-button:hover i {
    transform: translateX(5px);
}

/* ============================================
   TECHNOLOGY STACK
   ============================================ */

.tech-stack {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
    animation: fadeIn 1s ease-out 1.6s both;
}

.tech-stack h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: var(--color-white);
}

.tech-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.tech-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform var(--transition-slow);
}

.tech-icon:hover {
    transform: scale(1.1);
}

.tech-icon i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.tech-icon span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: var(--font-weight-medium);
}

/* ============================================
   FOOTER
   ============================================ */

.landing-footer {
    position: absolute;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out 1.8s both;
}

.landing-footer a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: color var(--transition-slow);
}

.landing-footer a:hover {
    color: var(--color-accent-gold);
}

/* ============================================
   MODAL
   ============================================ */

.modal {
    display: none;
    position: fixed;
    z-index: var(--z-modal);
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    animation: fadeIn var(--transition-slow);
}

.modal-content {
    position: relative;
    margin: 5% auto;
    max-width: 800px;
    padding: 2rem;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    transition: color var(--transition-slow);
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--color-accent-gold);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .brand-name {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .logo-circle {
        width: 140px;
        height: 140px;
    }

    .logo-circle i {
        font-size: 4rem;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }

    .landing-container {
        padding: 1rem;
    }

    .tech-icons {
        gap: 1.5rem;
    }

    .tech-icon i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .brand-name {
        font-size: 2rem;
    }

    .features {
        gap: 0.8rem;
    }
}

