/* ─── Design Tokens ──────────────────────────────── */
:root {
    --bg:             #f8f9fa;
    --surface:        #ffffff;
    --surface-alt:    #f8f9fa;
    --text:           #333333;
    --text-muted:     #555555;
    --text-subtle:    #666666;
    --text-faint:     #888888;
    --heading:        #1e3a5f;
    --accent:         #2563eb;
    --accent-dark:    #1d4ed8;
    --accent-soft:    #f0f4ff;
    --accent-softer:  #dbeafe;
    --border:         #e2e8f0;
    --shadow-sm:      rgba(0, 0, 0, 0.07);
    --shadow-md:      rgba(0, 0, 0, 0.12);
    --nav-bg:         #ffffff;
    --nav-border:     #e2e8f0;
    --footer-bg:      #0f2240;
    --input-bg:       #ffffff;
}

[data-theme="dark"] {
    --bg:             #0d1117;
    --surface:        #161b27;
    --surface-alt:    #1c2233;
    --text:           #e2e8f0;
    --text-muted:     #94a3b8;
    --text-subtle:    #718096;
    --text-faint:     #64748b;
    --heading:        #e2e8f0;
    --accent:         #3b82f6;
    --accent-dark:    #2563eb;
    --accent-soft:    #1a2540;
    --accent-softer:  #1e3058;
    --border:         #2d3748;
    --shadow-sm:      rgba(0, 0, 0, 0.35);
    --shadow-md:      rgba(0, 0, 0, 0.50);
    --nav-bg:         #161b27;
    --nav-border:     #2d3748;
    --footer-bg:      #080c14;
    --input-bg:       #1c2233;
}

/* ─── Reset & Base ───────────────────────────────── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    transition: background-color 0.25s ease, color 0.25s ease;
}

/* ─── Typography ─────────────────────────────────── */
h1, h2, h3, h4 {
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1em; }

/* ─── Buttons ────────────────────────────────────── */
.btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--accent);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

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

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-white {
    background: #fff;
    color: var(--accent);
}

.btn-white:hover {
    background: #f0f4ff;
}

/* ─── Nav ────────────────────────────────────────── */
.site-nav {
    background: var(--nav-bg);
    border-bottom: 1px solid var(--nav-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 4px var(--shadow-sm);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.nav-inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.site-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.site-nav a {
    display: block;
    padding: 14px 28px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s, background 0.2s;
}

.site-nav a:hover,
.site-nav a.nav-active {
    color: var(--accent);
    background: var(--accent-soft);
}

.site-nav a.nav-active {
    border-bottom: 3px solid var(--accent);
}

/* Theme toggle */
.theme-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
    color: var(--text);
}

.theme-toggle:hover {
    background: var(--accent-soft);
    border-color: var(--accent);
}

/* ─── Header ─────────────────────────────────────── */
header {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    padding: 20px 40px;
    text-align: center;
}

header h1 {
    font-size: 2rem;
    margin-bottom: 0.25em;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* ─── Legacy sections (kept for homepage index compat) ─ */
.features {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.features li {
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 500;
}

.service-category { margin-bottom: 50px; }

.service-category h3 {
    color: var(--accent);
    border-bottom: 3px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.service-item {
    background: var(--surface);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow-sm);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 16px var(--shadow-md);
}

.service-item h4 { color: var(--heading); margin-bottom: 8px; }
.service-item p  { color: var(--text-muted); margin-bottom: 0; font-size: 0.95rem; }

.cta {
    background: #1e3a5f;
    color: #fff;
    padding: 60px 40px;
    text-align: center;
}
.cta h2 { margin-bottom: 20px; }
.cta p  { max-width: 700px; margin: 0 auto; opacity: 0.9; }

.contact { padding: 80px 40px; text-align: center; background: var(--surface); }
.contact h2 { color: var(--heading); margin-bottom: 10px; }
.contact > p { color: var(--text-subtle); margin-bottom: 30px; }

.contact-info {
    background: var(--surface-alt);
    display: inline-block;
    padding: 25px 50px;
    border-radius: 10px;
    margin-bottom: 30px;
}
.contact-info p { margin-bottom: 5px; font-size: 1.1rem; }

/* ─── Homepage ───────────────────────────────────── */
.hp-hero {
    background: linear-gradient(135deg, #0f2240 0%, #2563eb 60%, #7c3aed 100%);
    color: #fff;
    padding: 100px 40px 90px;
    text-align: center;
}

.hp-hero-inner { max-width: 700px; margin: 0 auto; }

.hp-eyebrow {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.75;
    margin-bottom: 16px;
}

.hp-hero h2 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 0.5em;
    font-weight: 800;
}

.hp-hero > .hp-hero-inner > p {
    font-size: 1.1rem;
    opacity: 0.88;
    max-width: 560px;
    margin: 0 auto 36px;
}

.hp-hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Shared section layout */
.hp-section-inner { max-width: 1100px; margin: 0 auto; }

.hp-section-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 8px;
}

.hp-section-sub { color: var(--text-subtle); font-size: 1rem; margin-bottom: 40px; max-width: 540px; }

/* Why Nsys */
.hp-why { background: var(--surface); padding: 80px 40px; transition: background-color 0.25s ease; }
.hp-why h2 { color: var(--heading); margin-bottom: 40px; }

.hp-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

.hp-why-card {
    background: var(--surface-alt);
    border-radius: 10px;
    padding: 28px 24px;
    border-top: 3px solid var(--accent);
    transition: background-color 0.25s ease;
}

.hp-why-icon { font-size: 1.8rem; margin-bottom: 14px; line-height: 1; }
.hp-why-card h3 { color: var(--heading); font-size: 1rem; margin-bottom: 8px; }
.hp-why-card p  { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; }

/* Services overview */
.hp-services { background: var(--surface-alt); padding: 80px 40px; transition: background-color 0.25s ease; }
.hp-services h2 { color: var(--heading); margin-bottom: 8px; }
.hp-svc-overview-grid { display: flex; flex-direction: column; gap: 14px; }

.hp-svc-overview-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--surface);
    border-radius: 10px;
    padding: 22px 24px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px var(--shadow-sm);
    border: 1px solid var(--border);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s, background-color 0.25s ease;
}

.hp-svc-overview-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 16px var(--shadow-md);
    transform: translateX(4px);
}

.hp-svc-overview-icon { font-size: 1.8rem; flex-shrink: 0; width: 48px; text-align: center; }
.hp-svc-overview-card h3 { color: var(--heading); font-size: 1rem; margin-bottom: 2px; }
.hp-svc-overview-card p  { color: var(--text-subtle); font-size: 0.88rem; margin-bottom: 0; }

.hp-svc-arrow {
    margin-left: auto;
    color: var(--accent);
    font-size: 1.2rem;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}
.hp-svc-overview-card:hover .hp-svc-arrow { opacity: 1; transform: translateX(4px); }

/* Process */
.hp-process { background: var(--surface); padding: 80px 40px; transition: background-color 0.25s ease; }
.hp-process h2 { color: var(--heading); margin-bottom: 48px; }
.hp-process-steps { display: flex; align-items: flex-start; gap: 24px; }
.hp-step { flex: 1; }

.hp-step-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: 12px;
}

.hp-step h3 { color: var(--heading); font-size: 1.05rem; margin-bottom: 8px; }
.hp-step p  { color: var(--text-muted); font-size: 0.93rem; margin-bottom: 0; }

.hp-step-divider { font-size: 1.5rem; color: var(--border); margin-top: 18px; flex-shrink: 0; }

/* CTA Banner */
.hp-cta { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); color: #fff; padding: 70px 40px; }
.hp-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hp-cta h2 { font-size: 1.8rem; margin-bottom: 6px; }
.hp-cta p  { opacity: 0.85; margin-bottom: 0; }

/* ─── Footer ─────────────────────────────────────── */
footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 40px 40px 24px;
    transition: background-color 0.25s ease;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto 28px;
}

.footer-brand strong { font-size: 1.2rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.55); font-size: 0.88rem; margin-bottom: 0; margin-top: 4px; }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer-nav a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.footer-nav a:hover { color: #fff; }

.footer-copy {
    text-align: center;
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.82rem;
    margin: 0 auto;
    max-width: 1100px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

/* ─── Products Page ──────────────────────────────── */
.prod-hero {
    background: linear-gradient(135deg, #0f2240 0%, #1e3a5f 50%, #7c3aed 100%);
    color: #fff;
    padding: 90px 40px 80px;
    text-align: center;
}

.prod-hero-inner { max-width: 660px; margin: 0 auto; }
.prod-hero h2 { font-size: 2.8rem; font-weight: 800; line-height: 1.15; margin-bottom: 0.5em; }
.prod-hero > .prod-hero-inner > p { font-size: 1.05rem; opacity: 0.88; margin-bottom: 32px; }

/* Available Now Banner */
.prod-available-banner {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 40px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    transition: background-color 0.25s ease;
}

.prod-available-banner strong { color: #16a34a; }
.prod-available-banner a { color: #16a34a; font-weight: 600; text-decoration: underline; }

.prod-live-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.25); }
    50%       { box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.08); }
}

/* Products section */
.prod-section { background: var(--bg); padding: 72px 40px 80px; transition: background-color 0.25s ease; }
.prod-section-inner { max-width: 1100px; margin: 0 auto; }
.prod-section h2 { color: var(--heading); margin-bottom: 8px; }

/* Product grid */
.prod-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 40px; }

.prod-card--wide {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: start;
    gap: 24px;
}
.prod-card--wide .prod-card-body { flex: 1; }

/* Product card */
.prod-card {
    background: var(--surface);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 2px 12px var(--shadow-sm);
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--border);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.25s ease, border-color 0.25s ease;
}

.prod-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px var(--shadow-md); }
.prod-card--soon { opacity: 0.92; }

.prod-soon-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--heading);
    color: var(--surface);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 10px;
    border-radius: 20px;
}
.prod-soon-badge--early { background: #d97706; color: #fff; }

.prod-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
    flex-shrink: 0;
}
.prod-card--wide .prod-card-icon { margin-bottom: 0; align-self: flex-start; }

.prod-card-body { flex: 1; }
.prod-card-body h3 { color: var(--heading); font-size: 1.15rem; margin-bottom: 2px; }

.prod-tagline {
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.prod-card-body > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 16px; }

.prod-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.prod-features li { font-size: 0.88rem; color: var(--text-muted); padding-left: 18px; position: relative; }
.prod-features li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; font-size: 0.8rem; }

.prod-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    gap: 12px;
    flex-wrap: wrap;
}
.prod-card--wide .prod-card-footer { flex-direction: column; align-items: flex-start; border-top: none; margin-top: 0; padding-top: 0; }

.prod-price-tease { font-size: 0.85rem; color: var(--text-faint); font-style: italic; }

.prod-notify-btn {
    display: inline-block;
    padding: 8px 18px;
    background: var(--accent-soft);
    color: var(--accent);
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
    white-space: nowrap;
}
.prod-notify-btn:hover { background: var(--accent-softer); }

/* Notify section */
.prod-notify-section { background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%); padding: 80px 40px; color: #fff; }
.prod-notify-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.prod-notify-text h2 { font-size: 2rem; margin-bottom: 10px; }
.prod-notify-text p  { opacity: 0.85; font-size: 1rem; margin-bottom: 32px; }

.prod-notify-form { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.prod-notify-fields { display: flex; gap: 10px; width: 100%; max-width: 480px; }

.prod-notify-fields input[type="email"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    outline: none;
    transition: border-color 0.2s;
}
.prod-notify-fields input[type="email"]::placeholder { color: rgba(255, 255, 255, 0.5); }
.prod-notify-fields input[type="email"]:focus { border-color: rgba(255, 255, 255, 0.7); }
.prod-notify-success { color: #bbf7d0; font-size: 0.95rem; margin: 0; font-weight: 500; }

/* ─── Services Page ──────────────────────────────── */
.services-hero {
    background: linear-gradient(135deg, #1e3a5f 0%, #2563eb 100%);
    color: #fff;
    padding: 60px 40px 50px;
    text-align: center;
}
.services-hero h2 { font-size: 2.4rem; margin-bottom: 0.4em; }
.services-hero > p { max-width: 640px; margin: 0 auto 36px; opacity: 0.9; font-size: 1.05rem; }

.category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.tab-link {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.2s;
}
.tab-link:hover { background: rgba(255, 255, 255, 0.3); }

.svc-section { padding: 72px 40px; background: var(--bg); transition: background-color 0.25s ease; }
.svc-section--alt { background: var(--surface); }
.svc-section-inner { max-width: 1200px; margin: 0 auto; }
.svc-section-header { margin-bottom: 40px; max-width: 640px; }
.svc-section-header h2 { color: var(--heading); font-size: 1.8rem; margin-bottom: 0.4em; }
.svc-section-header p  { color: var(--text-subtle); font-size: 1rem; margin-bottom: 0; }

.svc-category-badge {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 4px 12px;
    border-radius: 25px;
    margin-bottom: 12px;
}
.badge--red    { background: #dc2626; }
.badge--purple { background: #7c3aed; }
.badge--green  { background: #16a34a; }
.badge--orange { background: #d97706; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }

.svc-card {
    background: var(--surface);
    border-radius: 10px;
    padding: 28px 24px;
    box-shadow: 0 2px 10px var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
}

.svc-section--alt .svc-card {
    background: var(--surface-alt);
    box-shadow: none;
    border: 1px solid var(--border);
}

.svc-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px var(--shadow-md); }
.svc-card-icon  { font-size: 2rem; margin-bottom: 14px; line-height: 1; }
.svc-card h3    { color: var(--heading); font-size: 1.05rem; margin-bottom: 10px; }
.svc-card p     { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 0; flex: 1; }

.svc-card-cta {
    display: inline-block;
    margin-top: 18px;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s;
    align-self: flex-start;
}
.svc-card-cta:hover { border-bottom-color: var(--accent); }

/* ─── Contact Page ───────────────────────────────── */
.contact-page { background: var(--bg); padding: 60px 20px 80px; min-height: 80vh; transition: background-color 0.25s ease; }
.contact-page-inner { max-width: 760px; margin: 0 auto; }
.contact-page-header { text-align: center; margin-bottom: 40px; }
.contact-page-header h2 { color: var(--heading); font-size: 2.2rem; margin-bottom: 0.4em; }
.contact-page-header p  { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 0; }

/* Form card */
.ticket-form {
    background: var(--surface);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px var(--shadow-sm);
    transition: background-color 0.25s ease;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--heading);
    margin-bottom: 6px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.required { color: #e53e3e; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid var(--border);
    border-radius: 7px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text);
    background: var(--input-bg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease, color 0.25s ease;
    appearance: none;
    -webkit-appearance: none;
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232563eb' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

[data-theme="dark"] .form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233b82f6' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea { resize: vertical; min-height: 130px; }

.input-error { border-color: #e53e3e !important; }
.field-error { display: block; color: #e53e3e; font-size: 0.82rem; margin-top: 4px; min-height: 1em; }

/* Checkbox */
.checkbox-group { margin-bottom: 28px; }

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-weight: 400 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    color: var(--text-muted) !important;
    font-size: 0.95rem;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
    cursor: pointer;
}

.form-actions { text-align: right; }

.btn-submit { border: none; cursor: pointer; font-size: 1rem; padding: 13px 36px; min-width: 160px; }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

/* Success state */
.form-success {
    background: var(--surface);
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow-sm);
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    color: #fff;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 64px;
    margin: 0 auto 20px;
}

.form-success h3 { color: var(--heading); font-size: 1.6rem; margin-bottom: 10px; }
.form-success p  { color: var(--text-muted); margin-bottom: 28px; }

/* ─── Responsive ─────────────────────────────────── */
@media (max-width: 768px) {
    header, footer { padding-left: 20px; padding-right: 20px; }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .contact-info { padding: 20px 30px; }

    .theme-toggle { right: 8px; }
    .site-nav a   { padding: 12px 14px; font-size: 0.85rem; }

    /* Services page */
    .services-hero { padding: 48px 20px 40px; }
    .services-hero h2 { font-size: 1.8rem; }
    .svc-section { padding: 48px 20px; }
    .svc-grid { grid-template-columns: 1fr; }

    /* Contact form */
    .ticket-form { padding: 24px 20px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Homepage */
    .hp-hero { padding: 70px 20px 60px; }
    .hp-hero h2 { font-size: 2rem; }
    .hp-why, .hp-services, .hp-process, .hp-cta { padding: 56px 20px; }
    .hp-why-grid { grid-template-columns: 1fr; }
    .hp-process-steps { flex-direction: column; gap: 32px; }
    .hp-step-divider { display: none; }
    .hp-cta-inner { flex-direction: column; text-align: center; }

    /* Products page */
    .prod-hero { padding: 64px 20px 56px; }
    .prod-hero h2 { font-size: 2rem; }
    .prod-section { padding: 48px 20px 60px; }
    .prod-grid { grid-template-columns: 1fr; }
    .prod-card--wide { grid-template-columns: 1fr; }
    .prod-notify-section { padding: 56px 20px; }
    .prod-notify-fields { flex-direction: column; }

    /* Footer */
    .footer-inner { flex-direction: column; gap: 20px; }
    .footer-nav { gap: 16px; }
}
