/* =====================================================================
   IMANI — Website Stylesheet
   Brand colors: Navy #0E1D57 / Red #FF5101 / White
   ===================================================================== */

:root {
    --navy: #0E1D57;
    --navy-dark: #081336;
    --navy-light: #1E3264;
    --red: #FF5101;
    --red-soft: #FF7A3D;
    --blue-mid: #5876A7;
    --bg-light: #E8F4FC;
    --bg-soft: #F7FAFD;
    --text: #1A2233;
    --text-mid: #4A5568;
    --text-light: #718096;
    --white: #FFFFFF;
    --border: #E2E8F0;
    --shadow: 0 4px 24px rgba(14, 29, 87, 0.08);
    --shadow-strong: 0 8px 40px rgba(14, 29, 87, 0.15);
    --radius: 12px;
    --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

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

a { color: var(--red); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

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

/* =================== HEADER / NAV =================== */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}
.nav {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0;
}
.logo {
    font-size: 26px; font-weight: 800; color: var(--navy);
    letter-spacing: -0.5px;
    display: flex; align-items: center; gap: 8px;
}
.logo-dot { color: var(--red); }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
    color: var(--text); font-weight: 500; font-size: 15px;
    padding: 8px 0; position: relative;
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px; background: var(--red);
    transition: width .25s;
}
.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }
.btn-cta {
    background: var(--red); color: var(--white) !important;
    padding: 18px 52px; border-radius: 999px;
    font-weight: 700; font-size: 17px;
    white-space: nowrap; letter-spacing: 0.3px;
    margin-left: 8px;
    box-shadow: 0 4px 16px rgba(255, 81, 1, 0.25);
    transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-cta:hover {
    background: var(--navy); color: var(--white) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 81, 1, 0.3);
}
.btn-cta::after { display: none; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* =================== HERO =================== */
.hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 100px 0 120px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; top: -100px; right: -100px;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 81, 1, 0.18), transparent 70%);
}
.hero::after {
    content: ''; position: absolute; bottom: -150px; left: -150px;
    width: 500px; height: 500px; border-radius: 50%;
    background: radial-gradient(circle, rgba(88, 118, 167, 0.25), transparent 70%);
}
.hero-content { position: relative; z-index: 1; max-width: 820px; }
.hero-tag {
    display: inline-block;
    background: rgba(255, 81, 1, 0.15);
    color: var(--red-soft);
    padding: 6px 16px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 1px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 81, 1, 0.3);
}
.hero h1 {
    color: var(--white);
    font-size: clamp(36px, 5vw, 56px);
    margin-bottom: 24px;
    font-weight: 800;
}
.hero h1 .accent { color: var(--red); }
.hero-sub {
    font-size: 20px; opacity: 0.92; margin-bottom: 36px;
    max-width: 680px;
}
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    padding: 14px 32px; border-radius: 999px;
    font-weight: 600; font-size: 15px;
    transition: all .25s;
    display: inline-block;
}
.btn-primary {
    background: var(--red); color: var(--white) !important;
    box-shadow: 0 6px 24px rgba(255, 81, 1, 0.4);
}
.btn-primary:hover {
    background: var(--white); color: var(--red) !important;
    transform: translateY(-2px);
}
.btn-secondary {
    background: transparent; color: var(--white) !important;
    border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-secondary:hover {
    background: var(--white); color: var(--navy) !important;
    border-color: var(--white);
}

/* =================== SECTIONS GENERIC =================== */
section { padding: 90px 0; }
.section-header { text-align: center; margin-bottom: 56px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-tag {
    color: var(--red); font-weight: 700; text-transform: uppercase;
    letter-spacing: 2px; font-size: 13px; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px;
}
.section-sub { font-size: 18px; color: var(--text-mid); }

/* =================== PROBLEM =================== */
#problem { background: var(--bg-soft); }
.problem-grid {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.problem-text p { font-size: 17px; color: var(--text-mid); margin-bottom: 18px; }
.problem-text p strong { color: var(--navy); }
.problem-quote {
    background: var(--white); padding: 28px; border-radius: var(--radius);
    border-left: 4px solid var(--red);
    box-shadow: var(--shadow);
    font-style: italic; color: var(--navy); font-size: 18px;
    margin-top: 24px;
}
.problem-stats {
    display: grid; gap: 16px;
}
.problem-stat {
    background: var(--white); padding: 24px; border-radius: var(--radius);
    box-shadow: var(--shadow); border-top: 4px solid var(--red);
}
.problem-stat .stat-x {
    color: var(--red); font-size: 24px; font-weight: 700; margin-right: 8px;
}
.problem-stat strong { color: var(--navy); font-size: 16px; }
.problem-stat p { color: var(--text-mid); font-size: 14px; margin-top: 6px; }

/* =================== VISION =================== */
.vision-box {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white); border-radius: var(--radius-lg);
    padding: 56px; text-align: center;
}
.vision-box h3 { color: var(--white); font-size: 28px; margin-bottom: 20px; }
.vision-box p { font-size: 19px; opacity: 0.95; max-width: 800px; margin: 0 auto 16px; }
.vision-flip {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
    margin: 40px 0 24px;
}
.flip-old, .flip-new {
    background: rgba(255, 255, 255, 0.08); padding: 28px;
    border-radius: var(--radius); text-align: left;
}
.flip-new { background: rgba(255, 81, 1, 0.15); border: 1px solid rgba(255, 81, 1, 0.3); }
.flip-old h4, .flip-new h4 {
    color: var(--white); font-size: 14px; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 16px; opacity: 0.7;
}
.flip-new h4 { color: var(--red-soft); opacity: 1; }
.flip-old p, .flip-new p { font-size: 16px; }
.faas-badge {
    display: inline-block; background: var(--red); color: var(--white);
    padding: 12px 28px; border-radius: 999px; font-weight: 700;
    margin-top: 16px;
}

/* =================== SOLUTION 5 STEPS =================== */
.steps {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
    counter-reset: step;
}
.step {
    background: var(--white); padding: 28px 20px;
    border-radius: var(--radius); text-align: center;
    border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    position: relative;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--red); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 12px rgba(255, 81, 1, 0.3);
}
.step h4 {
    text-transform: uppercase; letter-spacing: 1px;
    font-size: 14px; margin-top: 18px; margin-bottom: 8px;
    color: var(--navy);
}
.step p { color: var(--text-mid); font-size: 14px; }

/* =================== 4 SERVICES =================== */
#services { background: var(--bg-soft); }
.services-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.service-card {
    background: var(--white); border-radius: var(--radius-lg);
    padding: 36px; border: 1px solid var(--border);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 6px; height: 100%; background: var(--red);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.service-num {
    display: inline-block; width: 44px; height: 44px; border-radius: 12px;
    background: var(--navy); color: var(--white);
    text-align: center; line-height: 44px; font-weight: 700; font-size: 18px;
    margin-bottom: 16px;
}
.service-card h3 { font-size: 24px; margin-bottom: 8px; }
.service-card .service-sub { color: var(--red); font-weight: 600; margin-bottom: 18px; }
.service-card ul { list-style: none; }
.service-card li {
    padding: 6px 0 6px 24px; position: relative;
    color: var(--text-mid); font-size: 15px;
}
.service-card li::before {
    content: '▸'; position: absolute; left: 0; color: var(--red); font-weight: bold;
}

/* =================== BENEFITS =================== */
.benefits {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
}
.benefit-col {
    background: var(--white); padding: 40px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); border-top: 6px solid;
}
.benefit-col.companies { border-color: var(--navy); }
.benefit-col.candidates { border-color: var(--red); }
.benefit-col h3 { font-size: 22px; margin-bottom: 20px; }
.benefit-col ul { list-style: none; }
.benefit-col li {
    padding: 10px 0 10px 28px; position: relative;
    color: var(--text); font-size: 16px; border-bottom: 1px solid var(--border);
}
.benefit-col li:last-child { border-bottom: none; }
.benefit-col li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--red); font-weight: bold; font-size: 18px;
}

/* =================== METRICS =================== */
.metrics {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white); padding: 80px 0;
}
.metrics .section-title { color: var(--white); }
.metrics .section-sub { color: rgba(255,255,255,0.85); }
.metrics-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.metric {
    text-align: center; padding: 28px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.metric-num {
    font-size: 44px; font-weight: 800; color: var(--red);
    line-height: 1; margin-bottom: 10px;
}
.metric-label { font-size: 14px; opacity: 0.9; text-transform: uppercase; letter-spacing: 1px; }

/* =================== TEAM =================== */
.team-group { margin-bottom: 48px; }
.team-group-title {
    text-align: center; text-transform: uppercase; letter-spacing: 2px;
    color: var(--red); font-size: 14px; font-weight: 700;
    margin-bottom: 28px; position: relative;
}
.team-group-title::after {
    content: ''; display: block; width: 50px; height: 3px;
    background: var(--red); margin: 12px auto 0;
}
.team-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.team-card {
    background: var(--white); padding: 32px 24px;
    border-radius: var(--radius); text-align: center;
    border: 1px solid var(--border); transition: transform .25s, box-shadow .25s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.team-avatar {
    width: 80px; height: 80px; border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--red));
    margin: 0 auto 16px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 28px; font-weight: 700;
}
.team-card h4 { font-size: 18px; margin-bottom: 4px; }
.team-card .role { color: var(--red); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.team-card p { color: var(--text-mid); font-size: 14px; }

/* =================== CLIENTS =================== */
#clients { background: var(--bg-soft); }
.clients-summary {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-bottom: 48px;
}
.client-stat {
    background: var(--white); padding: 32px 20px; border-radius: var(--radius);
    text-align: center; border-top: 4px solid var(--red);
    box-shadow: var(--shadow);
}
.client-stat .num { font-size: 38px; font-weight: 800; color: var(--navy); line-height: 1; }
.client-stat .lbl { font-size: 14px; color: var(--text-mid); margin-top: 8px; text-transform: uppercase; letter-spacing: 1px; }

.clients-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.client-col {
    background: var(--white); padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.client-col h4 {
    font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 18px; padding-bottom: 12px;
    border-bottom: 2px solid var(--red);
}
.client-col .col-tag {
    display: inline-block; background: var(--red); color: var(--white);
    font-size: 12px; padding: 3px 10px; border-radius: 4px; margin-left: 6px;
    vertical-align: middle;
}
.client-col.confirmed .col-tag { background: #10B981; }
.client-col.pilots .col-tag { background: #F59E0B; }
.client-col ul { list-style: none; }
.client-col li {
    padding: 10px 0; border-bottom: 1px solid var(--border);
    font-size: 15px;
}
.client-col li:last-child { border: none; }
.client-col li strong { color: var(--navy); display: block; }
.client-col li span { font-size: 13px; color: var(--text-mid); }

/* =================== CONTACT =================== */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}
.contact-info p { color: var(--text-mid); font-size: 16px; margin-bottom: 16px; }
.contact-card {
    background: var(--bg-soft); padding: 28px; border-radius: var(--radius);
    margin-top: 24px; border-left: 4px solid var(--red);
}
.contact-card .contact-row {
    display: flex; align-items: center; gap: 12px; padding: 8px 0;
    color: var(--navy); font-weight: 600;
}
.contact-card .icon { width: 24px; color: var(--red); font-size: 18px; }
.contact-form {
    background: var(--white); padding: 36px; border-radius: var(--radius);
    box-shadow: var(--shadow); border: 1px solid var(--border);
}
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
.form-row input, .form-row textarea, .form-row select {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 15px; font-family: inherit;
    transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus {
    outline: none; border-color: var(--red);
}
.form-row textarea { min-height: 120px; resize: vertical; }
.contact-form button {
    background: var(--red); color: var(--white); border: 0;
    padding: 14px 32px; border-radius: 999px; font-weight: 600;
    font-size: 15px; cursor: pointer; transition: all .25s;
    width: 100%;
}
.contact-form button:hover { background: var(--navy); transform: translateY(-2px); }
.form-note { color: var(--text-light); font-size: 12px; margin-top: 12px; }

/* =================== FOOTER =================== */
.footer {
    background: var(--navy-dark); color: rgba(255, 255, 255, 0.85);
    padding: 60px 0 24px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
    margin-bottom: 40px;
}
.footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer .logo { color: var(--white); margin-bottom: 12px; }
.footer p, .footer li { font-size: 14px; line-height: 1.8; }
.footer ul { list-style: none; }
.footer a { color: rgba(255, 255, 255, 0.85); }
.footer a:hover { color: var(--red-soft); }
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px; display: flex; justify-content: space-between;
    font-size: 13px; flex-wrap: wrap; gap: 12px;
}

/* =================== COOKIE BANNER =================== */
.cookie-banner {
    position: fixed; bottom: 20px; left: 20px; right: 20px;
    max-width: 480px; margin: 0 auto;
    background: var(--white); border-radius: var(--radius-lg);
    padding: 24px; box-shadow: 0 12px 48px rgba(0, 0, 0, 0.25);
    z-index: 9999; border: 1px solid var(--border);
    transform: translateY(20px); opacity: 0; transition: all .4s ease;
    pointer-events: none;
}
.cookie-banner.show { transform: translateY(0); opacity: 1; pointer-events: all; }
.cookie-banner h4 { font-size: 16px; margin-bottom: 10px; }
.cookie-banner p { font-size: 14px; color: var(--text-mid); margin-bottom: 16px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions button {
    padding: 10px 20px; border-radius: 999px; border: 0;
    font-weight: 600; cursor: pointer; font-size: 14px; transition: all .2s;
}
.btn-accept { background: var(--red); color: var(--white); }
.btn-accept:hover { background: var(--navy); }
.btn-refuse { background: transparent; color: var(--text-mid); border: 1px solid var(--border) !important; }

/* =================== LEGAL PAGES =================== */
.legal-page { padding: 60px 0 80px; max-width: 800px; margin: 0 auto; }
.legal-page h1 { font-size: 36px; margin-bottom: 24px; }
.legal-page h2 { font-size: 22px; margin: 32px 0 12px; }
.legal-page h3 { font-size: 18px; margin: 20px 0 10px; }
.legal-page p, .legal-page li { color: var(--text); font-size: 15px; margin-bottom: 12px; line-height: 1.7; }
.legal-page ul { padding-left: 22px; margin-bottom: 16px; }
.legal-page .updated { color: var(--text-light); font-size: 13px; }

/* =================== RESPONSIVE =================== */
@media (max-width: 980px) {
    .nav-links { display: none; position: absolute; top: 100%; right: 0; left: 0; background: var(--white); flex-direction: column; padding: 16px; box-shadow: var(--shadow); gap: 0; }
    .nav-links.open { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 12px; border-bottom: 1px solid var(--border); }
    .nav-toggle { display: block; }

    .problem-grid, .vision-flip, .benefits, .contact-grid,
    .steps, .services-grid, .team-grid, .clients-summary, .clients-cols,
    .metrics-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    .steps { grid-template-columns: 1fr 1fr; }
    .metrics-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    section { padding: 60px 0; }
    .hero { padding: 60px 0 80px; }
    .vision-box { padding: 32px 24px; }
    .service-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
    .steps, .metrics-grid, .footer-grid, .team-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .hero-sub { font-size: 17px; }
    .section-title { font-size: 26px; }
}

/* =================== LANG SWITCH =================== */
.lang-switch { font-size: 13px; font-weight: 600; color: var(--text-light); display: flex; align-items: center; gap: 4px; }
.lang-switch a { color: var(--text-light); padding: 4px 6px; }
.lang-switch a:hover { color: var(--red); }
.lang-switch a::after { display: none; }
.lang-active { color: var(--red); padding: 4px 6px; }

/* =================== TEAM AVATAR PHOTO =================== */
.team-avatar { overflow: hidden; padding: 0; }
.team-avatar img {
    width: 100%; height: 100%; object-fit: cover; object-position: center top;
    display: block; border-radius: 50%;
}
