/* ══════════════════════════════════════════════════════════
   A.R.I.S. Style System — Inspired by kerimeksi.com Design Ethos
   Deep Obsidian Theme, Sora Typography, Fully Responsive Mobile
   ══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #08080c;
    --bg-soft: #0d0d14;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.055);

    --text: #ffffff;
    --text-dim: #9a9aa4;
    --text-mid: #c9c9cf;

    --accent: #00f0ff;
    --accent-blue: #0077fe;
    --accent-purple: #8b5cf6;
    --accent-green: #10b981;
    --accent-yellow: #f59e0b;
    --accent-red: #ef4444;

    --border: rgba(255, 255, 255, 0.09);
    --border-hover: rgba(0, 240, 255, 0.28);

    --glass-bg: rgba(13, 13, 20, 0.88);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Sora', -apple-system, sans-serif;
    --font-body: 'Sora', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --grid-color: rgba(255, 255, 255, 0.03);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-pill: 999px;

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg);
    color: var(--text);
}

body {
    font-family: var(--font-body);
    line-height: 1.65;
    background-color: var(--bg);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Grid Overlay & Ambient Glow */
.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 119, 254, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.2s ease-out;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* Tipografi & Renk Vurguları */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
}

.accent {
    color: var(--accent);
}

.accent-blue {
    color: var(--accent-blue);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #00f0ff 80%, #0077fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ═══════════════════════════════════════════════════════════
   HEADER / NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text);
}

/* Sol Üst Logo: DÖNMEYEN, TAM YUVARLAK */
.logo-orb-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(0, 240, 255, 0.3);
    background: #040814;
    padding: 2px;
    box-shadow: 0 0 15px rgba(0, 119, 254, 0.25);
    animation: none !important;
    transition: var(--transition);
}

.nav-logo:hover .logo-orb-icon {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.45);
    transform: scale(1.04);
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.lang-selector {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600; /* Daima 600 - buton boyutu asla değişmez! */
    width: 32px;      /* Sabit genişlik - yazı kaymasını kesin olarak önler */
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition: var(--transition);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

/* Sayfa ve Dil Geçiş Efektleri */
@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    animation: pageFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dil geçişi akıcı yumuşatma */
[data-i18n] {
    transition: opacity 0.15s ease;
}

body.i18n-transitioning [data-i18n] {
    opacity: 0.3;
}

/* Modern Vektör SVG İkonları */
.svg-icon {
    display: inline-block;
    vertical-align: middle;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: var(--transition);
}

/* Buton Stilleri */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius-pill);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: #ffffff;
    color: #08080c;
    border: 1px solid #ffffff;
}

.btn-primary:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   HERO BÖLÜMÜ (Ferah & Düzeltilmiş Yerleşim)
   ═══════════════════════════════════════════════════════════ */
.hero-section {
    padding: 6.5rem 0 5rem;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 4.5rem;
}

.hero-badge-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.badge-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 8px var(--accent);
}

.hero-badge-wrap span {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.18;
    margin-bottom: 1.8rem;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-dim);
    margin-bottom: 2.8rem;
    max-width: 580px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 2.5rem;
}

.hero-tech-strip {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    flex-wrap: wrap;
}

.hero-tech-item {
    color: var(--text-mid);
}

.hero-tech-sep {
    color: rgba(255, 255, 255, 0.2);
}

/* Hero Görsel - Orb Vitrini */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-orb-frame {
    position: relative;
    width: 340px;
    height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle, rgba(0, 119, 254, 0.09) 0%, transparent 68%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.hero-orb-img {
    width: 190px;
    height: 190px;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 0 30px rgba(0, 119, 254, 0.35));
    animation: orbFloat 5s ease-in-out infinite;
    z-index: 2;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hud-tag {
    position: absolute;
    background: rgba(13, 13, 20, 0.9);
    border: 1px solid var(--border);
    backdrop-filter: blur(12px);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-mid);
    z-index: 3;
    white-space: nowrap;
}

.hud-tag-1 { top: 25px; left: -10px; }
.hud-tag-2 { bottom: 30px; right: -15px; }

/* ═══════════════════════════════════════════════════════════
   İSTATİSTİK ŞERİDİ
   ═══════════════════════════════════════════════════════════ */
.stats-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
}

/* ═══════════════════════════════════════════════════════════
   ÖZELLİKLER BÖLÜMÜ
   ═══════════════════════════════════════════════════════════ */
.features-section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    font-family: var(--font-mono);
    color: var(--accent);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.4rem;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.section-desc {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.4rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.card-icon-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.feature-card:hover .card-icon-box {
    background: rgba(0, 240, 255, 0.12);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    color: #ffffff;
}

.card-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent);
    letter-spacing: 1px;
    display: block;
    margin-bottom: 8px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.card-desc {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════
   CTA (ÇOK YAKINDA KUTUSU)
   ═══════════════════════════════════════════════════════════ */
.cta-section {
    padding: 5rem 0 7rem;
}

.cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 4.5rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.cta-desc {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    background: #050508;
    padding: 4rem 0 2rem;
    font-size: 0.88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-dim);
    margin-top: 12px;
    max-width: 300px;
    line-height: 1.6;
}

.footer-col h4 {
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* GELİŞTİRİCİ BAĞLANTISI (Kerim Ekşi -> kerimeksi.com) */
.footer-dev {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.footer-dev:hover {
    text-decoration: underline;
    color: #ffffff;
}

.footer-contact {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.footer-contact:hover {
    text-decoration: underline;
    color: #ffffff;
}

.mobile-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 1.3rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: var(--transition);
}

.mobile-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════
   TAM MOBİL VE TABLET UYUMLULUK (RESPONSIVE)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    .hero-desc {
        margin: 0 auto 2.5rem;
    }
    .hero-cta, .hero-tech-strip {
        justify-content: center;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-actions > .btn,
    .nav-btn {
        display: none !important;
    }
    .mobile-toggle {
        display: inline-flex !important;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(8, 8, 12, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 1.8rem 1.5rem;
        gap: 18px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
        text-align: center;
        z-index: 99;
    }
    .nav-links.show {
        display: flex;
    }
    .hero-section {
        padding: 4rem 0 3rem;
    }
    .hero-title {
        font-size: 2.3rem;
        line-height: 1.25;
    }
    .hero-desc {
        font-size: 1rem;
    }
    .hero-orb-frame {
        width: 270px;
        height: 270px;
    }
    .hero-orb-img {
        width: 150px;
        height: 150px;
    }
    .hud-tag {
        font-size: 0.68rem;
        padding: 5px 10px;
    }
    .features-section {
        padding: 4.5rem 0;
    }
    .section-title {
        font-size: 1.9rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    .stat-number {
        font-size: 1.8rem;
    }
    .cta-box {
        padding: 3rem 1.5rem;
    }
    .cta-title {
        font-size: 1.8rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .nav-actions .nav-btn {
        display: none;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .hero-cta .btn {
        width: 100%;
    }
    .hero-orb-frame {
        width: 220px;
        height: 220px;
    }
    .hero-orb-img {
        width: 120px;
        height: 120px;
    }
    .hud-tag {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    .hud-tag-1 { top: 10px; left: 0px; }
    .hud-tag-2 { bottom: 10px; right: 0px; }
}
