/* ═══════════════════════════════════════════════════════════════
   LastPosty — Premium Landing Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #4F46E5;
    --primary-dark: #3730A3;
    --primary-light: #818CF8;
    --secondary: #7C3AED;
    --accent: #06B6D4;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;

    --bg-dark: #0F172A;
    --bg-dark-2: #1E293B;
    --bg-light: #F8FAFC;
    --bg-white: #FFFFFF;
    --surface: #FFFFFF;
    --surface-hover: #F1F5F9;

    --text-primary: #0F172A;
    --text-secondary: #475569;
    --text-muted: #94A3B8;
    --text-white: #FFFFFF;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-glow: 0 0 60px rgba(79, 70, 229, 0.3);

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-main);
    color: var(--text-primary);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ─── Animations ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation delays */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }
.reveal:nth-child(5) { transition-delay: 0.4s; }
.reveal:nth-child(6) { transition-delay: 0.5s; }

.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #818CF8, #A78BFA, #06B6D4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ─── Buttons ──────────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.5);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 16px;
    border-radius: var(--radius-full);
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 36px; font-size: 17px; }
.btn-xl { padding: 20px 44px; font-size: 18px; }

/* ─── Navbar ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo-img {
    height: 30px;
    width: auto;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--primary); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}
.nav-link:hover::after { width: 100%; }

.nav-actions { display: flex; align-items: center; gap: 12px; }

.lang-switch-wrapper {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}
.lang-switch-wrapper:hover {
    background: rgba(71, 85, 105, 0.08);
}

.lang-icon {
    position: absolute;
    pointer-events: none;
    color: var(--text-secondary);
    transition: var(--transition);
}
.lang-switch-wrapper:hover .lang-icon {
    color: var(--primary);
}

.language-select {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    color: black;
}

.btn-nav-login {
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}
.btn-nav-login:hover { color: var(--primary); }

.btn-nav-cta {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-full);
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(79, 70, 229, 0.3);
}
.btn-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ─── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    background: linear-gradient(180deg, #F8FAFF 0%, #EEF2FF 40%, #FFFFFF 100%);
    overflow: hidden;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.15);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 24px;
}
.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.avatar-stack {
    display: flex;
}
.avatar-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 3px solid white;
    margin-left: -12px;
    object-fit: cover;
    transition: var(--transition);
}
.avatar-img:first-child { margin-left: 0; }
.avatar-img:hover { transform: scale(1.15); z-index: 1; }

.social-proof-text {
    text-align: left;
}
.stars {
    color: var(--warning);
    font-size: 16px;
    letter-spacing: 2px;
}
.social-proof-text span {
    font-size: 14px;
    color: var(--text-secondary);
}

.hero-visual {
    position: relative;
    z-index: 1;
    margin-top: 60px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ─── Phone Carousel (Hero) ────────────────────────────────── */
.phone-carousel {
    position: relative;
    width: 335px;
    height: 580px;
}

.phone-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 335px;
    height: 580px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 10px;
    box-shadow:
        0 25px 80px rgba(79, 70, 229, 0.25),
        0 10px 40px rgba(0,0,0,0.15),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    opacity: 0;
    transform: scale(0.9) translateX(40px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow: hidden;
}
.phone-frame.active {
    opacity: 1;
    transform: scale(1) translateX(0);
    pointer-events: auto;
}
.phone-frame.prev {
    opacity: 0;
    transform: scale(0.9) translateX(-40px);
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 26px;
    background: white;
    z-index: 0;
}

.phone-frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%);
    border-radius: 40px 40px 0 0;
    pointer-events: none;
    z-index: 3;
}




.phone-screen {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 26px;
    display: block;
}

.preview-glow {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 120%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(79, 70, 229, 0.2), transparent 70%);
    pointer-events: none;
}

/* Phone Carousel Dots */
.phone-carousel-dots {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 24px;
}
.phone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.phone-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(79, 70, 229, 0.4);
}

/* ─── Mini Phone Frames (Feature Cards) ────────────────────── */
.feature-card-with-phone {
    display: flex;
    flex-direction: column;
}

.feature-card-top {
    flex: 1;
}

.feature-phone-preview {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.phone-frame-mini {
    width: 150px;
    height: 260px;
    background: #1a1a2e;
    border-radius: 16px;
    padding: 4px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.feature-card:hover .phone-frame-mini {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.2);
}

.phone-frame-mini::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 12px;
    background: white;
    z-index: 0;
}

.phone-screen-mini {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 12px;
    display: block;
}

/* Feature card large with phone */
.feature-card-large {
    grid-column: span 1;
    grid-row: span 1;
    display: flex;
    flex-direction: column;
}
.feature-card-large .feature-card-top {
    flex: 1;
}

/* ─── Social Proof Bar ─────────────────────────────────────── */
.social-proof-bar {
    padding: 60px 0;
    background: var(--bg-dark);
    position: relative;
}

.proof-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.proof-stat {
    text-align: center;
    min-width: 180px;
}
.stat-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    display: inline-block;
    min-width: 2ch;
}
.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 700;
    color: var(--primary-light);
    font-variant-numeric: tabular-nums;
}
.stat-label {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
    font-weight: 500;
}

.proof-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.1);
}

/* ─── Section Styles ───────────────────────────────────────── */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}
.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    color: var(--text-primary);
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ─── Features ─────────────────────────────────────────────── */
.features {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.feature-card {
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition);
}
.feature-card:hover::before { opacity: 1; }

.feature-card-large {
    grid-column: span 1;
    grid-row: span 1;
}

.feature-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.gradient-bg-1 { background: linear-gradient(135deg, #4F46E5, #7C3AED); }
.gradient-bg-2 { background: linear-gradient(135deg, #06B6D4, #3B82F6); }
.gradient-bg-3 { background: linear-gradient(135deg, #0A66C2, #0288D1); }
.gradient-bg-4 { background: linear-gradient(135deg, #F59E0B, #EF4444); }
.gradient-bg-5 { background: linear-gradient(135deg, #10B981, #06B6D4); }
.gradient-bg-6 { background: linear-gradient(135deg, #7C3AED, #EC4899); }

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}
.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}
.feature-tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 12px;
    background: rgba(79, 70, 229, 0.08);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
}

/* ─── How It Works ─────────────────────────────────────────── */
.how-it-works {
    padding: 120px 0;
    background: var(--bg-light);
}

.steps-grid {
    max-width: 660px;
    margin: 0 auto;
}

.step-card {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
}
.step-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.step-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    justify-content: center;
    padding: 8px 0;
    color: var(--text-muted);
}

.step-visual {
    flex-shrink: 0;
}

.platform-icons {
    display: flex;
    gap: 8px;
}
.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
}
.linkedin-icon { background: #0A66C2; }
.twitter-icon { background: #000000; }
.facebook-icon { background: #1877F2; }

.topic-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.topic-tag {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.12);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    color: var(--primary-dark);
    white-space: nowrap;
}

.autopilot-indicator {
    position: relative;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    animation: pulse-ring-anim 2s infinite;
}
@keyframes pulse-ring-anim {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(1.6); opacity: 0; }
}
.pulse-core {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--success), #06B6D4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.autopilot-label {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--success);
    margin-top: 8px;
}

/* ─── Analytics ────────────────────────────────────────────── */
.analytics {
    padding: 120px 0;
    background: var(--bg-white);
}

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

.analytics-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}
.analytics-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.analytics-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 0;
}
.analytics-card-header h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
}
.analytics-badge {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
}
.analytics-badge.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.analytics-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 2px;
    display: block;
}
.analytics-big-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 800;
    padding: 0 24px;
    margin-top: 8px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.chart-container {
    padding: 8px 16px 0;
    position: relative;
    height: 220px;
}
.chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}
.chart-footer {
    display: flex;
    justify-content: space-between;
    padding: 12px 24px 20px;
}
.chart-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ─── Testimonials ─────────────────────────────────────────── */
.testimonials {
    padding: 120px 0;
    background: var(--bg-light);
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
    min-width: 100%;
    padding: 48px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 20px;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 32px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonial-author strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}
.testimonial-author span {
    font-size: 14px;
    color: var(--text-secondary);
}

.carousel-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--text-secondary);
}
.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.carousel-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: var(--radius-full);
}

/* ─── Pricing ──────────────────────────────────────────────── */
.pricing {
    padding: 120px 0;
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.pricing-card {
    padding: 40px 32px;
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    transition: var(--transition);
    position: relative;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.pricing-popular {
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-glow);
    transform: scale(1.05);
}
.pricing-popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
}
.pricing-header h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    margin-bottom: 8px;
}
.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-secondary);
    margin-top: 8px;
}
.price-amount {
    font-family: var(--font-display);
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: var(--text-primary);
}
.price-period {
    font-size: 16px;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 14px;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li.feature-negative {
    color: var(--text-muted);
}

.btn-pricing {
    display: block;
    width: 100%;
    padding: 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid var(--border);
    color: var(--text-primary);
    transition: var(--transition);
    background: transparent;
}
.btn-pricing:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.btn-pricing-popular {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}
.btn-pricing-popular:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(79, 70, 229, 0.4);
    color: white;
}

/* ─── FAQ ──────────────────────────────────────────────────── */
.faq {
    padding: 120px 0;
    background: var(--bg-light);
}

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

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    background: var(--surface);
    overflow: hidden;
    transition: var(--transition);
}
.faq-item:hover {
    border-color: rgba(79, 70, 229, 0.2);
}

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

.faq-chevron {
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--text-muted);
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer {
    max-height: 400px;
}
.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ─── CTA Section ──────────────────────────────────────────── */
.cta-section {
    padding: 120px 0;
    background: var(--bg-dark);
}

.cta-card {
    position: relative;
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.cta-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.cta-card h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.cta-card p {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
}

.cta-trust {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}
.cta-trust span {
    font-size: 14px;
    color: var(--text-muted);
}

/* ─── Footer ───────────────────────────────────────────────── */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
}

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

.footer-logo {
    height: 32px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}
.footer-brand p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}
.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    padding: 6px 0;
    transition: var(--transition);
}
.footer-links a:hover {
    color: var(--text-white);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}
.footer-bottom p {
    font-size: 14px;
    color: var(--text-muted);
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-popular { transform: scale(1); }
    .pricing-popular:hover { transform: translateY(-4px); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

    .nav-links { display: none; }
    .nav-actions .btn-nav-login { display: none; }
    .hamburger { display: flex; }

    .btn-nav-cta {
        padding: 8px 16px;
        font-size: 13px;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid var(--border);
    }
}

@media (max-width: 768px) {

    .hero { padding: 100px 20px 60px; }
    .hero-title { font-size: 36px; letter-spacing: -0.5px; }

    /* Phone carousel: scale down proportionally */
    .phone-carousel {
        transform: scale(0.9);
        transform-origin: top center;
        margin: 0 auto;
        margin-bottom: -58px; /* compensate for empty space from scale */
    }

    .features-grid { grid-template-columns: 1fr; }
    .feature-card-large { grid-column: span 1; }

    /* Step cards: stack vertically and center */
    .step-card { flex-direction: column; text-align: center; align-items: center; }
    .step-visual {
        margin-top: 16px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .platform-icons { justify-content: center; }
    .topic-tags { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .step-number { text-align: center; }

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

    .testimonial-card { padding: 32px 24px; }
    .testimonial-text { font-size: 16px; }

    .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .pricing-popular { transform: scale(1); }

    .cta-card { padding: 48px 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }

    .proof-stats { gap: 24px; }
    .proof-divider { display: none; }

    .hero-cta { flex-direction: column; align-items: center; }
    .hero-social-proof { flex-direction: column; }

    .cta-trust { flex-direction: column; align-items: center; gap: 8px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 28px; }
    .section-title { font-size: 28px; }
    .btn-lg { padding: 14px 28px; font-size: 15px; }
    .btn-xl { padding: 16px 32px; font-size: 16px; }

}

