/* GuestShield landing page — tasarım sistemi.
 * Marka renkleri www/public/css/tokens.css ile birebir. */

:root {
    --gs-primary: #CD0007;
    --gs-primary-dark: #a00006;
    --gs-dark: #373538;
    --gs-shadow: #1D191F;
    --gs-light: #FEFEFE;
    --gs-muted: #E0E0E0;
    --gs-bg: #F5F5F5;
    --gs-text-muted: #6c757d;
    --radius: 18px;
    --maxw: 1180px;
    --gradient-red: linear-gradient(135deg, var(--gs-primary) 0%, var(--gs-primary-dark) 100%);
    --gradient-dark: linear-gradient(135deg, var(--gs-shadow) 0%, var(--gs-dark) 100%);
    --shadow-card: 0 10px 30px rgba(29, 25, 31, .08);
    --shadow-card-hover: 0 18px 45px rgba(29, 25, 31, .14);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--gs-dark);
    background: var(--gs-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(56px, 8vw, 104px) 0; }
h1, h2, h3 { line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }
.section-title { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; margin-bottom: 14px; }
.section-sub { text-align: center; color: var(--gs-text-muted); max-width: 640px; margin: 0 auto 56px; font-size: 1.05rem; }
.text-accent { color: var(--gs-primary); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: .95rem;
    font-family: inherit; cursor: pointer; border: none;
    transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
}
.btn .material-symbols-outlined { font-size: 20px; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; line-height: 1; user-select: none; }
.btn-primary { background: var(--gradient-red); color: #fff; box-shadow: 0 4px 15px rgba(205, 0, 7, .3); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(205, 0, 7, .42); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }
.btn-light { background: #fff; color: var(--gs-primary); box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .26); }
.btn-sm { padding: 10px 20px; font-size: .9rem; }
.btn-lg { padding: 17px 38px; font-size: 1.05rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(254, 254, 254, .92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gs-muted);
}
.site-header .nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand img { height: 38px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { font-weight: 600; font-size: .95rem; color: var(--gs-dark); transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--gs-primary); }
.nav-links > a.btn-primary { color: #fff; }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--gs-muted); border-radius: 9px; padding: 2px; }
.lang-switch a { font-size: .8rem; font-weight: 700; padding: 5px 10px; border-radius: 7px; color: var(--gs-text-muted); line-height: 1; transition: color .2s, background .2s; }
.lang-switch a.active { background: var(--gradient-red); color: #fff; }
.lang-switch a:not(.active):hover { color: var(--gs-primary); }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px; background: none; border: none;
    cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--gs-dark); border-radius: 3px; transition: .3s; }
.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); }

/* ---------- Hero ---------- */
.hero { background: var(--gradient-dark); color: #fff; position: relative; overflow: hidden; }
.hero::after {
    content: ""; position: absolute; top: -120px; right: -120px; width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(205, 0, 7, .35) 0%, transparent 70%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); margin-bottom: 22px; }
.hero-copy p { font-size: 1.12rem; opacity: .9; max-width: 540px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-shot img {
    width: 100%; border-radius: 14px; box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
    border: 1px solid rgba(255, 255, 255, .1);
}

/* ---------- Trust strip ---------- */
.trust { background: var(--gs-shadow); padding: 22px 0; }
.trust-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }
.trust-list li { color: rgba(255, 255, 255, .82); font-weight: 600; font-size: .92rem; display: flex; align-items: center; gap: 8px; }
.trust-list .material-symbols-outlined { font-size: 19px; color: var(--gs-primary); }

/* ---------- Feature cards ---------- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.feature-card {
    background: #fff; border: 1px solid var(--gs-muted); border-radius: var(--radius);
    padding: 32px 28px; box-shadow: var(--shadow-card); transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px; background: var(--gradient-red);
    display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
    box-shadow: 0 8px 20px rgba(205, 0, 7, .28);
}
.feature-icon .material-symbols-outlined { font-size: 28px; color: #fff; }
.feature-card h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature-card p { color: var(--gs-text-muted); font-size: .96rem; }

/* ---------- How it works ---------- */
.how { background: var(--gs-bg); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 26px; counter-reset: step; }
.step { position: relative; text-align: center; padding: 0 12px; }
.step-num {
    counter-increment: step; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
    background: #fff; border: 3px solid var(--gs-primary); color: var(--gs-primary);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem;
    box-shadow: var(--shadow-card); position: relative; z-index: 2;
}
.step-num::before { content: counter(step); }
.step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.step p { color: var(--gs-text-muted); font-size: .92rem; }

/* ---------- Screenshots gallery ---------- */
.gallery { display: flex; flex-direction: column; gap: clamp(44px, 6vw, 80px); max-width: 1040px; margin: 0 auto; counter-reset: shot; }
.shot {
    display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px);
}
.shot img {
    width: 100%; height: auto; background: #fff;
    border: 1px solid var(--gs-muted); border-radius: var(--radius); box-shadow: var(--shadow-card);
    transition: transform .3s, box-shadow .3s;
}
.shot:hover img { transform: translateY(-5px); box-shadow: var(--shadow-card-hover); }
.shot:nth-child(even) img { order: 2; }
.shot:nth-child(even) figcaption { order: 1; }
.shot figcaption { padding: 0; font-weight: 700; font-size: 1.2rem; color: var(--gs-dark); }
.shot figcaption::before {
    counter-increment: shot; content: counter(shot, decimal-leading-zero);
    display: block; font-size: 2.4rem; font-weight: 800; color: var(--gs-primary);
    line-height: 1; margin-bottom: 10px; letter-spacing: -.02em;
}
@media (max-width: 760px) {
    .shot { grid-template-columns: 1fr; gap: 18px; }
    .shot:nth-child(even) img, .shot:nth-child(even) figcaption { order: 0; }
    .shot figcaption { font-size: 1.05rem; }
    .shot figcaption::before { font-size: 1.9rem; }
}

/* ---------- Roles ---------- */
.roles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.role-card {
    border: 1px solid var(--gs-muted); border-radius: var(--radius); padding: 26px 22px;
    text-align: center; background: #fff; transition: border-color .3s, transform .3s;
}
.role-card:hover { border-color: var(--gs-primary); transform: translateY(-4px); }
.role-card .feature-icon { margin: 0 auto 16px; }
.role-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.role-card p { color: var(--gs-text-muted); font-size: .9rem; }

/* ---------- Tech ---------- */
.tech { background: var(--gs-bg); text-align: center; }
.tech-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 24px; }
.tech-badge {
    background: #fff; border: 1px solid var(--gs-muted); border-radius: 999px;
    padding: 11px 24px; font-weight: 600; font-size: .95rem; box-shadow: var(--shadow-card);
}
.tech-note { color: var(--gs-text-muted); max-width: 560px; margin: 0 auto; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item { border: 1px solid var(--gs-muted); border-radius: 14px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq-q {
    width: 100%; text-align: left; background: none; border: none; cursor: pointer;
    padding: 20px 24px; font-family: inherit; font-weight: 700; font-size: 1.02rem; color: var(--gs-dark);
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .chev { transition: transform .3s; flex-shrink: 0; }
.faq-q .chev .material-symbols-outlined { font-size: 24px; color: var(--gs-primary); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--gs-text-muted); }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Demo CTA ---------- */
.demo { background: var(--gradient-red); color: #fff; text-align: center; }
.demo h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 16px; }
.demo p { font-size: 1.12rem; opacity: .95; max-width: 620px; margin: 0 auto 32px; }
.demo .license-note { font-size: .92rem; opacity: .85; margin-top: 22px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gs-shadow); color: rgba(255, 255, 255, .8); padding: 56px 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-brand img { height: 36px; margin-bottom: 14px; }
.footer-brand p { font-size: .92rem; max-width: 320px; opacity: .8; }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-size: .95rem; transition: color .2s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom {
    margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .86rem; opacity: .7; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between;
}
.footer-bottom a { color: rgba(255, 255, 255, .85); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-shot { order: 2; }
}
@media (max-width: 860px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch;
        gap: 0; background: var(--gs-light); border-bottom: 1px solid var(--gs-muted);
        padding: 8px 24px 20px; box-shadow: 0 16px 30px rgba(0, 0, 0, .1);
        max-height: 0; overflow: hidden; transition: max-height .35s ease; }
    .nav-links.open { max-height: 420px; }
    .nav-links > a { padding: 14px 4px; border-bottom: 1px solid var(--gs-muted); }
    .nav-links > a.btn { margin-top: 14px; border-bottom: none; }
    .nav-links .lang-switch { margin-top: 16px; align-self: flex-start; }
}
@media (max-width: 520px) {
    .container { padding: 0 18px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .footer-bottom { flex-direction: column; }
}
