/* ============================================================
   SuperPRO — marketing site design system
   Hand-written, dependency-free CSS. Brand: blue → teal → cyan
   with a multicolor "wave" accent echoing the product identity.
   ============================================================ */

:root {
    /* Brand */
    --blue: #1b6ca8;
    --blue-dark: #11537f;
    --blue-deep: #0b4a72;
    --teal: #0fb1c4;
    --cyan: #25cbf5;
    --green: #3ec78f;
    --amber: #f6b73c;
    --red: #e8553e;

    /* Ink / surfaces */
    --ink: #16273a;
    --ink-soft: #45586c;
    --muted: #6b7d8f;
    --line: #e3ecf3;
    --bg: #ffffff;
    --bg-soft: #f4f8fb;
    --bg-soft-2: #eaf3f9;

    /* Effects */
    --grad-brand: linear-gradient(135deg, #1b6ca8 0%, #0fb1c4 100%);
    --grad-brand-deep: linear-gradient(135deg, #11537f 0%, #0d8ea0 100%);
    --grad-wave: linear-gradient(90deg, #1b6ca8, #0fb1c4, #25cbf5, #3ec78f, #f6b73c, #e8553e);
    --shadow-sm: 0 2px 8px rgba(16, 50, 80, .06);
    --shadow: 0 14px 40px rgba(16, 50, 80, .10);
    --shadow-lg: 0 30px 70px rgba(16, 50, 80, .16);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 26px;

    --container: 1180px;
    --header-h: 76px;

    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.65;
    font-size: 17px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(2.1rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 22px; }

.skip-link {
    position: absolute; left: -999px; top: 0; z-index: 2000;
    background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    font-weight: 700; font-size: 1rem; line-height: 1; cursor: pointer;
    padding: 15px 26px; border-radius: 999px; border: 2px solid transparent;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-demo {
    background: var(--grad-brand); color: #fff;
    box-shadow: 0 10px 26px rgba(15, 130, 170, .35);
}
.btn-demo:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(15, 130, 170, .45); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); border-color: rgba(27, 108, 168, .35); }
.btn-ghost:hover { background: rgba(27, 108, 168, .07); border-color: var(--blue); }
.btn-light { background: #fff; color: var(--blue); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-outline-light:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 10px 24px rgba(37, 211, 102, .35); }
.btn-wa:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 16px 30px rgba(37, 211, 102, .45); }
.btn-lg { padding: 17px 34px; font-size: 1.06rem; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-header::before { /* multicolor wave accent line */
    content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-wave);
}
.site-header.scrolled { background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 18px; }
.brand img { height: 44px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 4px; }
.primary-nav > a {
    color: var(--ink-soft); font-weight: 600; font-size: .98rem;
    padding: 9px 13px; border-radius: 9px; transition: color .15s, background .15s;
}
.primary-nav > a:hover { color: var(--blue); background: rgba(27, 108, 168, .07); }
.primary-nav .nav-cta { margin-left: 8px; color: #fff; padding: 11px 22px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { width: 26px; height: 3px; background: var(--ink); border-radius: 3px; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-soft { background: var(--bg-soft); }
.section-head { max-width: 760px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase;
    color: var(--teal); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--grad-wave); border-radius: 2px; }
.lead { font-size: 1.16rem; color: var(--ink-soft); }

/* ---------- Hero ---------- */
.hero {
    position: relative; color: #fff; overflow: hidden;
    background: radial-gradient(1100px 600px at 78% -10%, #14a9c0 0%, rgba(20,169,192,0) 55%),
                radial-gradient(900px 700px at 6% 110%, #1f7fc4 0%, rgba(31,127,196,0) 55%),
                var(--grad-brand-deep);
    padding: calc(var(--header-h) + 40px) 0 150px;
}
.hero::after { /* energetic colored glow */
    content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -80px;
    background: radial-gradient(circle, rgba(37,203,245,.45), transparent 62%); pointer-events: none;
}
.hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: auto; display: block; pointer-events: none; z-index: 1; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .6em; padding: 7px 15px; border-radius: 999px;
    background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28);
    font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(62,199,143,.3); }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 .accent { background: linear-gradient(90deg,#c9f3ff,#aef0d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: 1.2rem; color: rgba(255,255,255,.92); max-width: 560px; margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; font-size: .92rem; color: rgba(255,255,255,.9); }
.hero-trust span { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust svg { width: 18px; height: 18px; flex: none; }

.hero-visual { position: relative; }
.hero-visual img { filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); border-radius: 12px; }
.hero-chip {
    position: absolute; background: #fff; color: var(--ink); border-radius: 14px; padding: 12px 16px;
    box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9rem;
}
.hero-chip small { display: block; color: var(--muted); font-weight: 600; font-size: .76rem; }
.hero-chip .ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: var(--bg-soft-2); color: var(--blue); }
.hero-chip .ico svg { width: 22px; height: 22px; }
.hero-chip.c1 { left: -18px; top: 32px; }
.hero-chip.c2 { right: -10px; bottom: 40px; }

/* ---------- Stats band ---------- */
.stats { position: relative; z-index: 3; margin-top: -78px; }
.stats-grid {
    background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow);
    display: grid; grid-template-columns: repeat(4, 1fr); padding: 30px 20px; text-align: center;
}
.stat { padding: 8px 14px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat .num { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--blue); letter-spacing: -.03em; }
.stat .lbl { color: var(--muted); font-size: .94rem; font-weight: 600; }

/* ---------- Feature / solution cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
    box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
    width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(27,108,168,.12), rgba(15,177,196,.16)); color: var(--blue);
}
.card .ico svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: .98rem; margin: 0; }

/* ---------- Why us (split) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-visual img { border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { display: grid; gap: 14px; margin-top: 8px; }
.checklist li { list-style: none; display: flex; gap: 13px; align-items: flex-start; }
.checklist .tick {
    flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px;
    background: rgba(62,199,143,.16); color: #2a9d6e;
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist b { color: var(--ink); }
.checklist span { color: var(--ink-soft); }

/* ---------- Industries / sektörler ---------- */
.sectors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sector {
    position: relative; overflow: hidden; border-radius: var(--radius); padding: 28px 24px;
    background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.sector::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--grad-brand); opacity: .9; }
.sector:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sector .ico { width: 48px; height: 48px; color: var(--teal); margin-bottom: 14px; }
.sector .ico svg { width: 40px; height: 40px; }
.sector h3 { margin-bottom: 6px; }
.sector p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* ---------- Screenshots ---------- */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shot {
    border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
    box-shadow: var(--shadow-sm); background: #fff; transition: transform .2s ease, box-shadow .2s ease;
    aspect-ratio: 16 / 9; padding: 0;
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shot:hover img { transform: scale(1.06); }

/* lightbox */
.lightbox {
    position: fixed; inset: 0; z-index: 3000; display: none; place-items: center; padding: 24px;
    background: rgba(8, 24, 38, .9); backdrop-filter: blur(4px);
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow-lg); }
.lightbox .lb-close { position: absolute; top: 18px; right: 24px; font-size: 2.2rem; color: #fff; background: none; border: 0; cursor: pointer; line-height: 1; }
.lightbox .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 2.6rem; color: #fff; background: none; border: 0; cursor: pointer; padding: 10px 18px; }
.lightbox .lb-prev { left: 8px; } .lightbox .lb-next { right: 8px; }

/* ---------- Catalog teaser ---------- */
.catalog-teaser { background: var(--grad-brand-deep); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 60px); overflow: hidden; position: relative; }
.catalog-teaser::after { content: ""; position: absolute; right: -80px; bottom: -100px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(37,203,245,.4), transparent 60%); }
.catalog-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.catalog-grid h2 { color: #fff; }
.catalog-grid p { color: rgba(255,255,255,.9); }
.catalog-pages { display: flex; justify-content: center; perspective: 1200px; }
.catalog-pages img { border-radius: 6px; box-shadow: var(--shadow-lg); transform: rotateY(-16deg); border: 4px solid rgba(255,255,255,.9); max-height: 340px; }

/* ---------- Demo / contact ---------- */
.demo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: stretch; }
.demo-left h2 { margin-bottom: 14px; }
.demo-points { display: grid; gap: 16px; margin-top: 24px; }
.demo-points li { list-style: none; display: flex; gap: 14px; align-items: flex-start; }
.demo-points .ico { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft-2); color: var(--blue); }
.demo-points .ico svg { width: 22px; height: 22px; }
.demo-points b { display: block; }
.demo-points span { color: var(--ink-soft); font-size: .96rem; }
.demo-direct { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(26px, 3.5vw, 38px); }
.form-card h3 { font-size: 1.4rem; }
.form-card .hint { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 11px;
    font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg-soft); transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15,177,196,.14);
}
.field textarea { resize: vertical; min-height: 92px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card .btn-wa { width: 100%; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* ---------- Footer ---------- */
.site-footer { background: #0e2233; color: #c7d6e3; padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer-brand img { margin-bottom: 14px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.3)); }
.footer-tag { color: #fff; font-weight: 700; font-size: 1.05rem; margin-bottom: 6px; }
.footer-muted { color: #8aa1b4; font-size: .92rem; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer-col a { display: block; color: #b9cad8; padding: 5px 0; font-size: .96rem; transition: color .15s; }
.footer-col a:hover { color: var(--cyan); }
.footer-contact a, .footer-contact span { display: block; padding: 5px 0; color: #b9cad8; }
.footer-contact a:hover { color: var(--cyan); }
.footer-demo { margin-top: 16px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; font-size: .88rem; color: #8aa1b4; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-bottom-links a { color: #8aa1b4; margin-left: 18px; }
.footer-bottom-links a:hover { color: var(--cyan); }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 900; width: 48px; height: 48px; border-radius: 50%;
    background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700;
    box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Scroll reveal (only hidden when JS is active, so no-JS still shows content) ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; } .reveal.d5 { transition-delay: .40s; }

/* ---------- Simple content pages (gizlilik / error) ---------- */
.prose { max-width: 800px; margin-inline: auto; }
.prose h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: .6em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); }
.page-pad { padding: calc(var(--header-h) + 40px) 0 80px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-visual { order: -1; max-width: 520px; margin-inline: auto; }
    .hero-chip { display: none; }
    .split, .demo-grid, .catalog-grid { grid-template-columns: 1fr; gap: 36px; }
    .split-visual { order: -1; }
    .cards, .sectors { grid-template-columns: repeat(2, 1fr); }
    .shots { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(odd) { border-left: 0; }
    .catalog-pages img { max-height: 280px; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .nav-toggle { display: flex; }
    .primary-nav {
        position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
        background: #fff; padding: 12px 18px 22px; box-shadow: var(--shadow); border-top: 1px solid var(--line);
        transform: translateY(-130%); transition: transform .3s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    }
    .primary-nav.open { transform: translateY(0); }
    .primary-nav > a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; }
    .primary-nav .nav-cta { margin: 14px 0 0; }
    .cards, .sectors { grid-template-columns: 1fr; }
    .shots { grid-template-columns: repeat(2, 1fr); }
    .form-row { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom .container { justify-content: center; text-align: center; }
}

/* ---------- Motion / a11y ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .btn, .card, .sector, .shot img, .hero-visual img { transition: none !important; }
}
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
