/* ============================================
   CONTENT FACTORY - LANDING PAGE STYLES
   Distinctive, production-grade frontend design
   ============================================ */

/* ── CSS Variables ─────────────────────────── */
:root {
    /* Brand Colors */
    --primary-main: #8b5cf6;
    --primary-hover: #7c3aed;
    --primary-light: #a78bfa;
    --primary-lightest: #ede9fe;
    
    /* Background & Surface */
    --bg-surface: #ffffff;
    --bg-surface-alt: #fafafa;
    --bg-card: #ffffff;
    
    /* Text Colors */
    --text-main: #1a1a2e;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    /* Borders */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    
    /* Accent Colors */
    --accent-purple: #8b5cf6;
    --accent-blue: #3b82f6;
    --accent-yellow: #f59e0b;
    --accent-orange: #f97316;
    --accent-teal: #14b8a6;
    --accent-green: #22c55e;
    --accent-pink: #ec4899;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    --gradient-hero: linear-gradient(135deg, #f0f9ff 0%, #faf5ff 50%, #fef2f8 100%);
    --gradient-cta: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    
    /* Spacing */
    --section-padding: 120px 0;
    --container-padding: 0 24px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* ── Dark Mode Overrides ──────────────────── */
[data-theme="dark"] {
    --bg-surface: #0a0a0f;
    --bg-surface-alt: #121218;
    --bg-card: #16161e;
    
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    
    --border-color: #1e293b;
    --border-light: #1e293b;
    
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #312e81 100%);
    --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.25);
}

/* ── Base Styles ───────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    color: var(--text-main);
    background: var(--bg-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
}

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

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

/* ── Animated Background ───────────────────── */
.bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    opacity: 0.8;
}

[data-theme="dark"] .bg-gradient {
    opacity: 1;
}

.bg-noise {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
}

.bg-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    bottom: 20%;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 70%);
    bottom: -200px;
    right: 20%;
    animation-delay: -14s;
}

[data-theme="dark"] .orb {
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Navigation ───────────────────────────── */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    transition: all var(--transition-base);
}

[data-theme="dark"] .landing-nav {
    background: rgba(10, 10, 15, 0.8);
}

.landing-nav .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

.landing-nav .brand-icon {
    width: 42px;
    height: 42px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.landing-nav .nav-link {
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    position: relative;
}

.landing-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 18px;
    right: 18px;
    height: 2px;
    background: var(--primary-main);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.landing-nav .nav-link:hover {
    color: var(--text-main);
}

.landing-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar-toggler {
    border: none;
    background: transparent;
    padding: 8px;
    font-size: 1.25rem;
    color: var(--text-main);
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ── Buttons ───────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--primary-main);
    color: var(--primary-main);
}

.btn-ghost {
    background: transparent;
    color: var(--text-muted);
}

.btn-ghost:hover {
    color: var(--text-main);
}

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

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

.theme-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-btn:hover {
    border-color: var(--primary-main);
    color: var(--primary-main);
}

/* ── Hero Section ──────────────────────────── */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 180px 0 100px;
}

.hero-content {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--primary-lightest);
    color: var(--primary-main);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease forwards;
    opacity: 0;
}

[data-theme="dark"] .hero-badge {
    background: rgba(139, 92, 246, 0.2);
}

.hero-badge i {
    font-size: 0.8rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s forwards;
    opacity: 0;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.8;
    animation: fadeInUp 0.6s ease 0.2s forwards;
    opacity: 0;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.6s ease 0.3s forwards;
    opacity: 0;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.6s ease 0.4s forwards;
    opacity: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-card {
    position: absolute;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: var(--shadow-xl);
    animation: floatCard 6s ease-in-out infinite;
    opacity: 0;
    animation: fadeInUp 0.6s ease 0.5s forwards, floatCard 6s ease-in-out 1s infinite;
}

.hero-card-1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s, 1s;
}

.hero-card-2 {
    top: 40%;
    left: 5%;
    animation-delay: 0.2s, 2.2s;
}

.hero-card-3 {
    bottom: 15%;
    right: 15%;
    animation-delay: 0.4s, 3.4s;
}

.hero-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-card-1 .card-icon {
    background: var(--primary-lightest);
    color: var(--primary-main);
}

.hero-card-2 .card-icon {
    background: #dbeafe;
    color: var(--accent-blue);
}

.hero-card-3 .card-icon {
    background: #fef3c7;
    color: var(--accent-yellow);
}

.hero-card .card-content {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.card-text {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
}

.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    z-index: -1;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-muted);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(10px); opacity: 0.3; }
}

/* ── Animations ───────────────────────────── */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* ── Section Styles ───────────────────────── */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: var(--primary-lightest);
    color: var(--primary-main);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

[data-theme="dark"] .section-tag {
    background: rgba(139, 92, 246, 0.2);
}

.section-title {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

/* Value Section */
.value-section {
    padding: var(--section-padding);
    background: var(--bg-surface-alt);
}

.value-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
    border: 1px solid var(--border-light);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-lightest);
}

.value-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: var(--primary-lightest);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary-main);
}

[data-theme="dark"] .value-icon {
    background: rgba(139, 92, 246, 0.2);
}

.value-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.value-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Features Section */
.features-section {
    padding: var(--section-padding);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.feature-card-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.feature-card-reverse {
    direction: rtl;
}

.feature-card-reverse > * {
    direction: ltr;
}

.feature-visual {
    width: 100%;
    height: 320px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

.feature-visual-purple {
    background: linear-gradient(135deg, #f3e8ff 0%, #e9d5ff 100%);
    color: var(--primary-main);
}

.feature-visual-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--accent-blue);
}

.feature-visual-yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--accent-yellow);
}

.feature-visual-orange {
    background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
    color: var(--accent-orange);
}

.feature-visual-teal {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: var(--accent-teal);
}

.feature-visual-green {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: var(--accent-green);
}

[data-theme="dark"] .feature-visual-purple {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(139, 92, 246, 0.1) 100%);
}

[data-theme="dark"] .feature-visual-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
}

[data-theme="dark"] .feature-visual-yellow {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2) 0%, rgba(245, 158, 11, 0.1) 100%);
}

[data-theme="dark"] .feature-visual-orange {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.1) 100%);
}

[data-theme="dark"] .feature-visual-teal {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0.1) 100%);
}

[data-theme="dark"] .feature-visual-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(34, 197, 94, 0.1) 100%);
}

.feature-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255,255,255,0.4) 0%, transparent 50%);
}

.feature-info {
    padding: 20px 0;
}

.feature-number {
    display: inline-block;
    font-family: 'Playfair Display', serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.feature-info h3 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-info p {
    font-size: 1.1rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.feature-list li i {
    width: 24px;
    height: 24px;
    background: var(--primary-lightest);
    color: var(--primary-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

[data-theme="dark"] .feature-list li i {
    background: rgba(139, 92, 246, 0.2);
}

/* How It Works Section */
.how-section {
    padding: var(--section-padding);
    background: var(--bg-surface-alt);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
}

.step-card {
    flex: 1;
    max-width: 320px;
    text-align: center;
    padding: 40px 32px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    position: relative;
    border: 1px solid var(--border-light);
}

.step-number {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary-main);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 20px auto 24px;
    background: var(--primary-lightest);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-main);
}

[data-theme="dark"] .step-icon {
    background: rgba(139, 92, 246, 0.2);
}

.step-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.step-connector {
    padding-top: 80px;
    color: var(--primary-light);
    font-size: 1.5rem;
}

/* CTA Box */
.cta-box {
    text-align: center;
    padding: 60px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: var(--shadow-glow);
}

.cta-box h3 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: white;
}

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

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

/* Testimonials Section */
.testimonials-section {
    padding: var(--section-padding);
}

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

.testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-surface-alt);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-main);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    color: #fbbf24;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
    padding: var(--section-padding);
    background: var(--bg-surface-alt);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-surface-alt);
}

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform var(--transition-base);
}

.faq-item.open .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.open .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background: var(--gradient-primary);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 36px;
}

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

/* Footer */
.landing-footer {
    padding: 80px 0 40px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand .brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--primary-main);
    color: white;
}

.footer-links h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

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

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
}

/* ── Responsive Design ─────────────────────── */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.25rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .hero-section {
        padding: 140px 0 80px;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 60px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        height: 400px;
    }
    
    .hero-card {
        position: relative;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        margin: 16px auto;
        max-width: 280px;
    }
    
    .feature-card-large {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .feature-card-reverse {
        direction: ltr;
    }
    
    .features-grid {
        gap: 60px;
    }
    
    .steps-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .step-connector {
        display: none;
    }
    
    .step-card {
        max-width: 100%;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .hero-visual {
        height: auto;
    }
    
    .hero-card {
        position: relative;
        margin: 12px 0;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-box h3 {
        font-size: 1.35rem;
    }
    
    .value-card {
        padding: 32px 24px;
    }
    
    .feature-visual {
        height: 240px;
        font-size: 3.5rem;
    }
}
