/* =========================================================
   HAKIM-BET — Soft Neumorphic Theme
   White · cool gray · charcoal
   One clean stylesheet for index.html and privacy.html
========================================================= */

:root {
    /* Surfaces */
    --bg: #e8e8ec;
    --bg-hi: #f2f2f5;
    --surface: #e8e8ec;

    /* Charcoal */
    --ink: #262325;
    --ink-2: #353133;
    --ink-3: #4a4548;

    /* Text */
    --text: #29272b;
    --muted: #67656d;
    --faint: #94929a;

    /* Light + shadow (the neumorphic pair) */
    --hl: rgba(255, 255, 255, 0.95);
    --sh: rgba(158, 158, 174, 0.48);
    --sh-soft: rgba(158, 158, 174, 0.30);

    --raise-sm: 5px 5px 12px var(--sh-soft), -5px -5px 12px var(--hl);
    --raise: 10px 10px 24px var(--sh), -10px -10px 24px var(--hl);
    --raise-lg: 18px 18px 40px var(--sh), -16px -16px 36px var(--hl);
    --inset-sm: inset 3px 3px 7px var(--sh-soft), inset -3px -3px 7px var(--hl);
    --inset: inset 6px 6px 13px var(--sh), inset -6px -6px 13px var(--hl);

    --raise-dark: 14px 16px 32px rgba(38, 35, 37, 0.30), -10px -10px 26px var(--hl);
    --dark-raise-sm: 5px 5px 12px rgba(0, 0, 0, 0.35), -4px -4px 10px rgba(255, 255, 255, 0.05);
    --dark-inset: inset 4px 4px 10px rgba(0, 0, 0, 0.38), inset -4px -4px 10px rgba(255, 255, 255, 0.05);

    --r-sm: 14px;
    --r: 24px;
    --r-lg: 34px;

    --ease: cubic-bezier(.2, .7, .2, 1);

    --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* =========================================================
   RESET
========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    background: var(--bg);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* soft light falling from the top-left, like a lamp over clay */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    background:
        radial-gradient(1200px 700px at 10% -10%, rgba(255,255,255,.75), transparent 60%),
        radial-gradient(900px 600px at 100% 110%, rgba(190,190,204,.35), transparent 60%);
}

img { max-width: 100%; display: block; }
button, input, textarea { font-family: inherit; font-size: inherit; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--ink); color: #fff; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--ink-3);
    outline-offset: 4px;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text);
    letter-spacing: -0.025em;
    line-height: 1.1;
}

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.section { padding: clamp(80px, 11vw, 130px) 0; position: relative; }

/* =========================================================
   SHARED PIECES
========================================================= */

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--bg);
    box-shadow: var(--inset-sm);
}
.section-eyebrow::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--ink);
}

.section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto clamp(48px, 7vw, 72px);
}
.section-heading h2 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 800;
    margin: 22px 0 18px;
}
.section-heading h2 span,
.app-details h2 span { color: var(--faint); }
.section-heading p { color: var(--muted); font-size: 1.06rem; }

/* Icon wells — pressed into the surface */
.icon-well {
    width: 58px; height: 58px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: var(--bg);
    box-shadow: var(--inset);
    color: var(--ink);
    font-size: 1.25rem;
}

/* =========================================================
   BUTTONS
========================================================= */

.btn {
    --btn-pad: 16px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: var(--btn-pad);
    border: 0;
    border-radius: 999px;
    font-weight: 650;
    font-size: .98rem;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn i { font-size: .95em; transition: transform .25s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn:hover i.fa-arrow-down { transform: translateY(3px); }

/* charcoal raised pill */
.btn-primary {
    color: #fff;
    background: linear-gradient(145deg, #3a3638, #222022);
    box-shadow: 8px 10px 22px rgba(38,35,37,.32), -8px -8px 18px var(--hl),
                inset 1px 1px 0 rgba(255,255,255,.12);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 10px 14px 28px rgba(38,35,37,.36), -8px -8px 18px var(--hl), inset 1px 1px 0 rgba(255,255,255,.12); }
.btn-primary:active { transform: translateY(1px); box-shadow: inset 4px 4px 10px rgba(0,0,0,.45), inset -2px -2px 6px rgba(255,255,255,.08); }

/* light raised pill */
.btn-soft, .btn-secondary {
    color: var(--ink);
    background: var(--bg);
    box-shadow: var(--raise-sm);
}
.btn-soft:hover, .btn-secondary:hover { transform: translateY(-2px); box-shadow: 8px 8px 18px var(--sh-soft), -8px -8px 18px var(--hl); }
.btn-soft:active, .btn-secondary:active { transform: none; box-shadow: var(--inset-sm); }

.btn-secondary {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 12px 22px; border: 0; border-radius: 999px;
    font-weight: 650; font-size: .9rem; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

/* white pill on charcoal */
.btn-white {
    color: var(--ink);
    background: linear-gradient(145deg, #ffffff, #e4e4e8);
    box-shadow: 8px 10px 22px rgba(0,0,0,.4), -4px -4px 12px rgba(255,255,255,.06);
}
.btn-white:hover { transform: translateY(-2px); }
.btn-white:active { transform: translateY(1px); box-shadow: inset 3px 3px 8px rgba(0,0,0,.25); }

/* =========================================================
   NAVBAR — a floating neumorphic pill
========================================================= */

.navbar {
    position: fixed;
    top: 16px; left: 0; right: 0;
    z-index: 1000;
    pointer-events: none;
}
.nav-container {
    pointer-events: auto;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 10px 10px 10px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 999px;
    background: rgba(232, 232, 236, 0.82);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 8px 8px 22px var(--sh-soft), -8px -8px 22px rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.6);
    transition: box-shadow .3s, background .3s;
}
.navbar.scrolled .nav-container {
    background: rgba(236, 236, 240, 0.94);
    box-shadow: 10px 12px 28px var(--sh), -6px -6px 18px rgba(255,255,255,.7);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.22rem;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.logo-word span { color: var(--faint); }
.logo-mark {
    width: 36px; height: 36px;
    border-radius: 50%;
    padding: 4px;
    background: var(--bg);
    box-shadow: var(--raise-sm);
}
.logo-mark img { width: 100%; height: 100%; border-radius: 50%; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px;
    border-radius: 999px;
    box-shadow: var(--inset-sm);
}
.nav-links a {
    padding: 9px 18px;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 550;
    color: var(--muted);
    transition: color .2s, background .25s, box-shadow .25s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active {
    color: var(--ink);
    background: var(--bg);
    box-shadow: 3px 3px 8px var(--sh-soft), -3px -3px 8px var(--hl);
}
.nav-links .nav-cta {
    margin-left: 6px;
    color: #fff;
    background: var(--ink);
    box-shadow: 4px 5px 12px rgba(38,35,37,.3);
}
.nav-links .nav-cta:hover { color: #fff; background: var(--ink-2); }

.menu-toggle {
    display: none;
    width: 46px; height: 46px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: var(--bg);
    box-shadow: var(--raise-sm);
    font-size: 1.1rem;
    cursor: pointer;
}
.menu-toggle:active { box-shadow: var(--inset-sm); }

/* =========================================================
   HERO
========================================================= */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 90px;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: clamp(40px, 6vw, 80px);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    color: var(--muted);
    box-shadow: var(--inset-sm);
}
.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--ink);
    position: relative;
}
.badge-dot::after {
    content: "";
    position: absolute; inset: -4px;
    border-radius: 50%;
    border: 1.5px solid var(--ink);
    opacity: 0;
    animation: ping 2.4s var(--ease) infinite;
}
@keyframes ping { 0% { transform: scale(.6); opacity: .6; } 100% { transform: scale(1.8); opacity: 0; } }

.hero-content h1 {
    margin: 28px 0 24px;
    font-size: clamp(2.9rem, 6.6vw, 5.4rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: .98;
    color: var(--ink);
}
.hero-content h1 span {
    display: block;
    color: transparent;
    background: linear-gradient(100deg, #8f8c94 0%, #bdbbc2 60%, #8f8c94 100%);
    -webkit-background-clip: text;
    background-clip: text;
    padding-bottom: .1em;
    margin-bottom: -.1em;
}

.hero-description {
    max-width: 540px;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 38px;
}

.hero-stats {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    margin-top: 48px;
    padding: 8px;
    border-radius: 22px;
    box-shadow: var(--inset-sm);
}
.hero-stats div {
    padding: 10px 22px;
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.hero-stats div + div { border-left: 1px solid rgba(158,158,174,.3); }
.hero-stats strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.hero-stats span { font-size: .78rem; color: var(--faint); font-weight: 500; }

/* ---- Hero visual: concentric clay rings + phone ---- */

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 560px;
    justify-self: center;
}

.ring {
    position: absolute;
    border-radius: 50%;
    background: var(--bg);
}
.ring-1 { inset: 0; box-shadow: var(--raise-lg); }
.ring-2 { inset: 9%; box-shadow: var(--inset); }
.ring-3 { inset: 19%; box-shadow: var(--raise); background: linear-gradient(145deg, #eeeef2, #e2e2e7); }

.ring-orbit {
    position: absolute;
    inset: 4.5%;
    border-radius: 50%;
    animation: spin 40s linear infinite;
}
.ring-orbit span {
    position: absolute;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--ink);
    box-shadow: 0 0 0 5px var(--bg), 3px 3px 8px var(--sh);
}
.ring-orbit span:nth-child(1) { top: -6px; left: calc(50% - 6px); }
.ring-orbit span:nth-child(2) { bottom: 14%; left: 3%; width: 8px; height: 8px; background: var(--faint); }
@keyframes spin { to { transform: rotate(360deg); } }

.phone {
    position: relative;
    z-index: 2;
    width: 46%;
    aspect-ratio: 9 / 18.5;
    padding: 9px;
    border-radius: 38px;
    background: linear-gradient(150deg, #403b3e, #1d1b1c);
    box-shadow:
        22px 30px 50px rgba(38,35,37,.38),
        -10px -10px 30px rgba(255,255,255,.7),
        inset 1px 1px 1px rgba(255,255,255,.18);
    transform: rotate(-6deg);
    animation: float 7s ease-in-out infinite;
}
.phone::before {
    content: "";
    position: absolute;
    top: 16px; left: 50%;
    width: 26%; height: 14px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #141213;
    z-index: 3;
}
.phone img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 30px;
}
@keyframes float {
    0%, 100% { transform: rotate(-6deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-12px); }
}

.icon-knob {
    position: absolute;
    z-index: 3;
    right: 6%; top: 14%;
    width: 20%;
    aspect-ratio: 1;
    padding: 4%;
    border-radius: 50%;
    background: var(--bg);
    box-shadow: var(--raise);
}
.icon-knob img { width: 100%; height: 100%; border-radius: 50%; }

/* =========================================================
   ABOUT
========================================================= */

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.about-card {
    position: relative;
    padding: 38px 34px 34px;
    border-radius: var(--r-lg);
    background: var(--bg);
    box-shadow: var(--raise);
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--raise-lg); }

.card-number {
    position: absolute;
    top: 30px; right: 32px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1.2px rgba(150,148,158,.45);
}
.about-card h3 { font-size: 1.35rem; margin: 30px 0 12px; }
.about-card p { color: var(--muted); font-size: .96rem; flex: 1; }

.card-link {
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    font-size: .9rem;
    color: var(--ink);
}
.card-link i {
    width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: 50%;
    font-size: .75rem;
    box-shadow: var(--raise-sm);
    transition: transform .25s var(--ease), box-shadow .25s;
}
.card-link:hover i { transform: translateX(4px); }

.about-card.featured-card {
    background: linear-gradient(155deg, #3a3638 0%, #232022 100%);
    box-shadow: var(--raise-dark);
}
.featured-card h3 { color: #fff; }
.featured-card p { color: rgba(255,255,255,.62); }
.featured-card .card-link { color: #fff; }
.featured-card .card-link i { background: var(--ink-2); box-shadow: var(--dark-raise-sm); }
.featured-card .card-number { -webkit-text-stroke-color: rgba(255,255,255,.18); }
.featured-card .icon-well { background: #2c292b; color: #fff; box-shadow: var(--dark-inset); }

/* =========================================================
   HAKIMBET SHOWCASE
========================================================= */

.app-showcase {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
}

.app-details h2 {
    font-size: clamp(2.2rem, 4.6vw, 3.5rem);
    font-weight: 800;
    margin: 22px 0 20px;
}
.app-description { color: var(--muted); font-size: 1.06rem; max-width: 460px; }

.app-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 24px;
    margin-top: 36px;
}
.download-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .86rem;
    color: var(--faint);
    font-weight: 500;
}

.app-meta-row {
    display: flex;
    gap: 14px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.app-meta-row span {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 16px;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    color: var(--muted);
    box-shadow: var(--inset-sm);
}
.app-meta-row i { color: var(--ink); }

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 22px;
    border-radius: var(--r);
    background: var(--bg);
    box-shadow: var(--raise);
    min-width: 0;
    transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.feature-item:hover { box-shadow: var(--inset); transform: scale(.985); }
.feature-item:hover .icon-well { box-shadow: var(--raise-sm); }
.feature-item > div:last-child { min-width: 0; }
.feature-item strong { display: block; font-family: var(--font-display); font-size: 1.02rem; color: var(--ink); margin-bottom: 2px; }
.feature-item span { display: block; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.feature-item .icon-well { transition: box-shadow .35s var(--ease); }

/* =========================================================
   PRODUCTS
========================================================= */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.product-card {
    padding: 34px;
    border-radius: var(--r-lg);
    background: var(--bg);
    box-shadow: var(--raise);
    display: flex;
    flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--raise-lg); }

.product-top { display: flex; justify-content: space-between; align-items: flex-start; }
.product-label {
    padding: 6px 13px;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: var(--muted);
    box-shadow: var(--raise-sm);
}
.product-label.is-dark { color: #fff; background: var(--ink); box-shadow: 4px 4px 10px rgba(38,35,37,.25); }
.product-card h3 { font-size: 1.3rem; margin: 30px 0 10px; }
.product-card p { color: var(--muted); font-size: .95rem; flex: 1; margin-bottom: 28px; }
.product-card .btn-secondary { align-self: flex-start; }

/* =========================================================
   CTA
========================================================= */

.cta-section { padding: 20px 0 clamp(80px, 11vw, 130px); }

.cta-box {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: clamp(40px, 6vw, 72px);
    border-radius: 40px;
    background: linear-gradient(150deg, #3a3638 0%, #1f1d1e 100%);
    box-shadow: var(--raise-dark);
    color: #fff;
}
.cta-box::before, .cta-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.cta-box::before {
    width: 420px; height: 420px;
    right: -120px; top: -160px;
    box-shadow: var(--dark-inset);
    background: #2a2729;
}
.cta-box::after {
    width: 220px; height: 220px;
    right: -20px; top: -60px;
    background: linear-gradient(145deg, #3d393b, #2a2729);
    box-shadow: var(--dark-raise-sm);
}
.cta-content { position: relative; z-index: 1; max-width: 640px; }
.cta-box .btn { position: relative; z-index: 1; }

.cta-box .section-eyebrow {
    color: rgba(255,255,255,.6);
    background: transparent;
    box-shadow: var(--dark-inset);
}
.cta-box .section-eyebrow::before { background: #fff; }
.cta-content h2 {
    font-size: clamp(2rem, 4.4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin: 22px 0 16px;
}
.cta-content h2 span { color: rgba(255,255,255,.42); }
.cta-content p { color: rgba(255,255,255,.62); font-size: 1.04rem; }

/* =========================================================
   CONTACT
========================================================= */

.contact-wrapper {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 32px;
    align-items: stretch;
}

.contact-info, .contact-form {
    padding: clamp(30px, 4vw, 44px);
    border-radius: var(--r-lg);
    background: var(--bg);
    box-shadow: var(--raise);
}

.contact-info-header { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.contact-info-header h3 { font-size: 1.45rem; }
.contact-info > p { color: var(--muted); margin-bottom: 28px; }

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    box-shadow: var(--inset-sm);
}
.contact-feature + .contact-feature { margin-top: 14px; }
.contact-feature > i { margin-top: 4px; color: var(--ink); }
.contact-feature strong { display: block; font-size: .95rem; color: var(--ink); }
.contact-feature span { display: block; font-size: .85rem; color: var(--muted); }

.contact-socials { display: flex; gap: 12px; margin-top: 28px; }
.contact-socials a {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: var(--ink);
    box-shadow: var(--raise-sm);
    transition: box-shadow .25s, transform .25s;
}
.contact-socials a:hover { transform: translateY(-2px); }
.contact-socials a:active { box-shadow: var(--inset-sm); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; min-width: 0; }
.form-group label {
    display: block;
    margin: 0 0 10px 6px;
    font-size: .84rem;
    font-weight: 650;
    color: var(--ink-3);
}
.input-wrapper { position: relative; }
.input-wrapper i {
    position: absolute;
    left: 20px; top: 50%;
    transform: translateY(-50%);
    color: var(--faint);
    font-size: .9rem;
    pointer-events: none;
    transition: color .2s;
}
.textarea-wrapper i { top: 22px; transform: none; }

.input-wrapper input, .input-wrapper textarea {
    width: 100%;
    padding: 16px 20px 16px 50px;
    border: 0;
    border-radius: 18px;
    background: var(--bg);
    color: var(--text);
    box-shadow: var(--inset);
    outline: none;
    transition: box-shadow .25s;
}
.input-wrapper textarea { resize: vertical; min-height: 160px; line-height: 1.6; }
.input-wrapper input::placeholder, .input-wrapper textarea::placeholder { color: var(--faint); }
.input-wrapper input:focus, .input-wrapper textarea:focus {
    box-shadow: var(--inset), 0 0 0 2px rgba(38,35,37,.18);
}
.input-wrapper:focus-within i { color: var(--ink); }

.form-submit { width: 100%; margin-top: 6px; }

.form-status {
    display: none;
    margin-bottom: 16px;
    padding: 14px 18px;
    border-radius: 16px;
    font-size: .9rem;
    font-weight: 500;
    color: var(--ink);
    box-shadow: var(--inset-sm);
}
.form-status.visible { display: block; }
.form-status-error { color: #a03232; }

/* =========================================================
   FOOTER
========================================================= */

.footer {
    position: relative;
    margin-top: 40px;
    padding: 80px 0 34px;
    background: linear-gradient(170deg, #2d2a2c 0%, #1c1a1b 100%);
    color: rgba(255,255,255,.6);
    border-radius: 48px 48px 0 0;
}
.footer-main {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer .logo { color: #fff; }
.footer .logo-word span { color: rgba(255,255,255,.4); }
.footer .logo-mark { background: #2a2729; box-shadow: var(--dark-raise-sm); }
.footer-brand p { margin-top: 18px; max-width: 320px; font-size: .95rem; }

.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links h4 {
    color: #fff;
    font-size: .78rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.footer-links a, .footer-links span { font-size: .93rem; color: rgba(255,255,255,.55); transition: color .2s; }
.footer-links a:hover { color: #fff; }

.footer-social { display: flex; gap: 14px; margin-top: 28px; }
.social-icon {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    color: rgba(255,255,255,.8);
    background: #2a2729;
    box-shadow: var(--dark-raise-sm);
    transition: transform .25s, box-shadow .25s, color .2s;
}
.social-icon:hover { color: #fff; transform: translateY(-2px); }
.social-icon:active { box-shadow: var(--dark-inset); transform: none; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .84rem;
}
.footer-bottom a { color: rgba(255,255,255,.8); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: #fff; }
.footer-disclaimer { color: rgba(255,255,255,.4); }

/* =========================================================
   MODAL
========================================================= */

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(220, 220, 226, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-box {
    position: relative;
    width: min(500px, 100%);
    padding: 44px 38px 38px;
    border-radius: var(--r-lg);
    background: var(--bg);
    box-shadow: var(--raise-lg);
    transform: translateY(14px) scale(.98);
    transition: transform .35s var(--ease);
}
.modal-overlay.active .modal-box { transform: none; }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 14px; }
.modal-box p { color: var(--muted); }
.modal-close {
    position: absolute;
    top: 18px; right: 18px;
    width: 40px; height: 40px;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    background: var(--bg);
    box-shadow: var(--raise-sm);
    cursor: pointer;
}
.modal-close:active { box-shadow: var(--inset-sm); }

/* =========================================================
   PRIVACY / LEGAL
========================================================= */

.legal-section { padding-top: 150px; }
.legal-container {
    max-width: 860px;
    padding: clamp(32px, 6vw, 64px);
    border-radius: 40px;
    background: var(--bg);
    box-shadow: var(--raise-lg);
}
.legal-container h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    color: var(--ink);
    margin: 22px 0 10px;
}
.legal-updated {
    display: inline-block;
    font-size: .86rem;
    color: var(--faint);
    margin-bottom: 26px;
}
.legal-container h2 {
    font-size: 1.3rem;
    margin: 44px 0 14px;
    padding-left: 18px;
    position: relative;
}
.legal-container h2::before {
    content: "";
    position: absolute;
    left: 0; top: 4px; bottom: 4px;
    width: 5px;
    border-radius: 3px;
    background: var(--ink);
}
.legal-container p, .legal-container li { color: var(--muted); font-size: .98rem; }
.legal-container p + p { margin-top: 14px; }
.legal-container ul { margin: 14px 0; padding-left: 4px; }
.legal-container li { position: relative; padding-left: 22px; margin: 8px 0; }
.legal-container li::before {
    content: "";
    position: absolute;
    left: 4px; top: .7em;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ink-3);
}
.legal-container a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* =========================================================
   SCROLL REVEAL
========================================================= */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; }
.reveal-d2 { transition-delay: .16s; }
.reveal-d3 { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-content { display: flex; flex-direction: column; align-items: center; }
    .hero-description { margin: 0 auto; }
    .hero-buttons { justify-content: center; }
    .hero-visual { max-width: 460px; }

    .about-grid, .product-grid { grid-template-columns: 1fr 1fr; }
    .about-grid > :last-child, .product-grid > :last-child { grid-column: 1 / -1; max-width: calc(50% - 16px); justify-self: center; width: 100%; }

    .app-showcase { grid-template-columns: 1fr; }
    .app-details { text-align: center; display: flex; flex-direction: column; align-items: center; }
    .app-description { margin: 0 auto; }
    .app-actions, .app-meta-row { justify-content: center; }

    .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
    .menu-toggle { display: grid; place-items: center; }
    .nav-container { padding: 8px 8px 8px 18px; }

    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 16px; right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border-radius: 28px;
        background: var(--bg);
        box-shadow: var(--raise-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: 14px 18px; font-size: 1rem; text-align: center; }
    .nav-links .nav-cta { margin: 6px 0 0; }

    .cta-box { flex-direction: column; align-items: flex-start; }
    .footer-main { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
    .container { width: calc(100% - 32px); }
    .hero-section { min-height: auto; padding: 120px 0 70px; }
    .hero-stats { margin-top: 36px; }
    .hero-stats div { padding: 8px 14px; }
    .hero-buttons .btn { flex: 1 1 100%; }
    .hero-visual { max-width: 340px; }

    .about-grid, .product-grid, .feature-grid, .form-row { grid-template-columns: 1fr; }
    .about-grid > :last-child, .product-grid > :last-child { max-width: none; }
    .form-row { gap: 0; }

    .about-card, .product-card { padding: 30px 26px; }
    .feature-grid { gap: 18px; }

    .cta-box { border-radius: 30px; padding: 40px 28px; }
    .cta-box .btn { width: 100%; }

    .footer { border-radius: 32px 32px 0 0; padding-top: 60px; }
    .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

/* Note under the Hakimbet buttons (Android + web) */
.app-platform-note { margin-top: 22px; }
.app-platform-note i { color: var(--ink); }
@media (max-width: 1024px) { .app-platform-note { justify-content: center; } }

/* "Use it here" — opens the web app, sits beside "Get the app" */
.nav-links .nav-web {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 6px;
    color: #fff;
    background: var(--ink);
    box-shadow: 4px 5px 12px rgba(38,35,37,.3);
}
.nav-links .nav-web i { font-size: .85em; }
.nav-links .nav-web:hover { color: #fff; background: var(--ink-2); }
.nav-links .nav-web:active { box-shadow: inset 3px 3px 8px rgba(0,0,0,.45); }
.logo, .nav-links a { white-space: nowrap; }

/* Switch to the ☰ menu earlier now that the bar holds two buttons */
@media (max-width: 1060px) {
    .menu-toggle { display: grid; place-items: center; }
    .nav-container { padding: 8px 8px 8px 18px; }
    .nav-links {
        position: absolute;
        top: calc(100% + 12px);
        left: 16px; right: 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 12px;
        border-radius: 28px;
        background: var(--bg);
        box-shadow: var(--raise-lg);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .25s, transform .3s var(--ease), visibility .25s;
    }
    .nav-links.active { opacity: 1; visibility: visible; transform: none; }
    .nav-links a { padding: 14px 18px; font-size: 1rem; text-align: center; }
    .nav-links .nav-cta { margin: 6px 0 0; }
    .nav-links .nav-web { justify-content: center; margin: 0; }
}
