/* =====================================================================
   Landing page - EVNPECC1 digital business card.
   Inter (with system fallback) to match the card pages.
   ===================================================================== */
:root {
    --blue: #0b3c82;
    --blue-2: #1657b8;
    --blue-dark: #051937;
    --red: #e31837;
    --ink: #0f1c30;
    --muted: #5a6a80;
    --line: #e6ebf3;
    --bg: #eef2f8;
    --card: #ffffff;
    --radius: 18px;
    --shadow-sm: 0 4px 14px rgba(15, 28, 48, .06);
    --shadow: 0 20px 45px rgba(11, 60, 130, .12);
    --shadow-lg: 0 40px 80px rgba(5, 25, 55, .30);
    --ff: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
    margin: 0; font-family: var(--ff); color: var(--ink); background: var(--bg);
    line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 22px; }

/* --- Buttons --------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: 11px; font-weight: 700; font-size: 15px;
    text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: .16s ease;
    white-space: nowrap;
}
.btn.lg { padding: 15px 30px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(11,60,130,.28); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--blue); box-shadow: 0 10px 24px rgba(5,25,55,.22); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(5,25,55,.28); }
.btn-outline { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.16); }

/* --- Nav ------------------------------------------------------------- */
.nav {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 34px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 15px; color: var(--blue); letter-spacing: .2px; }
.brand-text span { font-size: 11px; color: var(--muted); letter-spacing: .3px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { font-size: 14.5px; font-weight: 600; text-decoration: none; color: var(--muted); padding: 9px 12px; border-radius: 9px; }
.nav-links a.nav-hide:hover { color: var(--blue); background: #eff4fb; }

/* --- Eyebrow --------------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em; color: #cfe0f7;
    background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18);
    padding: 7px 15px; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227,24,55,.25); }
.eyebrow.dark { color: var(--blue); background: #e9f0fb; border-color: #d7e4f7; }
.eyebrow.light { color: #dbe7fb; }

/* --- Hero ------------------------------------------------------------ */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(160deg, #0e4796 0%, var(--blue) 45%, var(--blue-dark) 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1px);
    background-size: 13px 13px; opacity: .55; pointer-events: none;
}
.blob { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.blob-1 { width: 380px; height: 380px; background: rgba(34,110,220,.45); top: -120px; right: -60px; }
.blob-2 { width: 320px; height: 320px; background: rgba(227,24,55,.20); bottom: -140px; left: -80px; }
.blob-3 { width: 360px; height: 360px; background: rgba(90,150,240,.25); top: -120px; left: 40%; }
.blob-4 { width: 300px; height: 300px; background: rgba(255,255,255,.14); top: -100px; right: -60px; }

.hero-grid {
    position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr;
    gap: 48px; align-items: center; padding: 84px 0 96px;
}
.hero-text, .hero-mock { min-width: 0; }
.hero h1 { font-size: clamp(30px, 4.6vw, 50px); line-height: 1.1; margin: 20px 0 16px; font-weight: 800; letter-spacing: -.02em; }
.hero h1 .accent { color: #ffd23f; }
.hero .lead { font-size: 17.5px; color: #d5e2f6; max-width: 540px; margin: 0 0 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 26px 0 0; padding: 0; }
.hero-checks li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: #cdddf3; }
.hero-checks svg { color: #66d19e; flex: 0 0 auto; }

/* Card mockup */
.hero-mock { position: relative; justify-self: center; width: 320px; }
.mock-chip {
    position: absolute; top: -14px; left: -26px; z-index: 3;
    display: inline-flex; align-items: center; gap: 7px;
    background: #fff; color: var(--blue); font-size: 12.5px; font-weight: 700;
    padding: 8px 13px; border-radius: 999px; box-shadow: var(--shadow-lg);
}
.mock-chip svg { color: var(--red); }
.mock-card {
    position: relative; background: var(--card); color: var(--ink);
    border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
    transform: rotate(1.4deg); transition: transform .3s ease;
}
.hero-mock:hover .mock-card { transform: rotate(0); }
.mock-head { position: relative; height: 118px; background: linear-gradient(135deg, #0b3c82, #051937); padding: 16px 18px; overflow: hidden; }
.mock-head::before { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px); background-size: 9px 9px; opacity:.55; }
.mock-logo { position: relative; height: 26px; width: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); }
.mock-accent { position: absolute; right: 0; bottom: 0; width: 104px; height: 11px; background: var(--red); clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); }
.mock-avatar {
    position: absolute; top: 70px; left: 18px; width: 82px; height: 82px; border-radius: 50%;
    border: 4px solid #fff; background: linear-gradient(135deg,#dbe7f8,#b3caea); z-index: 2;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: var(--blue); font-size: 24px; letter-spacing: .5px;
    box-shadow: 0 6px 16px rgba(5,25,55,.22), 0 0 0 1px rgba(11,60,130,.12);
}
.mock-body { padding: 34px 18px 6px 112px; min-height: 52px; }
.mock-name { font-weight: 800; color: var(--blue); text-transform: uppercase; font-size: 16px; position: relative; letter-spacing: .3px; }
.mock-name::after { content:''; position:absolute; left:0; bottom:-7px; width: 34px; height: 3px; background: var(--red); border-radius: 2px; }
.mock-title { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 13px; }
.mock-list { list-style: none; margin: 10px 0 0; padding: 4px 18px 0; }
.mock-list li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #eef1f6; }
.mock-list li:first-child { border-top: none; }
.mock-ico { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg,#0b3c82,#1657b8); color: #fff; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.mock-list span { display: flex; flex-direction: column; font-size: 13.5px; font-weight: 600; color: var(--ink); min-width: 0; }
.mock-list em { font-style: normal; font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; color: #97a3b5; margin-bottom: 1px; }
.mock-save {
    margin: 8px 16px 18px; padding: 11px; border-radius: 11px; text-align: center;
    background: linear-gradient(135deg, var(--blue), var(--blue-dark)); color: #fff;
    font-weight: 700; font-size: 13.5px; display: flex; align-items: center; justify-content: center; gap: 8px;
    box-shadow: 0 6px 16px rgba(11,60,130,.25);
}

/* --- Section shell --------------------------------------------------- */
.section { padding: 84px 0; position: relative; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(25px, 3.4vw, 34px); font-weight: 800; margin: 18px 0 12px; letter-spacing: -.01em; }
.section-head p { color: var(--muted); font-size: 16.5px; margin: 0; }
.section-head.light h2 { color: #fff; }
.section-head.light p { color: #cdddf3; }

/* --- Features -------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 28px; box-shadow: var(--shadow-sm); transition: .2s ease; position: relative;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d7e3f5; }
.feature-ico {
    width: 54px; height: 54px; border-radius: 15px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, #0b3c82, #1e63c6); color: #fff; margin-bottom: 18px;
    box-shadow: 0 10px 20px rgba(11,60,130,.22);
}
.feature h3 { font-size: 17.5px; margin: 0 0 8px; font-weight: 700; }
.feature p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* --- Steps ----------------------------------------------------------- */
.steps-band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.steps-line { position: absolute; top: 22px; left: 16%; right: 16%; height: 2px; background: linear-gradient(90deg,#d7e3f5,#d7e3f5); z-index: 0; }
.step { position: relative; z-index: 1; text-align: center; padding: 0 12px; }
.step-num {
    width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff;
    font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 18px rgba(11,60,130,.28); border: 4px solid #fff;
}
.step h3 { font-size: 17.5px; margin: 0 0 7px; font-weight: 700; }
.step p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* --- Values ---------------------------------------------------------- */
.values {
    background: linear-gradient(150deg, var(--blue) 0%, var(--blue-dark) 100%);
    color: #fff; overflow: hidden;
}
.values::before { content:''; position:absolute; top:0; left:0; width:180px; height:5px; background: var(--red); z-index: 2; }
.values .wrap { position: relative; z-index: 1; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 12px; }
.value-ico { width: 60px; height: 60px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; }
.value b { font-size: 16px; letter-spacing: .3px; }
.value-en { font-size: 12px; opacity: .72; text-transform: uppercase; letter-spacing: .08em; }

/* --- CTA ------------------------------------------------------------- */
.cta { padding-top: 20px; }
.cta-box {
    position: relative; overflow: hidden; border-radius: 26px;
    background: linear-gradient(135deg, #0e4796, var(--blue-dark)); color: #fff;
    box-shadow: var(--shadow); text-align: center;
}
.cta-box::before {
    content:''; position:absolute; inset:0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1px); background-size: 13px 13px; opacity:.5;
}
.cta-inner { position: relative; z-index: 1; padding: 56px 28px; }
.cta-inner h2 { font-size: clamp(24px, 3.2vw, 30px); margin: 0 0 10px; font-weight: 800; }
.cta-inner p { color: #cdddf3; margin: 0 0 24px; font-size: 16.5px; }

/* --- Footer ---------------------------------------------------------- */
.footer { background: #081426; color: #c7d3e6; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.footer .brand img { height: 32px; }
.footer .brand-text b { color: #fff; }
.footer .brand-text span { color: #8aa0c0; }
.footer small { color: #8aa0c0; font-size: 13px; }

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 920px) {
    .hero-grid { grid-template-columns: 1fr; gap: 44px; padding: 60px 0 72px; text-align: center; }
    .hero .lead { margin-left: auto; margin-right: auto; }
    .hero-cta, .hero-checks { justify-content: center; }
    .hero-mock { order: -1; margin-top: 8px; }
    .features { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr; gap: 30px; }
    .steps-line { display: none; }
    .values-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .wrap { padding: 0 16px; }
    .nav-links a.nav-hide { display: none; }
    .nav-inner { gap: 10px; }
    .brand { min-width: 0; }
    .brand-text { min-width: 0; }
    .brand-text b { font-size: 13.5px; }
    .nav .btn-primary { padding: 8px 14px; font-size: 13px; }
    .features { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .hero h1 br { display: none; }
    .hero h1 { font-size: 27px; }
    .hero .lead { font-size: 16px; }
    .mock-chip { left: 50%; transform: translateX(-50%); top: -16px; }
    .hero-mock { width: 300px; max-width: 100%; }
}
