:root {
    --bg-deep: #050b24;
    --bg-panel: #0f1635;
    --bg-card: #111a40;
    --text-primary: #f7f8ff;
    --text-muted: #b9c2ff;
    --accent: #45f4a0;
    --accent-2: #6ec2ff;
    --border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 60px rgba(5, 11, 36, 0.45);
    --radius-lg: 26px;
    --radius-md: 18px;
    --radius-sm: 12px;
    --font-base: 'Space Grotesk', 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-base);
    background: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

main {
    overflow-x: hidden;
}

.container {
    width: min(1200px, 90vw);
    margin: 0 auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #fafbff;
    border-bottom: 1px solid rgba(9, 15, 43, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0b132b;
}

.logo-type {
    font-size: 1rem;
    letter-spacing: 0.02em;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: #f2f6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(5, 11, 36, 0.08);
}

.logo-mark svg {
    width: 30px;
    height: 30px;
}

.primary-nav {
    display: flex;
    gap: 24px;
    font-size: 0.95rem;
    color: #2a374f;
}

.primary-nav a,
.nav-link {
    color: #2a374f;
    transition: color 0.2s ease;
}

.primary-nav a:hover,
.nav-link:hover {
    color: #0b1230;
}

.header-ctas {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-link {
    font-weight: 500;
}

.btn-sm {
    padding: 10px 18px;
    font-size: 0.9rem;
}

header.hero {
    padding: 145px 0 80px;
    background: radial-gradient(circle at top right, rgba(69, 244, 160, 0.25), transparent 40%),
                radial-gradient(circle at 25% 20%, rgba(110, 194, 255, 0.2), transparent 45%),
                var(--bg-deep);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
    align-items: center;
}

.hero-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.chat-preview {
    background: rgba(8, 15, 45, 0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
    padding: 24px;
    backdrop-filter: blur(8px);
}

.chat-preview header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.chat-preview header small {
    color: var(--text-muted);
}

.status-dot {
    color: var(--accent);
    font-size: 0.85rem;
}

.chat-preview-window {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.chat-preview .bubble {
    border-radius: 18px;
    padding: 12px 16px;
    line-height: 1.4;
    font-size: 0.95rem;
}

.chat-preview .bubble.bot {
    background: rgba(255, 255, 255, 0.08);
}

.chat-preview .bubble.user {
    align-self: flex-end;
    background: rgba(69, 244, 160, 0.2);
    border: 1px solid rgba(69, 244, 160, 0.4);
}

.chat-preview .bubble.highlight {
    background: linear-gradient(135deg, rgba(69, 244, 160, 0.15), rgba(110, 194, 255, 0.2));
    border: 1px solid rgba(69, 244, 160, 0.5);
}

.chat-preview-input {
    margin-top: 18px;
    padding: 12px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hero-copy h1 {
    font-size: clamp(2.6rem, 4vw, 4rem);
    margin: 0 0 20px;
    line-height: 1.1;
}

.hero-copy p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.btn {
    padding: 14px 28px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #051022;
    box-shadow: 0 10px 40px rgba(69, 244, 160, 0.25);
}

.btn-secondary {
    border-color: var(--accent-2);
    color: var(--accent-2);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.3);
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 18px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid var(--border);
}

.metric-card span {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.metric-card strong {
    font-size: 1.8rem;
}

section {
    padding: 90px 0;
}

section:nth-of-type(even) {
    background: var(--bg-panel);
}

.section-light {
    background: #f8f9ff;
    color: #0b1230;
}

.section-light .section-heading h2 {
    color: #050b24;
}

.section-light .section-heading p {
    color: #4a4f6d;
}

.section-light .card {
    background: #ffffff;
    color: #0b1230;
    border: 1px solid rgba(5, 11, 36, 0.08);
    box-shadow: 0 25px 60px rgba(5, 11, 36, 0.08);
}

.section-light .card ul {
    color: #4a4f6d;
}

.section-light .btn-secondary {
    border-color: #0b1230;
    color: #0b1230;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h2 {
    font-size: clamp(2rem, 3vw, 3.2rem);
    margin-bottom: 10px;
    color: #f7f8ff;
}

.section-heading p {
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
}

.section-dark-heading .section-heading h2,
.section-dark-heading .section-heading p {
    color: #f7f8ff;
}

.seo-system-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: start;
}

.seo-system-copy ul {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: #333c57;
}

.seo-system-copy li strong {
    color: #0b132b;
}

.seo-system-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.seo-system-cards article {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(9, 15, 43, 0.08);
    padding: 22px;
    box-shadow: 0 20px 50px rgba(8, 17, 44, 0.08);
    min-height: 180px;
}

.seo-system-cards h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #0b132b;
}

.seo-system-cards p {
    margin: 0;
    color: #4b5771;
}

.cornerstone-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.cornerstone-grid article {
    background: #ffffff;
    border: 1px solid rgba(9, 15, 43, 0.08);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 15px 45px rgba(9, 15, 43, 0.08);
}

.cornerstone-grid h3 {
    margin-top: 0;
    margin-bottom: 8px;
    color: #0b132b;
    font-size: 1.05rem;
}

.cornerstone-grid p {
    margin: 0;
    color: #4c5570;
}

.flywheel-section {
    background: #030d25;
    color: #f7f8ff;
}

.flywheel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    align-items: center;
}

.flywheel-steps {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.flywheel-steps li strong {
    color: #48f4b2;
}

.flywheel-visual {
    text-align: center;
}

.flywheel-circle {
    width: 280px;
    height: 280px;
    margin: 0 auto 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 30px;
    box-shadow: inset 0 0 40px rgba(72, 244, 178, 0.2);
}

.flywheel-circle span {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 6px 14px;
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.tool-grid article {
    border-radius: 18px;
    border: 1px solid rgba(9, 15, 43, 0.08);
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 20px 50px rgba(9, 15, 43, 0.08);
}

.tool-grid h3 {
    margin-top: 0;
}

.academy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    align-items: start;
}

.academy-tracks,
.academy-panel ul {
    list-style: none;
    padding: 0;
    margin: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.academy-panel {
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 24px;
    background: rgba(255, 255, 255, 0.05);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.calendar-grid article {
    border-radius: 18px;
    border: 1px solid rgba(9, 15, 43, 0.08);
    background: #ffffff;
    padding: 22px;
    box-shadow: 0 18px 50px rgba(9, 15, 43, 0.08);
}

.calendar-grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 100%;
}

.card h3 {
    margin: 0;
    font-size: 1.4rem;
}

.price {
    font-size: 2.3rem;
}

.card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.card ul li::before {
    content: '•';
    color: var(--accent);
    margin-right: 8px;
}

.badge {
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(69, 244, 160, 0.14);
    color: var(--accent);
    font-size: 0.8rem;
}

.packages-section {
    background: #050b24;
    color: #ffffff;
}

.packages-section .section-heading p {
    color: rgba(255, 255, 255, 0.75);
}

.packages-section .card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.packages-section .card ul {
    color: #dbe4ff;
}

.packages-section .card ul li::before {
    content: '✓';
    color: #48f4b2;
    font-weight: 700;
    margin-right: 8px;
}

.packages-section .plan-tagline {
    color: rgba(255, 255, 255, 0.85);
    margin-top: -10px;
}

.packages-section .price {
    color: #ffffff;
}

.packages-section .btn-secondary {
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}

.packages-section .btn-primary {
    color: #031122;
}

.packages-section .card .badge {
    background: rgba(255, 255, 255, 0.12);
    color: #48f4b2;
}

.plan-tagline {
    font-size: 0.95rem;
}

.plan-meta-row {
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .plan-meta-row {
        flex-direction: column;
    }
}

.packages-section .plan-meta-row {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
}

.packages-section .plan-guarantee::before,
.packages-section .plan-proof::before {
    content: '•';
    margin-right: 6px;
    color: #48f4b2;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    counter-reset: process;
}

.process-step {
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    position: relative;
}

.process-step::before {
    counter-increment: process;
    content: counter(process);
    position: absolute;
    top: -18px;
    left: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--accent);
    color: #040a1d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.dev-upsell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.dev-card {
    border-radius: var(--radius-md);
    border: 1px dashed rgba(110, 194, 255, 0.5);
    padding: 22px;
    background: rgba(110, 194, 255, 0.08);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 36px;
    align-items: center;
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
}

.about-pillars .card {
    padding: 22px;
}

/* Gallery */
.gallery-section {
    background: #050b24;
}

.gallery-section .section-heading h2 {
    color: #ffffff;
}

.gallery-section .section-heading p {
    color: rgba(255, 255, 255, 0.75);
}

.gallery-section.dark .gallery-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
}

.gallery-section.dark .gallery-card-body h3,
.gallery-section.dark .gallery-card-body p,
.gallery-section.dark .case-tag {
    color: #f7f8ff;
}

.gallery-section.dark .case-tag {
    opacity: 0.6;
}

.gallery-section.dark .link-arrow {
    color: #48f4b2;
}

.gallery-section.dark .gallery-filters button {
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.18);
}

.gallery-section.dark .gallery-filters button.active {
    background: #48f4b2;
    color: #031122;
    box-shadow: 0 12px 25px rgba(72, 244, 178, 0.3);
}

#seo-gallery .gallery-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 36px;
}

#seo-gallery .gallery-filters button {
    border: 1px solid rgba(6, 12, 38, 0.08);
    background: #ffffff;
    color: #0b132b;
    padding: 10px 20px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.15s ease;
    box-shadow: 0 6px 12px rgba(7, 17, 48, 0.07);
}

#seo-gallery .gallery-filters button.active {
    background: #0b132b;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(6, 12, 38, 0.15);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.gallery-case-grid .gallery-card {
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(9, 15, 43, 0.06);
    box-shadow: 0 30px 60px rgba(7, 17, 48, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-case-grid .gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 70px rgba(7, 17, 48, 0.12);
}

.gallery-case-grid img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.gallery-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.case-tag {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #7a849f;
    margin: 0;
}

.gallery-card-body h3 {
    color: #0b132b;
    margin: 0;
    font-size: 1.25rem;
}

.gallery-card-body p {
    color: #4b5771;
    margin: 0;
    flex: 1;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0b56ff;
    font-weight: 600;
    text-decoration: none;
    position: relative;
}

.link-arrow span {
    transition: transform 0.2s ease;
}

.link-arrow:hover span {
    transform: translateX(4px);
}

.cta-panel {
    text-align: center;
    padding: 60px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(69, 244, 160, 0.1), rgba(110, 194, 255, 0.12));
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

footer {
    padding: 40px 0 60px;
    text-align: center;
    color: var(--text-muted);
    background: var(--bg-panel);
}

footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    margin-top: 16px;
}

@media (max-width: 768px) {
    header.hero {
        padding: 80px 0 60px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .primary-nav {
        flex-wrap: wrap;
        gap: 16px;
    }

    .header-ctas {
        width: 100%;
        justify-content: flex-end;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-panel {
        padding: 40px 20px;
    }
}

