:root {
    --font-body: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Plus Jakarta Sans', sans-serif;
    --color-bg: #f4f0fa;
    --color-surface: #ffffff;
    --color-text: #2d2438;
    --color-text-muted: #6b5d73;
    --color-heading: #1f1630;
    --color-header: #2a1538;
    --color-header-alt: #3a1f4d;
    --color-header-text: #f7f2ff;
    --color-header-muted: #d8c7ea;
    --color-accent: #ff7a59;
    --color-accent-dark: #2a1538;
    --color-primary: #6c3fc7;
    --color-primary-hover: #582fb0;
    --color-primary-soft: rgba(108, 63, 199, 0.18);
    --color-link: #6c3fc7;
    --color-border: #d8cbe8;
    --color-footer: #1f1630;
    --color-footer-border: #3d2a52;
    --shadow-soft: 0 10px 30px rgba(42, 21, 56, 0.08);
    --shadow-card: 0 8px 24px rgba(42, 21, 56, 0.06);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    color: var(--color-link);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    letter-spacing: -0.02em;
}

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

.site-header {
    background: linear-gradient(135deg, var(--color-header), var(--color-header-alt));
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 1rem 0;
    gap: 1rem;
}

.nav-phone-link {
    background: var(--color-accent);
    color: var(--color-accent-dark) !important;
    padding: 0.45rem 1rem !important;
    border-radius: 999px;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    border-bottom: none !important;
    white-space: nowrap;
    transition: transform 0.2s, background 0.2s, color 0.2s !important;
}

.nav-phone-link:hover {
    background: #ff9478;
    text-decoration: none;
    transform: translateY(-1px);
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: -0.03em;
}

.logo p {
    font-size: 0.75rem;
    color: var(--color-header-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-menu li a {
    text-decoration: none;
    font-weight: 600;
    color: var(--color-header-text);
    transition: 0.2s;
    font-size: 0.98rem;
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--color-accent);
    border-bottom: 2px solid var(--color-accent);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--color-header-text);
    cursor: pointer;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 75%;
        height: calc(100vh - 70px);
        background: var(--color-header-alt);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 1.8rem;
        transition: left 0.3s ease;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li a {
        font-size: 1.15rem;
    }

    .navbar {
        padding: 0.8rem 0;
    }

    .logo h1 {
        font-size: 1.3rem;
    }
}

.hero {
    text-align: center;
    padding: 64px 24px;
    background-color: var(--color-surface);
    border-radius: 18px;
    margin-top: 40px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(216, 203, 232, 0.7);
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 2.6rem);
    margin-bottom: 15px;
    color: var(--color-heading);
}

.hero p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.35rem;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    box-shadow: 0 10px 24px rgba(108, 63, 199, 0.22);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), #7c3aed);
}

.btn-secondary {
    color: var(--color-accent-dark);
    background: var(--color-accent);
}

.btn-secondary:hover {
    background: #ff9478;
}

.text-link {
    font-weight: 700;
    color: var(--color-primary);
}

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

.activation-form {
    max-width: 420px;
    margin: 0 auto;
}

.code-input {
    width: 100%;
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    border: 2px solid var(--color-border);
    border-radius: 12px;
    margin-bottom: 20px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-heading);
    background: #fcfaff;
}

.code-input:focus {
    border-color: var(--color-primary);
    outline: none;
    box-shadow: 0 0 0 4px var(--color-primary-soft);
}

.activate-btn {
    width: 100%;
    padding: 16px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 12px 24px rgba(108, 63, 199, 0.24);
}

.activate-btn:hover {
    background: linear-gradient(135deg, var(--color-primary-hover), #7c3aed);
    transform: translateY(-1px);
}

.hero-note {
    margin-top: 20px;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.section-phone-callout {
    max-width: 420px;
    margin: 24px auto 0;
    padding: 20px;
    text-align: center;
    background: #fcfaff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
}

.section-phone-callout p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.stats .section-phone-callout,
.services .section-phone-callout,
.steps .section-phone-callout,
.why .section-phone-callout {
    max-width: none;
    margin-top: 28px;
}

.stats .section-phone-callout {
    grid-column: 1 / -1;
}

.cta-banner .section-phone-callout {
    max-width: 420px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.cta-banner .section-phone-callout p {
    color: var(--color-header-muted);
}

.page-home:not(.code-entered) .hero .hero-phone-reveal {
    display: none !important;
}

.page-home.code-entered .hero .hero-phone-reveal[hidden] {
    display: block !important;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 28px 0 12px;
}

.stat-card {
    background: var(--color-surface);
    border: 1px solid rgba(216, 203, 232, 0.7);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 28px 20px;
    text-align: center;
}

.stat-card h3 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 6px;
    color: var(--color-primary);
}

.stat-card p {
    color: var(--color-text-muted);
    font-weight: 600;
}

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

.section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2rem);
    margin-bottom: 10px;
}

.section-heading p {
    color: var(--color-text-muted);
}

.services {
    padding: 48px 0 24px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--color-surface);
    border: 1px solid rgba(216, 203, 232, 0.7);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 28px 24px;
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #fff;
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    font-size: 1.25rem;
}

.service-card h3 {
    margin-bottom: 10px;
}

.service-card p {
    color: var(--color-text-muted);
}

.feature-panel,
.onsite {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, 0.8fr);
    gap: 24px;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid rgba(216, 203, 232, 0.7);
    border-radius: 18px;
    box-shadow: var(--shadow-card);
    padding: 36px;
    margin: 28px 0;
}

.feature-panel-copy h2,
.onsite-copy h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 12px;
}

.feature-panel-copy p,
.onsite-copy p {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.check-list {
    list-style: none;
    margin: 0 0 20px;
}

.check-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.feature-panel-aside,
.onsite-aside {
    min-height: 220px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(108, 63, 199, 0.12), rgba(255, 122, 89, 0.16));
    color: var(--color-primary);
    font-size: 4rem;
}

.why {
    padding: 24px 0 12px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.why-card {
    background: var(--color-surface);
    border: 1px solid rgba(216, 203, 232, 0.7);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    padding: 24px;
}

.why-card h4 {
    margin-bottom: 8px;
    color: var(--color-heading);
}

.why-card p {
    color: var(--color-text-muted);
}

.cta-banner {
    text-align: center;
    background: linear-gradient(135deg, var(--color-header), var(--color-header-alt));
    color: var(--color-header-text);
    border-radius: 18px;
    padding: 44px 28px;
    margin: 36px 0 50px;
    box-shadow: var(--shadow-soft);
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 10px;
}

.cta-banner p {
    color: var(--color-header-muted);
    margin-bottom: 22px;
}

.steps {
    padding: 56px 0;
}

.steps h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: clamp(1.6rem, 3vw, 2rem);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step-card {
    background: var(--color-surface);
    padding: 32px 28px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(216, 203, 232, 0.7);
}

.step-card h3 {
    margin-bottom: 10px;
}

.step-card p {
    color: var(--color-text-muted);
}

.step-number {
    display: inline-block;
    width: 44px;
    height: 44px;
    line-height: 44px;
    background: linear-gradient(135deg, var(--color-primary), #8b5cf6);
    color: #fff;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.seo-content {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: 16px;
    margin-bottom: 50px;
    font-size: 1rem;
    color: var(--color-text-muted);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(216, 203, 232, 0.7);
}

.seo-content h2 {
    font-size: 1.5rem;
    color: var(--color-heading);
    margin-bottom: 15px;
}

.page-content {
    background-color: var(--color-surface);
    padding: 40px;
    border-radius: 16px;
    margin: 40px 0 50px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(216, 203, 232, 0.7);
}

.page-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 20px;
    color: var(--color-heading);
}

.page-content h2 {
    font-size: 1.35rem;
    margin: 24px 0 12px;
    color: var(--color-heading);
}

.page-content p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 1rem;
}

.page-list {
    margin: 0 0 16px 1.25rem;
    color: var(--color-text-muted);
}

.page-list li {
    margin-bottom: 8px;
}

footer {
    background: var(--color-footer);
    color: var(--color-header-muted);
    padding: 2.5rem 0 1.5rem;
    margin-top: 2rem;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-col p {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    max-width: 280px;
}

.footer-col h4 {
    color: var(--color-accent);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a,
.footer-col ul li .footer-phone {
    color: var(--color-header-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-col ul li a:hover,
.footer-col ul li .footer-phone:hover {
    color: var(--color-accent);
}

.copyright {
    text-align: center;
    font-size: 0.78rem;
    border-top: 1px solid var(--color-footer-border);
    padding-top: 1.5rem;
    margin-top: 1rem;
}

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

    .feature-panel,
    .onsite {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .feature-panel-aside,
    .onsite-aside {
        min-height: 160px;
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .seo-content,
    .page-content {
        padding: 24px;
    }
}
