/* ═══════════════════════════════════════════════════════════════════════
   Digi Voice — tanıtım sitesi / promo site
   Uygulamanın kendi paleti: #4FC3F7 cyan, #0D0D0D koyu zemin
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    --bg:      #0d0d0d;
    --bg-alt:  #10151a;
    --panel:   #161c22;
    --line:    #24313b;
    --cyan:    #4fc3f7;
    --cyan-2:  #29b6f6;
    --txt:     #e8eef2;
    --dim:     #90a4ae;
    --ok:      #7ee787;
    --amber:   #ffd75e;
    --red:     #ff7b72;
    --radius:  14px;
    --mono:    ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body {
    background: var(--bg);
    color: var(--txt);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}
img { max-width: 100%; }
a { color: var(--cyan); }
.mono { font-family: var(--mono); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 22px; }
.wrap-narrow { max-width: 820px; }

/* ── NAV ────────────────────────────────────────────────────────────── */
.nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13,13,13,.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--txt); font-weight: 800; font-size: 1.12rem; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand .freq { display: block; font-family: var(--mono); font-weight: 400; font-size: .62rem; color: var(--dim); letter-spacing: 1px; }
.menu { display: flex; gap: 4px; }
.menu a {
    color: var(--dim); text-decoration: none; font-size: .92rem; font-weight: 600;
    padding: 8px 12px; border-radius: 8px; transition: color .15s, background .15s;
}
.menu a:hover { color: var(--cyan); background: rgba(79,195,247,.08); }
.nav-right { display: flex; align-items: center; gap: 12px; }
.lang-switch { font-family: var(--mono); font-size: .85rem; color: var(--dim); }
.lang-switch a { color: var(--dim); text-decoration: none; padding: 4px 6px; border-radius: 6px; }
.lang-switch a.on { color: #00232f; background: var(--cyan); font-weight: 700; }
.lang-switch span { opacity: .4; }
.burger { display: none; background: none; border: 1px solid var(--line); color: var(--txt); font-size: 1.15rem; padding: 4px 11px; border-radius: 8px; cursor: pointer; }

/* ── HERO ───────────────────────────────────────────────────────────── */
.hero {
    position: relative;
    padding: 92px 0 76px;
    background:
        radial-gradient(ellipse at 75% 20%, rgba(79,195,247,.12), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(41,182,246,.07), transparent 50%),
        var(--bg);
    overflow: hidden;
}
/* zemin: nokta ızgara — harita/grid locator hissi */
.hero::before {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(79,195,247,.14) 1px, transparent 1.4px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.7), transparent 80%);
    pointer-events: none;
}
.hero-in { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.kicker { color: var(--cyan); font-size: .78rem; letter-spacing: 2.5px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); line-height: 1.12; font-weight: 900; letter-spacing: -.5px; }
.hero h1 em { font-style: normal; color: var(--cyan); display: block; }
.hero .sub { color: var(--dim); font-size: 1.08rem; margin: 22px 0 30px; max-width: 34em; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 13px 26px; border-radius: 10px;
    font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer;
    border: 0; transition: transform .12s, filter .12s, box-shadow .12s;
}
.btn:active { transform: translateY(1px); }
.btn-main { background: var(--cyan); color: #00232f; box-shadow: 0 6px 24px rgba(79,195,247,.25); }
.btn-main:hover { filter: brightness(1.1); }
.btn-ghost { background: transparent; color: var(--cyan); border: 1px solid rgba(79,195,247,.5); }
.btn-ghost:hover { background: rgba(79,195,247,.08); }
.hero-note { margin-top: 22px; font-size: .8rem; color: var(--dim); }

/* dalga animasyonu / expanding radio waves */
.hero-waves { position: absolute; right: -140px; top: -140px; width: 560px; height: 560px; pointer-events: none; }
.hero-waves span {
    position: absolute; inset: 0; border: 1.5px solid rgba(79,195,247,.35);
    border-radius: 50%; animation: wave 5.2s linear infinite; opacity: 0;
}
.hero-waves span:nth-child(2) { animation-delay: 1.3s; }
.hero-waves span:nth-child(3) { animation-delay: 2.6s; }
.hero-waves span:nth-child(4) { animation-delay: 3.9s; }
@keyframes wave {
    0%   { transform: scale(.25); opacity: .8; }
    100% { transform: scale(1.15); opacity: 0; }
}

/* sağdaki "telsiz kartı" / faux radio panel */
.radio-card {
    background: linear-gradient(165deg, #151b21, #0e1317);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 24px 70px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.04);
}
.radio-top { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); animation: led 2.4s ease-in-out infinite; }
@keyframes led { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.radio-freq { color: var(--cyan); font-size: .85rem; letter-spacing: 1.5px; }
.smeter { display: flex; gap: 5px; align-items: flex-end; height: 46px; margin-bottom: 14px; }
.smeter i {
    flex: 1; background: linear-gradient(180deg, var(--cyan), var(--cyan-2));
    border-radius: 3px; height: calc(14% + var(--d) * 6.6%);
    animation: meter 1.9s ease-in-out infinite;
    animation-delay: calc(var(--d) * .09s);
    transform-origin: bottom;
}
.smeter i:nth-child(n+10) { background: linear-gradient(180deg, var(--amber), #f6a821); }
@keyframes meter { 0%,100% { transform: scaleY(.45); opacity: .55; } 50% { transform: scaleY(1); opacity: 1; } }
.radio-row { color: var(--dim); font-size: .75rem; letter-spacing: 1px; margin-bottom: 22px; }
.ptt-wrap { display: flex; justify-content: center; margin-bottom: 18px; }
.ptt {
    width: 128px; height: 128px; border-radius: 50%; cursor: pointer; border: 0;
    background: radial-gradient(circle at 32% 28%, #61ccf9, var(--cyan-2) 60%, #0f7fb6);
    color: #00232f; font-weight: 900; font-size: .72rem; letter-spacing: 1.6px;
    font-family: var(--mono);
    box-shadow: 0 10px 34px rgba(79,195,247,.4), inset 0 -5px 12px rgba(0,0,0,.25);
    transition: transform .1s, box-shadow .1s;
}
.ptt:active, .ptt.tx {
    transform: scale(.94);
    background: radial-gradient(circle at 32% 28%, #ff9b93, #f0544f 60%, #b3261e);
    color: #fff;
    box-shadow: 0 4px 18px rgba(240,84,79,.5), inset 0 -3px 8px rgba(0,0,0,.3);
}
.morse-line { text-align: center; color: rgba(79,195,247,.45); font-size: .8rem; letter-spacing: 3px; }

/* ── STATS ──────────────────────────────────────────────────────────── */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.stats-in { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 30px 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-size: 2rem; color: var(--cyan); font-weight: 800; }
.stat span { color: var(--dim); font-size: .86rem; }

/* ── SECTIONS ───────────────────────────────────────────────────────── */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.sec-morse { color: rgba(79,195,247,.4); letter-spacing: 3px; font-size: .74rem; margin-bottom: 12px; }
.sec-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.sec-head p { color: var(--dim); }

.grid { display: grid; gap: 22px; }
.card {
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 26px; transition: transform .18s, border-color .18s, box-shadow .18s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(79,195,247,.45); box-shadow: 0 14px 40px rgba(0,0,0,.35); }

/* features */
.feat-grid { grid-template-columns: repeat(3, 1fr); }
.feat-icon { font-size: 1.9rem; margin-bottom: 14px; }
.feat h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feat p { color: var(--dim); font-size: .92rem; }

/* protocols */
.proto-band { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 40px; }
.proto {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
    padding: 16px 22px; min-width: 118px;
}
.proto.active { border-color: rgba(126,231,135,.55); box-shadow: 0 0 22px rgba(126,231,135,.12); }
.proto-name { font-weight: 800; font-size: 1rem; color: var(--txt); letter-spacing: 1px; }
.proto-tag { font-size: .62rem; letter-spacing: 1.4px; font-weight: 700; color: var(--amber); }
.proto.active .proto-tag { color: var(--ok); }
.proto-desc { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.proto-desc h3 { font-size: 1rem; margin-bottom: 10px; display: flex; align-items: center; gap: 9px; }
.proto-desc p { color: var(--dim); font-size: .92rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.on  { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.dot.dev { background: var(--amber); box-shadow: 0 0 8px var(--amber); }

/* downloads */
.dl-grid { grid-template-columns: repeat(3, 1fr); }
.dl { text-align: center; display: flex; flex-direction: column; align-items: center; }
.dl-icon { font-size: 2.4rem; margin-bottom: 10px; }
.dl h3 { margin-bottom: 8px; }
.dl-meta { display: flex; flex-direction: column; gap: 2px; color: var(--dim); font-size: .74rem; margin-bottom: 18px; min-height: 34px; }
.btn-dl { width: 100%; margin-top: auto; }
.btn-soon { width: 100%; margin-top: auto; background: transparent; border: 1px dashed var(--line); color: var(--dim); cursor: default; }

/* downloads — sponsor reklam kartı / sponsored ad card */
.dl-ad {
    position: relative;
    margin-top: 40px;
    padding: 0;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(79,195,247,.07), transparent 55%),
        var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(0,0,0,.28);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dl-ad:hover { transform: translateY(-3px); border-color: rgba(79,195,247,.4); box-shadow: 0 16px 44px rgba(0,0,0,.36); }
.dl-grid + .dl-ad { margin-top: 40px; }
.sec-head + .dl-ad { margin-top: 0; margin-bottom: 40px; }

.dl-ad-head {
    display: flex; align-items: center; gap: 8px;
    padding: 11px 18px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--line);
}
.dl-ad-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .66rem; font-weight: 700; letter-spacing: 2px;
    text-transform: uppercase; color: var(--cyan);
}
.dl-ad-head::after {
    content: ""; flex: 1; height: 1px;
    background: linear-gradient(90deg, rgba(79,195,247,.35), transparent);
}

.dl-ad-inner { padding: 22px; }
.dl-ad-media { text-align: center; }
.dl-ad-link { display: block; }
.dl-ad-img {
    display: block; max-width: 100%; height: auto; margin: 0 auto;
    border-radius: 10px; border: 1px solid var(--line);
}
.dl-ad-media + .dl-ad-body { margin-top: 16px; }
.dl-ad-body { color: var(--txt); line-height: 1.65; }
.dl-ad-body :first-child { margin-top: 0; }
.dl-ad-body :last-child { margin-bottom: 0; }
.dl-ad-body img { max-width: 100%; height: auto; border-radius: 8px; }
.dl-ad-body a { color: var(--cyan); }
.dl-ad-body iframe { max-width: 100%; border: 0; border-radius: 8px; }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
.shot { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shot img { display: block; width: 100%; }
.shot figcaption { padding: 10px 14px; font-size: .82rem; color: var(--dim); }

/* faq */
.faq-item { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary {
    list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 700;
    display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { color: var(--cyan); font-size: 1.2rem; transition: transform .2s; }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item[open] summary { color: var(--cyan); }
.faq-a { padding: 0 22px 20px; color: var(--dim); font-size: .93rem; }

/* contact */
.contact-form label { display: block; font-size: .84rem; color: var(--dim); margin: 16px 0 6px; }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 14px; background: #0f1418; border: 1px solid var(--line);
    border-radius: 9px; color: var(--txt); font-size: .95rem; font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .btn { margin-top: 22px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.notice { padding: 13px 16px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; }
.notice.ok  { background: rgba(126,231,135,.1); border: 1px solid rgba(126,231,135,.4); color: var(--ok); }
.notice.err { background: rgba(255,123,114,.1); border: 1px solid rgba(255,123,114,.4); color: var(--red); }

/* ── FOOTER ─────────────────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); background: #0a0d10; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 54px 22px 40px; }
.foot-brand p { color: var(--dim); font-size: .88rem; margin-top: 14px; max-width: 30em; }
.callsign { color: var(--cyan); letter-spacing: 1.5px; font-size: .84rem !important; }
.foot-col h4 { font-size: .8rem; letter-spacing: 1.6px; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--txt); opacity: .8; text-decoration: none; font-size: .9rem; padding: 4px 0; }
.foot-col a:hover { color: var(--cyan); opacity: 1; }
.foot-bar { border-top: 1px solid var(--line); padding: 18px 0 22px; }
.foot-bar-in { display: flex; justify-content: space-between; gap: 14px; color: var(--dim); font-size: .85rem; flex-wrap: wrap; }
.foot-bar-in .mono:first-child { color: rgba(79,195,247,.5); letter-spacing: 3px; }
.foot-bar-in b { color: var(--cyan); }
.foot-license { color: #5b6b74; font-size: .74rem; margin-top: 8px; }

/* ── RESPONSIVE ─────────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-in { grid-template-columns: 1fr; gap: 44px; }
    .hero-radio { max-width: 380px; margin: 0 auto; width: 100%; }
    .feat-grid, .dl-grid { grid-template-columns: repeat(2, 1fr); }
    .proto-desc { grid-template-columns: 1fr; }
    .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
    .menu {
        display: none; position: absolute; top: 66px; left: 0; right: 0;
        flex-direction: column; background: rgba(13,13,13,.97); border-bottom: 1px solid var(--line);
        padding: 12px 20px 18px;
    }
    .menu.open { display: flex; }
    .burger { display: block; }
    .feat-grid, .dl-grid, .frow { grid-template-columns: 1fr; }
    .stats-in { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(3) { border-left: 0; }
    .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
    .foot-in { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .brand .freq { display: none; }
}

/* hareket azaltma tercihi / reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-waves span, .smeter i, .led { animation: none; }
    html { scroll-behavior: auto; }
}
