:root {
    --primary: #AF52DE;
    --primary-light: #F3E5F5;
    --bg-cream: #FDF8F1;
    --text-dark: #1A1A1A;
    --text-gray: #4A4A4A;
    --white: #FFFFFF;
    --radius-lg: 32px;
    --radius-md: 16px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.03);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.mono {
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(254, 248, 241, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(230, 108, 21, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: #FF7B20;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 108, 21, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 18px;
}

/* Hero Section */
.hero {
    padding: 200px 0 100px;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    display: inline-block;
}

.hero h1 {
    font-size: 72px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

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

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Stacked Cards Section */
.stacked-cards {
    padding: 100px 0;
    position: relative;
}

.card {
    position: sticky;
    top: 100px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 80px;
    margin-bottom: 120px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(0, 0, 0, 0.03);
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1), opacity 0.8s ease;
    opacity: 0;
    transform: translateY(50px) scale(0.95);
}

.card.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.card-1 { background-color: #FFFFFF; z-index: 1; }
.card-2 { background-color: #F8F4FF; z-index: 2; top: 120px; }
.card-3 { background-color: #F1E9FF; z-index: 3; top: 140px; }
.card-4 { background-color: #E9DFFF; z-index: 4; top: 160px; }
.card-5 { background-color: #E2D5FF; z-index: 5; top: 180px; }
.card-6 { background-color: #DBCBFF; z-index: 6; top: 200px; }
.card-7 { background-color: #D4C1FF; z-index: 7; top: 220px; }
.card-8 { background-color: #CDB7FF; z-index: 8; top: 240px; }
.card-9 { background-color: #C6ADFF; z-index: 9; top: 260px; }

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.card-info {
    flex: 1;
}

.card-info h2 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
    opacity: 0.8;
}

.card-info p {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-dark);
    letter-spacing: -1.5px;
}

/* About Section */
.about {
    padding: 120px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 80px;
    letter-spacing: -1.5px;
}

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

.about-item {
    background: #F8F4FF;
    padding: 48px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(175, 82, 222, 0.05);
}

.about-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(175, 82, 222, 0.04);
}

.about-icon {
    font-size: 40px;
    margin-bottom: 24px;
}

.about-item h3 {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 700;
}

.about-item p {
    color: var(--text-gray);
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-card {
    background: linear-gradient(135deg, var(--primary) 0%, #E040FB 100%);
    border-radius: var(--radius-lg);
    padding: 80px 40px;
    text-align: center;
    color: var(--white);
    box-shadow: 0 40px 100px rgba(175, 82, 222, 0.2);
}

.cta-card h2 {
    font-size: 48px;
    margin-bottom: 24px;
    font-weight: 800;
}

.cta-card p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-card .btn-primary {
    background: var(--white);
    color: var(--primary);
}

.cta-card .btn-primary:hover {
    background: #FFF9F2;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Footer */
.footer {
    padding: 100px 0 40px;
    background: var(--bg-cream);
    border-top: 1px solid rgba(230, 108, 21, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 12px;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.link-group h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.link-group a {
    display: block;
    text-decoration: none;
    color: var(--text-gray);
    margin-bottom: 12px;
    transition: var(--transition);
}

.link-group a:hover {
    color: var(--primary);
}

/* FAQ Section */
.faq-section {
    padding: 120px 0;
    background: var(--white);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(175, 82, 222, 0.1);
    background: #FDFBFF;
    border-radius: 16px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    background: #F8F4FF;
}

.faq-question {
    width: 100%;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    font-family: 'Outfit', sans-serif;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 32px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding-bottom: 32px;
}

.faq-answer p {
    color: var(--text-gray);
    font-size: 16px;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 { font-size: 56px; }
    .card { padding: 60px 40px; }
    .card-content { gap: 40px; }
    .card-info p { font-size: 32px; }
    .about-grid { grid-template-columns: 1fr; }
    .footer-top { flex-direction: column; gap: 40px; }
}

@media (max-width: 768px) {
    .navbar { padding: 16px 0; }
    .nav-links { display: none; }
    .hero { padding: 160px 0 80px; }
    .hero h1 { font-size: 42px; }
    .hero-btns { flex-direction: column; width: 100%; max-width: 320px; margin: 0 auto; }
    
    .card { 
        padding: 40px 24px; 
        min-height: auto;
        position: relative; /* Remove sticky on mobile for better flow if needed, or keep it */
        top: 0 !important;
        margin-bottom: 40px;
    }

    .card-content { 
        flex-direction: column !important; 
        text-align: center;
        gap: 32px;
    }

    .card-info p { font-size: 26px; }
    
    .card-image {
        height: 320px;
        width: 100%;
    }

    .cta-card h2 { font-size: 32px; }
    .about-item { padding: 32px; }
}
