/* ===================================================================
   HalixonMail marketing site
   Brand: #012169 (blue) / #C8102E (red). White, slick, static.
   =================================================================== */

:root {
    --blue: #012169;
    --blue-700: #0a2f8a;
    --red: #C8102E;
    --ink: #16213a;
    --muted: #5b6b85;
    --line: #e6ebf3;
    --tint: #f5f8fc;
    --white: #ffffff;
    --radius: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 2px rgba(16, 33, 70, .06), 0 2px 8px rgba(16, 33, 70, .05);
    --shadow-md: 0 6px 24px rgba(16, 33, 70, .10);
    --shadow-lg: 0 20px 60px rgba(16, 33, 70, .16);
    --maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

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

.center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 600;
    font-size: .95rem;
    padding: .62rem 1.15rem;
    border-radius: 10px;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-block { display: flex; width: 100%; }

.btn-primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--blue-700); box-shadow: var(--shadow-md); }

.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); background: var(--tint); }

.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { box-shadow: var(--shadow-lg); transform: translateY(-1px); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: 1.2rem;
    letter-spacing: -.01em;
}
.brand-mark { display: inline-flex; }
.brand-text strong { color: var(--blue); font-weight: 800; }
.brand-red { color: var(--red); font-weight: 800; }

.site-nav { display: flex; gap: 2rem; }
.site-nav a { color: var(--muted); font-weight: 500; font-size: .95rem; transition: color .15s ease; }
.site-nav a:hover { color: var(--blue); }

.header-cta { display: flex; gap: .6rem; align-items: center; }

/* ---------- Hero ---------- */
.hero {
    padding: 84px 0 72px;
    background:
        radial-gradient(1100px 420px at 85% -10%, rgba(1, 33, 105, .07), transparent 60%),
        radial-gradient(700px 320px at 0% 0%, rgba(200, 16, 46, .05), transparent 55%),
        var(--white);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}
.eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1rem;
}
.hero h1 {
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.025em;
    font-weight: 800;
    margin: 0 0 1.1rem;
}
.hero .accent { color: var(--blue); }
.lead {
    font-size: 1.18rem;
    color: var(--muted);
    max-width: 36ch;
    margin: 0 0 1.8rem;
}
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-points {
    list-style: none;
    padding: 0; margin: 0;
    display: flex;
    gap: 1.4rem;
    flex-wrap: wrap;
    font-size: .9rem;
    color: var(--muted);
    font-weight: 500;
}
.hero-points li { position: relative; padding-left: 1.3rem; }
.hero-points li::before {
    content: "";
    position: absolute; left: 0; top: 50%;
    width: 14px; height: 14px; margin-top: -7px;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 12l5 5L20 6' stroke='%231f8a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.hero-art { position: relative; }
.hero-art svg {
    border-radius: var(--radius-lg);
    filter: drop-shadow(0 24px 50px rgba(16, 33, 70, .18));
}
.hero-badge {
    position: absolute;
    bottom: -14px; left: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .5rem .9rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--blue);
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    box-shadow: var(--shadow-md);
}

/* ---------- Trust bar ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--tint); }
.trustbar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 18px 24px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--muted);
}
.trustbar .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); opacity: .6; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin: 0 auto 54px; text-align: center; }
.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    letter-spacing: -.02em;
    font-weight: 800;
    margin: 0 0 .8rem;
}
.section-head p { font-size: 1.1rem; color: var(--muted); margin: 0; }

/* ---------- Feature grid ---------- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: transform .16s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d4ddee; }
.card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(1, 33, 105, .07);
    display: grid; place-items: center;
    margin-bottom: 18px;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Flagship domain (Union Flag backdrop) ---------- */
.flagship {
    position: relative;
    max-width: 820px;
    margin: 0 auto 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    isolation: isolate;
}
.flagship-flagbg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.flagship-flagbg svg { width: 100%; height: 100%; display: block; }
/* White scrim so the Union Flag reads as a backdrop and the text stays legible */
.flagship-body {
    position: relative;
    z-index: 1;
    margin: 14px;
    padding: 30px 32px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(2px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}
.flagship-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: .5rem;
}
.flagship-addr {
    font-size: clamp(1.6rem, 3.4vw, 2.3rem);
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--blue);
    margin-bottom: .6rem;
    word-break: break-word;
}
.flagship-strap { font-size: 1.1rem; color: var(--red) !important; margin: 0 0 .5rem !important; }
.flagship-strap strong { color: var(--blue); }
.flagship-body p { color: var(--ink); margin: 0 0 1.2rem; max-width: 48ch; }

/* ---------- Domains ---------- */
.domain-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 820px;
    margin: 0 auto 24px;
}
.chip {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .55rem 1.1rem;
    font-weight: 600;
    font-size: .95rem;
    color: var(--blue);
    box-shadow: var(--shadow-sm);
    transition: transform .14s ease, box-shadow .18s ease;
}
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.domains-note { text-align: center; color: var(--muted); margin: 0 0 24px; }

/* ---------- How it works (steps) ---------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    counter-reset: step;
}
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.step-num {
    display: inline-grid;
    place-items: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 16px;
}
.step h3 { margin: 0 0 .5rem; font-size: 1.18rem; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- Product screenshot ---------- */
.product-split {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 56px;
    align-items: center;
}
.product-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); letter-spacing: -.02em; font-weight: 800; margin: 0 0 1rem; }
.product-copy > p { color: var(--muted); font-size: 1.08rem; margin: 0 0 1.4rem; }
.browser-frame {
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
}
.browser-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #f1f4f9;
    border-bottom: 1px solid var(--line);
}
.browser-dot { width: 10px; height: 10px; border-radius: 50%; background: #cdd6e4; }
.browser-dot:first-child { background: #ff6b6b; }
.browser-dot:nth-child(2) { background: #ffd166; }
.browser-dot:nth-child(3) { background: #51cf66; }
.browser-url {
    margin-left: 10px;
    font-size: .8rem;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .25rem .8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.browser-frame img { display: block; width: 100%; height: auto; }

/* ---------- Security strip ---------- */
.security-strip { background: var(--tint); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.security-strip-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 24px;
    flex-wrap: wrap;
}
.security-strip-icon { flex: 0 0 auto; }
.security-strip-text { flex: 1 1 300px; }
.security-strip-text h3 { margin: 0 0 .25rem; font-size: 1.15rem; font-weight: 700; }
.security-strip-text p { margin: 0; color: var(--muted); font-size: .97rem; }

.tick-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .7rem; }
.tick-list li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--ink);
    font-weight: 500;
}
.tick-list li::before {
    content: "";
    position: absolute; left: 0; top: 4px;
    width: 20px; height: 20px;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='11' fill='%23012169'/%3E%3Cpath d='M7 12l3.2 3.2L17 8' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.link-arrow { color: var(--blue); font-weight: 700; white-space: nowrap; }
.link-arrow:hover { color: var(--red); }

/* ---------- Pricing ---------- */
.pricing-wrap { display: grid; place-items: center; }
.price-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-md);
    text-align: left;
    position: relative;
}
.price-card::before {
    content: "";
    position: absolute; inset: 0 0 auto 0;
    height: 5px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    background: linear-gradient(90deg, var(--blue), var(--red));
}
.price-card h3 { margin: .4rem 0 0; font-size: 1.1rem; color: var(--muted); font-weight: 600; }
.price { display: flex; align-items: baseline; gap: .4rem; margin: .3rem 0 .3rem; }
.price-amt { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; color: var(--blue); }
.price-per { color: var(--muted); font-weight: 600; }
.price-sub { font-size: .9rem; color: var(--muted); margin: 0 0 1.4rem; }
.price-foot { color: var(--muted); font-size: .85rem; text-align: center; margin: 1rem 0 0; }

/* ---------- CTA ---------- */
.cta {
    background:
        radial-gradient(700px 300px at 80% 120%, rgba(200, 16, 46, .25), transparent 60%),
        var(--blue);
    color: #fff;
}
.cta-inner { text-align: center; padding: 76px 24px; }
.cta h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); letter-spacing: -.02em; font-weight: 800; margin: 0 0 .7rem; }
.cta p { color: rgba(255, 255, 255, .82); font-size: 1.12rem; margin: 0 0 1.8rem; }

/* ---------- Footer ---------- */
.site-footer { background: #0b1a3c; color: #c3cde0; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 2fr; gap: 40px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-red { color: #ff6b7f; }
.footer-brand p { color: #8da0c4; margin: .6rem 0 0; font-size: .92rem; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.footer-cols h4 { color: #fff; font-size: .9rem; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 .9rem; }
.footer-cols a { display: block; color: #a9b7d4; font-size: .95rem; padding: .22rem 0; transition: color .15s ease; }
.footer-cols a:hover { color: #fff; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 40px;
    padding-top: 22px;
    font-size: .85rem;
    color: #8da0c4;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-art { order: -1; max-width: 460px; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .steps-4 { grid-template-columns: repeat(2, 1fr); }
    .product-split { grid-template-columns: 1fr; gap: 36px; }
    .product-shot { order: -1; }
    .security-strip-inner { flex-direction: column; text-align: center; }
    .flagship-body { margin: 10px; padding: 24px 22px; }
}

@media (max-width: 720px) {
    .site-nav { display: none; }
    .hero { padding: 56px 0 48px; }
    .section { padding: 60px 0; }
    .feature-grid { grid-template-columns: 1fr; }
    .steps-4 { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: .4rem; text-align: center; }
    .header-cta .btn-ghost { display: none; }
}
