/* =====================================================
   GrallPhone — design tokens
   Sade, kurumsal, ürün-odaklı bir sistem. Tek nötr renk
   paleti + tek kısık altın vurgu (CTA/fiyat için). Süsleme
   yok, spec-sheet mantığıyla düzenlenmiş bölümler.
   ===================================================== */

:root {
    --bg: #08080a;
    --bg-elevated: #121214;
    --border: rgba(255, 255, 255, 0.09);
    --border-strong: rgba(255, 255, 255, 0.18);

    --accent: #c9a463;
    --accent-soft: rgba(201, 164, 99, 0.12);

    --text: #f5f5f7;
    --text-muted: #a3a3aa;
    --text-faint: #6c6c74;

    --radius: 14px;
    --radius-sm: 8px;

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::selection {
    background: var(--accent);
    color: #1a1206;
}

:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =====================================================
   REVEAL — hafif, ölçülü scroll animasyonu
   ===================================================== */

.reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* =====================================================
   HEADER / NAV
   ===================================================== */

header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(8, 8, 10, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 40px;
}

nav {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 68px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: -0.01em;
    color: var(--text);
    text-decoration: none;
}

.logo-mark {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2px;
    align-items: center;
}

nav ul a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font);
    font-weight: 500;
    font-size: 14.5px;
    padding: 9px 16px;
    border-radius: 100px;
    transition: color 0.2s ease, background 0.2s ease;
}

nav ul a:hover,
nav ul a.active {
    color: var(--text);
    background: var(--bg-elevated);
}

.nav-account {
    font-size: 13.5px;
    color: var(--text-faint) !important;
}

.nav-account:hover {
    color: var(--text) !important;
}

.nav-cta {
    font-size: 14.5px;
    color: #1a1206 !important;
    background: var(--accent);
    padding: 9px 18px !important;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 600;
}

.nav-cta:hover {
    filter: brightness(1.08);
    background: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    width: 38px;
    height: 38px;
    font-size: 17px;
    cursor: pointer;
}

/* =====================================================
   HERO — tipografi öncelikli, sade
   ===================================================== */

.hero {
    padding: 120px 20px 70px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    margin-bottom: 20px;
}

.hero h1 {
    font-family: var(--font);
    font-size: clamp(44px, 8vw, 84px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.02;
    color: var(--text);
}

.slogan {
    margin-top: 20px;
    font-size: 19px;
    color: var(--text-muted);
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 100px;
    display: inline-block;
    transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease;
    border: 1px solid transparent;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--accent);
    color: #1a1206;
}

.btn-primary:hover {
    filter: brightness(1.06);
}

.btn-outline {
    background: transparent;
    border-color: var(--border-strong);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--text);
}

/* =====================================================
   SPEC STRIP — hero altında, ürünü tanımlayan 3 kısa madde
   ===================================================== */

.spec-strip {
    max-width: 900px;
    margin: 70px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--border);
}

.spec-strip .spec {
    padding: 28px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.spec-strip .spec:last-child {
    border-right: none;
}

.spec-strip .spec .num {
    font-size: 13px;
    color: var(--text-faint);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}

.spec-strip .spec p {
    font-size: 15px;
    color: var(--text-muted);
}

/* =====================================================
   ALT METİN / SECTION İNTRO
   ===================================================== */

.about-text {
    text-align: center;
    padding: 90px 20px 20px;
    font-size: 17px;
    color: var(--text-muted);
    max-width: 620px;
    margin: auto;
}

.section-title {
    text-align: center;
    font-family: var(--font);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 44px;
}

/* =====================================================
   FEATURES — spec-sheet grid
   ===================================================== */

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 0;
    max-width: 1120px;
    margin: 0 auto;
}

.card {
    background: var(--bg);
    padding: 34px 28px;
}

.card .tag {
    font-family: var(--font);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-faint);
    display: block;
    margin-bottom: 14px;
}

.card h3 {
    color: var(--text);
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.card p {
    color: var(--text-muted);
    font-size: 14.5px;
}

.features-wrap {
    padding: 90px 24px;
}

/* =====================================================
   CLOSING CTA
   ===================================================== */

.closing {
    max-width: 1120px;
    margin: 0 auto 90px;
    padding: 70px 40px;
    text-align: center;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
}

.closing h2 {
    font-family: var(--font);
    font-size: clamp(26px, 4vw, 36px);
    font-weight: 700;
    letter-spacing: -0.02em;
    max-width: 520px;
    margin: 0 auto 14px;
}

.closing p {
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 28px;
}

/* =====================================================
   FOOTER
   ===================================================== */

footer {
    border-top: 1px solid var(--border);
    padding: 34px 24px;
    text-align: center;
    font-family: var(--font);
    font-size: 13px;
    color: var(--text-faint);
}

/* =====================================================
   STORE
   ===================================================== */

.store-header {
    padding: 90px 20px 20px;
    text-align: center;
}

.store-tabs {
    display: inline-flex;
    gap: 4px;
    margin-top: 30px;
    padding: 4px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: var(--bg-elevated);
}

.store-tab {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14.5px;
    font-weight: 600;
    padding: 9px 20px;
    border-radius: 100px;
    transition: color 0.2s ease, background 0.2s ease;
}

.store-tab:hover {
    color: var(--text);
}

.store-tab.active {
    background: var(--accent);
    color: #1a1206;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px 24px 100px;
}

.product-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease;
}

.product-card:hover {
    border-color: var(--border-strong);
}

.product-img {
    aspect-ratio: 4 / 3;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font);
    color: var(--text-faint);
    font-size: 12.5px;
    border-bottom: 1px solid var(--border);
}

.product-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.product-body h3 {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.product-body p {
    color: var(--text-muted);
    font-size: 14px;
    flex: 1;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6px;
}

.price {
    color: var(--accent);
    font-weight: 700;
    font-size: 17px;
}

.stock {
    font-family: var(--font);
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.stock.out {
    color: #d98c8c;
}

.stock.upcoming {
    color: var(--accent);
}

.add-btn {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    border-radius: 100px;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--text);
    font-family: var(--font);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.add-btn:hover:not(:disabled) {
    background: var(--accent);
    border-color: var(--accent);
    color: #1a1206;
}

.add-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    border-color: var(--border);
    color: var(--text-faint);
}

.store-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
    text-align: center;
    padding: 40px 20px;
}

.note {
    font-size: 13px;
    color: var(--text-faint);
    font-family: var(--font);
}

.flash {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.flash-msg {
    font-family: var(--font);
    font-size: 14px;
    background: var(--accent-soft);
    border: 1px solid rgba(201, 164, 99, 0.35);
    color: var(--accent);
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
}

/* Cart page */
.cart-table {
    width: 100%;
    max-width: 780px;
    margin: 30px auto;
    border-collapse: collapse;
    font-size: 15px;
}

.cart-table th,
.cart-table td {
    text-align: left;
    padding: 16px 12px;
    border-bottom: 1px solid var(--border);
}

.cart-table th {
    font-family: var(--font);
    color: var(--text-faint);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.cart-total {
    max-width: 780px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

.remove-link {
    color: #d98c8c;
    font-family: var(--font);
    font-size: 12.5px;
    text-decoration: none;
}

.remove-link:hover {
    text-decoration: underline;
}

/* =====================================================
   ABOUT PAGE
   ===================================================== */

.about-body {
    max-width: 660px;
    margin: 0 auto;
    padding: 10px 24px 80px;
    color: var(--text-muted);
    font-size: 16.5px;
}

.about-body p {
    margin-bottom: 22px;
}

.about-body strong {
    color: var(--text);
    font-weight: 600;
}

/* Basit form elemanları (admin) */
.field {
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    color: var(--text);
    font-family: var(--font);
    width: 100%;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 760px) {
    .features {
        grid-template-columns: 1fr;
    }

    .spec-strip {
        grid-template-columns: 1fr;
    }

    .spec-strip .spec {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .spec-strip .spec:last-child {
        border-bottom: none;
    }

    header {
        padding: 0 18px;
    }

    .nav-toggle {
        display: block;
    }

    nav ul {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        padding: 10px 18px 18px;
        display: none;
    }

    nav ul.open {
        display: flex;
    }

    nav ul a {
        padding: 13px 10px;
        border-radius: 8px;
    }

    .nav-cta {
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}