:root, [data-theme="dark"] {
    --bg-deep: #080b12;
    --bg-surface: #0f1627;
    --bg-card: rgba(20, 29, 48, 0.7);
    --bg-card-hover: rgba(28, 41, 68, 0.85);
    --bg-glass: rgba(15, 22, 39, 0.8);
    --line: rgba(255, 255, 255, 0.08);
    --line-bright: rgba(255, 255, 255, 0.16);
    --line-active: #6366f1;

    --text-white: #f8fafc;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    --accent: #ec4899;
    --cyan: #06b6d4;
    --emerald: #10b981;
    --amber: #f59e0b;

    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-glow: radial-gradient(circle at 50% 30%, rgba(99, 102, 241, 0.22) 0%, rgba(139, 92, 246, 0.1) 40%, transparent 70%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);

    --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 10px 40px -10px rgba(99, 102, 241, 0.4);
    --shadow-card: 0 12px 36px -4px rgba(0, 0, 0, 0.4);

    --brand-text-grad: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
    --box-inner-bg: rgba(0, 0, 0, 0.25);
    --box-inner-border: rgba(255, 255, 255, 0.08);
    --btn-secondary-bg: rgba(255, 255, 255, 0.06);
    --btn-secondary-hover: rgba(255, 255, 255, 0.12);
    --pill-bg: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] {
    --bg-deep: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.88);
    --line: rgba(15, 23, 42, 0.08);
    --line-bright: rgba(15, 23, 42, 0.16);
    --line-active: #4f46e5;

    --text-white: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;

    --primary: #4f46e5;
    --primary-light: #6366f1;
    --primary-dark: #3730a3;
    --accent: #db2777;
    --cyan: #0891b2;
    --emerald: #059669;
    --amber: #d97706;

    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    --gradient-glow: radial-gradient(circle at 50% 20%, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.05) 50%, transparent 75%);
    --gradient-card: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 250, 252, 0.9) 100%);

    --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 10px 30px -10px rgba(79, 70, 229, 0.25);
    --shadow-card: 0 10px 30px -4px rgba(15, 23, 42, 0.07), 0 4px 10px -2px rgba(15, 23, 42, 0.03);

    --brand-text-grad: linear-gradient(180deg, #0f172a 0%, #334155 100%);
    --box-inner-bg: #f1f5f9;
    --box-inner-border: rgba(15, 23, 42, 0.08);
    --btn-secondary-bg: #e2e8f0;
    --btn-secondary-hover: #cbd5e1;
    --pill-bg: #f1f5f9;
}

:root {
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --font: 'Cairo', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-white);
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

img, svg {
    display: block;
    max-width: 100%;
}

.wrap {
    width: 100%;
    max-width: 1240px;
    margin-inline: auto;
    padding-inline: 24px;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 14px;
    gap: 20px;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-title {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: var(--brand-text-grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-nav a:not(.btn) {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn).active {
    color: var(--primary);
}

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

/* Theme Toggle Button */
.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background: var(--btn-secondary-bg);
    border: 1px solid var(--line);
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
}

.theme-toggle-btn:hover {
    color: var(--text-white);
    background: var(--btn-secondary-hover);
    border-color: var(--line-bright);
    transform: scale(1.05);
}

/* Icons switch for dark/light */
[data-theme="dark"] .theme-toggle-btn .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle-btn .icon-sun { display: block; color: #fbbf24; }

[data-theme="light"] .theme-toggle-btn .icon-sun { display: none; }
[data-theme="light"] .theme-toggle-btn .icon-moon { display: block; color: #4f46e5; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
    color: #fff;
}

.btn-secondary {
    background: var(--btn-secondary-bg);
    color: var(--text-white);
    border-color: var(--line);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: var(--btn-secondary-hover);
    border-color: var(--line-bright);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 17px;
    border-radius: var(--radius-md);
}

/* Hero Section */
.hero-wrapper {
    position: relative;
    padding-top: 60px;
    padding-bottom: 80px;
    background: var(--gradient-glow);
    overflow: hidden;
}

.hero-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.18;
    pointer-events: none;
    z-index: 0;
}

.hero-glow-blob.one {
    top: -100px;
    inset-inline-start: 10%;
    background: #6366f1;
}

.hero-glow-blob.two {
    top: 150px;
    inset-inline-end: 10%;
    background: #ec4899;
}

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

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-pill .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
    font-size: clamp(34px, 5.5vw, 56px);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 22px;
    letter-spacing: -1px;
    color: var(--text-white);
}

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

.hero-description {
    font-size: clamp(17px, 2vw, 20px);
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 720px;
    margin-inline: auto;
}

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

.platform-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.platform-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--pill-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.platform-pill:hover {
    border-color: var(--line-bright);
    color: var(--text-white);
    transform: translateY(-2px);
}

.platform-pill svg {
    width: 18px;
    height: 18px;
}

/* Interactive Studio Showcase */
.studio-showcase {
    position: relative;
    margin-top: 40px;
    margin-bottom: 80px;
}

.studio-container {
    background: var(--bg-surface);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.studio-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: var(--box-inner-bg);
    border-bottom: 1px solid var(--line);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.window-dots span {
    width: 11px;
    height: 11px;
    border-radius: 50%;
}

.window-dots span:nth-child(1) { background: #ef4444; }
.window-dots span:nth-child(2) { background: #f59e0b; }
.window-dots span:nth-child(3) { background: #10b981; }

.studio-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--pill-bg);
    padding: 4px;
    border-radius: var(--radius-md);
    border: 1px solid var(--line);
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.tab-btn:hover:not(.active) {
    color: var(--text-white);
}

.studio-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 36px;
}

@media (max-width: 900px) {
    .studio-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

/* Studio Editor Left Column */
.studio-editor {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.editor-title {
    font-size: 17px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
}

.editor-channels {
    display: flex;
    gap: 8px;
}

.channel-check {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--box-inner-bg);
    border: 1px solid var(--line);
    cursor: pointer;
    font-size: 11px;
    font-weight: 800;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.channel-check.selected {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.18);
    color: var(--primary);
}

.editor-caption-box {
    background: var(--box-inner-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 16px;
    min-height: 130px;
    font-size: 14px;
    line-height: 1.7;
    position: relative;
}

.caption-tags {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag-badge {
    padding: 3px 8px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 4px;
    font-size: 12px;
    color: var(--primary);
    font-weight: 600;
}

.editor-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.option-box {
    background: var(--box-inner-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-size: 13px;
}

.option-box .label {
    color: var(--text-dim);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.option-box .value {
    color: var(--text-white);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.validation-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #059669;
}

[data-theme="dark"] .validation-strip {
    color: #34d399;
}

/* Studio Preview Right Column */
.studio-preview-pane {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.preview-card {
    display: none;
    width: 100%;
    max-width: 380px;
    background: var(--bg-surface);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: fadeIn 0.3s ease;
}

.preview-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Preview details */
.mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
    background: var(--box-inner-bg);
}

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

.mockup-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.mockup-media {
    width: 100%;
    height: 230px;
    background: linear-gradient(135deg, #1e1b4b 0%, #31104b 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}

.mockup-media-art {
    text-align: center;
    padding: 20px;
}

.mockup-media-art h4 {
    font-size: 20px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 6px;
}

.mockup-media-art p {
    font-size: 12px;
    color: #c7d2fe;
}

.mockup-footer {
    padding: 14px;
    background: var(--bg-surface);
}

.mockup-actions {
    display: flex;
    gap: 14px;
    margin-bottom: 10px;
    color: var(--text-white);
}

.mockup-caption-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-white);
}

.mockup-comment-pill {
    margin-top: 10px;
    padding: 6px 10px;
    background: var(--box-inner-bg);
    border-radius: 6px;
    font-size: 12px;
    color: var(--cyan);
}

/* Section Common Styling */
.section-pad {
    padding-block: 84px;
    position: relative;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
    margin-bottom: 56px;
}

.section-tag {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 12px;
    display: block;
}

.section-heading {
    font-size: clamp(26px, 4vw, 38px);
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text-white);
}

.section-sub {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Bento Grid */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-card);
    pointer-events: none;
}

.bento-card:hover {
    border-color: var(--line-bright);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.bento-card.col-8 { grid-column: span 8; }
.bento-card.col-6 { grid-column: span 6; }
.bento-card.col-4 { grid-column: span 4; }
.bento-card.col-12 { grid-column: span 12; }

@media (max-width: 960px) {
    .bento-card.col-8,
    .bento-card.col-6,
    .bento-card.col-4 {
        grid-column: span 12;
    }
}

.bento-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #fff;
    flex-shrink: 0;
}

.bento-icon.purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.bento-icon.pink { background: linear-gradient(135deg, #ec4899, #f43f5e); }
.bento-icon.cyan { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }
.bento-icon.emerald { background: linear-gradient(135deg, #10b981, #059669); }
.bento-icon.amber { background: linear-gradient(135deg, #f59e0b, #d97706); }

.bento-title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--text-white);
}

.bento-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

/* Feature Mock Snippets inside Bento */
.mini-schedule-mock {
    background: var(--box-inner-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: var(--text-white);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 11.5px;
    font-weight: 700;
}

.status-badge.published { background: rgba(16, 185, 129, 0.15); color: #059669; }
[data-theme="dark"] .status-badge.published { color: #34d399; }
.status-badge.scheduled { background: rgba(99, 102, 241, 0.15); color: var(--primary); }
.status-badge.approval { background: rgba(245, 158, 11, 0.15); color: #d97706; }
[data-theme="dark"] .status-badge.approval { color: #fbbf24; }

/* Interactive Workflow Steps */
.workflow-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .workflow-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 580px) {
    .workflow-row {
        grid-template-columns: 1fr;
    }
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    box-shadow: var(--shadow-subtle);
}

.step-number {
    position: absolute;
    top: 16px;
    inset-inline-end: 20px;
    font-size: 32px;
    font-weight: 900;
    color: var(--line-bright);
    line-height: 1;
}

.step-card h3 {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-white);
}

.step-card p {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Stats Ribbon */
.stats-ribbon {
    background: var(--bg-surface);
    border-block: 1px solid var(--line);
    padding-block: 40px;
    transition: background-color 0.3s ease;
}

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

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item .stat-num {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 900;
    color: var(--text-white);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
}

/* Pricing Grid Enhancement */
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.plan {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-subtle);
}

.plan:hover {
    border-color: var(--line-bright);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.plan.featured {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.08) 0%, var(--bg-card) 100%);
    box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.2);
}

.plan-ribbon {
    position: absolute;
    top: 18px;
    inset-inline-end: 20px;
    background: var(--gradient-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-white);
}

.plan-price {
    margin-bottom: 6px;
}

.plan-price strong {
    font-size: 34px;
    font-weight: 900;
    color: var(--text-white);
}

.plan-price span {
    color: var(--text-muted);
    font-size: 14px;
}

.plan-alt {
    color: var(--text-dim);
    font-size: 13px;
    margin-bottom: 20px;
}

.plan ul {
    list-style: none;
    margin-top: 16px;
    margin-bottom: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan li {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    color: var(--emerald);
    font-size: 11px;
    font-weight: 900;
    flex-shrink: 0;
}

/* Dedicated Features Page Styles */
.features-hero {
    padding-top: 60px;
    padding-bottom: 50px;
    text-align: center;
    background: var(--gradient-glow);
    border-bottom: 1px solid var(--line);
}

.filter-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 36px;
}

.filter-btn {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--pill-bg);
    border: 1px solid var(--line);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}

.features-catalogue {
    padding-block: 60px;
}

.feature-group {
    margin-bottom: 64px;
}

.feature-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 28px;
    gap: 16px;
    flex-wrap: wrap;
}

.feature-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    font-weight: 800;
    color: var(--text-white);
}

.feature-group-badge {
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.12);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
}

.features-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 22px;
}

@media (max-width: 640px) {
    .features-detailed-grid {
        grid-template-columns: 1fr;
    }
}

.feature-item-card {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
}

.feature-item-card:hover {
    border-color: var(--line-bright);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
}

.feature-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.feature-icon-bubble {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(99, 102, 241, 0.15);
}

.feature-tech-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: var(--box-inner-bg);
    border: 1px solid var(--line);
    border-radius: 4px;
    color: var(--text-dim);
}

.feature-card-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-white);
}

.feature-card-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.feature-perks-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--line);
    padding-top: 14px;
}

.feature-perks-list li {
    font-size: 12.5px;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-perks-list li svg {
    color: var(--emerald);
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Architecture Callout Banner */
.arch-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-block: 60px;
}

.arch-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

@media (max-width: 840px) {
    .arch-row {
        grid-template-columns: 1fr;
    }
}

.arch-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.spec-chip {
    background: var(--box-inner-bg);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
}

.spec-chip .spec-k {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
}

.spec-chip .spec-v {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-white);
    margin-top: 2px;
}

/* Call to Action Banner */
.cta-banner {
    position: relative;
    padding-block: 80px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%);
}

.cta-box {
    background: var(--bg-surface);
    border: 1px solid var(--line-bright);
    border-radius: var(--radius-xl);
    padding: 56px 36px;
    max-width: 860px;
    margin-inline: auto;
    box-shadow: var(--shadow-card);
}

.cta-box h2 {
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-white);
}

.cta-box p {
    font-size: 17px;
    color: var(--text-muted);
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: 32px;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-surface);
    padding-block: 36px;
    color: var(--text-muted);
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.site-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.site-footer nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

/* Legal pages */
.legal {
    max-width: 820px;
    margin-inline: auto;
    padding-block: 60px;
}

.legal h1 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--text-white);
}

.legal h2 {
    margin-top: 36px;
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--text-white);
}

.legal p, .legal ul {
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal code {
    background: var(--box-inner-bg);
    border: 1px solid var(--line);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--primary);
}

/* Mobile responsive menu */
@media (max-width: 768px) {
    .site-nav {
        display: none;
    }
    
    .site-nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        inset-inline: 0;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--line);
        padding: 20px 24px;
        gap: 16px;
        box-shadow: var(--shadow-card);
    }
}
