/* ============================================
   FILELOOM - Main Stylesheet
   Inspired by modern dark UI with animated effects
   ============================================ */

/* CSS Variables */
:root {
    --primary: #0a0a0f;
    --primary-dark: #050508;
    --secondary: #ffffff;
    --accent: #39d2c0;
    --accent-light: #5eeadb;
    --accent-dark: #2db3a3;
    --accent-dim: rgba(57, 210, 192, 0.08);
    --accent-glow: rgba(57, 210, 192, 0.15);

    --gray-50: #fafafa;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-300: #d4d4d8;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --gray-700: #3f3f46;
    --gray-800: #27272a;
    --gray-850: #1a1a22;
    --gray-900: #14141c;
    --gray-950: #0c0c10;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-2xl: 28px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(57, 210, 192, 0.15);

    --transition-fast: 150ms ease;
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: #e0e0e0;
    background-color: var(--primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   Animated Background Effects
   ============================================ */

.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
            linear-gradient(rgba(57, 210, 192, 0.03) 1px, transparent 1px),
            linear-gradient(90deg, rgba(57, 210, 192, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -2;
}

/* Floating Glowing Orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(57, 210, 192, 0.12) 0%, transparent 70%);
    top: -300px;
    right: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(57, 210, 192, 0.08) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -10s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(93, 234, 219, 0.06) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================
   Layout
   ============================================ */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-lg {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
    position: relative;
}

.section-sm {
    padding: 80px 0;
}

.section-dark {
    background: linear-gradient(180deg, var(--gray-950) 0%, var(--primary) 100%);
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}

h1 { font-size: clamp(44px, 7vw, 72px); font-weight: 700; }
h2 { font-size: clamp(32px, 4vw, 44px); }
h3 { font-size: clamp(20px, 2.5vw, 26px); }
h4 { font-size: 18px; }

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #ccc 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--gray-500);
}

.text-center {
    text-align: center;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.btn-accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    border: none;
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 40px rgba(57, 210, 192, 0.4);
}

.btn-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-accent:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: #888;
    border: 1px solid #333;
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(57, 210, 192, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-400);
    padding: 10px 18px;
}

.btn-ghost:hover {
    color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 15px;
    border-radius: var(--radius-xl);
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-base);
}

.btn:hover svg {
    transform: translateX(4px);
}

/* ============================================
   Navigation
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 15, 0.95);
    border-bottom-color: rgba(57, 210, 192, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo svg {
    width: 32px;
    height: 32px;
}

.logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.logo-text {
    color: #fff;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 6px 6px 18px;
    margin-bottom: 32px;
    background: rgba(57, 210, 192, 0.08);
    border: 1px solid rgba(57, 210, 192, 0.2);
    border-radius: 100px;
    font-size: 14px;
    color: var(--gray-300);
    animation: fadeInUp 0.6s ease both;
    transition: all var(--transition-base);
}

.hero-badge:hover {
    border-color: rgba(57, 210, 192, 0.4);
    background: rgba(57, 210, 192, 0.12);
}

.hero-badge-new {
    padding: 5px 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 100px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gray-500);
    transition: transform var(--transition-base);
}

.hero-badge:hover svg {
    transform: translateX(3px);
}

/* Logo with glow effect */
.hero-title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero h1 {
    position: relative;
    letter-spacing: -3px;
}

.hero-title-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(44px, 7vw, 72px);
    font-weight: 700;
    letter-spacing: -3px;
    color: #fff;
    filter: blur(40px);
    opacity: 0.3;
    z-index: -1;
    pointer-events: none;
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #777;
    max-width: 500px;
    margin: 0 auto 16px;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* Terminal line */
.hero-terminal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    margin-bottom: 40px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid #222;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 14px;
    animation: fadeInUp 0.6s ease 0.25s both;
}

.terminal-prompt {
    color: var(--accent);
}

.terminal-text {
    color: #888;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 18px;
    background: var(--accent);
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.hero-free-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #666;
    margin-bottom: 64px;
    animation: fadeInUp 0.6s ease 0.35s both;
}

.hero-free-note i {
    color: var(--accent);
}

/* Stats Bar */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 40px 0;
    position: relative;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 8px;
}

.stat-item::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
}

/* Hero Code Preview */
.hero-preview {
    position: relative;
    margin-top: 60px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-preview-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    border: 1px solid #1a1a22;
    background: linear-gradient(145deg, #14141c, #0c0c10);
    box-shadow:
            var(--shadow-lg),
            0 0 80px rgba(57, 210, 192, 0.08);
}

.hero-preview-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.hero-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #1a1a22;
}

.hero-preview-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.hero-preview-dot.red { background: #ff5f57; }
.hero-preview-dot.yellow { background: #febc2e; }
.hero-preview-dot.green { background: #28c840; }

.hero-preview-title {
    margin-left: auto;
    font-size: 13px;
    color: #555;
    font-family: var(--font-mono);
}

.hero-preview-body {
    padding: 28px;
}

/* ============================================
   Logos / Trust Section
   ============================================ */

.logos-section {
    padding: 60px 0;
    border-top: 1px solid #1a1a22;
    border-bottom: 1px solid #1a1a22;
    position: relative;
}

.logos-title {
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 40px;
}

.logos-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    opacity: 0.5;
    transition: all var(--transition-base);
}

.logo-item:hover {
    opacity: 1;
    color: var(--accent);
}

.logo-item svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   Section Headers (Seoma Style)
   ============================================ */

.section-header {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header.centered {
    flex-direction: column;
    text-align: center;
    gap: 16px;
}

.section-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, rgba(57, 210, 192, 0.15), rgba(57, 210, 192, 0.05));
    border: 1px solid rgba(57, 210, 192, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-family: var(--font-mono);
}

.section-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(57, 210, 192, 0.3), transparent);
}

.section-header.centered .section-line {
    display: none;
}

.section-header h2 {
    margin-bottom: 0;
}

.section-header.centered h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    max-width: 500px;
}

/* ============================================
   Features - Tabbed Showcase
   ============================================ */

.features-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.feature-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: 1px solid transparent;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
}

.feature-tab i {
    font-size: 16px;
}

.feature-tab:hover {
    color: #999;
    background: rgba(255, 255, 255, 0.03);
}

.feature-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Feature Showcase Container */
.feature-showcase {
    position: relative;
    min-height: 500px;
}

.feature-tab-content {
    display: none;
    opacity: 0;
    transform: translateY(20px);
}

.feature-tab-content.active {
    display: block;
    animation: featureFadeIn 0.5s ease forwards;
}

@keyframes featureFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Split Layout */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Content */
.feature-content {
    max-width: 480px;
}

.feature-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(57, 210, 192, 0.1);
    border: 1px solid rgba(57, 210, 192, 0.2);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: 24px;
}

.feature-label i {
    font-size: 14px;
}

.feature-content h3 {
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #fff;
}

.feature-content > p {
    font-size: 16px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-list {
    list-style: none;
    margin-bottom: 32px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    color: #aaa;
}

.feature-list li i {
    color: var(--accent);
    font-size: 14px;
}

.feature-content .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feature-content .btn i {
    font-size: 12px;
    transition: transform var(--transition-base);
}

.feature-content .btn:hover i {
    transform: translateX(4px);
}

/* Right Graphic - Preview Card */
.feature-graphic {
    display: flex;
    justify-content: center;
}

.feature-card-preview {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 0;
    overflow: hidden;
    position: relative;
}

.feature-card-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(57, 210, 192, 0.3), transparent);
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #1a1a22;
    background: rgba(0, 0, 0, 0.2);
}

.preview-title {
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.preview-badge {
    padding: 4px 10px;
    background: rgba(57, 210, 192, 0.15);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
}

.preview-badge.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

/* PDF Engine Preview */
.preview-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #1a1a22;
}

.preview-item.success {
    background: rgba(34, 197, 94, 0.05);
}

.preview-item.success > i {
    color: #22c55e;
    margin-left: auto;
}

.preview-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 18px;
}

.preview-icon.html {
    background: rgba(227, 79, 38, 0.15);
    color: #e34f26;
}

.preview-icon.pdf {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.preview-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preview-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.preview-meta {
    font-size: 12px;
    color: #666;
}

.preview-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    color: #444;
    font-size: 12px;
}

.preview-arrow i {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

/* Template Preview */
.preview-code {
    padding: 16px 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.8;
    border-bottom: 1px solid #1a1a22;
}

.preview-code code {
    display: block;
    color: #888;
}

.code-tag { color: #e06c75; }
.code-var { color: var(--accent); }
.code-helper { color: #c678dd; }

.preview-helpers {
    display: flex;
    gap: 8px;
    padding: 16px 20px;
    flex-wrap: wrap;
}

.helper-tag {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    font-size: 11px;
    color: #666;
    font-family: var(--font-mono);
}

/* Webhook Preview */
.webhook-event {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: 1px solid #1a1a22;
}

.webhook-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.webhook-dot.success { background: #22c55e; }
.webhook-dot.warning { background: #f59e0b; }

.webhook-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.webhook-name {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    font-family: var(--font-mono);
}

.webhook-time {
    font-size: 11px;
    color: #555;
}

.webhook-status {
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    color: #22c55e;
}

.webhook-status.retry {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
}

.webhook-endpoint {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 12px;
    color: #555;
    font-family: var(--font-mono);
}

.webhook-endpoint i {
    color: #444;
}

/* Storage Preview */
.storage-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-bottom: 1px solid #1a1a22;
    transition: background var(--transition-base);
}

.storage-item.active {
    background: rgba(57, 210, 192, 0.05);
}

.storage-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 18px;
}

.storage-icon.aws {
    background: rgba(255, 153, 0, 0.15);
    color: #ff9900;
}

.storage-icon.firebase {
    background: rgba(255, 196, 0, 0.15);
    color: #ffc400;
}

.storage-icon.supabase {
    background: rgba(62, 207, 142, 0.15);
    color: #3ecf8e;
}

.storage-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.storage-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.storage-bucket {
    font-size: 12px;
    color: #555;
    font-family: var(--font-mono);
}

.storage-status {
    padding: 4px 10px;
    background: rgba(57, 210, 192, 0.15);
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 500;
    color: var(--accent);
}

.storage-status.fallback {
    background: rgba(255, 255, 255, 0.05);
    color: #666;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.bento-card {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

/* Top glow line on hover */
.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

/* Mouse-tracking radial gradient */
.bento-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(255, 255, 255, 0.03);
}

.bento-card:hover::before,
.bento-card:hover::after {
    opacity: 1;
}

.bento-card.span-8 { grid-column: span 8; }
.bento-card.span-6 { grid-column: span 6; }
.bento-card.span-4 { grid-column: span 4; }
.bento-card.span-12 { grid-column: span 12; }

.bento-card-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    font-family: var(--font-mono);
}

.bento-card h3 {
    margin-bottom: 12px;
    transition: color var(--transition-base);
}

.bento-card:hover h3 {
    color: #fff;
}

.bento-card p {
    font-size: 15px;
    color: #777;
    line-height: 1.7;
}

.bento-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    transition: all var(--transition-base);
}

.bento-card-link:hover {
    color: var(--accent);
}

.bento-card:hover .bento-card-link {
    color: var(--accent);
    transform: translateX(5px);
}

.bento-card-link svg {
    width: 16px;
    height: 16px;
}

.bento-card-image {
    margin-top: 24px;
    margin-left: -32px;
    margin-right: -32px;
    margin-bottom: -32px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid #1a1a22;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

/* Feature Card (Simple) */
.feature-card {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(57, 210, 192, 0.15), rgba(57, 210, 192, 0.05));
    border: 1px solid rgba(57, 210, 192, 0.2);
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.feature-card:hover .feature-card-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.feature-card-icon svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

.feature-card h4 {
    margin-bottom: 10px;
    transition: color var(--transition-base);
}

.feature-card:hover h4 {
    color: #fff;
}

.feature-card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
}

/* ============================================
   How It Works
   ============================================ */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(90deg,
    transparent 0%,
    #1a1a22 20%,
    rgba(255,255,255,0.3) 50%,
    #1a1a22 80%,
    transparent 100%
    );
}

.step-card {
    position: relative;
    text-align: center;
    padding: 24px;
}

.step-number {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 2px solid #1a1a22;
    border-radius: 50%;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #333;
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-card:hover .step-number {
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    box-shadow:
            0 0 40px rgba(255, 255, 255, 0.1),
            inset 0 0 30px rgba(255, 255, 255, 0.02);
    transform: scale(1.05);
}

.step-card h3 {
    margin-bottom: 12px;
    transition: color var(--transition-base);
}

.step-card:hover h3 {
    color: #fff;
}

.step-card p {
    font-size: 15px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ============================================
   Modern Steps Layout
   ============================================ */

.steps-modern {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
}

.step-modern {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 0;
    position: relative;
}

.step-modern-number {
    font-size: 48px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: #1a1a22;
    line-height: 1;
    padding-top: 16px;
}

.step-modern-body {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 32px;
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.step-modern:hover .step-modern-body {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(8px);
}

.step-modern:hover .step-modern-number {
    color: #333;
}

.step-modern-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    font-size: 22px;
    color: #666;
    transition: all var(--transition-base);
}

.step-modern:hover .step-modern-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.step-modern-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.step-modern-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
}

.step-modern-visual {
    padding: 10px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 13px;
}

.step-modern-visual code {
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-modern-visual.success {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.05);
}

.step-modern-visual.success code {
    color: #22c55e;
}

.step-modern-visual.success i {
    color: #22c55e;
}

.step-connector {
    width: 2px;
    height: 32px;
    background: linear-gradient(to bottom, #1a1a22, rgba(255, 255, 255, 0.1), #1a1a22);
    margin-left: 40px;
}

/* ============================================
   Code Block & Tabs
   ============================================ */

.code-example-container {
    max-width: 800px;
    margin: 0 auto;
}

.code-tabs {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-bottom: none;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow-x: auto;
}

.code-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: transparent;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.code-tab i {
    font-size: 14px;
}

.code-tab:hover {
    color: #999;
    background: rgba(255, 255, 255, 0.03);
}

.code-tab.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.code-panel {
    display: none;
}

.code-panel.active {
    display: block;
}

.code-panel .code-block {
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    border-top: none;
}

.code-block {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    overflow: hidden;
    font-family: var(--font-mono);
    position: relative;
}

.code-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #1a1a22;
    position: relative;
}

.code-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #febc2e; }
.code-dot.green { background: #28c840; }

.code-title {
    margin-left: auto;
    font-size: 12px;
    color: #555;
    margin-right: 8px;
}

.code-copy {
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #666;
    cursor: pointer;
    transition: all var(--transition-base);
}

.code-copy:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.code-copy.copied {
    color: var(--accent);
    border-color: var(--accent);
}

.code-body {
    padding: 24px;
    font-size: 13px;
    line-height: 1.8;
    overflow-x: auto;
}

.code-body pre {
    margin: 0;
}

/* Modern Syntax Highlighting (One Dark Pro inspired) */
.token.keyword { color: #c678dd; }
.token.string { color: #98c379; }
.token.number { color: #d19a66; }
.token.property { color: #e06c75; }
.token.function { color: #61afef; }
.token.class { color: #e5c07b; }
.token.builtin { color: #e5c07b; }
.token.operator { color: #56b6c2; }
.token.punctuation { color: #abb2bf; }
.token.comment { color: #5c6370; font-style: italic; }
.token.variable { color: #e06c75; }
.token.symbol { color: #56b6c2; }
.token.php { color: #c678dd; }

/* Legacy classes (keep for compatibility) */
.code-keyword { color: #c678dd; }
.code-string { color: #98c379; }
.code-property { color: #e06c75; }
.code-comment { color: #5c6370; font-style: italic; }
.code-method { color: #61afef; }
.code-number { color: #d19a66; }

/* ============================================
   Pricing Section
   ============================================ */

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}

.pricing-toggle-label {
    font-size: 14px;
    color: #555;
    transition: color var(--transition-base);
    cursor: pointer;
}

.pricing-toggle-label.active {
    color: #fff;
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: #1a1a22;
    border: 1px solid #333;
    border-radius: 100px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.toggle-switch.active {
    background: var(--accent);
    border-color: var(--accent);
}

.toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--secondary);
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.toggle-switch.active::after {
    transform: translateX(24px);
}

.pricing-badge {
    padding: 6px 14px;
    background: rgba(57, 210, 192, 0.1);
    border: 1px solid rgba(57, 210, 192, 0.3);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
    border-radius: 100px;
    font-family: var(--font-mono);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(255, 255, 255, 0.03);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.featured {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #18182a, #0c0c10);
}

.pricing-card.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pricing-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.pricing-description {
    font-size: 14px;
    color: #555;
    margin-bottom: 24px;
}

.pricing-price {
    margin-bottom: 24px;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    font-family: var(--font-mono);
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-card.featured .pricing-amount {
    background: linear-gradient(180deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-period {
    font-size: 14px;
    color: #555;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    font-size: 14px;
    color: #888;
    border-bottom: 1px solid #1a1a22;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.pricing-card .btn {
    width: 100%;
}

/* Credit Packs */
.credit-packs {
    margin-top: 80px;
    padding-top: 80px;
    border-top: 1px solid #1a1a22;
}

.credit-packs-header {
    text-align: center;
    margin-bottom: 40px;
}

.credit-packs-header h3 {
    margin-bottom: 8px;
}

.credit-packs-header p {
    color: #666;
}

.packs-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.pack-card {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.pack-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pack-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.pack-card:hover::before {
    opacity: 1;
}

.pack-name {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.pack-pdfs {
    font-size: 36px;
    font-weight: 700;
    font-family: var(--font-mono);
    background: linear-gradient(180deg, #fff, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.pack-price {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.pack-unit {
    font-size: 12px;
    color: #444;
    font-family: var(--font-mono);
}

/* ============================================
   New Pricing Cards (App-matching)
   ============================================ */

.pricing-plans {
    margin-bottom: 40px;
}

.pricing-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

/* Horizontal Free Plan Card */
.pricing-card-free {
    margin-bottom: 32px;
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 32px 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card-free::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card-free:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(255, 255, 255, 0.02);
}

.pricing-card-free:hover::before {
    opacity: 1;
}

.pricing-free-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.pricing-free-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    min-width: 140px;
}

.pricing-free-left h3 {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.pricing-free-price {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-free-features {
    display: flex;
    gap: 48px;
    flex: 1;
}

.pricing-free-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pricing-free-features span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #888;
    white-space: nowrap;
}

.pricing-free-features span i {
    color: #666;
    font-size: 12px;
}

.pricing-card-new {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card-new:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-6px);
    box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(255, 255, 255, 0.03);
}

.pricing-card-new:hover::before {
    opacity: 1;
}

.pricing-card-new.featured {
    border-color: rgba(57, 210, 192, 0.3);
    background: linear-gradient(145deg, #14181c, #0c0c10);
}

.pricing-card-new.featured::before {
    opacity: 1;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.pricing-card-new.featured:hover {
    border-color: rgba(57, 210, 192, 0.5);
    box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 40px rgba(57, 210, 192, 0.1);
}

.pricing-card-new.dark {
    background: linear-gradient(145deg, #0c0c10, #080808);
}

.pricing-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.pricing-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.popular-badge {
    padding: 4px 10px;
    background: var(--accent);
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-toggle-inline {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    opacity: 0.6;
    transition: opacity var(--transition-base);
}

.pricing-card-new:hover .pricing-toggle-inline {
    opacity: 1;
}

.toggle-label {
    font-size: 11px;
    font-weight: 500;
    color: #666;
    letter-spacing: 0.5px;
}

.toggle-switch-new {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.toggle-switch-new input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a1a22;
    border: 1px solid #333;
    transition: 0.3s;
    border-radius: 24px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 2px;
    bottom: 2px;
    background-color: #fff;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked + .toggle-slider {
    background-color: var(--accent);
    border-color: var(--accent);
}

input:checked + .toggle-slider:before {
    transform: translateX(20px);
}

.pricing-price-new {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 42px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-mono);
    line-height: 1;
}

.pricing-billing {
    font-size: 13px;
    color: #555;
    margin-bottom: 32px;
}

.pricing-features-new {
    list-style: none;
    margin-bottom: 32px;
    padding: 0;
    flex-grow: 1;
}

.pricing-features-new li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
    color: #999;
}

.pricing-features-new li i {
    color: #666;
    font-size: 14px;
    margin-top: 2px;
    flex-shrink: 0;
}

.pricing-card-new.featured .pricing-features-new li i {
    color: var(--accent);
}

.pricing-card-new .btn {
    width: 100%;
    margin-top: auto;
}

.btn-outline-light {
    background: transparent;
    border: 1px solid #333;
    color: #fff;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #555;
}

.btn-dark {
    background: #333;
    border: 1px solid #444;
    color: #fff;
}

.btn-dark:hover {
    background: #444;
    border-color: #555;
}

/* Scale Plans View */
.scale-plans {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-plans-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.scale-plans-header h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.back-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid #333;
    border-radius: var(--radius-md);
    color: #888;
    cursor: pointer;
    transition: all var(--transition-base);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: #555;
    color: #fff;
}

/* ============================================
   Testimonials
   ============================================ */

/* ============================================
   Testimonials - Auto-scrolling
   ============================================ */

.testimonials-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin-top: 40px;
    position: relative;
}

/* Fading overlays on edges */
.testimonials-scroll-wrapper::before,
.testimonials-scroll-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 10;
    pointer-events: none;
}

.testimonials-scroll-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #0a0a0f 0%, transparent 100%);
}

.testimonials-scroll-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #0a0a0f 0%, transparent 100%);
}

.testimonials-scroll-track {
    display: flex;
    gap: 24px;
    animation: scrollTestimonials 40s linear infinite;
    width: max-content;
}

.testimonials-scroll-wrapper:hover .testimonials-scroll-track {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.testimonial-card-new {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 28px;
    min-width: 380px;
    max-width: 380px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.testimonial-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card-new:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow:
            0 20px 40px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(255, 255, 255, 0.02);
}

.testimonial-card-new:hover::before {
    opacity: 1;
}

.testimonial-content-new {
    font-size: 14px;
    line-height: 1.7;
    color: #888;
    margin-bottom: 24px;
    flex-grow: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.testimonial-author-new {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar-new {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #1a1a22;
    flex-shrink: 0;
}

.testimonial-avatar-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name-new {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    margin-bottom: 2px;
}

.testimonial-role-new {
    font-size: 12px;
    color: #555;
}

.testimonial-company-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #444;
    font-size: 13px;
    font-weight: 500;
}

.testimonial-company-logo i {
    font-size: 14px;
}

/* Keep old grid for fallback */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-quote {
    font-size: 2.5rem;
    color: #fff;
    opacity: 0.15;
    margin-bottom: -15px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-size: 15px;
    line-height: 1.8;
    color: #888;
    margin-bottom: 24px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar svg {
    width: 100%;
    height: 100%;
}

.testimonial-name {
    font-weight: 600;
    margin-bottom: 2px;
    color: #fff;
}

.testimonial-role {
    font-size: 13px;
    color: #555;
    font-family: var(--font-mono);
}

/* ============================================
   Integrations
   ============================================ */

.integrations-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.integration-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.integration-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.integration-icon:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-6px);
    box-shadow:
            0 15px 40px rgba(0, 0, 0, 0.4),
            0 0 30px rgba(255, 255, 255, 0.05);
}

.integration-icon:hover::before {
    opacity: 1;
}

.integration-icon svg,
.integration-icon img {
    width: 32px;
    height: 32px;
    transition: transform var(--transition-base);
}

.integration-icon:hover svg,
.integration-icon:hover img {
    transform: scale(1.1);
}

/* ============================================
   New Integrations Layout
   ============================================ */

.integrations-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.integration-group {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-xl);
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.integration-group::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.integration-group-header {
    margin-bottom: 24px;
}

.integration-group-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(57, 210, 192, 0.1);
    border: 1px solid rgba(57, 210, 192, 0.2);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.integration-group-badge.api {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #888;
}

.integration-group-header h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}

.integration-group-header p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.integration-group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.integration-group-grid.platforms {
    grid-template-columns: repeat(3, 1fr);
}

.integration-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.integration-card:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.integration-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 22px;
}

.integration-card-icon.aws {
    background: rgba(255, 153, 0, 0.15);
    color: #ff9900;
}

.integration-card-icon.supabase {
    background: rgba(62, 207, 142, 0.15);
    color: #3ecf8e;
}

.integration-card-icon.firebase {
    background: rgba(255, 196, 0, 0.15);
    color: #ffc400;
}

.integration-card-icon.fileloom {
    background: rgba(57, 210, 192, 0.15);
    color: var(--accent);
}

.integration-card-icon.zapier {
    background: rgba(255, 74, 0, 0.15);
    color: #ff4a00;
}

.integration-card-icon.make {
    background: rgba(108, 77, 255, 0.15);
    color: #6c4dff;
}

.integration-card-icon.n8n {
    background: rgba(234, 76, 137, 0.15);
    color: #ea4c89;
}

.integration-card-icon.retool {
    background: rgba(60, 145, 230, 0.15);
    color: #3c91e6;
}

.integration-card-icon.bubble {
    background: rgba(0, 82, 204, 0.15);
    color: #0052cc;
}

.integration-card-icon.flutterflow {
    background: rgba(98, 0, 234, 0.15);
    color: #6200ea;
}

.integration-card-name {
    font-size: 13px;
    font-weight: 500;
    color: #ccc;
}

.integration-card-status {
    font-size: 11px;
    color: var(--accent);
    padding: 2px 8px;
    background: rgba(57, 210, 192, 0.1);
    border-radius: 100px;
}

.integration-card.platform .integration-card-name {
    color: #888;
}

.integration-card-logo {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.integration-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.integration-card-logo.bubble {
    background: #fff;
    padding: 6px;
}

.integration-card-status.default {
    background: rgba(255, 255, 255, 0.05);
    color: #888;
}

.integration-group-grid.storage-grid {
    grid-template-columns: repeat(2, 1fr);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-grid {
    column-count: 2;
    column-gap: 16px;
}

.faq-item {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    break-inside: avoid;
    margin-bottom: 16px;
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    border-color: rgba(255, 255, 255, 0.2);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 24px;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    color: #ccc;
    cursor: pointer;
    transition: color var(--transition-base);
}

.faq-item:hover .faq-question,
.faq-item.active .faq-question {
    color: #fff;
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: #444;
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.faq-item:hover .faq-question svg {
    color: #fff;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
    color: #fff;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 24px;
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ============================================
   CTA Section (Seoma-style)
   ============================================ */

.cta-section {
    background: linear-gradient(145deg, #14141c, #0c0c10);
    border: 1px solid #1a1a22;
    border-radius: var(--radius-2xl);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.cta-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    margin-bottom: 16px;
    font-size: clamp(28px, 4vw, 36px);
}

.cta-section > .container > p,
.cta-section > p {
    font-size: 16px;
    color: #666;
    margin-bottom: 36px;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    position: relative;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 60px 0 40px;
    border-top: 1px solid #1a1a22;
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand p {
    font-size: 14px;
    color: #555;
    margin-top: 16px;
    max-width: 280px;
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

.footer-links a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #555;
    transition: all var(--transition-base);
}

.footer-links a:hover {
    color: var(--accent);
    transform: translateX(3px);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid #1a1a22;
}

.footer-bottom p {
    font-size: 13px;
    color: #333;
    font-family: var(--font-mono);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
}

.footer-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse-status 2s ease-in-out infinite;
}

@keyframes pulse-status {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-900);
    border-radius: var(--radius-md);
    color: var(--gray-500);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--gray-800);
    color: var(--secondary);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   Code Copy Button
   ============================================ */

.code-copy-btn {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(57, 210, 192, 0.1);
    border: 1px solid rgba(57, 210, 192, 0.2);
    border-radius: 6px;
    color: #555;
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
}

.code-header {
    position: relative;
}

.code-block:hover .code-copy-btn {
    opacity: 1;
}

.code-copy-btn:hover {
    background: rgba(57, 210, 192, 0.2);
    color: var(--accent);
}

.code-copy-btn.copied {
    color: var(--accent);
    background: rgba(57, 210, 192, 0.2);
}

/* ============================================
   Mouse-Tracking Glow (All Cards)
   ============================================ */

.pricing-card::after,
.testimonial-card::after,
.pack-card::after,
.faq-item::after,
.integration-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(57, 210, 192, 0.08) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    border-radius: inherit;
}

.pricing-card:hover::after,
.testimonial-card:hover::after,
.pack-card:hover::after,
.faq-item:hover::after,
.integration-icon:hover::after {
    opacity: 1;
}

/* ============================================
   Mobile Menu Active State
   ============================================ */

@media (max-width: 768px) {
    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        padding: 20px;
        border-bottom: 1px solid #1a1a22;
        gap: 8px;
    }

    .nav-menu.active .nav-link {
        padding: 14px 20px;
        border-radius: var(--radius-md);
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn.active svg path:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active svg path:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active svg path:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 30px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .hero-terminal {
        font-size: 12px;
        padding: 10px 16px;
    }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .feature-split {
        gap: 40px;
    }

    .feature-content h3 {
        font-size: 28px;
    }

    .integrations-container {
        grid-template-columns: 1fr;
    }

    .step-modern-body {
        grid-template-columns: 50px 1fr;
        gap: 16px;
    }

    .step-modern-visual {
        grid-column: span 2;
        justify-self: start;
        margin-top: 8px;
    }

    .bento-card.span-8,
    .bento-card.span-6 {
        grid-column: span 6;
    }

    .bento-card.span-4 {
        grid-column: span 6;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-grid-new {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .pricing-free-content {
        flex-direction: column;
        gap: 32px;
        align-items: center;
        text-align: center;
    }

    .pricing-free-left {
        align-items: center;
    }

    .pricing-free-features {
        justify-content: center;
    }

    .packs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    /* Feature split responsive */
    .feature-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .feature-content {
        max-width: 100%;
        text-align: center;
    }

    .feature-list li {
        justify-content: center;
    }

    .feature-content .btn {
        width: 100%;
        justify-content: center;
    }

    .feature-graphic {
        order: -1;
    }

    .feature-card-preview {
        max-width: 100%;
    }

    .features-tabs {
        gap: 4px;
    }

    .feature-tab {
        padding: 10px 14px;
        font-size: 13px;
    }

    .feature-tab span {
        display: none;
    }

    /* Modern steps responsive */
    .step-modern {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .step-modern-number {
        font-size: 32px;
        padding: 0;
        text-align: center;
    }

    .step-modern-body {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 16px;
    }

    .step-modern-icon {
        margin: 0 auto;
    }

    .step-modern-visual {
        justify-self: center;
    }

    .step-connector {
        margin: 0 auto;
    }

    /* Integrations responsive */
    .integration-group-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .integration-card {
        padding: 16px 8px;
    }

    .integration-card-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .integration-card-name {
        font-size: 11px;
    }

    .code-tabs {
        gap: 2px;
        padding: 6px;
    }

    .code-tab {
        padding: 8px 12px;
        font-size: 12px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-card.span-8,
    .bento-card.span-6,
    .bento-card.span-4 {
        grid-column: span 1;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .steps-grid::before {
        display: none;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid-new {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .pricing-card-free {
        padding: 24px;
    }

    .pricing-free-content {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }

    .pricing-free-left {
        align-items: center;
    }

    .pricing-free-features {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }

    .pricing-free-col {
        align-items: center;
    }

    .pricing-free-features span {
        white-space: normal;
        text-align: center;
    }

    .pricing-free-price {
        font-size: 32px;
    }

    .pricing-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .pricing-toggle-inline {
        margin-left: 0;
    }

    .scale-plans-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .packs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card-new {
        min-width: 300px;
        max-width: 300px;
    }

    .faq-grid {
        column-count: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .packs-grid {
        grid-template-columns: 1fr;
    }

    .hero-badge {
        font-size: 12px;
    }
}

/* ============================================================================
   LEGAL PAGES (Privacy, Terms, Cookies)
   ============================================================================ */

.legal-page {
    padding: 140px 0 80px;
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.legal-header {
    text-align: center;
    margin-bottom: 60px;
}

.legal-header h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #fff 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-updated {
    font-size: 14px;
    color: #666;
}

.legal-updated span {
    color: #888;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section h2 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #1a1a22;
}

.legal-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 28px 0 12px;
}

.legal-section p {
    color: #888;
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-section ul {
    list-style: none;
    margin-bottom: 20px;
}

.legal-section ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: #888;
    line-height: 1.7;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.6;
}

.legal-section ul li strong {
    color: #fff;
    font-weight: 500;
}

.legal-section a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

.legal-section a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* 404 Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-code {
    font-family: var(--font-mono);
    font-size: clamp(120px, 20vw, 200px);
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--accent) 0%, rgba(57, 210, 192, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    position: relative;
}

.error-code::after {
    content: '404';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: inherit;
    font-weight: inherit;
    background: linear-gradient(135deg, rgba(57, 210, 192, 0.1) 0%, transparent 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: blur(30px);
    z-index: -1;
}

.error-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.error-description {
    font-size: 16px;
    color: #888;
    line-height: 1.7;
    margin-bottom: 40px;
}

.error-illustration {
    margin-bottom: 40px;
}

.error-illustration svg {
    width: 200px;
    height: 160px;
    opacity: 0.6;
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.helpful-links {
    padding-top: 40px;
    border-top: 1px solid #1a1a22;
}

.helpful-links h3 {
    font-size: 14px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.links-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.links-grid a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #888;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.links-grid a:hover {
    color: var(--accent);
}

.links-grid a i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 120px 0 60px;
    }

    .legal-header h1 {
        font-size: 32px;
    }

    .legal-section h2 {
        font-size: 20px;
    }

    .error-title {
        font-size: 24px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .links-grid {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}