@font-face {
    font-family: 'Comfortaa';
    src: url('/assets/fonts/comfortaa-regular.woff2') format('woff2'),
        url('/assets/fonts/comfortaa-regular.woff') format('woff');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Comfortaa';
    src: url('/assets/fonts/comfortaa-bold.woff2') format('woff2'),
        url('/assets/fonts/comfortaa-bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

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

:root {
    --purple: #5638E5;
    --purple-dim: #3C25C2;
    --purple-glow: rgba(86, 56, 229, 0.18);
    --purple-glow-strong: rgba(86, 56, 229, 0.35);
    --surface: #0A0D18;
    --surface-1: #0E1020;
    --surface-2: #13162A;
    --surface-3: #1A1E38;
    --border: #1E2240;
    --border-bright: #2C2F5A;
    --text-primary: #F0F0FF;
    --text-secondary: #8B8FAD;
    --text-muted: #555A7A;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    --accent: #5638E5;
    --accent-glow: rgba(86, 56, 229, 0.18);
    --accent-glow-strong: rgba(86, 56, 229, 0.35);
    --accent-subtle: rgba(86, 56, 229, 0.08);
    --accent-tab-bg: rgba(86, 56, 229, 0.12);
}

#moka-content {
    --accent: #C8A27A;
    --accent-glow: rgba(200, 162, 122, 0.18);
    --accent-glow-strong: rgba(200, 162, 122, 0.35);
    --accent-subtle: rgba(200, 162, 122, 0.08);
    --accent-tab-bg: rgba(200, 162, 122, 0.12);
}

#ai-content {
    --accent: #F472B6;
    --accent-glow: rgba(244, 114, 182, 0.18);
    --accent-glow-strong: rgba(244, 114, 182, 0.35);
    --accent-subtle: rgba(244, 114, 182, 0.08);
    --accent-tab-bg: rgba(244, 114, 182, 0.12);
}

#forge-content {
    --accent: #F97316;
    --accent-glow: rgba(249, 115, 22, 0.18);
    --accent-glow-strong: rgba(249, 115, 22, 0.35);
    --accent-subtle: rgba(249, 115, 22, 0.08);
    --accent-tab-bg: rgba(249, 115, 22, 0.12);
}

#cloud-content {
    --accent: #0048BA;
    --accent-glow: rgba(0, 72, 186, 0.18);
    --accent-glow-strong: rgba(0, 72, 186, 0.4);
    --accent-subtle: rgba(0, 72, 186, 0.08);
    --accent-tab-bg: rgba(0, 72, 186, 0.12);
}

.product-tab[data-tab="moka"].active {
    background: #C8A27A;
    box-shadow: 0 0 20px rgba(200, 162, 122, 0.4);
}

.product-tab[data-tab="ai"].active {
    background: #F472B6;
    box-shadow: 0 0 20px rgba(244, 114, 182, 0.4);
}

.product-tab[data-tab="forge"].active {
    background: #F97316;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

.product-tab[data-tab="cloud"].active {
    background: #0048BA;
    box-shadow: 0 0 20px rgba(0, 72, 186, 0.4);
}

body {
    font-family: 'Comfortaa', sans-serif;
    color: var(--text-primary);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

.main-content {
    position: relative;
    z-index: 5;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 25px;
  background: rgba(10,13,24,0.85);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: border-color 0.5s ease;
}

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

.logo {
    width: 45px;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a.active {
    color: var(--accent);
    font-weight: 700;
}

.signup-hamburger {
    display: flex;
    align-items: center;
    gap: 30px;
}

.signup-btn {
    background-color: #0E0634;
    border: 2px solid #5638E5;
    border-radius: 7px;
    padding: 10px 20px;
    font-family: 'PT Sans', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    margin-right: 10px;
    transition: background-color 0.3s ease, border-color 0.4s ease;
}

.signup-btn:hover {
    background-color: #5638E5;
}

.pricing-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 72px 32px 80px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-title {
    font-size: 46px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.pricing-title span {
    background: linear-gradient(135deg, #a891ff 0%, #5638E5 60%, #3b8cff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: background-image 0.4s ease;
}

.pricing-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
}

.product-tabs {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 36px;
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 6px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: wrap;
    transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.pricing-container[data-product="moka"] .product-tabs {
    border-color: rgba(200, 162, 122, 0.35);
    box-shadow: 0 0 16px rgba(200, 162, 122, 0.1);
}

.pricing-container[data-product="ai"] .product-tabs {
    border-color: rgba(244, 114, 182, 0.35);
    box-shadow: 0 0 16px rgba(244, 114, 182, 0.1);
}

.pricing-container[data-product="forge"] .product-tabs {
    border-color: rgba(249, 115, 22, 0.35);
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.1);
}

.pricing-container[data-product="cloud"] .product-tabs {
    border-color: rgba(0, 72, 186, 0.4);
    box-shadow: 0 0 16px rgba(0, 72, 186, 0.12);
}

.pricing-container[data-product="bundles"] .product-tabs {
    border-color: rgba(86, 56, 229, 0.35);
    box-shadow: 0 0 16px rgba(86, 56, 229, 0.1);
}

.product-tab {
    padding: 9px 22px;
    border-radius: var(--radius-lg);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    line-height: 1;
}

.tab-product-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
    opacity: 0.8;
    flex-shrink: 0;
}

.product-tab.active .tab-product-icon,
.product-tab:hover .tab-product-icon {
    opacity: 1;
}

.comparison-table td .tab-product-icon {
    vertical-align: middle;
    margin-right: 5px;
    opacity: 0.85;
}

.product-tab:hover:not(.active) {
    color: var(--text-primary);
    background: var(--surface-3);
}

.product-tab.active {
    background: var(--purple);
    color: #fff;
    box-shadow: 0 0 20px var(--purple-glow-strong);
}

.toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 48px;
}

.toggle-label {
    font-size: 14px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    user-select: none;
}

.toggle-label.active {
    color: var(--text-primary);
    font-weight: 700;
}

.save-badge {
    font-size: 12px;
    font-weight: 700;
    color: #7c5cf8;
    background: rgba(86, 56, 229, 0.12);
    border: 1px solid rgba(86, 56, 229, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
}

.pricing-container[data-product="moka"] .save-badge {
    color: #C8A27A;
    background: rgba(200, 162, 122, 0.12);
    border-color: rgba(200, 162, 122, 0.3);
}

.pricing-container[data-product="ai"] .save-badge {
    color: #F472B6;
    background: rgba(244, 114, 182, 0.12);
    border-color: rgba(244, 114, 182, 0.3);
}

.pricing-container[data-product="forge"] .save-badge {
    color: #F97316;
    background: rgba(249, 115, 22, 0.12);
    border-color: rgba(249, 115, 22, 0.3);
}

.pricing-container[data-product="cloud"] .save-badge {
    color: #60a5fa;
    background: rgba(0, 72, 186, 0.12);
    border-color: rgba(0, 72, 186, 0.3);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 46px;
    height: 24px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--surface-3);
    border: 1px solid var(--border-bright);
    border-radius: 24px;
    transition: 0.25s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    left: 3px;
    top: 3px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: 0.25s;
}

input:checked + .toggle-slider {
    background: var(--purple);
    border-color: var(--purple);
}

input:checked + .toggle-slider::before {
    transform: translateX(22px);
    background: white;
}

.pricing-container[data-product="moka"] input:checked + .toggle-slider {
    background: #C8A27A;
    border-color: #C8A27A;
}

.pricing-container[data-product="ai"] input:checked + .toggle-slider {
    background: #F472B6;
    border-color: #F472B6;
}

.pricing-container[data-product="forge"] input:checked + .toggle-slider {
    background: #F97316;
    border-color: #F97316;
}

.pricing-container[data-product="cloud"] input:checked + .toggle-slider {
    background: #0048BA;
    border-color: #0048BA;
}

.tab-content {
    display: none;
    animation: fadeUp 0.3s ease;
}

.tab-content.active {
    display: block;
}

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

.pricing-plans {
    display: grid;
    gap: 20px;
    margin-bottom: 24px;
}

.plans-two {
    grid-template-columns: repeat(2, 1fr);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

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

.plans-four {
    grid-template-columns: repeat(4, 1fr);
}

.pricing-card {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    transition: border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: var(--border-bright);
}

.pricing-card.featured {
    border-color: var(--accent);
    background: linear-gradient(160deg, var(--accent-subtle) 0%, var(--surface-1) 60%);
}

.pricing-card.featured:hover {
    border-color: var(--accent);
}

.featured-tag {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 14px var(--accent-glow-strong);
}

.plan-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.plan-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 8px;
    min-height: unset;
}

#cloud-content .plan-description {
    margin-bottom: 20px;
    min-height: 38px;
}

.plan-price {
    font-family: 'Inter', sans-serif;
    font-size: 38px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.005em;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1, "lnum" 1;
}

.price-duration {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 22px;
}

.plan-features {
    flex: 1;
    margin-bottom: 22px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
}

.feature-icon {
    color: var(--accent);
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
    filter: drop-shadow(0 0 4px var(--accent-glow));
}

.feature-text {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.plan-cta {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-sm);
    font-family: 'Comfortaa', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--border-bright);
    background: transparent;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.plan-cta:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    background: var(--accent-subtle);
}

.plan-cta.featured-cta {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 4px 18px var(--accent-glow);
}

.plan-cta.featured-cta:hover {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 6px 24px var(--accent-glow-strong);
    opacity: 0.88;
}

.enterprise-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 24px;
    border: 1px dashed var(--accent);
    border-radius: var(--radius-md);
    margin-bottom: 48px;
    background: var(--surface-1);
    transition: border-color 0.4s ease;
}

.enterprise-strip p {
    font-size: 14px;
    color: var(--text-secondary);
}

.enterprise-strip a {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}

.enterprise-strip a:hover {
    color: white;
}

.comparison-section {
    background: var(--surface-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    overflow-x: auto;
}

.comparison-section:hover {
    border-color: var(--border-bright);
}

.comparison-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 28px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.comparison-table th {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    background: rgba(14, 16, 32, 0.6);
}

.comparison-table td {
    padding: 13px 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

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

.comparison-table tr:hover td {
    background: var(--accent-subtle);
}

.comparison-table td:first-child {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
}

.check-icon {
    color: var(--accent);
    font-size: 17px;
    filter: drop-shadow(0 0 3px var(--accent-glow));
}

.dash-icon {
    color: var(--text-muted);
    font-size: 16px;
}

.bundle-intro {
    text-align: center;
    margin-bottom: 36px;
}

.bundle-intro p {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.bundle-positioning {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: #e0e0e0;
    margin-bottom: 16px;
    margin-top: 4px;
    opacity: 0.85;
    font-family: 'JetBrains Mono', sans-serif;
}

.bundle-includes {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.bundle-product-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
    border-radius: 3px;
    opacity: 1;
    flex-shrink: 0;
}

.bundle-savings {
    display: table;
    margin: 4px auto 22px;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

footer {
    background-color: rgba(10, 13, 24, 0.9);
    backdrop-filter: blur(10px);
    border-top: 1px solid #2C2F45;
    padding: 40px 50px;
    font-family: 'Comfortaa', sans-serif;
    color: white;
    position: relative;
    z-index: 10;
}

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

.footer-section {
    margin-bottom: 20px;
    flex: 1;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #6f54f8;
}

.footer-links a {
    display: block;
    margin-bottom: 12px;
    padding: 2px 0;
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    width: fit-content;
}

.footer-links a:hover {
    color: #5638E5;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: #1A1F36;
    margin: 20px 0;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 14px;
    color: #888;
}

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

@media (max-width: 640px) {
    .pricing-container {
        padding: 48px 16px 60px;
    }
    .pricing-title {
        font-size: 32px;
    }
    .plans-two,
    .plans-three,
    .plans-four {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    .product-tabs {
        gap: 4px;
        padding: 5px;
    }
    .product-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
    .tab-product-icon {
        width: 14px;
        height: 14px;
    }
    .navbar {
        padding: 10px 20px;
    }
    .nav-links {
        gap: 10px;
    }
    .nav-links a {
        font-size: 14px;
    }
    .signup-hamburger {
        flex-direction: column;
        gap: 10px;
    }
    .footer-content {
        flex-direction: column;
    }
    .footer-section {
        width: 100%;
    }
    .comparison-section {
        padding: 20px 14px;
    }
    .comparison-table th,
    .comparison-table td {
        padding: 10px 8px;
        font-size: 12px;
    }
}

body.orb-moka .stars::before {
    background: radial-gradient(ellipse at center, rgba(200, 162, 122, 0.2) 0%, rgba(200, 162, 122, 0.07) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-moka .stars::after {
    background: radial-gradient(ellipse at center, rgba(180, 130, 80, 0.16) 0%, rgba(200, 162, 122, 0.05) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-moka .stars .orb-mid {
    background: radial-gradient(ellipse at center, rgba(160, 110, 60, 0.13) 0%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-avery .stars::before {
    background: radial-gradient(ellipse at center, rgba(244, 114, 182, 0.2) 0%, rgba(244, 114, 182, 0.07) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-avery .stars::after {
    background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.16) 0%, rgba(244, 114, 182, 0.05) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-avery .stars .orb-mid {
    background: radial-gradient(ellipse at center, rgba(244, 114, 182, 0.13) 0%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-forge .stars::before {
    background: radial-gradient(ellipse at center, rgba(249, 115, 22, 0.2) 0%, rgba(249, 115, 22, 0.07) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-forge .stars::after {
    background: radial-gradient(ellipse at center, rgba(234, 88, 12, 0.16) 0%, rgba(249, 115, 22, 0.05) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-forge .stars .orb-mid {
    background: radial-gradient(ellipse at center, rgba(234, 88, 12, 0.13) 0%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-lapis .stars::before {
    background: radial-gradient(ellipse at center, rgba(0, 72, 186, 0.22) 0%, rgba(0, 72, 186, 0.08) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-lapis .stars::after {
    background: radial-gradient(ellipse at center, rgba(30, 100, 220, 0.18) 0%, rgba(0, 72, 186, 0.06) 50%, transparent 70%);
    transition: background 0.6s ease;
}

body.orb-lapis .stars .orb-mid {
    background: radial-gradient(ellipse at center, rgba(0, 72, 186, 0.14) 0%, transparent 70%);
    transition: background 0.6s ease;
}

#moka-content .plan-price {
    margin-top: 16px;
}

#ai-content .plan-price {
    margin-top: 16px;
}

#forge-content .plan-price {
    margin-top: 16px;
}

#bundles-content .plan-price {
    margin-top: 16px;
}


/* Global accent driven from body — makes navbar border + nav link colors update */
body[data-pricing="moka"]    { --accent: #C8A27A; --accent-glow: rgba(200,162,122,0.18); --accent-glow-strong: rgba(200,162,122,0.35); --accent-subtle: rgba(200,162,122,0.08); }
body[data-pricing="ai"]      { --accent: #F472B6; --accent-glow: rgba(244,114,182,0.18); --accent-glow-strong: rgba(244,114,182,0.35); --accent-subtle: rgba(244,114,182,0.08); }
body[data-pricing="forge"]   { --accent: #F97316; --accent-glow: rgba(249,115,22,0.18);  --accent-glow-strong: rgba(249,115,22,0.35);  --accent-subtle: rgba(249,115,22,0.08);  }
body[data-pricing="cloud"]   { --accent: #0048BA; --accent-glow: rgba(0,72,186,0.18);    --accent-glow-strong: rgba(0,72,186,0.4);     --accent-subtle: rgba(0,72,186,0.08);    }
body[data-pricing="bundles"] { --accent: #5638E5; --accent-glow: rgba(86,56,229,0.18);   --accent-glow-strong: rgba(86,56,229,0.35);   --accent-subtle: rgba(86,56,229,0.08);   }