/* =============================================
   MAGIC GLASSES - EXACT COPY
   ============================================= */

:root {
    --bg-primary: #f8f9fa;
    --bg-white: #ffffff;
    --text-primary: #000000;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    
    /* Gradient - Pink to Purple */
    --gradient-primary: linear-gradient(90deg, #ec4899 0%, #8b5cf6 100%);
    --gradient-text: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    
    --pink-primary: #ec4899;
    --purple-primary: #a855f7;
    
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 32px;
}

/* =============================================
   HEADER
   ============================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-img {
    width: 40px;
    height: 40px;
}

.logo-text {
    color: var(--text-primary);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(236, 72, 153, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    border-color: var(--pink-primary);
}

.btn-header {
    padding: 10px 28px;
    font-size: 0.95rem;
}

.btn-hero {
    padding: 18px 48px;
    font-size: 1.15rem;
}

.btn-pricing {
    width: 100%;
    padding: 16px;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}


.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 28px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-gradient {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    margin-bottom: 40px;
    padding-top: 20px;
}

.preview-img {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    height: auto;
}

/* =============================================
   FEATURES SECTION
   ============================================= */
.features {
    padding: 120px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.feature-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-primary);
}

.how-it-works .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.step-card {
    text-align: center;
}

.step-number {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    box-shadow: 0 8px 30px rgba(236, 72, 153, 0.3);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
    padding: 120px 0;
    background: white;
}

.pricing .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border-color: var(--purple-primary);
    box-shadow: 0 10px 40px rgba(168, 85, 247, 0.15);
}

.pricing-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 24px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-name {
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 12px;
    color: var(--text-primary);
}

.pricing-price {
    margin-bottom: 40px;
}

.pricing-price .price {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-features {
    text-align: left;
    margin-bottom: 40px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

.check-icon {
    width: 22px;
    height: 22px;
    color: var(--purple-primary);
    flex-shrink: 0;
}

/* =============================================
   FAQ
   ============================================= */
.faq {
    padding: 120px 0 150px;
    background: var(--bg-primary);
}

.faq .section-title {
    text-align: center;
    margin-bottom: 80px;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--purple-primary);
}

.faq-toggle {
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--purple-primary);
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 28px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: 50px 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Initial state for scroll animations */
.feature-card,
.step-card,
.pricing-card,
.faq-item {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.visible,
.step-card.visible,
.pricing-card.visible,
.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hero animations */
.hero-image,
.hero-title,
.hero-description,
.hero .btn {
    animation: fadeInUp 0.6s ease both;
}

.hero-image { animation-delay: 0s; }
.hero-title { animation-delay: 0.1s; }
.hero-description { animation-delay: 0.2s; }
.hero .btn { animation-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-image {
        margin-top: 50px;
    }
    
    .preview-img {
        max-width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features,
    .how-it-works,
    .pricing,
    .faq {
        padding: 80px 0;
    }
    
    .feature-card,
    .step-card,
    .pricing-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .btn-hero {
        padding: 14px 32px;
        font-size: 1rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    .pricing-price .price {
        font-size: 2.75rem;
    }
}
