/* ===========================
   MOSAIC SOL — PORTFOLIO / FUNNEL / PORTAL
   Bolt-inspired greens · Yellow headings
   =========================== */

/* ----- RESET & BASE ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root,
[data-theme="dark"] {
    --bg: #0b100e;
    --bg-secondary: #121916;
    --bg-card: #161d1a;
    --bg-card-hover: #1c2621;
    --bg-dark: #080c0a;
    --text: #e8eeeb;
    --text-muted: #9aaba3;
    --text-dim: #6b7c74;
    --accent: #32bb78;
    --accent-glow: rgba(50, 187, 120, 0.28);
    --accent-light: #5ae1a0;
    --accent-dark: #1d965c;
    --heading: #f5c518;
    --heading-soft: #ffd54a;
    --border: #24302b;
    --border-light: #2f3f38;
    --white: #ffffff;
    --on-accent: #062416;
    --nav-bg: rgba(11, 16, 14, 0.9);
    --nav-mobile-bg: rgba(18, 25, 22, 0.98);
    --sticky-bg: rgba(11, 16, 14, 0.94);
    --shadow: rgba(0, 0, 0, 0.4);
    --shadow-soft: rgba(0, 0, 0, 0.22);
    --hero-grid: rgba(255, 255, 255, 0.02);
    --popup-overlay: rgba(0, 0, 0, 0.72);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-sm: 8px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
    color-scheme: dark;
}

[data-theme="light"] {
    --bg: #f7f9f8;
    --bg-secondary: #eef3f0;
    --bg-card: #ffffff;
    --bg-card-hover: #f4faf7;
    --bg-dark: #e3ebe6;
    --text: #191f1c;
    --text-muted: #5f6563;
    --text-dim: #7a817f;
    --accent: #1d965c;
    --accent-glow: rgba(29, 150, 92, 0.22);
    --accent-light: #32bb78;
    --accent-dark: #157a4a;
    --heading: #c9a000;
    --heading-soft: #a88600;
    --border: #dcdfdd;
    --border-light: #c5cbc8;
    --white: #191f1c;
    --on-accent: #ffffff;
    --nav-bg: rgba(247, 249, 248, 0.92);
    --nav-mobile-bg: rgba(255, 255, 255, 0.98);
    --sticky-bg: rgba(247, 249, 248, 0.95);
    --shadow: rgba(25, 31, 28, 0.1);
    --shadow-soft: rgba(25, 31, 28, 0.06);
    --hero-grid: rgba(25, 31, 28, 0.04);
    --popup-overlay: rgba(25, 31, 28, 0.45);
    color-scheme: light;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
    width: min(1100px, 90%);
    margin: 0 auto;
}

/* ----- NAVIGATION ----- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition), background-color 0.35s ease, border-color 0.35s ease;
}

.nav.scrolled {
    box-shadow: 0 4px 30px var(--shadow);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

/* ----- THEME TOGGLE ----- */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    padding: 0;
}

.theme-toggle:hover {
    color: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.theme-toggle svg {
    width: 18px;
    height: 18px;
    display: block;
}

.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }

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

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    max-width: 1100px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.nav-logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-dark));
    color: #062416;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-logo span {
    color: var(--accent-light);
}

[data-theme="light"] .nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta {
    background: var(--accent);
    color: var(--on-accent) !important;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.nav-cta::after { display: none; }

.nav-socials {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

/* ----- LANDING PAGE NAV ----- */
.nav-landing .nav-inner {
    justify-content: space-between;
}

.nav-landing-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-landing-badge {
    display: none;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-light);
    background: var(--accent-glow);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

.nav-landing-phone {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

.nav-landing-phone:hover { color: var(--accent-light); }

@media (min-width: 768px) {
    .nav-landing-badge { display: inline-block; }
}

.social-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon svg { width: 20px; height: 20px; }

.social-icon:hover {
    color: var(--accent);
    transform: translateY(-2px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----- HERO ----- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 5% 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, var(--accent-glow), transparent 70%),
        radial-gradient(ellipse 60% 40% at 80% 80%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%),
        var(--bg);
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--hero-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--hero-grid) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-glow);
    border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-light);
    margin-bottom: 2rem;
    animation: fadeInUp 0.6s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
    50% { box-shadow: 0 0 0 8px transparent; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--heading);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-highlight {
    background: linear-gradient(135deg, var(--heading-soft), var(--heading));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    animation: fadeInUp 0.6s ease 0.3s both;
}

/* ----- BUTTONS ----- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--on-accent);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid var(--border-light);
}

.btn-outline:hover {
    border-color: var(--accent);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

.btn-full { width: 100%; justify-content: center; }

/* ----- HERO STATS ----- */
.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-light);
}

/* ----- TRUST BAR ----- */
.trust-bar {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    text-align: center;
}

.trust-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    margin-bottom: 1rem;
}

.trust-platforms {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

.trust-item:hover {
    color: var(--accent-light);
    transform: translateY(-2px);
}

.trust-placeholder { position: relative; }

.trust-icon { font-size: 1.1rem; }

/* ----- SECTIONS ----- */
.section {
    padding: 100px 0;
}

.section-dark {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-light);
    background: var(--accent-glow);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 1rem;
    line-height: 1.25;
}

.accent {
    background: linear-gradient(135deg, var(--heading-soft), var(--heading));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ----- SERVICES GRID ----- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: inherit;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    translate: -50% 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--border-light);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow);
}

.service-card:hover::before { width: 80%; }

.service-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.5rem;
    color: var(--accent);
    padding: 10px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
}

.service-icon svg { width: 100%; height: 100%; display: block; }

.service-name {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 0.6rem;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-light);
    transition: var(--transition);
}

.service-card:hover .service-link {
    color: var(--accent);
    transform: translateX(2px);
}

/* ----- STEPS ----- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.step-line {
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin: 0 auto 1.25rem;
    opacity: 0.5;
}

.step-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 0.5rem;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ----- PRICING ----- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px var(--shadow);
}

.pricing-card-best {
    border-color: var(--accent);
    background: linear-gradient(180deg, var(--accent-glow), var(--bg-card));
    transform: scale(1.03);
}

.pricing-card-best:hover { transform: scale(1.03) translateY(-4px); }

.pricing-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    translate: -50% 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--on-accent);
    padding: 0.35rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.pricing-header { margin-bottom: 1.5rem; }

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 0.25rem;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.pricing-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.price-symbol {
    font-size: 1rem;
    color: var(--accent-light);
    vertical-align: top;
}

.price-value {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
}

.pricing-features {
    flex: 1;
    margin-bottom: 1.5rem;
}

.pricing-features li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing-note {
    text-align: center;
    margin-top: 2.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.pricing-note a {
    color: var(--accent-light);
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.pricing-note a:hover { border-bottom-color: var(--accent-light); }

/* ----- TESTIMONIALS ----- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: var(--border-light);
    box-shadow: 0 20px 40px var(--shadow-soft);
}

.testimonial-stars {
    color: var(--accent-light);
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-dark), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--on-accent);
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ----- FAQ ----- */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1rem;
    font-weight: 500;
    padding: 1.25rem 0;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-body);
    transition: var(--transition);
}

.faq-question:hover { color: var(--accent-light); }

.faq-arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}

.faq-item.active .faq-arrow { transform: rotate(180deg); }
.faq-item.active .faq-question { color: var(--accent-light); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding-bottom: 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* ----- CTA SECTION ----- */
.section-cta {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    align-items: start;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
}

.cta-order { border-top: 3px solid var(--accent); }

.cta-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.5rem;
    color: var(--accent);
    padding: 12px;
    background: var(--accent-glow);
    border-radius: var(--radius-sm);
}

.cta-icon-wrap svg { width: 100%; height: 100%; display: block; }

.cta-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--heading);
    margin-bottom: 0.75rem;
}

.cta-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Contact Form */
.contact-form { text-align: left; }

.form-group { margin-bottom: 1rem; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-group select option {
    background: var(--bg-card);
    color: var(--white);
}

.form-group textarea { resize: vertical; }

.form-success {
    margin-top: 0.75rem;
    color: #4ade80;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-error {
    margin-top: 0.75rem;
    color: #f87171;
    font-size: 0.875rem;
    font-weight: 500;
}

.form-hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

.contact-form button[disabled] {
    opacity: 0.7;
    cursor: wait;
}

[data-theme="light"] .form-success { color: #15803d; }
[data-theme="light"] .form-error { color: #b91c1c; }

/* ----- LANDING PAGES ----- */
.landing-page .hero-landing {
    min-height: auto;
    padding: 110px 5% 60px;
    align-items: flex-start;
}

.hero-landing .container {
    position: relative;
    z-index: 1;
    width: min(1140px, 92%);
}

.hero-landing-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
}

.hero-landing-content {
    text-align: left;
    max-width: none;
}

.hero-landing-content .hero-badge {
    margin-bottom: 1.25rem;
}

.hero-landing-content .hero-title {
    font-size: clamp(2.1rem, 4vw, 3.25rem);
    margin-bottom: 1rem;
    animation: none;
}

.hero-landing-content .hero-subtitle {
    margin: 0 0 1.5rem;
    max-width: 540px;
    font-size: 1.05rem;
    animation: none;
}

.hero-checklist {
    list-style: none;
    margin: 0 0 1.75rem;
    display: grid;
    gap: 0.65rem;
}

.hero-checklist li {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    line-height: 1.5;
}

.hero-landing-content .hero-ctas {
    justify-content: flex-start;
    margin-bottom: 2rem;
    animation: none;
}

.hero-stats-landing {
    justify-content: flex-start;
    gap: 1.75rem;
    animation: none;
}

/* Quote form card in hero */
.landing-form-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.5rem;
    box-shadow: 0 24px 60px var(--shadow);
    position: sticky;
    top: 90px;
}

.landing-form-header {
    text-align: center;
    margin-bottom: 1.25rem;
}

.landing-form-header h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--heading);
    margin-bottom: 0.35rem;
}

.landing-form-header p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.landing-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.landing-form .form-group {
    margin-bottom: 0.85rem;
}

.landing-form .btn {
    margin-top: 0.25rem;
}

/* Final CTA band on landing pages */
.cta-final {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-final-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: var(--heading);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.cta-final-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
}

.cta-final-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-landing {
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg-dark);
}

.footer-landing .footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
    border-top: none;
    padding-top: 0;
}

@media (max-width: 900px) {
    .hero-landing-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .landing-form-card {
        position: static;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }

    .hero-landing-content {
        text-align: center;
    }

    .hero-landing-content .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-checklist {
        max-width: 420px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .hero-landing-content .hero-ctas {
        justify-content: center;
    }

    .hero-stats-landing {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-form .form-row {
        grid-template-columns: 1fr;
    }

    .landing-page .hero-landing {
        padding: 100px 5% 40px;
    }

    .cta-final-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-final-buttons .btn {
        justify-content: center;
    }
}

/* ----- STICKY MOBILE CTA ----- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 0.75rem 1rem;
    background: var(--sticky-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
    transform: translateY(100%);
    transition: transform 0.3s ease, background-color 0.35s ease;
    display: none;
}

.sticky-cta.visible {
    transform: translateY(0);
}

/* ----- EXIT INTENT POPUP ----- */
.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.exit-popup.active {
    opacity: 1;
    visibility: visible;
}

.exit-popup-overlay {
    position: absolute;
    inset: 0;
    background: var(--popup-overlay);
}

.exit-popup-content {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 60px var(--shadow);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.exit-popup.active .exit-popup-content {
    transform: translateY(0);
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.exit-popup-close:hover { color: var(--white); }

.exit-popup-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.exit-popup-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--heading);
    margin-bottom: 0.75rem;
}

.exit-popup-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ----- FOOTER ----- */
.footer {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-size: 1.3rem;
    display: inline-block;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--white);
}

.footer-logo span { color: var(--accent); }

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }

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

.footer-disclosure {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* ----- ANIMATIONS ----- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ----- RESPONSIVE ----- */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--nav-mobile-bg);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.25rem;
        border-bottom: 1px solid var(--border);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-socials { display: none; }

    .nav-actions {
        margin-left: auto;
        margin-right: 0.5rem;
    }

    .hero-stats { gap: 1.5rem; }

    .stat-number { font-size: 1.6rem; }

    .stat-divider { height: 30px; }

    .cta-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card-best {
        transform: none;
    }

    .pricing-card-best:hover {
        transform: translateY(-4px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section { padding: 70px 0; }

    .testimonials-grid { grid-template-columns: 1fr; }

    .pricing-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { justify-content: center; }
    .hero-stats { gap: 1rem; }
    .stat-number { font-size: 1.4rem; }
    .stat-label { font-size: 0.7rem; }
}

@media (max-width: 768px) {
    .sticky-cta {
        display: block;
    }
    body {
        padding-bottom: 70px;
    }
}

/* ===========================
   CLIENT DASHBOARD (portal)
   Light SaaS chrome — design mock
   =========================== */
body.dashboard-page {
    background: #eef3f0;
    color: #191f1c;
    overflow-x: hidden;
    padding-bottom: 0 !important;
}

body.dashboard-page * {
    -webkit-font-smoothing: antialiased;
}

.dash {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.dash-sidebar {
    background: #fff;
    border-right: 1px solid #dcdfdd;
    padding: 1.25rem 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.dash-brand {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.25rem 0.5rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: #191f1c;
}

.dash-brand span { color: #1d965c; }

.dash-brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #5ae1a0, #1d965c);
    color: #062416;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.dash-brand-tag {
    font-size: 0.65rem;
    font-weight: 500;
    color: #7a817f;
    line-height: 1.3;
    margin-top: 0.1rem;
}

.dash-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f7f9f8;
    border: 1px solid #e9eceb;
}

.dash-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #32bb78, #1d965c);
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dash-user strong { display: block; font-size: 0.9rem; color: #191f1c; }
.dash-user small { color: #7a817f; font-size: 0.75rem; }
.dash-user-status {
    font-size: 0.7rem;
    color: #1d965c;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.dash-user-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #32bb78;
}

.dash-nav { display: flex; flex-direction: column; gap: 0.25rem; flex: 1; }

.dash-nav a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #5f6563;
    transition: 0.2s ease;
}

.dash-nav a:hover { background: #f0f5f2; color: #191f1c; }

.dash-nav a.active {
    background: #e6f6ee;
    color: #1d965c;
    font-weight: 600;
}

.dash-nav .badge-count {
    margin-left: auto;
    background: #1d965c;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.35rem;
}

.dash-upgrade {
    background: linear-gradient(160deg, #f7f9f8, #e6f6ee);
    border: 1px solid #dcdfdd;
    border-radius: 14px;
    padding: 1rem;
}

.dash-upgrade h4 { font-size: 0.9rem; margin-bottom: 0.35rem; color: #191f1c; }
.dash-upgrade p { font-size: 0.75rem; color: #5f6563; margin-bottom: 0.75rem; line-height: 1.45; }

.dash-main { display: flex; flex-direction: column; min-width: 0; }

.dash-topbar {
    background: #121916;
    color: #e8eeeb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.25rem;
    flex-wrap: wrap;
}

.dash-topbar a {
    color: #9aaba3;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.45rem 0.85rem;
    border-radius: 50px;
    transition: 0.2s ease;
}

.dash-topbar a:hover { color: #fff; background: rgba(255,255,255,0.06); }
.dash-topbar a.active-tab {
    background: #1d965c;
    color: #fff;
}

.dash-topbar-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.dash-search {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 0.45rem 0.9rem;
    color: #fff;
    font-size: 0.85rem;
    width: min(220px, 30vw);
    outline: none;
}

.dash-search::placeholder { color: #6b7c74; }

.dash-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.08);
    color: #e8eeeb;
    cursor: pointer;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.dash-icon-btn .dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #f5c518;
    border-radius: 50%;
}

.dash-content {
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1.4fr 0.9fr;
    gap: 1.25rem;
    align-items: start;
}

.dash-welcome {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    grid-column: 1 / -1;
}

.dash-welcome h1 {
    font-family: var(--font-body);
    font-size: 1.55rem;
    font-weight: 700;
    color: #191f1c;
    margin-bottom: 0.25rem;
}

.dash-welcome p { color: #5f6563; font-size: 0.9rem; }

.btn-dash {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #1d965c;
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.15rem;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: 0.2s ease;
    white-space: nowrap;
}

.btn-dash:hover { background: #157a4a; transform: translateY(-1px); }

.btn-dash-outline {
    background: #fff;
    color: #191f1c !important;
    border: 1.5px solid #dcdfdd;
}

.btn-dash-outline:hover { border-color: #1d965c; color: #1d965c !important; background: #fff; }

.dash-card {
    background: #fff;
    border: 1px solid #e3e6e4;
    border-radius: 16px;
    padding: 1.25rem;
    box-shadow: 0 1px 2px rgba(25,31,28,0.04);
}

.dash-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #191f1c;
    margin-bottom: 1rem;
}

.dash-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.dash-card-head h3 { margin-bottom: 0; }
.dash-card-head a { font-size: 0.8rem; color: #1d965c; font-weight: 600; }

.active-course {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1.15rem;
}

.active-course-thumb {
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(145deg, #1d965c, #0b100e);
    min-height: 120px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 0.65rem;
}

.active-course-thumb span {
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 6px;
}

.active-course h2 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #191f1c;
    margin-bottom: 0.35rem;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.85rem;
    font-size: 0.8rem;
    color: #5f6563;
}

.status-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-progress { background: #fff6d6; color: #a88600; }
.status-complete { background: #e6f6ee; color: #1d965c; }
.status-pending { background: #f0f0f0; color: #5f6563; }

.progress-row { margin-bottom: 0.85rem; }
.progress-row label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #5f6563;
    margin-bottom: 0.35rem;
}
.progress-bar {
    height: 8px;
    background: #e9eceb;
    border-radius: 50px;
    overflow: hidden;
}
.progress-bar > i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #32bb78, #1d965c);
    border-radius: 50px;
}

.course-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.course-stats div {
    background: #f7f9f8;
    border-radius: 10px;
    padding: 0.5rem 0.55rem;
    font-size: 0.72rem;
    color: #5f6563;
}
.course-stats strong {
    display: block;
    font-size: 0.85rem;
    color: #191f1c;
    margin-top: 0.15rem;
}

.course-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th {
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7a817f;
    padding: 0.5rem 0.35rem;
    border-bottom: 1px solid #e9eceb;
}
.orders-table td {
    padding: 0.75rem 0.35rem;
    border-bottom: 1px solid #f0f2f1;
    font-size: 0.85rem;
    vertical-align: middle;
}
.order-title { font-weight: 600; color: #191f1c; display: block; }
.order-sub { font-size: 0.75rem; color: #7a817f; }

.chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.35rem;
    height: 100px;
    margin-top: 0.5rem;
}
.chart-bars span {
    flex: 1;
    background: #cfe9db;
    border-radius: 4px 4px 0 0;
    min-height: 8px;
}
.chart-bars span.on { background: #1d965c; }

.progress-ring-label {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.25rem;
}
.progress-ring-label strong {
    font-size: 1.4rem;
    color: #1d965c;
}

.msg-list { display: flex; flex-direction: column; gap: 0.75rem; }
.msg-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}
.msg-item .av {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e6f6ee;
    color: #1d965c;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.msg-item strong { font-size: 0.82rem; color: #191f1c; display: block; }
.msg-item p { font-size: 0.78rem; color: #5f6563; line-height: 1.4; }
.msg-item time { font-size: 0.7rem; color: #7a817f; }

.svc-list { display: flex; flex-direction: column; gap: 0.65rem; }
.svc-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 12px;
    background: #f7f9f8;
    border: 1px solid #e9eceb;
}
.svc-item .ico {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: #e6f6ee;
}
.svc-item strong { display: block; font-size: 0.85rem; color: #191f1c; }
.svc-item span { font-size: 0.75rem; color: #5f6563; }
.svc-item a {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1d965c;
    border: 1px solid #cfe9db;
    padding: 0.35rem 0.7rem;
    border-radius: 50px;
    background: #fff;
}

.quote-banner {
    grid-column: 1 / 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: linear-gradient(90deg, #e6f6ee, #fff);
    border: 1px solid #cfe9db;
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}
.quote-banner h3 { font-size: 1rem; color: #191f1c; margin-bottom: 0.2rem; }
.quote-banner p { font-size: 0.85rem; color: #5f6563; }

.dash-mobile-toggle {
    display: none;
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    z-index: 50;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: #1d965c;
    color: #fff;
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(29,150,92,0.35);
    cursor: pointer;
}

@media (max-width: 1100px) {
    .dash-content { grid-template-columns: 1fr; }
    .quote-banner { grid-column: 1; }
    .course-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .dash { grid-template-columns: 1fr; }
    .dash-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 40;
        transform: translateX(-105%);
        transition: transform 0.3s ease;
        box-shadow: 8px 0 30px rgba(0,0,0,0.12);
    }
    .dash-sidebar.open { transform: translateX(0); }
    .dash-mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .active-course { grid-template-columns: 1fr; }
    .dash-topbar { padding: 0.55rem 0.75rem; }
    .dash-search { display: none; }
    .orders-table .hide-sm { display: none; }
}

/* ----- AUTH ----- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, var(--accent-glow), transparent 70%),
        var(--bg);
}

.auth-shell { width: min(420px, 100%); }

.auth-brand {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--white);
}
.auth-brand strong { font-size: 1.25rem; display: block; }
.auth-brand span { color: var(--accent-light); }
.auth-brand small { color: var(--text-muted); font-size: 0.75rem; }

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: 0 20px 50px var(--shadow);
}

.auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
    background: var(--bg);
    padding: 0.3rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.auth-tab {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.55rem;
    border-radius: 50px;
    cursor: pointer;
}
.auth-tab.active {
    background: var(--accent);
    color: var(--on-accent);
}

.auth-form h1 {
    font-size: 1.45rem;
    color: var(--heading);
    margin-bottom: 0.35rem;
}
.auth-sub { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.1rem; }

.auth-form label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.85rem;
}
.auth-form input {
    display: block;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    font: inherit;
}
.auth-form input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.auth-error {
    color: #f87171;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.auth-demo {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.auth-demo code {
    background: var(--bg);
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    color: var(--accent-light);
}
.auth-foot {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.auth-foot a { color: var(--accent-light); }

/* ----- MULTI-STEP QUOTE ----- */
.quote-page { padding: 110px 0 80px; }
.quote-wrap { max-width: 720px; }
.quote-hero { margin-bottom: 1.5rem; }
.quote-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.qstep {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dim);
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    border: 1px solid var(--border);
}
.qstep.active {
    color: var(--on-accent);
    background: var(--accent);
    border-color: var(--accent);
}
.quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.quote-card h2 {
    color: var(--heading);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.qoptions {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}
.qopt {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    color: var(--text);
    transition: var(--transition);
}
.qopt:has(input:checked) {
    border-color: var(--accent);
    background: var(--accent-glow);
}
.qactions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ----- PORTAL EXTRAS ----- */
.dash-content-single { grid-template-columns: 1fr; }
.empty-state { color: #5f6563; font-size: 0.9rem; }
.empty-state a { color: #1d965c; font-weight: 600; }
.plain-list { list-style: none; }
.plain-list li { padding: 0.5rem 0; border-bottom: 1px solid #e9eceb; font-size: 0.9rem; }
.plain-list small { color: #7a817f; }
.dash-topbar-link { color: #9aaba3 !important; font-size: 0.85rem; }

/* ----- ADMIN ----- */
.admin-shell { min-height: 100vh; background: #eef3f0; }
.admin-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: #121916;
    color: #e8eeeb;
}
.admin-bar .dash-brand { color: #fff; }
.admin-bar-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
}
.admin-main { padding: 1.25rem; max-width: 1200px; margin: 0 auto; }
.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}
.stat-tile span { display: block; font-size: 0.8rem; color: #5f6563; }
.stat-tile strong { font-size: 1.75rem; color: #1d965c; }
.admin-pre {
    white-space: pre-wrap;
    font-size: 0.78rem;
    background: #f7f9f8;
    padding: 0.5rem;
    border-radius: 8px;
    margin-top: 0.35rem;
}
.admin-update {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    align-items: center;
}
.admin-update input, .admin-update select {
    padding: 0.35rem 0.5rem;
    border: 1px solid #dcdfdd;
    border-radius: 8px;
    font-size: 0.85rem;
}
.admin-note {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #5f6563;
    line-height: 1.6;
}
.admin-note code {
    background: #fff;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
}

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

/* ----- PLATFORM CHIPS / CALCULATOR / WHY ----- */
.platform-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.plat-chip {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
}

.calc-card {
    margin-top: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.calc-head h3 {
    color: var(--heading);
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 0.35rem;
}
.calc-head p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }
.calc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.calc-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}
.calc-grid select,
.calc-grid input {
    padding: 0.75rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--white);
    font: inherit;
}
.calc-result {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.calc-label { display: block; font-size: 0.8rem; color: var(--text-dim); margin-bottom: 0.25rem; }
#calcPrice {
    font-size: 1.75rem;
    color: var(--heading);
    font-family: var(--font-display);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
}
.why-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem 1.15rem;
    font-weight: 500;
    color: var(--text);
    font-size: 0.95rem;
}

.thank-card { text-align: center; padding: 2.5rem 1.75rem; }
.thank-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 1.75rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thank-list {
    list-style: none;
    text-align: left;
    max-width: 420px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.thank-list li::before { content: '• '; color: var(--accent); font-weight: 700; }

.auth-demo summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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