/* StellarWave – Cosmic Celestial Design System */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Luminous cosmic palette – white, starlight, infinity */
    --stellar-white: #FFFFFF;
    --cosmos-light: #F8FAFC;
    --starlight: #F1F5F9;
    --twilight: #E2E8F0;
    --silver-mist: #CBD5E1;
    --nebula: #94A3B8;
    --constellation: #64748B;
    --midnight-soft: #334155;
    --void: #0F172A;

    /* Accent – star gold & celestial blue */
    --star-gold: #EAB308;
    --star-gold-soft: #FEF3C7;
    --celestial: #0EA5E9;
    --celestial-soft: #E0F2FE;
    --aurora: #06B6D4;
    --aurora-soft: #CFFAFE;

    /* Legacy compatibility mapping */
    --primary: var(--celestial);
    --primary-dark: #0284C7;
    --primary-light: var(--celestial-soft);
    --secondary: var(--aurora);
    --accent: var(--star-gold);
    --success: #22C55E;

    --white: var(--stellar-white);
    --gray-50: var(--cosmos-light);
    --gray-100: var(--starlight);
    --gray-200: var(--twilight);
    --gray-300: var(--silver-mist);
    --gray-600: var(--constellation);
    --gray-700: var(--midnight-soft);
    --gray-900: var(--void);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;

    /* Shadows – soft, luminous */
    --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-md: 0 4px 14px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 10px 40px -10px rgba(15, 23, 42, 0.12), 0 4px 12px -4px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 50px -15px rgba(15, 23, 42, 0.15);
    --shadow-glow: 0 0 40px rgba(14, 165, 233, 0.08);

    /* Typography */
    --font-primary: 'Cormorant Garamond', 'Georgia', serif;
    --font-secondary: 'Outfit', 'Inter', sans-serif;
}

body {
    font-family: var(--font-secondary);
    color: var(--midnight-soft);
    background-color: var(--stellar-white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header – clean, luminous */
.header {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
}

.logo {
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: linear-gradient(135deg, var(--void) 0%, var(--celestial) 50%, var(--star-gold) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: var(--space-xl);
}

.nav-link {
    color: var(--constellation);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--celestial);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--celestial), var(--star-gold));
    border-radius: var(--radius-full);
}

/* Hero – cosmic, aspirational */
.hero {
    background: linear-gradient(165deg, var(--cosmos-light) 0%, var(--stellar-white) 40%, var(--celestial-soft) 100%);
    padding: var(--space-3xl) 0;
    min-height: 640px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.06) 0%, transparent 65%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 179, 8, 0.04) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--void);
    margin-bottom: var(--space-md);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--constellation);
    margin-bottom: var(--space-xl);
    font-weight: 400;
    max-width: 560px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: var(--font-secondary);
    font-size: 0.9375rem;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: linear-gradient(135deg, var(--celestial), var(--primary-dark));
    color: var(--stellar-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.0625rem;
}

.btn-full {
    width: 100%;
}

/* Sections */
.section {
    padding: var(--space-3xl) 0;
}

.section-alt {
    background: linear-gradient(180deg, var(--cosmos-light) 0%, var(--stellar-white) 100%);
}

.section-title {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--void);
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--constellation);
    margin-bottom: var(--space-xl);
}

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

/* Grid */
.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Cards – premium, luminous */
.card {
    background: var(--stellar-white);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.35s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(14, 165, 233, 0.15);
}

.card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--celestial-soft), var(--aurora-soft));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-md);
}

.card-icon svg {
    color: var(--celestial);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--void);
    margin-bottom: var(--space-sm);
}

.card-text {
    color: var(--constellation);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.card-image-placeholder {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: var(--space-md);
    opacity: 0.9;
}

/* Product showcase */
.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--space-2xl);
    align-items: start;
}

.product-image-container {
    position: sticky;
    top: 120px;
}

.product-image {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.product-title {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 600;
    color: var(--void);
}

.product-subtitle {
    color: var(--constellation);
    font-size: 1rem;
}

.product-description p,
.product-benefits ul {
    color: var(--constellation);
    line-height: 1.75;
}

.product-benefits ul {
    list-style: none;
}

.product-benefits li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.product-benefits li svg {
    flex-shrink: 0;
    color: var(--celestial);
    margin-top: 2px;
}

.product-price-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-lg);
}

.product-price .price-label {
    display: block;
    font-size: 0.875rem;
    color: var(--constellation);
    margin-bottom: 2px;
}

.product-note {
    font-size: 0.875rem;
    color: var(--nebula);
    line-height: 1.6;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.stat-card {
    text-align: center;
    padding: var(--space-lg);
}

.stat-number {
    font-family: var(--font-primary);
    font-size: 3.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--celestial), var(--star-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.stat-text {
    font-size: 1rem;
    color: var(--constellation);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--stellar-white);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(226, 232, 240, 0.6);
}

.faq-question {
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--void);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--cosmos-light);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--celestial);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--space-lg) var(--space-md);
}

.faq-answer p {
    color: var(--constellation);
    line-height: 1.75;
}

/* Contact */
.contact-grid {
    align-items: start;
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact-icon {
    width: 48px;
    height: 48px;
    color: var(--celestial);
    flex-shrink: 0;
    background: var(--celestial-soft);
    border-radius: var(--radius-md);
    padding: 10px;
}

.contact-info-item strong {
    display: block;
    font-weight: 600;
    color: var(--void);
    margin-bottom: var(--space-xs);
}

.contact-info-item p {
    color: var(--constellation);
    margin: 0;
}

/* Footer – elegant dark */
.footer {
    background: linear-gradient(180deg, var(--void) 0%, #1e293b 100%);
    color: var(--silver-mist);
    padding: var(--space-3xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-title {
    color: var(--stellar-white);
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.footer-text {
    line-height: 1.75;
    font-size: 0.9375rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: var(--silver-mist);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--celestial);
}

.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    padding-top: var(--space-md);
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: var(--celestial-soft);
    text-decoration: none;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

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

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in:nth-child(2) {
    animation-delay: 0.1s;
    animation-fill-mode: both;
}

.fade-in:nth-child(3) {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

/* Responsive */
@media (max-width: 968px) {
    .product-showcase {
        grid-template-columns: 1fr;
    }

    .product-image-container {
        position: static;
    }
}

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

    .section-title {
        font-size: 2rem;
    }

    .nav {
        gap: var(--space-md);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

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

    .stats-grid {
        grid-template-columns: 1fr;
    }

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