@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #f0f7ff;             /* Sky Blue Off-White */
    --bg-surface: rgba(255, 255, 255, 0.7);
    --bg-surface-elevated: rgba(255, 255, 255, 0.95);
    --color-primary: #0ea5e9;       /* Sky Blue Accent */
    --color-primary-rgb: 14, 165, 233;
    --color-secondary: #6366f1;     /* Indigo Accent */
    --color-secondary-rgb: 99, 102, 241;
    --color-accent: #06b6d4;        /* Cyan */
    --color-rose: #f43f5e;          /* Rose */
    --text-main: #0f172a;           /* Slate Dark */
    --text-muted: #475569;          /* Slate Gray */
    --border-color: rgba(14, 165, 233, 0.08);
    --border-hover: rgba(99, 102, 241, 0.2);
    --card-shadow: 0 15px 35px rgba(14, 165, 233, 0.04);
    --card-shadow-hover: 0 25px 50px rgba(14, 165, 233, 0.1);
    --font-heading: 'Noto Sans SC', sans-serif;
    --font-body: 'Plus Jakarta Sans', 'Noto Sans SC', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    background: var(--bg-main);
}

/* Magical Floating Background Clouds (Fixed 3D Perspective) */
.clouds-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
    pointer-events: none;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.magic-cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.55;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.cloud-purple {
    background: radial-gradient(circle, rgba(14, 165, 233, 0.35) 0%, transparent 70%); /* Sky Blue */
    width: 45vw;
    height: 45vw;
    top: -5%;
    right: -10%;
    transform: translate3d(0, 0, -150px) scale(1.5);
}

.cloud-blue {
    background: radial-gradient(circle, rgba(56, 189, 248, 0.3) 0%, transparent 70%); /* Light Sky Blue */
    width: 50vw;
    height: 50vw;
    bottom: 10%;
    left: -15%;
    transform: translate3d(0, 0, -100px) scale(1.3);
}

.cloud-cyan {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, transparent 70%); /* Cyan */
    width: 35vw;
    height: 35vw;
    top: 30%;
    right: -5%;
    transform: translate3d(0, 0, -200px) scale(2);
}

.cloud-rose {
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%); /* Sapphire Blue */
    width: 40vw;
    height: 40vw;
    bottom: -10%;
    left: 25%;
    transform: translate3d(0, 0, -120px) scale(1.45);
}


/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-main);
    line-height: 1.2;
}

p {
    color: var(--text-muted);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    background: rgba(253, 251, 254, 0.7);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-main);
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-style: italic;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-smooth);
}

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

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    padding: 0.65rem 1.65rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    background: rgba(99, 102, 241, 0.05);
    border: 1px solid rgba(99, 102, 241, 0.1);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1.75rem;
}

.hero-tag span {
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    animation: flash 1.5s infinite alternate;
}

@keyframes flash {
    0% { opacity: 0.3; }
    100% { opacity: 1; filter: drop-shadow(0 0 3px var(--color-primary)); }
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.75rem;
    color: var(--text-main);
}

.hero-title span {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 1.125rem;
    margin-bottom: 2.75rem;
    max-width: 580px;
    line-height: 1.7;
}

.cta-group {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: #ffffff;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 700;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: rgba(99, 102, 241, 0.2);
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
}

/* 3D Glass Card Container in Hero */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.hero-glow-back {
    position: absolute;
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
}

/* 3D Tilt Card Component */
.tilt-card-3d {
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 28px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 30px 60px rgba(99, 102, 241, 0.08), inset 0 0 20px rgba(255, 255, 255, 0.4);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    cursor: pointer;
}

/* 3D pop-out layers inside card */
.layer-bg {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    transform: translateZ(30px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.04);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 280px;
    position: relative;
    overflow: hidden;
}

.layer-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
    pointer-events: none;
    transform: translateZ(10px);
}

.rocket-3d-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(70px);
    filter: drop-shadow(0 15px 25px rgba(99, 102, 241, 0.25));
    animation: floatingRocket 4s ease-in-out infinite;
}

@keyframes floatingRocket {
    0% { transform: translateZ(70px) translateY(0px) rotate(0deg); }
    50% { transform: translateZ(70px) translateY(-10px) rotate(2deg); }
    100% { transform: translateZ(70px) translateY(0px) rotate(0deg); }
}

.rocket-svg {
    width: 100px;
    height: 100px;
}

.rocket-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    transform: translateZ(20px);
}

.rocket-line {
    position: absolute;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.4), transparent);
    height: 2px;
    border-radius: 999px;
    animation: speedLine 1.5s linear infinite;
}

.rocket-line:nth-child(1) { width: 40px; top: 35%; right: -20px; animation-delay: 0.2s; }
.rocket-line:nth-child(2) { width: 55px; top: 55%; right: -35px; animation-delay: 0.5s; }
.rocket-line:nth-child(3) { width: 30px; top: 75%; right: -15px; animation-delay: 0.8s; }

@keyframes speedLine {
    0% { transform: translateX(20px) scaleX(0.2); opacity: 0; }
    50% { opacity: 0.8; }
    100% { transform: translateX(-40px) scaleX(1.5); opacity: 0; }
}

.layer-text {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    transform: translateZ(50px);
    text-align: center;
}

/* Feature Section */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.section-subtitle {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.85rem;
    display: block;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
}

/* 3D Tilt Feature Card */
.feature-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(99, 102, 241, 0.06);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.08);
    transform: translateZ(30px);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
    border-color: transparent;
}

.feature-card-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    transform: translateZ(40px);
}

.feature-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    transform: translateZ(20px);
}

/* Pricing Section */
.pricing {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f3f1f9 100%);
    overflow: hidden;
}

#nebula-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.pricing .container {
    position: relative;
    z-index: 2;
}

/* Billing switch */
.pricing-toggle-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.pricing-toggle-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.pricing-toggle-label.active {
    color: var(--color-primary);
}

.pricing-toggle-switch {
    position: relative;
    width: 64px;
    height: 34px;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
    transition: var(--transition-smooth);
}

.pricing-toggle-wrap.annual .pricing-toggle-switch::after {
    left: 33px;
}

.discount-badge {
    background: rgba(244, 63, 94, 0.1);
    color: var(--color-rose);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 99px;
    border: 1px solid rgba(244, 63, 94, 0.15);
    margin-left: 0.5rem;
}

/* 3D Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1.5px solid var(--border-color);
    border-radius: 28px;
    padding: 3.5rem 2.5rem 3rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.pricing-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

/* Pricing Card Asymmetry */
@media (min-width: 992px) {
    .pricing-card.popular {
        transform: translateY(-20px) scale(1.04);
        z-index: 10;
    }
    .pricing-card.popular:hover {
        transform: translateY(-28px) scale(1.06) rotateX(var(--rotate-x, 0deg)) rotateY(var(--rotate-y, 0deg));
    }
}

/* Flowing border for popular */
.pricing-card.popular {
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) padding-box,
                linear-gradient(135deg, #a855f7, #6366f1, #06b6d4, #f43f5e) border-box;
    border: 2.5px solid transparent;
    background-size: 300% 300%;
    animation: flowGradient 6s ease infinite;
    box-shadow: 0 25px 60px rgba(99, 102, 241, 0.15);
}

@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transform: translateZ(30px);
}

.pricing-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    transform: translateZ(40px);
}

.plan-name {
    font-size: 1.65rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}

.plan-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

/* 3D Price Flip */
.plan-price-wrap {
    height: 65px;
    position: relative;
    perspective: 600px;
    margin-top: 1.25rem;
}

.plan-price-card {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: baseline;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
}

.plan-price-card.price-monthly {
    transform: rotateX(0deg);
    opacity: 1;
}

.plan-price-card.price-yearly {
    transform: rotateX(180deg);
    opacity: 0;
}

.pricing-toggle-wrap.annual ~ .pricing-grid .price-monthly {
    transform: rotateX(-180deg);
    opacity: 0;
}

.pricing-toggle-wrap.annual ~ .pricing-grid .price-yearly {
    transform: rotateX(0deg);
    opacity: 1;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.plan-price span {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-muted);
    -webkit-text-fill-color: initial;
    margin-left: 4px;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    transform: translateZ(30px);
}

.plan-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.plan-feature.disabled {
    color: var(--text-muted);
    opacity: 0.6;
}

.plan-feature i {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.plan-feature.disabled i {
    background: rgba(244, 63, 94, 0.08);
    color: var(--color-rose);
}

.pricing-card .btn-primary, .pricing-card .btn-secondary {
    width: 100%;
    justify-content: center;
    margin-top: auto;
    transform: translateZ(50px);
}

/* User Reviews Section */
.reviews {
    padding: 100px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.25rem;
}

.review-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.review-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.review-rating {
    color: #fbbf24;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 3px;
    transform: translateZ(30px);
}

.review-content {
    font-size: 0.98rem;
    color: var(--text-main);
    line-height: 1.75;
    margin-bottom: 2rem;
    transform: translateZ(40px);
}

.review-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateZ(30px);
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.review-info h4 {
    font-size: 1rem;
    margin-bottom: 0.15rem;
}

.review-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    position: relative;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    background-color: rgba(99, 102, 241, 0.02);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.75;
    border-top: 1px solid transparent;
}

.faq-item.active {
    border-color: var(--color-primary);
    box-shadow: var(--card-shadow-hover);
}

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1.25rem;
    padding-bottom: 1.5rem;
    border-color: var(--border-color);
}

/* Articles Section */
.articles-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 2.25rem;
}

.article-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.article-card:hover {
    border-color: var(--border-hover);
    box-shadow: var(--card-shadow-hover);
}

.article-image {
    height: 200px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.08));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-image::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(255,255,255,0.7) 95%);
}

.article-img-placeholder {
    font-size: 3rem;
    color: var(--color-primary);
    filter: drop-shadow(0 5px 10px rgba(99,102,241,0.2));
    transform: translateZ(30px);
}

.article-body {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    transform-style: preserve-3d;
}

.article-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    transform: translateZ(10px);
}

.article-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.45;
    transform: translateZ(40px);
    transition: var(--transition-smooth);
}

.article-card:hover .article-title {
    color: var(--color-primary);
}

.article-excerpt {
    font-size: 0.92rem;
    margin-bottom: 1.75rem;
    line-height: 1.65;
    color: var(--text-muted);
    flex-grow: 1;
    transform: translateZ(20px);
}

.article-link {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transform: translateZ(30px);
}

.article-link i {
    transition: transform 0.2s ease;
}

.article-card:hover .article-link i {
    transform: translateX(4px);
}

/* Single Article Layout */
.article-page {
    padding: 160px 0 100px;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    line-height: 1.25;
}

.article-rich-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-main);
}

.article-rich-text p {
    margin-bottom: 1.75rem;
    color: #312e81; /* Deep slate indigo */
}

.article-rich-text h2 {
    font-size: 1.85rem;
    margin: 2.75rem 0 1.25rem;
    position: relative;
    padding-left: 1.25rem;
}

.article-rich-text h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25rem;
    height: 1.5rem;
    width: 5px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    border-radius: 99px;
}

.article-rich-text a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 700;
}

.article-rich-text a:hover {
    color: var(--color-secondary);
}

.article-tags {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag-badge {
    background: rgba(99, 102, 241, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.825rem;
    color: var(--text-muted);
}

.related-articles {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.related-title {
    font-size: 1.85rem;
    margin-bottom: 2rem;
}

/* Call to Action Container inside articles */
.article-cta-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(168, 85, 247, 0.05) 100%);
    border: 1px solid var(--border-hover);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 3.5rem 0;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
}

.article-cta-box h3 {
    font-size: 1.65rem;
    margin-bottom: 0.75rem;
}

.article-cta-box p {
    margin-bottom: 1.75rem;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: #f6f5fa;
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2.5rem;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about p {
    margin-top: 1.25rem;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-main);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

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

.footer-links a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

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

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 620px;
    line-height: 1.5;
}

/* Responsive Utilities */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3.5rem;
        text-align: center;
    }
    .hero-title {
        font-size: 3.25rem;
    }
    .hero-desc {
        margin: 0 auto 2.5rem;
    }
    .cta-group {
        justify-content: center;
    }
    .hero-image-wrapper {
        order: -1;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
    .footer-about {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: #fdfbfe;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        transition: var(--transition-smooth);
        border-top: 1px solid var(--border-color);
        z-index: 99;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-btn {
        width: 80%;
        justify-content: center;
    }
    .section-title {
        font-size: 2.25rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-about {
        grid-column: span 1;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    /* Disable 3D transforms on mobile for better performance */
    .tilt-card-3d, .feature-card, .pricing-card, .review-card, .article-card {
        transform: none !important;
    }
}
