/* ============================================================
   NoCloud AquaHub — Base Styles (app.css)
   ============================================================ */

/* --- Inter Font (local) ------------------------------------- */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('../vendor/fonts/inter/inter-latin-300-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../vendor/fonts/inter/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('../vendor/fonts/inter/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../vendor/fonts/inter/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../vendor/fonts/inter/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../vendor/fonts/inter/inter-latin-800-normal.woff2') format('woff2'); }

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img, video, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--teal-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--teal-light);
}

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

button {
    cursor: pointer;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 700;
    color: var(--text-heading);
}


/* --- CSS Variables ------------------------------------------- */
:root {
    /* palette */
    --ocean-deep: #0a1628;
    --ocean-dark: #0f2137;
    --ocean-mid: #1a3a5c;
    --teal-primary: #7dd3fc;
    --teal-light: #7dd3fc;
    --aqua-accent: #22d3ee;
    --seafoam: #2dd4bf;
    --coral: #f97316;
    --sand-light: #f8fafc;
    --sand: #f1f5f9;
    --pearl: #ffffff;

    /* sizing */
    --container-max: 1200px;
    --container-wide: 1400px;
    --header-height: 72px;
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
    --shadow-glow: 0 0 24px rgba(14,165,233,0.15);
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

/* --- Dark Theme (default) ----------------------------------- */
.dark {
    --bg-primary: var(--ocean-deep);
    --bg-secondary: var(--ocean-dark);
    --bg-tertiary: var(--ocean-mid);
    --bg-card: #0d1d33;
    --bg-card-hover: #112744;
    --text-primary: #e2e8f0;
    --text-secondary: #b0bec9;
    --text-heading: var(--pearl);
    --text-muted: #64748b;
    --border-color: rgba(255,255,255,0.08);
    --border-hover: rgba(255,255,255,0.15);
    --header-bg: rgba(10,22,40,0.85);
    --header-border: rgba(255,255,255,0.06);
    --footer-bg: #060e1a;
    --overlay-bg: rgba(0,0,0,0.6);
}

/* --- Light Theme -------------------------------------------- */
.light {
    --bg-primary: var(--sand-light);
    --bg-secondary: var(--pearl);
    --bg-tertiary: var(--sand);
    --bg-card: var(--pearl);
    --bg-card-hover: var(--sand-light);
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-heading: #0f172a;
    --text-muted: #94a3b8;
    --teal-primary: #0369a1;
    --border-color: rgba(0,0,0,0.08);
    --border-hover: rgba(0,0,0,0.15);
    --header-bg: rgba(248,250,252,0.85);
    --header-border: rgba(0,0,0,0.06);
    --footer-bg: #0f172a;
    --overlay-bg: rgba(0,0,0,0.4);
}


/* --- Typography --------------------------------------------- */
.text-xs   { font-size: 0.75rem; }
.text-sm   { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg   { font-size: 1.125rem; }
.text-xl   { font-size: 1.25rem; }
.text-2xl  { font-size: 1.5rem; }
.text-3xl  { font-size: 1.875rem; }
.text-4xl  { font-size: 2.25rem; }
.text-5xl  { font-size: 3rem; }
.text-6xl  { font-size: 3.75rem; }

.font-light    { font-weight: 300; }
.font-normal   { font-weight: 400; }
.font-medium   { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.font-extrabold{ font-weight: 800; }

.text-center { text-align: center; }
.text-left   { text-align: left; }
.text-right  { text-align: right; }

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

.text-gradient-warm {
    background: linear-gradient(135deg, var(--coral), #fb923c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* --- Container ---------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.container-wide {
    width: 100%;
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}


/* --- Buttons ------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn:hover::after {
    opacity: 1;
}

/* Primary */
.btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: var(--pearl);
    box-shadow: 0 2px 12px rgba(14,165,233,0.3);
}

.btn-primary:hover {
    color: var(--pearl);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(14,165,233,0.45);
}

.btn-primary::after {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

/* Secondary (outline) */
.btn-secondary {
    background: transparent;
    color: var(--teal-primary);
    border: 1.5px solid var(--teal-primary);
}

.btn-secondary:hover {
    color: var(--pearl);
    background: var(--teal-primary);
    border-color: var(--teal-primary);
    transform: translateY(-1px);
}

/* Coral CTA */
.btn-coral {
    background: linear-gradient(135deg, var(--coral), #ea580c);
    color: var(--pearl);
    box-shadow: 0 2px 12px rgba(249,115,22,0.3);
}

.btn-coral:hover {
    color: var(--pearl);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(249,115,22,0.45);
}

.btn-coral::after {
    background: linear-gradient(135deg, #fb923c, var(--coral));
}

/* Small */
.btn-sm {
    padding: 8px 20px;
    font-size: 0.8125rem;
}

/* Large */
.btn-lg {
    padding: 16px 36px;
    font-size: 1.0625rem;
}


/* --- Announcement Bar --------------------------------------- */
.announcement-bar {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    text-align: center;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-bottom: 1px solid var(--header-border);
}

/* --- Header ------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--header-border);
    transition: background var(--transition-base);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 24px;
}

/* Logo */
.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.header-logo img,
.header-logo svg {
    height: 44px;
    width: auto;
}

.header-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.02em;
}

/* Nav */
.header-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-nav a {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.header-nav a:hover,
.header-nav a.active {
    color: var(--teal-primary);
    background: rgba(14,165,233,0.08);
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.theme-toggle:hover {
    color: var(--teal-primary);
    background: rgba(14,165,233,0.08);
}

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

.dark .theme-toggle .fa-sun  { display: block; }
.light .theme-toggle .fa-moon { display: block; }

/* Logo theme swap */
.logo-dark  { display: none; }
.logo-light { display: inline; }
.dark .logo-dark  { display: inline; }
.dark .logo-light { display: none; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    cursor: pointer;
    z-index: 1010;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-base);
}

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

/* Mobile menu overlay */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    top: var(--header-height);
    background: var(--bg-primary);
    z-index: 999;
    padding: 32px 24px;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity var(--transition-base), transform var(--transition-base);
}

.mobile-menu-open .mobile-menu {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--teal-primary);
    background: rgba(14,165,233,0.08);
}

.mobile-menu .mobile-actions {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* --- Footer ------------------------------------------------- */
.site-footer {
    background: var(--footer-bg);
    color: #94a3b8;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 64px 24px 32px;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-logo img,
.footer-brand-logo svg {
    height: 36px;
    width: auto;
}

.footer-brand-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--pearl);
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #94a3b8;
}

.footer-heading {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #cbd5e1;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    font-size: 0.875rem;
    color: #94a3b8;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--teal-primary);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.8125rem;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: #94a3b8;
    font-size: 1.125rem;
    transition: color var(--transition-fast);
}

.footer-social a:hover {
    color: var(--teal-primary);
}


/* --- Flash Messages ----------------------------------------- */
.flash-container {
    position: fixed;
    top: calc(var(--header-height) + 16px);
    right: 24px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 420px;
}

.flash-message {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: flashIn 0.3s ease;
}

.flash-success {
    background: rgba(45,212,191,0.12);
    color: var(--seafoam);
    border: 1px solid rgba(45,212,191,0.2);
}

.flash-error {
    background: rgba(239,68,68,0.12);
    color: #f87171;
    border: 1px solid rgba(239,68,68,0.2);
}

.flash-info {
    background: rgba(14,165,233,0.12);
    color: var(--teal-light);
    border: 1px solid rgba(14,165,233,0.2);
}

@keyframes flashIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}


/* --- Wave Divider ------------------------------------------- */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    overflow: hidden;
    line-height: 0;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-divider--flip {
    transform: rotate(180deg);
}


/* --- Section Utilities -------------------------------------- */
.section {
    padding: 96px 0;
}

.section-sm {
    padding: 64px 0;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal-primary);
    background: rgba(125,211,252,0.1);
    border: 1px solid rgba(125,211,252,0.15);
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.7;
}

.section-header {
    margin-bottom: 56px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin-left: auto;
    margin-right: auto;
}


/* --- Cards -------------------------------------------------- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition-base);
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(14,165,233,0.1);
    color: var(--teal-primary);
    font-size: 1.25rem;
    margin-bottom: 20px;
}


/* --- Feature Cards (shared component) ----------------------- */
.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.feature-icon--water {
    background: rgba(14,165,233,0.1);
    color: var(--teal-primary);
}

.feature-icon--quality {
    background: rgba(45,212,191,0.1);
    color: var(--seafoam);
}

.feature-icon--doser {
    background: rgba(34,211,238,0.1);
    color: var(--aqua-accent);
}

.feature-icon--local {
    background: rgba(99,102,241,0.1);
    color: #818cf8;
}

.feature-icon--free {
    background: rgba(249,115,22,0.1);
    color: var(--coral);
}

.feature-icon--display {
    background: rgba(139,92,246,0.1);
    color: #8b5cf6;
}

.feature-card h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.feature-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}


/* --- Steps (shared component) ------------------------------- */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(16.67% + 40px);
    right: calc(16.67% + 40px);
    height: 2px;
    background: linear-gradient(90deg, var(--teal-primary), var(--aqua-accent), var(--seafoam));
    opacity: 0.3;
}

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

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 28px;
    border-radius: 50%;
    font-size: 1.75rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.step-number--1 {
    background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(14,165,233,0.05));
    color: var(--teal-primary);
    border: 2px solid rgba(14,165,233,0.2);
}

.step-number--2 {
    background: linear-gradient(135deg, rgba(34,211,238,0.15), rgba(34,211,238,0.05));
    color: var(--aqua-accent);
    border: 2px solid rgba(34,211,238,0.2);
}

.step-number--3 {
    background: linear-gradient(135deg, rgba(45,212,191,0.15), rgba(45,212,191,0.05));
    color: var(--seafoam);
    border: 2px solid rgba(45,212,191,0.2);
}

.step-card h3 {
    font-size: 1.1875rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-heading);
}

.step-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 280px;
    margin: 0 auto;
}


/* --- USP Cards (shared component) --------------------------- */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.usp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.usp-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.usp-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.usp-card:hover::after {
    opacity: 1;
}

.usp-card:nth-child(1)::after {
    background: linear-gradient(90deg, transparent, var(--teal-primary), transparent);
}

.usp-card:nth-child(2)::after {
    background: linear-gradient(90deg, transparent, var(--coral), transparent);
}

.usp-card:nth-child(3)::after {
    background: linear-gradient(90deg, transparent, var(--seafoam), transparent);
}

.usp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    font-size: 1.5rem;
}

.usp-icon--privacy {
    background: rgba(14,165,233,0.1);
    color: var(--teal-primary);
}

.usp-icon--free {
    background: rgba(249,115,22,0.1);
    color: var(--coral);
}

.usp-icon--control {
    background: rgba(45,212,191,0.1);
    color: var(--seafoam);
}

.usp-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.usp-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 300px;
    margin: 0 auto;
}


/* --- Section Footer (for "See all" links) ------------------- */
.section-footer {
    margin-top: 40px;
}

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


/* --- Misc Utilities ----------------------------------------- */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.main-content {
    flex: 1;
}


/* --- Responsive --------------------------------------------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .section-title {
        font-size: 2rem;
    }

    .steps-grid::before {
        display: none;
    }

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

    .usp-grid .usp-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .header-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-actions .btn {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .section {
        padding: 64px 0;
    }

    .section-sm {
        padding: 48px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .container {
        padding: 0 16px;
    }

    .container-wide {
        padding: 0 16px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-number {
        width: 64px;
        height: 64px;
        font-size: 1.375rem;
        margin-bottom: 20px;
    }

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

    .usp-grid .usp-card:last-child {
        max-width: none;
    }
}

/* --- Cookie Banner ------------------------------------------ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.1);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-banner a {
    color: var(--teal-primary);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}
