:root {
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --card-bg: #ffffff;
    --card-hover: #fcfdfe;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-highlight: rgba(79, 70, 229, 0.35);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --accent-color: #4f46e5;
    --accent-hover: #4338ca;
    --accent-gradient: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    --cyan-gradient: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    --emerald-gradient: linear-gradient(135deg, #059669 0%, #10b981 100%);
    --shadow-glow: 0 12px 32px -8px rgba(79, 70, 229, 0.12);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 4px -1px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 18px 36px -8px rgba(15, 23, 42, 0.08), 0 8px 16px -4px rgba(15, 23, 42, 0.03);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

body {
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 85% 35%, rgba(2, 132, 199, 0.04) 0%, transparent 40%),
        radial-gradient(rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 32px 32px;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 6px #10b981; }
    50% { transform: scale(1.25); opacity: 0.85; box-shadow: 0 0 12px #10b981; }
}

@keyframes floatGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -53%) scale(1.06); }
}

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

/* Typography & Cyrillic Balance */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.25;
    text-wrap: balance;
    color: var(--text-primary);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.cyan-text {
    background: var(--cyan-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 9999px;
    background: rgba(79, 70, 229, 0.07);
    border: 1px solid rgba(79, 70, 229, 0.22);
    color: #4338ca;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.01em;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 6px #10b981;
    animation: pulseDot 2s infinite ease-in-out;
    flex-shrink: 0;
}

/* Navbar */
body.menu-open {
    overflow: hidden;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.01em;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(124, 58, 237, 0.12) 100%);
    border: 1px solid rgba(79, 70, 229, 0.25);
    color: #4f46e5;
}

.logo-text span {
    color: var(--accent-color);
}

.nav-collapse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    margin-left: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.18s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
}

/* Nav Item Dropdown */
.nav-item-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.18s ease;
}

.nav-dropdown-trigger:hover,
.nav-item-dropdown:hover .nav-dropdown-trigger {
    color: var(--text-primary);
}

.nav-dropdown-trigger .dropdown-chevron {
    transition: transform 0.2s ease;
    opacity: 0.7;
}

.nav-item-dropdown:hover .dropdown-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 340px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-md);
    padding: 8px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12), 0 2px 6px rgba(15, 23, 42, 0.04);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
    z-index: 1002;
}

.nav-item-dropdown:hover .nav-dropdown-menu,
.nav-item-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(2px);
}

.dropdown-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: background 0.15s ease;
}

.dropdown-link:hover {
    background: #f1f5f9;
}

.dropdown-icon-box {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.dropdown-icon-box.cyan {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.dropdown-icon-box.purple {
    background: rgba(147, 51, 234, 0.1);
    color: #9333ea;
    border: 1px solid rgba(147, 51, 234, 0.2);
}

.dropdown-icon-box.indigo {
    background: rgba(79, 70, 229, 0.1);
    color: #4f46e5;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.dropdown-icon-box.green {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.dropdown-icon-box.amber {
    background: rgba(217, 119, 6, 0.1);
    color: #d97706;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.dropdown-icon-box.rose {
    background: rgba(225, 29, 72, 0.1);
    color: #e11d48;
    border: 1px solid rgba(225, 29, 72, 0.2);
}

.dropdown-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dropdown-link-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
}

.dropdown-link-desc {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
}

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

.nav-admin-btn {
    border-color: rgba(239, 68, 68, 0.35);
    color: #dc2626;
    font-size: 0.85rem;
    padding: 8px 14px;
    background: #fff;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    outline: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.28);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-primary);
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.btn-large {
    padding: 13px 26px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

/* Hamburger & Mobile Nav */
.mobile-toggle {
    display: none;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 50px 0 60px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 640px;
    height: 360px;
    background: var(--accent-gradient);
    opacity: 0.1;
    filter: blur(140px);
    pointer-events: none;
    border-radius: 50%;
    animation: floatGlow 8s infinite ease-in-out;
}

.hero-title {
    font-size: clamp(2.3rem, 4.6vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 22px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero-sandbox-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4338ca;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 99px;
    background: rgba(79, 70, 229, 0.06);
    border: 1px solid rgba(79, 70, 229, 0.18);
    transition: all 0.2s ease;
    margin-bottom: 40px;
}

.hero-sandbox-link:hover {
    background: rgba(79, 70, 229, 0.12);
    color: #312e81;
    border-color: rgba(79, 70, 229, 0.3);
}

/* Stats Counter Grid */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 48px 0 60px;
    padding: 28px 32px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 4px;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

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

/* Hero Live Sandbox Card */
.hero-sandbox-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 960px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.03);
}

.sandbox-window-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.sandbox-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.sandbox-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sandbox-dot.red { background: #ef4444; }
.sandbox-dot.yellow { background: #f59e0b; }
.sandbox-dot.green { background: #10b981; }

.sandbox-input-row {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.sandbox-url-wrapper {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    padding: 0 14px;
    flex: 1;
    transition: border-color 0.2s, background-color 0.2s;
}

.sandbox-url-wrapper:focus-within {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

.sandbox-protocol {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    margin-right: 2px;
    user-select: none;
}

.sandbox-input {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 0.88rem;
    padding: 12px 0;
    width: 100%;
    outline: none;
}

.sandbox-submit-btn {
    padding: 0 22px;
    white-space: nowrap;
}

.sandbox-quick-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.sandbox-tag {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: var(--font-main);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.sandbox-tag:hover {
    background: #f8fafc;
    border-color: #6366f1;
    color: #4338ca;
}

.sandbox-tag.active {
    background: rgba(79, 70, 229, 0.1);
    border-color: #4f46e5;
    color: #4338ca;
    font-weight: 600;
    box-shadow: 0 0 0 1px #4f46e5;
}

.sandbox-result-box {
    margin-top: 14px;
    background: #090d16;
    border: 1px solid #1e293b;
    border-radius: var(--radius-sm);
    padding: 16px;
    color: #e2e8f0;
}

.sandbox-status-line {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.sandbox-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    font-family: var(--font-mono);
}

.sandbox-terminal {
    font-family: var(--font-mono);
    font-size: 0.84rem;
    color: #cbd5e1;
    line-height: 1.6;
    max-height: 220px;
    overflow-y: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Bento & Features Grid */
.section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 46px;
}

.section-title {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    margin-bottom: 14px;
    font-weight: 800;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

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

.bento-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.bento-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glow);
    background: #ffffff;
}

.bento-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
}

.bento-icon-wrapper.indigo {
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    color: #4f46e5;
}

.bento-icon-wrapper.cyan {
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.2);
    color: #0284c7;
}

.bento-icon-wrapper.emerald {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #059669;
}

.bento-icon-wrapper.purple {
    background: rgba(147, 51, 234, 0.08);
    border: 1px solid rgba(147, 51, 234, 0.2);
    color: #9333ea;
}

.bento-icon-wrapper.amber {
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: #d97706;
}

.bento-icon-wrapper.rose {
    background: rgba(225, 29, 72, 0.08);
    border: 1px solid rgba(225, 29, 72, 0.2);
    color: #e11d48;
}

.bento-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.bento-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* Feature grid fallback */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

.feature-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #4f46e5;
}

/* Generic Cards & Utility Grids */
.card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    border-color: rgba(79, 70, 229, 0.3);
    box-shadow: 0 10px 25px -4px rgba(79, 70, 229, 0.1);
}

.grid {
    display: grid;
    gap: 24px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.table-container {
    width: 100%;
    overflow-x: auto;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    margin: 28px 0;
    box-shadow: var(--shadow-sm);
}

/* Code Playground Section */
.code-window {
    background: #090d16;
    border: 1px solid #1e293b;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.18);
    margin-top: 28px;
}

.code-header {
    background: #0e1422;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #1e293b;
    flex-wrap: wrap;
    gap: 12px;
}

.code-dots {
    display: flex;
    gap: 7px;
}

.dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.code-tab {
    padding: 5px 12px;
    font-size: 0.82rem;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.18s;
    font-weight: 500;
}

.code-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.code-tab.active {
    background: rgba(99, 102, 241, 0.25);
    color: #e0e7ff;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.45);
}

.code-body {
    padding: 24px;
    overflow-x: auto;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    line-height: 1.65;
    color: #e2e8f0;
}

.code-body pre {
    white-space: pre-wrap;
    word-break: break-all;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    align-items: stretch;
}

.pricing-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79, 70, 229, 0.35);
    box-shadow: 0 14px 30px -8px rgba(79, 70, 229, 0.15);
}

.pricing-card.featured {
    border-color: #6366f1;
    border-width: 2px;
    background: #ffffff;
    box-shadow: 0 12px 36px -6px rgba(99, 102, 241, 0.2);
}

.pricing-card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 3px 14px;
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.plan-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.pricing-card h3 {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.pricing-card p.plan-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    min-height: 42px;
    line-height: 1.45;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 18px 0 16px;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--text-primary);
}

.pricing-price span {
    font-size: 0.88rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 12px 0 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 0.86rem;
}

.pricing-features li {
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 9px;
    line-height: 1.4;
}

.pricing-features li strong {
    color: var(--text-primary);
}

.check-icon {
    color: #059669;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Benchmark Comparison Table */
.table-responsive {
    overflow-x: auto;
    margin-top: 36px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.9rem;
}

.comparison-table th {
    background: #f8fafc;
    color: var(--text-primary);
    font-weight: 600;
}

.comparison-table td {
    color: var(--text-secondary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .highlight-col {
    background: rgba(79, 70, 229, 0.04);
    color: var(--text-primary);
    font-weight: 600;
}

/* FAQ Accordion */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    cursor: pointer;
    transition: all 0.18s;
    box-shadow: var(--shadow-sm);
}

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

.faq-question {
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    color: var(--text-primary);
}

.faq-answer {
    margin-top: 14px;
    color: var(--text-secondary);
    display: none;
    line-height: 1.65;
    font-size: 0.94rem;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 36px;
    background: #f1f5f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 36px;
    margin-bottom: 40px;
}

.footer-col h4 {
    margin-bottom: 18px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.18s;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
    color: var(--text-muted);
    font-size: 0.84rem;
    flex-wrap: wrap;
    gap: 14px;
}

/* Auth Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 440px;
    padding: 36px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 11px 15px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    font-family: inherit;
    transition: border-color 0.18s, background-color 0.18s;
}

.form-control:focus {
    border-color: var(--accent-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.12);
}

/* Hero Promo Video */
.hero-promo-seamless-wrap {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.promo-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 120%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(2, 132, 199, 0.08) 40%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.promo-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    z-index: 1;
    cursor: pointer;
    background: #0f172a;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 32px -6px rgba(15, 23, 42, 0.12);
}

.promo-edge-vignette {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 16px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.promo-brand-overlay {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f8fafc;
    font-size: 0.74rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 6px;
    backdrop-filter: blur(8px);
    letter-spacing: 0.02em;
    pointer-events: none;
}

.hero-promo-video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.promo-center-feedback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.6);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.85);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
    backdrop-filter: blur(10px);
    z-index: 5;
}

.promo-center-feedback.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.promo-sound-floating-wrap {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: auto;
}

.promo-sound-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    border: 1px solid rgba(79, 70, 229, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.promo-sound-toggle-btn:hover {
    background: #ffffff;
    border-color: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}

.promo-sound-toggle-btn.unmuted {
    background: var(--accent-gradient);
    border-color: #7c3aed;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.35), 0 4px 16px rgba(0, 0, 0, 0.1);
}

.promo-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    z-index: 4;
}

.promo-progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-gradient);
    box-shadow: 0 0 8px #a855f7;
    transition: width 0.1s linear;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nav-collapse {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-container.mobile-open .nav-collapse {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff;
        padding: 24px;
        margin-left: 0;
        gap: 20px;
        overflow-y: auto;
        z-index: 999;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .nav-container.mobile-open .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .nav-container.mobile-open .nav-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 16px;
        border-top: 1px solid var(--border-color);
    }

    .nav-container.mobile-open .nav-dropdown-menu {
        position: static;
        width: 100%;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        box-shadow: none;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        margin-top: 8px;
    }

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

@media (max-width: 768px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .sandbox-input-row {
        flex-direction: column;
    }
    .sandbox-submit-btn {
        width: 100%;
        padding: 12px 0;
    }
    .hero-promo-seamless-wrap {
        max-width: 320px;
        width: 88%;
    }
}
