/* PostDog Landing Page Styles */
/* Base Reset & Variables */
:root {
    --brand: #6366f1;
    --brand-dark: #4338ca;
    --brand-light: #818cf8;
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    --green-50: #f0fdf4;
    --green-100: #dcfce7;
    --green-200: #bbf7d0;
    --green-500: #22c55e;
    --green-600: #16a34a;
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-500: #3b82f6;
    --blue-600: #2563eb;
    --purple-50: #faf5ff;
    --purple-100: #f3e8ff;
    --purple-500: #a855f7;
    --purple-600: #9333ea;
    --indigo-50: #eef2ff;
    --indigo-100: #e0e7ff;
    --indigo-200: #c7d2fe;
    --yellow-400: #facc15;
    --red-50: #fef2f2;
    --red-500: #ef4444;
    --orange-50: #fff7ed;
    --orange-600: #ea580c;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.5;
    color: var(--slate-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    line-height: 1.625;
}

.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }

.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }

.uppercase { text-transform: uppercase; }

/* Text sizes matching Tailwind */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }

.text-brand { color: var(--brand); }
.text-white { color: var(--white); }
.text-slate-400 { color: var(--slate-400); }
.text-slate-500 { color: var(--slate-500); }
.text-slate-600 { color: var(--slate-600); }
.text-slate-700 { color: var(--slate-700); }
.text-slate-900 { color: var(--slate-900); }
.text-green-500 { color: var(--green-500); }
.text-green-600 { color: var(--green-600); }
.text-blue-500 { color: var(--blue-500); }
.text-blue-600 { color: var(--blue-600); }
.text-purple-500 { color: var(--purple-500); }
.text-purple-600 { color: var(--purple-600); }

/* Containers */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-sm {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-md {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-200);
    transition: all 0.3s ease;
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
}

.nav-logo img,
.nav-logo svg {
    width: 56px;
    height: 56px;
}

@media (min-width: 768px) {
    .nav-logo img,
    .nav-logo svg {
        width: 56px;
        height: 56px;
    }
}

.nav-logo span {
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.025em;
    color: var(--slate-900);
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color 0.2s ease;
}

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

.nav-divider {
    width: 1px;
    height: 24px;
    background: var(--slate-200);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-login {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-900);
    transition: color 0.2s ease;
}

.nav-login:hover {
    color: var(--brand);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    border-radius: 9999px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--brand);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary-lg {
    background: var(--brand);
    color: var(--white);
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1.125rem;
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.3);
}

.btn-primary-lg:hover {
    background: var(--brand-dark);
    transform: scale(1.05);
}

.btn-secondary {
    background: var(--white);
    color: var(--slate-700);
    border: 1px solid var(--slate-200);
    height: 3.5rem;
    padding: 0 2rem;
    font-size: 1.125rem;
}

.btn-secondary:hover {
    background: var(--slate-50);
}

.btn-outline {
    background: transparent;
    color: var(--brand);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
}

.btn-outline:hover {
    background: rgba(99, 102, 241, 0.05);
}

.btn-ghost {
    background: var(--slate-50);
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
}

.btn-ghost:hover {
    background: var(--slate-100);
}

.btn-white {
    background: var(--white);
    color: var(--brand);
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    box-shadow: var(--shadow-xl);
}

.btn-white:hover {
    background: var(--indigo-50);
    transform: scale(1.02);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: var(--slate-600);
}

.mobile-menu-btn:hover {
    color: var(--slate-900);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-100);
    box-shadow: var(--shadow-xl);
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a,
.mobile-menu button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--slate-700);
    border-radius: 0.5rem;
}

.mobile-menu a:hover,
.mobile-menu button:hover {
    background: var(--slate-50);
}

.mobile-menu .btn-primary {
    text-align: center;
    color: var(--white);
    background: var(--brand);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 5rem;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .hero {
        padding: 12rem 0 8rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, var(--indigo-100), var(--white), var(--white));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    background: var(--indigo-50);
    border: 1px solid var(--indigo-100);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand);
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero-badge {
        margin-bottom: 2rem;
    }
}

.hero-badge-dot {
    position: relative;
    width: 8px;
    height: 8px;
}

.hero-badge-dot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--brand-light);
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.hero-badge-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--brand);
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.025em;
    margin-bottom: 2rem;
    line-height: 1.1;
}

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

.hero-title-gradient {
    background: linear-gradient(135deg, var(--brand), var(--purple-600));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    max-width: 42rem;
    margin: 1.5rem auto 2.5rem;
    font-size: 1.25rem;
    color: var(--slate-600);
    line-height: 1.625;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-500);
    margin-top: 2.5rem;
}

@media (min-width: 640px) {
    .hero-features {
        gap: 2rem;
    }
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature svg {
    color: var(--green-500);
}

/* Dashboard Preview */
.dashboard-preview {
    position: relative;
    z-index: 20;
    margin-top: -6rem;
    padding-bottom: 5rem;
}

.dashboard-frame {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.dashboard-mockup {
    position: relative;
    background: var(--slate-900);
    padding: 0.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-2xl);
}

.dashboard-inner {
    background: var(--slate-100);
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 16/9;
    display: flex;
}

.dashboard-sidebar {
    width: 64px;
    background: #1e1f22;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
}

.dashboard-sidebar-item {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    background: rgba(255,255,255,0.1);
}

.dashboard-sidebar-item.active {
    background: var(--brand);
    margin-bottom: 1rem;
}

.dashboard-main {
    flex: 1;
    background: var(--slate-50);
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    height: 56px;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}

.dashboard-header-title {
    width: 128px;
    height: 16px;
    background: var(--slate-200);
    border-radius: 4px;
}

.dashboard-header-actions {
    display: flex;
    gap: 0.5rem;
}

.dashboard-header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--slate-200);
}

.dashboard-header-avatar:last-child {
    background: var(--indigo-100);
}

.dashboard-grid {
    flex: 1;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    overflow: hidden;
}

.dashboard-card {
    background: var(--white);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
}

.dashboard-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.dashboard-card-icon.green {
    background: var(--green-50);
    color: var(--green-500);
}

.dashboard-card-icon.blue {
    background: var(--blue-50);
    color: var(--blue-500);
}

.dashboard-card-icon.purple {
    background: var(--purple-50);
    color: var(--purple-500);
}

.dashboard-card-value {
    height: 24px;
    width: 64px;
    background: var(--slate-200);
    border-radius: 4px;
    margin-bottom: 4px;
}

.dashboard-card-label {
    height: 12px;
    width: 96px;
    background: var(--slate-100);
    border-radius: 4px;
}

.dashboard-chart {
    grid-column: span 2;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    display: flex;
    flex-direction: column;
}

.dashboard-chart-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.dashboard-chart-title {
    height: 16px;
    width: 128px;
    background: var(--slate-200);
    border-radius: 4px;
}

.dashboard-chart-filter {
    height: 16px;
    width: 64px;
    background: var(--slate-100);
    border-radius: 4px;
}

.dashboard-chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0 0.5rem 0.5rem;
}

.dashboard-chart-bar {
    flex: 1;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 4px 4px 0 0;
    transition: background 0.2s;
}

.dashboard-chart-bar:hover {
    background: rgba(99, 102, 241, 0.2);
}

.dashboard-list {
    background: var(--white);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-100);
    display: none;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-list-title {
    height: 16px;
    width: 96px;
    background: var(--slate-200);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.dashboard-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dashboard-list-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--slate-100);
}

.dashboard-list-content {
    flex: 1;
}

.dashboard-list-line {
    height: 8px;
    background: var(--slate-100);
    border-radius: 4px;
    margin-bottom: 4px;
}

.dashboard-list-line:last-child {
    width: 66%;
    background: var(--slate-50);
    margin-bottom: 0;
}

/* Floating Badges */
.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-100);
    display: none;
    align-items: center;
    gap: 0.75rem;
    animation: bounce 2s infinite;
    z-index: 30;
}

.floating-badge-icon {
    padding: 0.5rem;
    border-radius: 50%;
}

.floating-badge-icon.green {
    background: var(--green-100);
    color: var(--green-600);
}

.floating-badge-icon.purple {
    background: var(--purple-100);
    color: var(--purple-600);
}

.floating-badge-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-500);
}

.floating-badge-value {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-900);
}

.floating-badge-left {
    top: -1.5rem;
    left: -1.5rem;
}

.floating-badge-right {
    bottom: -1.5rem;
    right: -1.5rem;
    animation-delay: 0.7s;
}

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

/* Social Proof */
.social-proof {
    padding: 2.5rem 0;
    border-top: 1px solid var(--slate-100);
    border-bottom: 1px solid var(--slate-100);
    background: rgba(248, 250, 252, 0.5);
}

.social-proof-text {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-400);
    margin-bottom: 2rem;
}

.social-proof-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s;
}

.social-proof-logos:hover {
    filter: grayscale(0);
    opacity: 1;
}

.social-proof-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-400);
}

/* Feature Grid */
.features {
    padding: 6rem 0;
    background: var(--white);
}

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

.section-header-sm {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand);
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.625;
}

@media (min-width: 768px) {
    .section-subtitle {
        font-size: 1.25rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.625;
}

@media (min-width: 768px) {
    .section-description {
        font-size: 1.25rem;
    }
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

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

/* Group hover effect for icons */
.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.feature-icon.green {
    background: var(--green-50);
    color: var(--green-600);
}

.feature-icon.blue {
    background: var(--blue-50);
    color: var(--blue-600);
}

.feature-icon.purple {
    background: var(--purple-50);
    color: var(--purple-600);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--slate-600);
    line-height: 1.625;
}

/* Deep Dive Sections */
.deep-dive {
    padding: 6rem 0;
    background: var(--white);
    border-top: 1px solid var(--slate-100);
}

.deep-dive-inner {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .deep-dive-inner {
        flex-direction: row;
        gap: 4rem;
    }

    .deep-dive-inner.reverse {
        flex-direction: row-reverse;
    }
}

.deep-dive-mockup {
    position: relative;
    width: 100%;
}

@media (min-width: 1024px) {
    .deep-dive-mockup {
        width: 50%;
    }
}

.deep-dive-bg {
    position: absolute;
    inset: -1rem;
    border-radius: 1.5rem;
    opacity: 0.5;
    transform: rotate(-2deg);
}

.deep-dive-bg.green {
    background: linear-gradient(135deg, var(--green-100), transparent);
}

.deep-dive-bg.blue {
    background: linear-gradient(135deg, var(--blue-100), transparent);
}

.deep-dive-content {
    flex: 1;
}

@media (min-width: 1024px) {
    .deep-dive-content {
        width: 50%;
    }
}

.deep-dive-content > * + * {
    margin-top: 1.5rem;
}

.deep-dive-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.deep-dive-title {
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 1rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .deep-dive-title {
        font-size: 2.25rem;
    }
}

.deep-dive-description {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.deep-dive-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 0 !important;
}

.deep-dive-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--slate-700);
}

.deep-dive-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0.25rem;
    border-radius: 50%;
    flex-shrink: 0;
}

.deep-dive-feature-icon.green {
    background: var(--green-100);
    color: var(--green-600);
}

.deep-dive-feature-icon.blue {
    background: var(--blue-100);
    color: var(--blue-600);
}

/* UI Mockups */
.whatsapp-mock {
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 20rem;
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    transition: transform 0.3s;
}

.whatsapp-mock:hover {
    transform: scale(1.02);
}

.whatsapp-header {
    height: 48px;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.75rem;
}

.whatsapp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--green-600);
}

.whatsapp-header-info {
    flex: 1;
}

.whatsapp-header-name {
    height: 12px;
    width: 96px;
    background: var(--slate-200);
    border-radius: 4px;
    margin-bottom: 4px;
}

.whatsapp-header-status {
    height: 8px;
    width: 64px;
    background: var(--slate-100);
    border-radius: 4px;
}

.whatsapp-body {
    flex: 1;
    background: #efeae2;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.whatsapp-body-bg {
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAnSURBVHgB7cxBDQAACAOw+bddYrDRAUOl+IXKaAAAAAAAAAAAAMBNB0rIAIH2AxN0AAAAAElFTkSuQmCC");
}

.whatsapp-message {
    padding: 0.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    max-width: 80%;
    position: relative;
    z-index: 1;
}

.whatsapp-message.received {
    align-self: flex-start;
    background: var(--white);
    border-top-left-radius: 0;
}

.whatsapp-message.sent {
    align-self: flex-end;
    background: #dcf8c6;
    border-top-right-radius: 0;
}

.whatsapp-message-line {
    height: 8px;
    border-radius: 4px;
    margin-bottom: 4px;
}

.whatsapp-message.received .whatsapp-message-line {
    background: var(--slate-200);
}

.whatsapp-message.sent .whatsapp-message-line {
    background: rgba(34, 197, 94, 0.3);
}

.whatsapp-template {
    align-self: flex-start;
    background: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-sm);
    max-width: 85%;
    overflow: hidden;
    border: 1px solid var(--slate-100);
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

.whatsapp-template-image {
    height: 128px;
    background: var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-300);
}

.whatsapp-template-content {
    padding: 0.5rem;
}

.whatsapp-template-title {
    height: 12px;
    width: 128px;
    background: var(--slate-200);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.whatsapp-template-text {
    height: 8px;
    background: var(--slate-100);
    border-radius: 4px;
    margin-bottom: 4px;
}

.whatsapp-template-text:last-of-type {
    width: 80%;
    margin-bottom: 0.75rem;
}

.whatsapp-template-button {
    background: var(--slate-50);
    color: var(--green-600);
    text-align: center;
    padding: 0.25rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.whatsapp-footer {
    height: 56px;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
    padding: 0.75rem;
    display: flex;
    gap: 0.5rem;
}

.whatsapp-add-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid var(--slate-200);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
}

.whatsapp-input {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 9999px;
}

.whatsapp-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green-500);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-mock {
    background: var(--white);
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    height: 20rem;
    max-width: 28rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    transition: transform 0.3s;
}

.social-mock:hover {
    transform: scale(1.02);
}

.social-header {
    height: 48px;
    background: var(--white);
    border-bottom: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
}

.social-header-tabs {
    width: 80px;
    height: 24px;
    background: var(--slate-100);
    border-radius: 4px;
}

.social-header-btn {
    background: var(--blue-600);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
}

.social-body {
    flex: 1;
    padding: 1rem;
    display: flex;
    gap: 1rem;
}

.social-compose {
    flex: 1;
}

.social-compose-label {
    height: 16px;
    width: 128px;
    background: var(--slate-100);
    border-radius: 4px;
    margin-bottom: 1rem;
}

.social-compose-textarea {
    height: 96px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.social-compose-tools {
    display: flex;
    gap: 0.5rem;
}

.social-compose-tool {
    width: 32px;
    height: 32px;
    background: var(--slate-100);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
}

.social-preview {
    width: 160px;
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 0.5rem;
    padding: 0.5rem;
    display: none;
}

.social-preview-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.social-preview-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--blue-100);
}

.social-preview-name {
    height: 8px;
    width: 64px;
    background: var(--slate-200);
    border-radius: 4px;
}

.social-preview-image {
    height: 64px;
    background: var(--slate-200);
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.social-preview-text {
    height: 8px;
    background: var(--slate-200);
    border-radius: 4px;
    margin-bottom: 4px;
}

.social-preview-text:last-child {
    width: 66%;
}

.social-footer {
    height: 48px;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
}

.social-progress {
    flex: 1;
    height: 8px;
    background: var(--slate-200);
    border-radius: 9999px;
    overflow: hidden;
}

.social-progress-bar {
    width: 33%;
    height: 100%;
    background: var(--blue-500);
}

.social-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--slate-400);
}

/* Stats Section */
.stats {
    padding: 5rem 0;
    background: var(--slate-900);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        border-top: none;
    }
}

.stat-block {
    padding: 1.5rem;
}

.stat-number {
    font-size: 1.875rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: var(--white);
}

@media (min-width: 768px) {
    .stat-number {
        font-size: 2.25rem;
    }
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--slate-400);
}

/* Integrations */
.integrations {
    padding: 6rem 0;
    background: var(--slate-50);
}

.integrations h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1.5rem;
}

.integrations p {
    color: var(--slate-600);
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    align-items: center;
    filter: grayscale(1);
    opacity: 0.75;
    transition: all 0.5s;
}

.integrations-grid:hover {
    filter: grayscale(0);
    opacity: 1;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--slate-400);
}

.integration-item svg {
    width: 40px;
    height: 40px;
}

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

.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.pricing-card {
    position: relative;
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--slate-200);
    background: var(--white);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s;
}

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

.pricing-card.popular {
    border-color: var(--brand);
    box-shadow: var(--shadow-2xl);
    z-index: 10;
}

@media (min-width: 768px) {
    .pricing-card.popular {
        transform: scale(1.05);
    }
}

.pricing-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-md);
}

.pricing-header {
    margin-bottom: 1.5rem;
}

.pricing-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
}

.pricing-description {
    font-size: 0.875rem;
    color: var(--slate-500);
    margin-top: 0.5rem;
    min-height: 2.5rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 2rem;
}

.pricing-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--slate-900);
    letter-spacing: -0.025em;
}

.pricing-period {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slate-500);
    margin-left: 0.5rem;
}

.pricing-features {
    flex: 1;
    margin-bottom: 2rem;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-feature svg {
    color: var(--brand);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-feature span {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
}

.pricing-cta {
    width: 100%;
    padding: 1rem;
    border-radius: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
    margin-top: auto;
}

.pricing-cta.primary {
    background: var(--brand);
    color: var(--white);
    box-shadow: var(--shadow-lg);
}

.pricing-cta.primary:hover {
    background: var(--brand-dark);
}

.pricing-cta.secondary {
    background: var(--slate-50);
    color: var(--slate-900);
    border: 1px solid var(--slate-200);
}

.pricing-cta.secondary:hover {
    background: var(--slate-100);
}

/* Testimonials */
.testimonials {
    padding: 6rem 0;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-200);
}

.testimonials-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    color: var(--slate-900);
    margin-bottom: 4rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-100);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    display: flex;
    gap: 0.25rem;
    color: var(--yellow-400);
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1.125rem;
    color: var(--slate-700);
    line-height: 1.625;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: var(--shadow-sm);
}

.testimonial-name {
    font-weight: 700;
    color: var(--slate-900);
}

.testimonial-role {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--slate-500);
}

/* FAQ */
.faq {
    padding: 6rem 0;
    background: var(--white);
}

.faq-title {
    font-size: 1.875rem;
    font-weight: 700;
    text-align: center;
    color: var(--slate-900);
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .faq-title {
        font-size: 2.25rem;
    }
}

.faq-list {
    max-width: 100%;
    margin: 0;
}

.faq-item {
    border: 1px solid var(--slate-200);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 1.75rem;
    background: var(--white);
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--slate-900);
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--slate-50);
}

.faq-icon {
    color: var(--slate-400);
    transition: transform 0.3s;
    flex-shrink: 0;
}

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

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

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

.faq-answer-content {
    padding: 1.5rem 1.75rem;
    background: var(--slate-50);
    border-top: 1px solid var(--slate-100);
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.75;
}

.faq-answer-content a {
    color: var(--brand);
    text-decoration: underline;
}

.faq-answer-content a:hover {
    color: var(--brand-dark);
}

/* FAQ Page Specific Styles */
.faq-category {
    margin-bottom: 4rem;
    scroll-margin-top: 180px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--slate-900);
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--slate-200);
}

.faq-category-title svg {
    color: var(--brand);
    flex-shrink: 0;
}

.faq-category-link {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.faq-category-link:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* FAQ Search Bar */
.faq-search-wrapper {
    max-width: 40rem;
    margin: 0 auto;
}

.faq-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    color: var(--slate-400);
    pointer-events: none;
}

.faq-search-input {
    width: 100%;
    padding: 1.125rem 3.5rem;
    font-size: 1.125rem;
    font-family: inherit;
    color: var(--slate-900);
    background: var(--white);
    border: 2px solid var(--slate-200);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    transition: all 0.2s ease;
}

.faq-search-input::placeholder {
    color: var(--slate-400);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: var(--shadow-xl), 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.faq-search-clear {
    position: absolute;
    right: 1rem;
    padding: 0.5rem;
    color: var(--slate-400);
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.faq-search-clear:hover {
    color: var(--slate-600);
    background: var(--slate-100);
}

.faq-search-hint {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--slate-400);
}

/* Search Results State */
.faq-search-results-info {
    text-align: center;
    padding: 1.5rem;
    margin-bottom: 2rem;
    background: var(--indigo-50);
    border-radius: 1rem;
    color: var(--brand);
    font-weight: 600;
}

.faq-item.search-hidden {
    display: none;
}

.faq-category.search-hidden {
    display: none;
}

.faq-item.search-match .faq-question {
    background: var(--indigo-50);
}

.faq-no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--slate-500);
}

.faq-no-results svg {
    color: var(--slate-300);
    margin-bottom: 1.5rem;
}

.faq-no-results h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.faq-no-results p {
    font-size: 1rem;
    color: var(--slate-500);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: var(--brand);
    position: relative;
    overflow: hidden;
}

.cta-pattern {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 56rem;
    margin: 0 auto;
}

.cta-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.25rem;
    }
}

.cta-description {
    font-size: 1.25rem;
    color: var(--indigo-100);
    margin-bottom: 2.5rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--indigo-200);
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--slate-900);
    color: var(--slate-300);
    padding: 3rem 0;
    border-top: 1px solid var(--slate-800);
}

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

.footer-brand {
    margin-bottom: 1rem;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand-logo img,
.footer-brand-logo svg {
    width: 52px;
    height: 52px;
}

@media (min-width: 768px) {
    .footer-brand-logo img,
    .footer-brand-logo svg {
        width: 52px;
        height: 52px;
    }
}

.footer-brand-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand-text {
    font-size: 0.875rem;
    color: var(--slate-400);
    line-height: 1.625;
}

.footer-column h4 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a {
    font-size: 0.875rem;
    color: var(--slate-400);
    transition: color 0.2s;
}

.footer-column a:hover {
    color: var(--brand);
}

.footer-bottom {
    border-top: 1px solid var(--slate-800);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--slate-500);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--slate-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate-400);
    transition: all 0.2s;
}

.footer-social-link:hover {
    background: var(--slate-700);
    color: var(--white);
}

/* Responsive */
@media (min-width: 640px) {
    .social-preview {
        display: block;
    }
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .dashboard-sidebar {
        display: flex;
    }

    .dashboard-list {
        display: flex;
    }

    .floating-badge {
        display: flex;
    }

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

    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

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

/* Page Specific Styles */

/* Docs Page */
.docs-layout {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    gap: 3rem;
}

.docs-sidebar {
    display: none;
    width: 240px;
    flex-shrink: 0;
}

.docs-sidebar-section {
    margin-bottom: 2rem;
}

.docs-sidebar-title {
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 1rem;
    padding: 0 0.5rem;
}

.docs-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.docs-sidebar-link {
    display: block;
    padding: 0.375rem 0.5rem;
    font-size: 0.875rem;
    color: var(--slate-600);
    border-radius: 4px;
    transition: all 0.2s;
}

.docs-sidebar-link:hover {
    background: var(--slate-100);
}

.docs-sidebar-link.active {
    background: var(--indigo-50);
    color: var(--brand);
    font-weight: 500;
}

.docs-content {
    flex: 1;
    min-width: 0;
}

.docs-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.docs-content .lead {
    font-size: 1.25rem;
    color: var(--slate-600);
    margin-bottom: 2.5rem;
}

.docs-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.docs-card {
    padding: 1.5rem;
    background: var(--white);
    border: 1px solid var(--slate-200);
    border-radius: 0.75rem;
    transition: all 0.2s;
    cursor: pointer;
}

.docs-card:hover {
    border-color: var(--brand);
}

.docs-card-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 1rem;
}

.docs-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.docs-card p {
    font-size: 0.875rem;
    color: var(--slate-500);
}

/* API Reference Page */
.api-layout {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
}

.api-sidebar {
    display: none;
    width: 256px;
    padding: 3rem 1.5rem;
    border-right: 1px solid var(--slate-800);
    height: calc(100vh - 65px);
    position: sticky;
    top: 65px;
    overflow-y: auto;
}

.api-sidebar-section {
    margin-bottom: 2rem;
}

.api-sidebar-title {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.75rem;
    font-family: inherit;
}

.api-sidebar-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.api-sidebar-link {
    font-size: 0.875rem;
    color: var(--slate-400);
    transition: color 0.2s;
    cursor: pointer;
}

.api-sidebar-link:hover {
    color: var(--white);
}

.api-sidebar-link.active {
    color: var(--brand-light);
}

.api-content {
    flex: 1;
    padding: 3rem 2rem;
}

.api-section {
    margin-bottom: 4rem;
}

.api-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.api-section > p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.api-code-block {
    background: var(--slate-950);
    border: 1px solid var(--slate-800);
    border-radius: 0.5rem;
    padding: 1rem;
}

.api-code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}

.api-code-copy {
    cursor: pointer;
    transition: color 0.2s;
}

.api-code-copy:hover {
    color: var(--white);
}

.api-endpoint {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.api-method {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
}

.api-method.post {
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.api-method.get {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.api-params {
    border-bottom: 1px solid var(--slate-800);
    padding-bottom: 2rem;
    margin-bottom: 2rem;
}

.api-params h4 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
    font-family: inherit;
}

.api-param {
    display: grid;
    grid-template-columns: 1fr 80px 2fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.api-param-name {
    color: var(--brand-light);
    font-family: monospace;
}

.api-param-type {
    color: var(--slate-500);
}

.api-pre {
    background: var(--slate-950);
    border: 1px solid var(--slate-800);
    border-radius: 0.5rem;
    padding: 1.5rem;
    overflow-x: auto;
    white-space: pre;
    font-family: 'Monaco', 'Menlo', monospace;
}

/* Blog Styles */
.blog-hero {
    padding: 4rem 0;
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-100);
}

.blog-hero-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-hero-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.blog-hero-header p {
    font-size: 1.25rem;
    color: var(--slate-600);
    max-width: 42rem;
    margin: 0 auto;
}

.blog-featured {
    background: var(--white);
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--slate-100);
    cursor: pointer;
    transition: all 0.3s;
}

.blog-featured:hover {
    box-shadow: var(--shadow-2xl);
}

.blog-featured-grid {
    display: grid;
    grid-template-columns: 1fr;
}

.blog-featured-image {
    position: relative;
    height: 256px;
    overflow: hidden;
}

.blog-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.blog-featured:hover .blog-featured-image img {
    transform: scale(1.05);
}

.blog-featured-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.blog-category {
    padding: 0.25rem 0.75rem;
    background: var(--indigo-50);
    color: var(--brand);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 9999px;
}

.blog-read-time {
    font-size: 0.75rem;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-featured-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--slate-900);
    transition: color 0.2s;
}

.blog-featured:hover .blog-featured-title {
    color: var(--brand);
}

.blog-featured-excerpt {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.blog-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--indigo-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand);
    font-weight: 700;
}

.blog-author-name {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--slate-900);
}

.blog-author-date {
    font-size: 0.75rem;
    color: var(--slate-500);
}

.blog-read-more {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand);
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.2s;
}

.blog-featured:hover .blog-read-more {
    transform: translateX(4px);
}

/* Blog Grid */
.blog-grid-section {
    padding: 5rem 0;
}

.blog-grid-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}

.blog-grid-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

.blog-filters {
    display: flex;
    gap: 0.5rem;
}

.blog-filter {
    padding: 0.5rem 1rem;
    border: 1px solid var(--slate-200);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: all 0.2s;
}

.blog-filter:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--slate-100);
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    height: 192px;
    overflow: hidden;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 9999px;
    box-shadow: var(--shadow-sm);
}

.blog-card-content {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    font-size: 0.75rem;
    color: var(--slate-400);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card:hover .blog-card-title {
    color: var(--brand);
}

.blog-card-excerpt {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.7;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.blog-card-footer {
    padding-top: 1rem;
    border-top: 1px solid var(--slate-50);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--slate-600);
}

/* Newsletter */
.newsletter {
    padding: 5rem 0;
    background: var(--slate-900);
    color: var(--white);
}

.newsletter-content {
    max-width: 28rem;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--slate-400);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: var(--slate-800);
    border: 1px solid var(--slate-700);
    border-radius: 0.5rem;
    color: var(--white);
    font-size: 1rem;
}

.newsletter-input::placeholder {
    color: var(--slate-500);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--brand);
    color: var(--white);
    font-weight: 700;
    border-radius: 0.5rem;
    transition: background 0.2s;
}

.newsletter-btn:hover {
    background: var(--brand-dark);
}

/* Changelog Styles */
.changelog-section {
    padding: 4rem 0;
}

.changelog-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.changelog-list {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.changelog-item {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--slate-100);
}

.changelog-dot {
    position: absolute;
    left: -9px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--white);
}

.changelog-dot.feature {
    background: var(--brand);
}

.changelog-dot.improvement {
    background: var(--green-500);
}

.changelog-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.changelog-date {
    font-size: 0.875rem;
    font-family: monospace;
    color: var(--slate-500);
}

.changelog-version {
    padding: 0.125rem 0.5rem;
    background: var(--slate-100);
    border: 1px solid var(--slate-200);
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--slate-600);
}

.changelog-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.changelog-changes {
    background: var(--slate-50);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-100);
}

.changelog-change {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--slate-700);
    margin-bottom: 0.75rem;
}

.changelog-change:last-child {
    margin-bottom: 0;
}

.changelog-change-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-light);
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Community Page */
.community-hero {
    padding: 5rem 0;
    text-align: center;
}

.community-icon {
    display: inline-flex;
    padding: 0.75rem;
    background: var(--red-50);
    color: var(--red-500);
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.community-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.community-description {
    font-size: 1.25rem;
    color: var(--slate-600);
    max-width: 42rem;
    margin: 0 auto 3rem;
}

.community-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 56rem;
    margin: 0 auto;
}

.community-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s;
}

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

.community-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    transition: transform 0.3s;
}

.community-card:hover .community-card-icon {
    transform: scale(1.1);
}

.community-card-icon.discord {
    background: #5865F2;
}

.community-card-icon.twitter {
    background: #1DA1F2;
}

.community-card-icon.github {
    background: #333;
}

.community-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.community-card p {
    color: var(--slate-500);
    margin-bottom: 1.5rem;
}

.community-card-link {
    font-weight: 700;
}

.community-card-link.discord { color: #5865F2; }
.community-card-link.twitter { color: #1DA1F2; }
.community-card-link.github { color: #333; }

.community-events {
    max-width: 56rem;
    margin: 5rem auto 0;
    padding: 2rem;
    background: var(--slate-50);
    border-radius: 1rem;
    border: 1px solid var(--slate-100);
    text-align: center;
}

.community-events-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.community-events-header svg {
    color: var(--brand);
}

.community-events h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.community-events p {
    color: var(--slate-600);
}

/* Integration Cards */
.integrations-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.integration-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--slate-200);
    transition: all 0.2s;
    cursor: pointer;
}

.integration-card:hover {
    box-shadow: var(--shadow-lg);
}

.integration-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.integration-card-icon {
    width: 48px;
    height: 48px;
    background: var(--indigo-50);
    color: var(--brand);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.integration-card:hover .integration-card-icon {
    transform: scale(1.1);
}

.integration-card-name {
    font-weight: 700;
    color: var(--slate-900);
}

.integration-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-400);
}

.integration-card p {
    font-size: 0.875rem;
    color: var(--slate-600);
    line-height: 1.6;
}

/* Legal Pages */
.legal-section {
    padding: 3rem 0;
}

.legal-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--slate-200);
}

.legal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.legal-icon {
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.legal-icon.indigo {
    background: var(--indigo-50);
    color: var(--brand);
}

.legal-icon.orange {
    background: var(--orange-50);
    color: var(--orange-600);
}

.legal-title {
    font-size: 1.875rem;
    font-weight: 700;
}

.legal-date {
    color: var(--slate-500);
}

.legal-content {
    color: var(--slate-600);
    line-height: 1.8;
}

.legal-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin: 2rem 0 1rem;
}

.legal-content p {
    margin-bottom: 1rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    position: relative;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: -1rem;
    top: 0.6rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--brand);
}

/* Simple Nav for Subpages */
.simple-nav {
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    padding: 1rem 2rem;
}

.simple-nav-inner {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.simple-nav-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--slate-500);
    transition: color 0.2s;
}

.simple-nav-back:hover {
    color: var(--slate-900);
}

.simple-nav-divider {
    width: 1px;
    height: 24px;
    background: var(--slate-200);
}

.simple-nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.simple-nav-brand svg {
    width: 24px;
    height: 24px;
}

.simple-nav-brand span {
    font-weight: 700;
    color: var(--slate-900);
}

/* Search Bar */
.search-bar {
    position: relative;
    width: 256px;
    display: none;
}

.search-bar svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--slate-400);
}

.search-bar input {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 2.25rem;
    background: var(--slate-100);
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
}

.search-bar input:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--brand);
}

/* Comparison Table */
.comparison-table {
    width: 100%;
    text-align: left;
    border-collapse: collapse;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid var(--slate-200);
    box-shadow: var(--shadow-sm);
}

.comparison-table thead tr {
    background: var(--slate-50);
    border-bottom: 1px solid var(--slate-200);
}

.comparison-table th {
    padding: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.comparison-table th:first-child {
    width: 33%;
}

.comparison-table th:not(:first-child) {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--slate-900);
}

.comparison-table th.highlight {
    color: var(--brand);
    background: rgba(99, 102, 241, 0.05);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--slate-100);
}

.comparison-table tbody tr:hover {
    background: var(--slate-50);
}

.comparison-table tbody tr.category-row {
    background: rgba(248, 250, 252, 0.5);
}

.comparison-table tbody tr.category-row td {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--slate-500);
}

.comparison-table td {
    padding: 1rem 1.5rem;
    font-size: 0.875rem;
}

.comparison-table td:first-child {
    font-weight: 500;
    color: var(--slate-700);
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td.highlight {
    background: rgba(99, 102, 241, 0.03);
    font-weight: 500;
}

.comparison-check {
    display: inline-flex;
    padding: 0.25rem;
    background: var(--green-100);
    color: var(--green-600);
    border-radius: 50%;
}

.comparison-dash {
    color: var(--slate-300);
}

@media (min-width: 640px) {
    .newsletter-form {
        flex-direction: row;
    }

    .blog-featured-grid {
        grid-template-columns: 1fr 1fr;
    }

    .blog-featured-image {
        height: auto;
    }

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

@media (min-width: 768px) {
    .docs-sidebar {
        display: block;
    }

    .docs-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .api-sidebar {
        display: block;
    }

    .search-bar {
        display: block;
    }

    .community-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (min-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .integrations-list {
        grid-template-columns: repeat(3, 1fr);
    }
}
