/* ==========================================
   SpekAI — Landing Page Styles
   Apple-inspired clean design system
   ========================================== */

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

:root {
    /* Colors */
    --primary: #6366F1;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --primary-50: #EEF2FF;
    --primary-100: #E0E7FF;
    --primary-200: #C7D2FE;
    --accent: #4338CA;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --white: #FFFFFF;
    --success: #10B981;
    --warning: #F59E0B;

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-pad: 120px;
    --container-max: 1120px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-2xl: 24px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ---------- Animations System ---------- */

/* Base fade-in with stagger support */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children — grid cards, list items */
[data-stagger] > .fade-in { transition-delay: calc(var(--i, 0) * 120ms); }

/* Slide from left */
.slide-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

/* Slide from right */
.slide-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Scale up (for hero mockup) */
.scale-up {
    opacity: 0;
    transform: scale(0.92) translateY(40px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.scale-up.visible { opacity: 1; transform: scale(1) translateY(0); }

/* Blur-in (Apple signature) */
.blur-in {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.9s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.blur-in.visible { opacity: 1; filter: blur(0); transform: translateY(0); }

/* Hero text word-by-word reveal */
.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-title.visible .word {
    opacity: 1;
    transform: translateY(0);
}

/* Parallax wrapper */
[data-parallax] {
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Floating accent shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.5;
    filter: blur(60px);
    will-change: transform;
}

/* Glow pulse on CTA */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 24px rgba(67,56,202,0.4), 0 4px 12px rgba(99,102,241,0.3); }
    50% { box-shadow: 0 0 48px rgba(67,56,202,0.55), 0 6px 20px rgba(99,102,241,0.45); }
}
.btn-primary.glow { animation: glowPulse 2.5s ease-in-out infinite; }

/* Counter number roll */
.counter-number {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* Typing cursor blink */
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: var(--primary);
    margin-left: 2px;
    animation: blink 0.8s step-end infinite;
    vertical-align: text-bottom;
}

/* Gradient text shimmer */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
.gradient-text {
    background-size: 200% auto;
}
.gradient-text.shimmer {
    animation: shimmer 4s linear infinite;
}

/* Line draw animation for step connectors */
.step-connector svg path {
    stroke-dasharray: 44;
    stroke-dashoffset: 44;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.step-connector.visible svg path {
    stroke-dashoffset: 0;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    z-index: 1001;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.15s linear;
}

/* Stats counter section */
.stats-bar {
    padding: 80px 0;
    background: var(--gray-900);
    overflow: hidden;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.stat-item.visible { opacity: 1; transform: translateY(0); }
.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 8px;
}
.stat-label {
    font-size: 14px;
    color: var(--gray-400);
    font-weight: 500;
}

/* Magnetic button hover effect */
.btn-magnetic {
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s ease;
}

/* Card tilt on hover */
.tilt-card {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease;
    will-change: transform;
}
.tilt-card:hover {
    box-shadow: var(--shadow-lg);
}

/* Smooth section reveal with clip */
.reveal-section {
    clip-path: inset(8% 4% 8% 4% round 24px);
    transition: clip-path 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-section.visible {
    clip-path: inset(0% 0% 0% 0% round 0px);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px 28px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    transform: translateY(-1px);
}

.btn-outline {
    background: var(--white);
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-50);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.btn-white:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.35s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 12px 0;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-weight: 700;
    font-size: 20px;
    color: var(--gray-900);
}

.nav-links {
    display: flex;
    gap: 36px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color 0.2s;
}
.nav-links a:hover {
    color: var(--gray-900);
}

.nav-cta {
    flex-shrink: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }


/* ---------- Hero ---------- */
.hero {
    padding: 160px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-50) 0%, var(--white) 100%);
    overflow: hidden;
    position: relative;
}

/* Floating ambient shapes in hero */
.hero .floating-shape:nth-child(1) {
    width: 400px; height: 400px;
    background: rgba(99, 102, 241, 0.15);
    top: -100px; right: -100px;
    animation: float1 8s ease-in-out infinite;
}
.hero .floating-shape:nth-child(2) {
    width: 300px; height: 300px;
    background: rgba(139, 92, 246, 0.12);
    bottom: -50px; left: -80px;
    animation: float2 10s ease-in-out infinite;
}
.hero .floating-shape:nth-child(3) {
    width: 200px; height: 200px;
    background: rgba(99, 102, 241, 0.1);
    top: 40%; left: 10%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-30px, 20px) rotate(5deg); }
    66% { transform: translate(20px, -15px) rotate(-3deg); }
}
@keyframes float2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
}
@keyframes float3 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, 25px) scale(1.1); }
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 100px;
    font-size: 13px;
    color: var(--gray-600);
    margin-bottom: 32px;
}

.badge {
    background: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    color: var(--gray-900);
    margin-bottom: 24px;
    max-width: 740px;
}

.gradient-text,
.gradient-text .word {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: var(--gray-500);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 64px;
}

.hero-cta-note {
    font-size: 13px;
    color: var(--gray-400);
}

/* ---------- Hero Visual (Browser Mockup) ---------- */
.hero-visual {
    width: 100%;
    max-width: 900px;
    perspective: 1200px;
}

.browser-mockup {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0,0,0,0.04);
    overflow: hidden;
    transform: rotateX(2deg);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.browser-mockup:hover {
    transform: rotateX(0deg);
}

.browser-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.browser-dots {
    display: flex;
    gap: 6px;
}
.browser-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.browser-dots span:nth-child(1) { background: #FF5F57; }
.browser-dots span:nth-child(2) { background: #FFBD2E; }
.browser-dots span:nth-child(3) { background: #28C940; }

.browser-url {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--gray-400);
    border: 1px solid var(--gray-200);
}

.browser-content {
    position: relative;
    padding: 24px;
    min-height: 320px;
    background: var(--gray-50);
    display: flex;
    gap: 20px;
}

/* Mock Slack Message */
.mock-slack {
    flex: 1;
}

.mock-message {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.mock-avatar {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: linear-gradient(135deg, #E0E7FF, #C7D2FE);
    flex-shrink: 0;
}

.mock-text strong {
    font-size: 14px;
    color: var(--gray-900);
}

.mock-time {
    font-size: 11px;
    color: var(--gray-400);
    margin-left: 6px;
}

.mock-text p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--gray-600);
    margin-top: 4px;
}

.mock-highlight {
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(139,92,246,0.08) 100%);
    border-left: 3px solid var(--primary);
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
}

/* Mock Extension Popup */
.mock-popup {
    width: 280px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    flex-shrink: 0;
    overflow: hidden;
    animation: popupSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

@keyframes popupSlide {
    from { opacity: 0; transform: translateY(12px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.mock-popup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(to right, var(--accent), var(--primary));
    font-size: 13px;
    font-weight: 600;
    color: var(--white);
}

.mock-popup-tag {
    margin-left: auto;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255,255,255,0.2);
    color: var(--white);
    padding: 2px 8px;
    border-radius: 100px;
}

.mock-popup-body {
    padding: 14px 16px;
}

.mock-ticket-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.mock-ticket-section {
    margin-bottom: 12px;
}

.mock-ticket-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--gray-400);
    margin-bottom: 6px;
}

.mock-ticket-item {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 12px;
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: 4px;
}

.mock-check {
    color: var(--success);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.mock-warn {
    color: var(--warning);
    font-weight: 800;
    font-size: 11px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FEF3C7;
    border-radius: 50%;
    margin-top: 1px;
}

.mock-popup-footer {
    display: flex;
    gap: 8px;
    padding: 12px 16px;
    border-top: 1px solid var(--gray-100);
}

.mock-btn-send {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--white);
    color: var(--primary);
    border: 2px solid var(--primary);
}

.mock-btn-copy {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 10px;
    background: var(--gray-50);
    color: var(--gray-600);
    border: 1px solid var(--gray-200);
}

/* ---------- Logos Bar ---------- */
.logos-bar {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--gray-100);
}

.logos-label {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gray-400);
    margin-bottom: 28px;
}

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

.logo-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-500);
}

/* ---------- Section Headers ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    color: var(--gray-900);
    margin-bottom: 16px;
}

.section-sub {
    font-size: 18px;
    color: var(--gray-500);
    max-width: 520px;
    margin: 0 auto;
}

/* ---------- Problem Section ---------- */
.problem {
    padding: var(--section-pad) 0;
    background: var(--white);
}

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

.problem-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}
.problem-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.problem-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 20px;
}

.problem-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.problem-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- How It Works ---------- */
.how-it-works {
    padding: var(--section-pad) 0;
    background: var(--gray-50);
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}

.step-card {
    text-align: center;
    padding: 40px 32px;
    max-width: 300px;
    position: relative;
}

.step-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-50);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.step-icon-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 0 auto 24px;
    color: var(--primary);
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.step-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.7;
}

.step-connector {
    display: flex;
    align-items: center;
    padding-top: 100px;
}

/* ---------- Features ---------- */
.features {
    padding: var(--section-pad) 0;
    background: var(--white);
}

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

.feature-card {
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    background: var(--white);
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-50);
    border-radius: var(--radius-sm);
    color: var(--primary);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ---------- Integrations ---------- */
.integrations {
    padding: var(--section-pad) 0;
    background: var(--gray-50);
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-bottom: 32px;
}

.integration-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}
.integration-card:hover {
    border-color: var(--primary-200);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.integration-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.integration-icon span {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
}

.integration-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.integration-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.7;
}

.integrations-note {
    text-align: center;
    font-size: 14px;
    color: var(--gray-400);
    font-style: italic;
}

/* ---------- Pricing ---------- */
.pricing {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 760px;
    margin: 0 auto;
}

.pricing-grid.pricing-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

.pricing-card {
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--gray-200);
    background: var(--white);
    position: relative;
    transition: all 0.3s ease;
}
.pricing-card:hover {
    box-shadow: var(--shadow-lg);
}

.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(67, 56, 202, 0.18);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card-header {
    margin-bottom: 28px;
}

.pricing-card-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.price-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -2px;
    line-height: 1;
}

.price-period {
    font-size: 15px;
    color: var(--gray-400);
    font-weight: 500;
}

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

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--gray-700);
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-50);
}

.pricing-features li svg {
    flex-shrink: 0;
}

.pricing-feature-disabled {
    color: var(--gray-400) !important;
}

/* ---------- Testimonials ---------- */
.testimonials {
    padding: var(--section-pad) 0;
    background: var(--gray-50);
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gray-100);
}

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

.testimonial-card p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--white);
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-author strong {
    display: block;
    font-size: 14px;
    color: var(--gray-900);
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-400);
}

/* ---------- Final CTA ---------- */
.final-cta {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.final-cta-inner {
    text-align: center;
    padding: 80px 48px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: var(--radius-2xl);
    position: relative;
    overflow: hidden;
}

.final-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 40%, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.final-cta-inner h2 {
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 16px;
    position: relative;
}

.final-cta-inner p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 500px;
    margin: 0 auto 36px;
    position: relative;
}

.final-cta-inner .btn {
    position: relative;
}

.final-cta-note {
    display: block;
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    position: relative;
}

/* ---------- Footer ---------- */
.footer {
    padding: 64px 0 32px;
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    max-width: 260px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-400);
}

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

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
    margin-bottom: 4px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-400);
    transition: color 0.2s;
}
.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
    :root { --section-pad: 80px; }

    .hero-title { font-size: 48px; }
    .section-title { font-size: 36px; }
    .final-cta-inner h2 { font-size: 36px; }

    .features-grid,
    .problem-grid,
    .integrations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root { --section-pad: 64px; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-number { font-size: 36px; }

    /* Navbar mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-md);
    }
    .nav-links.open { display: flex; }
    .nav-cta { display: none; }
    .mobile-menu-btn { display: flex; }

    /* Hero */
    .hero { padding: 120px 0 60px; }
    .hero-title { font-size: 36px; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 16px; }

    .browser-content { flex-direction: column; }
    .mock-popup { width: 100%; }

    /* Grids to single column */
    .features-grid,
    .problem-grid,
    .integrations-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid { max-width: 400px; }

    .section-title { font-size: 30px; }
    .final-cta-inner { padding: 48px 24px; }
    .final-cta-inner h2 { font-size: 28px; }

    /* Steps */
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { padding-top: 0; transform: rotate(90deg); }

    /* Footer */
    .footer-inner { flex-direction: column; gap: 32px; }
    .footer-links { flex-wrap: wrap; gap: 32px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 30px; }
    .hero { padding: 100px 0 48px; }
    .btn-lg { padding: 14px 24px; font-size: 15px; }
    .logos-row { gap: 24px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-number { font-size: 32px; }
    .floating-shape { display: none; }
}
