/* ═══════════════════════════════════════════════════════════
   FAÇADE LOGICS — Design System
   Self-contained CSS. No Bootstrap. No vendor dependencies.
═══════════════════════════════════════════════════════════ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
}

button, input, textarea, select {
    font-family: inherit;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Layout helpers ── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

section { padding: 64px 0; }

/* ── Section Title ── */
.section-title {
    text-align: center;
    margin-bottom: 36px;
}

.section-title h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.03em;
    color: var(--text);
    margin-bottom: 8px;
    display: inline-block;
    position: relative;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: var(--accent);
    margin: 10px auto 0;
    border-radius: 1px;
}

.section-title p {
    color: var(--muted);
    font-size: .925rem;
    max-width: 440px;
    margin: 0 auto;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all .2s var(--ease);
    white-space: nowrap;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-radius: 22px;
    padding: 11px 26px;
    font-size: .9rem;
    box-shadow: 0 4px 14px var(--accent-ring);
}

.btn-primary:hover {
    background: var(--accent-dk);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-ring);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    color: var(--text-2);
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 10px 22px;
    font-size: .9rem;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-h);
    background: var(--surface-blur);
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--sh-xs);
}

#header .container {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img { height: 28px; }

.logo h1 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    letter-spacing: -.02em;
}

#navmenu { flex: 1; }

#navmenu ul {
    display: flex;
    align-items: center;
    gap: 2px;
}

#navmenu a {
    display: block;
    padding: 6px 14px;
    font-size: .875rem;
    color: var(--muted);
    border-radius: 20px;
    transition: color .2s, background .2s;
}

#navmenu a:hover,
#navmenu a.active {
    color: var(--text);
    background: var(--bg-alt);
}

.mobile-nav-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.4rem;
    color: var(--text);
    background: none;
    border: none;
    padding: 4px;
    margin-left: auto;
}

.btn-getstarted {
    background: var(--dark) !important;
    color: var(--white) !important;
    border-radius: 20px !important;
    padding: 7px 16px !important;
    font-size: .8rem !important;
    font-weight: 500 !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background .2s !important;
    border: none !important;
    flex-shrink: 0;
}

.btn-getstarted:hover {
    background: var(--accent) !important;
    color: var(--white) !important;
}

@media (max-width: 1199px) {
    .mobile-nav-toggle { display: block; }

    #navmenu ul {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: var(--surface);
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--sh-md);
        gap: 4px;
    }

    #navmenu ul.open { display: flex; }

    #navmenu a {
        width: 100%;
        padding: 10px 16px;
    }
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: calc(var(--header-h) + 48px);
    padding-bottom: 80px;
    background: var(--surface);
    position: relative;
    overflow: hidden;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 55% 55% at 72% 38%, rgba(217,119,6,.07) 0%, transparent 60%),
                radial-gradient(ellipse 40% 50% at 15% 75%, rgba(74,85,104,.04) 0%, transparent 55%);
    pointer-events: none;
}

#hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--border-lt) 1px, transparent 1px),
                      linear-gradient(90deg, var(--border-lt) 1px, transparent 1px);
    background-size: 48px 48px;
    opacity: .35;
    pointer-events: none;
}

#hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-text h1 {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.04em;
    color: var(--text);
}

.hero-text h1 em {
    font-style: normal;
    color: var(--accent);
}

.hero-text p {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 440px;
    line-height: 1.7;
}

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

.btn-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--text-2);
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 10px 22px;
    transition: all .2s;
}

.btn-watch:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-soft);
}

.btn-watch svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.hero-img img {
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    border: 1px solid var(--border);
    width: 100%;
}

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
#about {
    background: var(--bg);
    min-height: calc(100vh - var(--header-h));
    display: flex;
    align-items: center;
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    width: 100%;
    padding: 64px 0;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-content .eyebrow {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
}

.about-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.025em;
    color: var(--text);
}

.about-content p {
    color: var(--muted);
    line-height: 1.8;
}

.about-points {
    list-style: none;
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-points li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    color: var(--text-2);
    font-weight: 500;
}

.about-points li .bi {
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
}

.values-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.values-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.val-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1rem;
}

.values-list li > div strong {
    display: block;
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.values-list li > div p {
    font-size: .875rem;
    color: var(--text-2);
    line-height: 1.6;
    margin: 0;
}

.about-img img {
    border-radius: var(--r-xl);
    box-shadow: var(--sh-md);
    border: 1px solid var(--border);
    width: 100%;
}

.section-cta {
    text-align: center;
    margin-top: 36px;
}

/* ═══════════════════════════════════════
   VALUES
═══════════════════════════════════════ */
#values {
    background: var(--bg-alt);
    min-height: calc(100vh - var(--header-h));
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 16px 18px;
    box-shadow: var(--sh-sm);
    transition: transform .25s var(--ease), box-shadow .25s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-md);
}

.value-card img {
    border-radius: var(--r-sm);
    border: 1px solid var(--border-lt);
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.value-card h3 {
    font-size: .95rem;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.35;
    color: var(--text);
}

.value-card p {
    color: var(--muted);
    font-size: .8rem;
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   STATS BAR
═══════════════════════════════════════ */
.stats-bar {
    background: var(--dark);
    margin-top: 36px;
    padding: 32px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    border-right: 1px solid var(--dark-border);
}

.stat-item:last-child { border-right: none; }

.stat-icon {
    font-size: 1.8rem;
    color: var(--accent);
    flex-shrink: 0;
    line-height: 1;
}

.stat-val {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -.03em;
}

.stat-label {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--dark-text-faint);
}

/* ═══════════════════════════════════════
   MODULES
═══════════════════════════════════════ */
#modules {
    background: var(--bg-alt);
    min-height: calc(100vh - var(--header-h));
}

.module-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px 36px;
    box-shadow: var(--sh-sm);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
    min-height: 360px;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-md);
    border-color: var(--accent);
}

.module-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--r-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: transform .2s;
}

.module-icon.brand-icon { background: none; }

.module-card:hover .module-icon { transform: scale(1.08); }

.mod-cyan   .module-icon { background: var(--mod-cyan-bg);   color: var(--mod-cyan); }
.mod-orange .module-icon { background: var(--accent-soft);   color: var(--accent); }
.mod-teal   .module-icon { background: var(--mod-teal-bg);   color: var(--mod-teal); }
.mod-red    .module-icon { background: var(--mod-red-bg);    color: var(--mod-red); }
.mod-indigo .module-icon { background: var(--mod-indigo-bg); color: var(--mod-indigo); }
.mod-pink   .module-icon { background: var(--mod-pink-bg);   color: var(--mod-pink); }

.module-card h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -.015em;
    color: var(--text);
}

.module-card p {
    color: var(--muted);
    font-size: .825rem;
    line-height: 1.65;
    flex: 1;
}

.module-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--accent);
    transition: gap .2s;
}

.module-link:hover { gap: 10px; }

/* ═══════════════════════════════════════
   PRICING
═══════════════════════════════════════ */
#pricing {
    background: var(--bg-alt);
    min-height: calc(100vh - var(--header-h));
}

.pricing-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 36px 28px 32px;
    position: relative;
    box-shadow: var(--sh-sm);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sh-lg);
    border-color: var(--accent);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

.pricing-name {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -.04em;
}

.pricing-price sup {
    font-size: 1.3rem;
    vertical-align: super;
    color: var(--muted);
    font-weight: 500;
}

.pricing-price span {
    font-size: .8rem;
    font-weight: 400;
    color: var(--muted);
    margin-left: 2px;
    letter-spacing: 0;
}

.pricing-icon {
    font-size: 2rem;
    color: var(--accent);
    margin: 14px 0;
}

.pricing-list {
    border-top: 1px solid var(--border);
    padding-top: 18px;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.pricing-list li {
    font-size: .875rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-list li:first-child {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text);
}

.pricing-list li:not(:first-child)::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.btn-buy {
    width: 100%;
    padding: 11px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 22px;
    font-size: .875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.btn-buy:hover,
.pricing-card:hover .btn-buy {
    background: var(--accent);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
#contact {
    background: var(--bg);
    min-height: calc(100vh - var(--header-h) - 220px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px 0 80px;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: stretch;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-content: stretch;
}

.info-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 36px 28px;
    transition: border-color .2s, box-shadow .2s;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.info-card .info-icon {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: 10px;
    display: block;
}

.info-card h3 {
    font-size: .875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.info-card p {
    font-size: .84rem;
    color: var(--muted);
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 11px 16px;
    font-size: .875rem;
    color: var(--text);
    transition: border-color .2s, box-shadow .2s;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--subtle); }

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-submit { text-align: center; }

.btn-send {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 22px;
    padding: 12px 40px;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--accent-ring);
    transition: background .2s, transform .15s, box-shadow .2s;
}

.btn-send:hover {
    background: var(--accent-dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-ring);
}

.btn-send:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.form-msg {
    font-size: .82rem;
    margin-top: 6px;
    text-align: center;
}

.form-msg.success { color: var(--modal-success-text); }
.form-msg.error   { color: var(--modal-danger-text); }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#footer { background: var(--dark); }

.footer-top {
    padding: 48px 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.footer-col { text-align: center; }

.footer-col h4 {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dark-text-muted);
    margin-bottom: 16px;
}

.footer-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer-nav a {
    font-size: .875rem;
    color: var(--dark-text-sub);
    transition: color .2s;
}

.footer-nav a:hover { color: var(--accent); }
.footer-nav .sep   { color: var(--dark-border-faint); }

.social-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dark-surface);
    border: 1px solid var(--dark-surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-text-sub);
    font-size: .875rem;
    transition: all .2s;
}

.social-links a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
}

.footer-copy {
    padding: 20px 0;
    border-top: 1px solid var(--dark-border-faint);
    text-align: center;
    font-size: .8rem;
    color: var(--dark-text-muted);
}

.footer-copy strong {
    color: var(--dark-text-sub);
    font-weight: 500;
}

/* ═══════════════════════════════════════
   SCROLL TOP
═══════════════════════════════════════ */
#scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--sh-md);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s, background .2s;
    z-index: 999;
    text-decoration: none;
}

#scroll-top.visible { opacity: 1; transform: translateY(0); }
#scroll-top:hover   { background: var(--accent-dk); }

/* ═══════════════════════════════════════
   AUTH MODAL
═══════════════════════════════════════ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: var(--overlay);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
    padding: 20px;
}

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

.modal-box {
    background: var(--surface);
    border-radius: var(--r-xl);
    box-shadow: var(--sh-lg);
    width: 100%;
    max-width: 420px;
    padding: 36px 40px 40px;
    position: relative;
    transform: scale(.96) translateY(8px);
    transition: transform .25s var(--ease);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-overlay.open .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: var(--muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background .2s, color .2s;
}

.modal-close:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.modal-logo {
    text-align: center;
    margin-bottom: 20px;
}

.modal-logo img {
    height: 34px;
    margin: 0 auto;
}

.modal-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 22px;
}

.modal-tabs button {
    flex: 1;
    background: none;
    border: none;
    padding: 10px 0;
    font-size: .875rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    position: relative;
    transition: color .2s;
}

.modal-tabs button.active { color: var(--text); }

.modal-tabs button.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
}

.modal-panel        { display: none; }
.modal-panel.active { display: block; }

.modal-panel h5 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -.025em;
}

.modal-panel .subtitle {
    font-size: .875rem;
    color: var(--muted);
    margin-bottom: 22px;
}

.modal-alert {
    display: none;
    border-radius: var(--r-sm);
    padding: 10px 14px;
    font-size: .84rem;
    margin-bottom: 16px;
}

.modal-alert.danger {
    background: var(--modal-danger-bg);
    color: var(--modal-danger-text);
    border: 1px solid var(--modal-danger-border);
    display: block;
}

.modal-alert.success {
    background: var(--modal-success-bg);
    color: var(--modal-success-text);
    border: 1px solid var(--modal-success-border);
    display: block;
}

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

.form-group label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    font-weight: 500;
    color: var(--text-2);
    margin-bottom: 5px;
}

.form-group label .link-sm {
    font-size: .78rem;
    color: var(--accent);
    font-weight: 500;
}

.input-wrap {
    display: flex;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}

.input-wrap:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.input-wrap .prefix {
    background: var(--bg);
    border-right: 1px solid var(--border);
    padding: 0 12px;
    display: flex;
    align-items: center;
    color: var(--muted);
    font-size: .9rem;
    flex-shrink: 0;
}

.input-wrap input {
    flex: 1;
    background: var(--card);
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: .875rem;
    color: var(--text);
}

.input-wrap input::placeholder { color: var(--subtle); }

.btn-modal {
    width: 100%;
    padding: 11px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 22px;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .2s, transform .15s;
}

.btn-modal:hover {
    background: var(--accent-dk);
    transform: translateY(-1px);
}

.btn-modal:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.modal-footer-note {
    text-align: center;
    margin-top: 16px;
    font-size: .84rem;
    color: var(--muted);
}

.modal-footer-note a {
    color: var(--accent);
    font-weight: 500;
}

.modal-footer-note a:hover { text-decoration: underline; }

.otp-resend-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: .84rem;
}

.otp-resend-row a { color: var(--accent); }

.otp-timer {
    color: var(--muted);
    font-size: .8rem;
}

.spinner {
    width: 14px;
    height: 14px;
    border: 2px solid var(--sidebar-text);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════
   PRICING — plan selection
═══════════════════════════════════════ */
.pricing-card.plan-selected {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

/* ═══════════════════════════════════════
   MODULE DETAIL MODAL
═══════════════════════════════════════ */
.module-modal-box { max-width: 640px; }

.module-modal-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.module-modal-icon {
    font-size: 1.8rem;
    color: var(--accent);
    flex-shrink: 0;
}

.module-modal-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin: 0;
}

.mm-desc {
    color: var(--text-light, var(--muted));
    line-height: 1.65;
    margin-bottom: 18px;
    font-size: .95rem;
}

.mm-video-wrap { margin-bottom: 18px; }

.mm-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.mm-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .9rem;
    line-height: 1.5;
}

.mm-step span {
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    font-size: .75rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

.mm-screenshots {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.mm-screenshots img {
    width: 100%;
    max-width: 280px;
    border-radius: 8px;
    border: 1px solid var(--border);
}

/* ═══════════════════════════════════════
   SCROLL-REVEAL
═══════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }
.reveal-delay-4 { transition-delay: .32s; }
.reveal-delay-5 { transition-delay: .40s; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1100px) {
    .hero-inner  { grid-template-columns: 1fr; gap: 40px; }
    .hero-img    { order: -1; max-width: 560px; margin: 0 auto; }
    .about-inner { grid-template-columns: 1fr; gap: 36px; }
}

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

    .stat-item { border-right: none; border-bottom: 1px solid var(--dark-border); }
    .stat-item:nth-child(odd)          { border-right: 1px solid var(--dark-border); }
    .stat-item:last-child,
    .stat-item:nth-last-child(2)       { border-bottom: none; }

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

    .contact-inner { grid-template-columns: 1fr; }
    .footer-top    { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .contact-info-grid         { grid-template-columns: 1fr; }
    .form-row                  { grid-template-columns: 1fr; }
    .hero-actions              { flex-direction: column; align-items: flex-start; }
    .modal-box                 { padding: 28px 22px 32px; }
}
