:root {
    --bg-dark: #0f172a;
    --bg-nav: #080c14;
    --bg-card: #1e293b;
    --accent: #f57c00;
    --accent-alt: #ff9a3c;
    --accent-glow: rgba(245, 124, 0, 0.4);
    --text-primary: #e2e8f0;
    --text-secondary: #9ca3af;
    --gradient: linear-gradient(135deg, #f57c00 0%, #ff9a3c 100%);
    --glass: rgba(8, 12, 20, 0.85);
    --border: rgba(255, 255, 255, 0.08);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow-x: hidden;
}

h1, h2, h3, .logo {
    font-family: 'Outfit', sans-serif;
}

.accent { color: var(--accent); }
.hidden { display: none !important; }

/* Buttons */
.btn-primary {
    background: var(--gradient);
    color: #FFFFFF !important;
    padding: 12px 28px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(245, 124, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--accent-glow);
    filter: brightness(1.1);
}

.btn-primary.lg { padding: 18px 44px; font-size: 1.1rem; }
.btn-primary.sm { padding: 10px 24px; font-size: 0.9rem; }

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
    padding: 16px 40px;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(245, 124, 0, 0.05);
}

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-decoration: none;
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-icon {
    height: 36px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.logo:hover .brand-icon {
    transform: scale(1.05) rotate(-2deg);
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.btn-primary) {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:not(.btn-primary):hover { color: white; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

/* Language Switcher */
.lang-switcher {
    position: relative;
    margin-right: 15px;
}

.lang-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.lang-btn:hover {
    border-color: var(--accent);
    background: var(--bg-nav);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0.2s;
    z-index: 1001;
}

.lang-dropdown-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 8px;
    min-width: 130px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
}

.lang-dropdown.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s 0s;
}

.lang-option {
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: background 0.2s;
}

.lang-option:hover {
    background: rgba(255,255,255,0.05);
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 8% 100px;
    gap: 60px;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.15;
    z-index: -1;
    animation: pulse-glow 8s ease-in-out infinite;
}

.hero-content {
    flex: 1.2;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 28px;
    font-weight: 800;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    font-weight: 400;
}

.cta-group {
    display: flex;
    gap: 24px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1200px;
}

.phone-frame {
    width: 320px;
    padding: 10px;
    background: #050505;
    border-radius: 48px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.8), 0 0 0 4px #1a1a1a;
    transform-style: preserve-3d;
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.65s ease;
    animation: float 6s ease-in-out infinite;
}

.phone-frame:hover {
    animation-play-state: paused;
    transform: rotateY(-14deg) rotateX(10deg) rotateZ(-2deg) scale(1.06) translateY(-14px);
    box-shadow:
        0 60px 120px rgba(0, 0, 0, 0.88),
        0 0 0 1px rgba(245, 124, 0, 0.45),
        0 0 80px rgba(245, 124, 0, 0.18);
}

.screenshot {
    width: 100%;
    border-radius: 38px;
    display: block;
    transform-origin: center center;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.phone-frame:hover .screenshot {
    transform: scale(1.04) translateZ(12px);
}

@media (prefers-reduced-motion: reduce) {
    .phone-frame {
        animation: none;
    }
    .phone-frame:hover {
        transform: scale(1.03) translateY(-6px);
        box-shadow: 0 50px 100px rgba(0, 0, 0, 0.85), 0 0 0 4px #1a1a1a;
    }
    .phone-frame:hover .screenshot {
        transform: scale(1.02);
    }
}

/* Features */
.features {
    padding: 120px 8%;
    background: var(--bg-nav);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--border);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    z-index: 2;
}

.feature-card:hover {
    transform: translateY(-12px);
    border-color: var(--accent);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 40px rgba(245, 124, 0, 0.1);
}

.icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: rgba(245, 124, 0, 0.1);
    border-radius: 18px;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 124, 0, 0.2);
    box-shadow: inset 0 0 20px rgba(245, 124, 0, 0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: rgba(245, 124, 0, 0.2);
}

.feature-card .icon {
    font-size: 2rem;
    margin-bottom: 0;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: white;
}

.feature-card p {
    color: var(--text-secondary);
}

/* Screenshots strip — about bölümünün hemen altında */
.screenshots {
    padding: 20px 0 88px;
    background: var(--bg-dark);
    overflow: hidden;
}

.screenshots-head {
    text-align: center;
    padding: 0 8% 24px;
}

.screenshots-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.screenshots-marquee {
    overflow: hidden;
    width: 100%;
    /* İç yatay scroll çubuğu hiç görünmesin */
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.screenshots-marquee::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.screenshots-ticker {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 28px;
    width: max-content;
    padding-inline: 32px;
    animation: screenshots-marquee 58s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.screenshots-ticker:hover {
    animation-play-state: paused;
}

.screenshots-ticker img {
    display: block;
    height: 420px;
    width: auto;
    max-width: none;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border);
    flex-shrink: 0;
    object-fit: cover;
}

@keyframes screenshots-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    /* Scrollbar yerine aynı döngü, çok daha yavaş — hem sakin hem tek satır */
    .screenshots-marquee {
        overflow: hidden;
        mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    }
    .screenshots-ticker {
        animation: screenshots-marquee 140s linear infinite;
        justify-content: flex-start;
        margin: 0;
        padding-inline: 32px;
    }
}

@media (max-width: 900px) {
    .screenshots-ticker img {
        height: 320px;
    }
}

@media (max-width: 600px) {
    .screenshots-ticker img {
        height: 260px;
    }
    .screenshots-title {
        font-size: 1.4rem;
    }
}

/* About — özellikler ile kayan şerit arasında (tek görsel + metin) */
.about {
    padding: 64px 8% 32px;
    background: linear-gradient(to bottom, var(--bg-nav), var(--bg-dark));
}

.about-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
    text-align: left;
}

.about-visual {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.about-screenshot {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

.about-content {
    max-width: 560px;
}

.about-content h2,
.about h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.about-desc {
    color: var(--text-secondary);
    font-size: 1.25rem;
    line-height: 1.8;
    font-weight: 500;
}

@media (max-width: 960px) {
    .about-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .about-content {
        max-width: none;
        margin: 0 auto;
    }
    .about-visual {
        order: -1;
        max-width: 520px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .about-content h2,
    .about h2 { font-size: 2rem; }
    .about-desc { font-size: 1.1rem; }
}

/* Footer */
footer {
    padding: 100px 8% 40px;
    background: var(--bg-nav);
    border-top: 1px solid var(--border);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 24px;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 0;
}

.footer-brand p {
    display: none;
}

.footer-tagline-mobile {
    color: var(--text-secondary);
    margin-top: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 80px;
    padding-top: 32px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-bottom > span {
    flex-shrink: 0;
    max-width: 100%;
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    min-width: 0;
}

.legal-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.legal-links a:hover { color: var(--accent); }

.github-link {
    display: flex;
    align-items: center;
    color: var(--text-secondary) !important;
}

.github-link:hover {
    color: var(--accent) !important;
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 1100px) {
    .hero-content h1 { font-size: 4rem; }
    .hero { padding-top: 120px; }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 60px;
    }
    .hero-content h1 { font-size: 3.5rem; }
    .subtitle { margin-left: auto; margin-right: auto; }
    .cta-group { justify-content: center; flex-wrap: wrap; }
    .hero-image { order: -1; }
    .phone-frame { width: 280px; }
    .nav-links { display: none; }
}

@media (max-width: 640px) {
    .glass-nav {
        padding: 12px 14px;
        gap: 8px;
    }

    .logo {
        font-size: 1.35rem;
        gap: 8px;
        min-width: 0;
    }

    .brand-icon {
        height: 30px;
        width: 30px;
    }

    .nav-actions {
        gap: 8px;
    }

    .lang-switcher {
        margin-right: 0;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 0.78rem;
    }

    .btn-primary.sm {
        padding: 8px 14px;
        font-size: 0.78rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        margin-top: 56px;
    }

    .footer-bottom > span {
        padding-top: 16px;
        border-top: 1px solid var(--border);
        width: 100%;
    }
}

@media (max-width: 420px) {
    .logo-text {
        display: none;
    }

    .logo {
        gap: 0;
    }
}

/* -------- Legal pages -------- */
.legal-page-main {
    padding: 120px 8% 80px;
    background: var(--bg-dark);
    min-height: calc(100vh - 120px);
}

.delete-account-layout {
    position: relative;
    padding-top: 128px;
}

.delete-account-layout::before {
    content: '';
    position: absolute;
    top: 90px;
    right: 12%;
    width: 300px;
    height: 300px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.14;
    z-index: 0;
    pointer-events: none;
    animation: pulse-glow 8s ease-in-out infinite;
}

.delete-account-hero {
    max-width: 860px;
    margin: 0 auto 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.delete-account-kicker {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    font-weight: 700;
    margin: 0 0 4px;
}

.delete-account-layout .legal-card.legal-doc {
    position: relative;
    z-index: 1;
}

.legal-card {
    max-width: 860px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 44px 48px 52px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.legal-doc h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.legal-doc h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 36px;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.legal-doc p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.75;
    margin-bottom: 18px;
    white-space: pre-line;
}

.legal-doc .update-date {
    display: block;
    color: var(--accent);
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.legal-doc a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(245, 124, 0, 0.35);
}

.legal-doc a:hover {
    color: var(--accent-alt);
    border-bottom-color: var(--accent-alt);
}

.legal-lang-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.legal-lang-tabs .legal-lang-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.legal-lang-tabs .legal-lang-btn:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

.legal-lang-tabs .legal-lang-btn.active {
    background: linear-gradient(135deg, #f57c00 0%, #ff9a3c 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 14px rgba(245, 124, 0, 0.35);
}

.legal-doc .content-section {
    display: none;
}

.legal-doc .content-section.active {
    display: block;
}

@media (max-width: 640px) {
    .legal-card {
        padding: 28px 22px 36px;
        border-radius: 20px;
    }
    .legal-doc h1 {
        font-size: 1.85rem;
    }
}

.legal-doc.delete-account-doc .content-section > h2 {
    color: var(--accent-alt);
    border-bottom-color: rgba(245, 124, 0, 0.35);
    margin-top: 0;
}

.legal-doc .method-card {
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.28);
    border-left: 4px solid #e53935;
    padding: 18px 20px;
    margin: 18px 0;
    border-radius: 0 14px 14px 0;
}

.legal-doc .method-card strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.legal-doc .method-card p {
    margin-bottom: 0;
}

.legal-doc .delete-note {
    color: var(--text-secondary);
    font-size: 0.88rem;
    margin-top: 24px;
}

/* --- YENİ MODERNİZASYON EKLENTİLERİ --- */

/* 1. Nefes Alan Arka Plan Işığı (Pulse Efekti) */
@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
    100% { transform: scale(1); opacity: 0.15; }
}

/* 2. Havada Süzülen Telefon (Floating Efekti) */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* 5. Scroll (Kaydırma) Animasyonu Sınıfları */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Gecikmeler (Stagger effect) */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }