:root {
    --bg-color: #08080c;
    --primary: #6C5DD3;
    --primary-glow: #8f7df8;
    --accent: #FFD700;
    --text-white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

html { overflow-x: hidden; scroll-behavior: smooth; }

body {
    background: var(--bg-color);
    color: var(--text-white);
    min-height: 100vh;
    overflow-y: auto;
    position: relative;
    overflow-x: hidden;
}

/* Giriş Animasyonu */
.intro-overlay {
    position: fixed; inset: 0; background: #000; z-index: 9999;
    pointer-events: none; transition: opacity 2.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.intro-overlay.fade-out { opacity: 0; }

.hidden-on-start { opacity: 0; transform: translateY(50px); transition: opacity 1.5s ease-out, transform 1.5s ease-out; }
.content-visible .hidden-on-start { opacity: 1; transform: translateY(0); }
.nav-brand.hidden-on-start { transition-delay: 0.5s; }
.nav-menu.hidden-on-start { transition-delay: 0.8s; }
.hero-content.hidden-on-start { transition-delay: 1.2s; }

/* Arka Plan */
.parallax-wrapper { position: fixed; inset: 0; z-index: -1; }
#bgCanvas { position: absolute; width: 100%; height: 100%; z-index: -1; }
.nebula-bg {
    position: absolute; width: 100%; height: 100%;
    background: radial-gradient(circle at 60% 40%, rgba(108, 93, 211, 0.2), transparent 60%);
    filter: blur(100px); z-index: -2;
}
.vignette {
    position: absolute; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 30%, #08080c 100%);
    z-index: 0; pointer-events: none;
}

/* Navbar */
.glass-nav {
    position: fixed; top: 0; width: 100%; padding: 25px 60px;
    display: flex; justify-content: space-between; align-items: center; z-index: 100;
    backdrop-filter: blur(5px); border-bottom: 1px solid rgba(255,255,255,0.05);
}
.nav-brand { font-size: 1.8rem; font-weight: 800; letter-spacing: -1px; }
.glow-text { color: var(--primary); text-shadow: 0 0 20px rgba(108,93,211,0.6); }
.nav-menu { display: flex; gap: 40px; align-items: center; }
.nav-link { text-decoration: none; color: rgba(255,255,255,0.7); font-weight: 500; transition: 0.3s; position: relative; }
.nav-link:hover { color: white; }
.nav-btn-login { padding: 8px 20px; border: 1px solid rgba(255,255,255,0.2); border-radius: 20px; text-decoration: none; color: white; font-weight: 600; transition: 0.3s; cursor: pointer;}
.nav-btn-login:hover { background: rgba(255,255,255,0.1); border-color: white; }

/* Hero */
.hero-section { height: 100vh; display: flex; align-items: center; justify-content: flex-start; padding-left: 10%; position: relative; z-index: 10; }
.hero-content { text-align: left; max-width: 600px; }
.hero-title { font-size: 4rem; font-weight: 900; line-height: 1.1; margin-bottom: 20px; letter-spacing: -1px; }
.text-gradient { background: linear-gradient(135deg, #fff 0%, #aaa 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin-bottom: 40px; line-height: 1.6; }

/* Butonlar */
.button-group { display: flex; gap: 20px; }

/* ── Hero secondary buttons (Launcher + Pricing) ── */
.hero-secondary-btns {
    display: flex; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap;
}
.hero-download-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 11px 22px; border-radius: 40px; text-decoration: none;
    background: rgba(108,93,211,0.12); border: 1px solid rgba(108,93,211,0.35);
    color: #a78bfa; font-size: 0.88rem; font-weight: 600;
    transition: 0.2s; position: relative;
}
.hero-download-btn:hover { background: rgba(108,93,211,0.25); border-color: rgba(108,93,211,0.6); transform: translateY(-2px); }
.hero-download-sub {
    font-size: 0.72rem; color: rgba(255,255,255,0.35); font-weight: 400;
    margin-left: 2px;
}
.hero-pricing-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 11px 20px; border-radius: 40px; text-decoration: none;
    background: rgba(255,215,0,0.06); border: 1px solid rgba(255,215,0,0.2);
    color: rgba(255,215,0,0.75); font-size: 0.88rem; font-weight: 600;
    transition: 0.2s;
}
.hero-pricing-btn:hover { background: rgba(255,215,0,0.14); border-color: rgba(255,215,0,0.45); color: #ffd700; transform: translateY(-2px); }

.hero-text-link {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s;
}
.hero-text-link:hover { color: #fff; }
.btn-liquid { position: relative; padding: 18px 40px; text-decoration: none; border-radius: 50px; overflow: hidden; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.inner-text { position: relative; z-index: 2; font-weight: 700; color: white; }
.liquid { position: absolute; top: 100%; left: 0; width: 100%; height: 100%; background: var(--primary); border-radius: 50%; transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1); z-index: 1; }
.btn-liquid:hover { border-color: var(--primary); transform: scale(1.05); box-shadow: 0 0 30px rgba(108,93,211,0.4); }
.btn-liquid:hover .liquid { top: 0; border-radius: 0; }
.btn-glass { padding: 18px 35px; background: rgba(255,215,0,0.1); border: 1px solid rgba(255,215,0,0.3); border-radius: 50px; color: var(--accent); font-weight: 700; cursor: pointer; transition: 0.3s; backdrop-filter: blur(10px); display: flex; align-items: center; gap: 10px; }
.btn-glass:hover { background: var(--accent); color: #000; box-shadow: 0 0 30px rgba(255,215,0,0.5); transform: translateY(-3px); }

/* Modal */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(15px); z-index: 200; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: 0.4s ease; }
.modal-backdrop.active { opacity: 1; visibility: visible; }
.glass-card { background: rgba(20, 20, 30, 0.6); border: 1px solid rgba(255,255,255,0.1); padding: 40px; border-radius: 30px; width: 420px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); transform: scale(0.8) translateY(50px); transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.modal-backdrop.active .glass-card { transform: scale(1) translateY(0); }
.close-modal { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; opacity: 0.5; transition: 0.3s; }
.close-modal:hover { opacity: 1; transform: rotate(90deg); }
.modal-title { font-size: 1.8rem; margin-bottom: 25px; text-align: center; }
.input-field { position: relative; margin-bottom: 20px; }
.input-field input { width: 100%; padding: 12px 0; background: transparent; border: none; border-bottom: 1px solid rgba(255,255,255,0.2); color: white; outline: none; }
.input-field label { position: absolute; top: 12px; left: 0; color: rgba(255,255,255,0.5); transition: 0.3s ease; pointer-events: none; }
.input-field input:focus ~ label, .input-field input:valid ~ label { top: -10px; font-size: 0.8rem; color: var(--primary); }
.input-highlight { position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--primary); transition: 0.4s; }
.input-field input:focus ~ .input-highlight { width: 100%; }
.btn-neon { width: 100%; padding: 12px; border-radius: 12px; border: none; background: var(--primary); color: white; font-weight: 700; cursor: pointer; transition: 0.3s; margin-top: 10px; box-shadow: 0 5px 15px rgba(108,93,211,0.3); }
.btn-neon:hover { background: var(--primary-glow); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(108,93,211,0.5); }
.btn-neon.gold { background: var(--accent); color: black; box-shadow: 0 5px 15px rgba(255,215,0,0.3); }
.btn-neon.gold:hover { background: #ffea00; }
.switch-text { text-align: center; margin-top: 15px; color: rgba(255,255,255,0.5); font-size: 0.9rem; cursor: pointer; }
.switch-text span { color: var(--primary); font-weight: bold; }
.hidden { display: none; }
/* --- KULLANICI PROFİL MENÜSÜ (DROPDOWN) --- */
.nav-user-container { position: relative; display: inline-block; }

.user-btn {
    display: flex; align-items: center; gap: 10px; cursor: pointer;
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 15px; border-radius: 50px; transition: 0.3s;
}
.user-btn:hover { background: rgba(108, 93, 211, 0.2); border-color: #6C5DD3; }

.user-avatar {
    width: 30px; height: 30px; background: #6C5DD3; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.9rem;
}

/* Açılır Menü Kutusu */
.dropdown-menu {
    position: absolute; top: 120%; right: 0; width: 200px;
    background: rgba(15, 15, 20, 0.95); backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px;
    padding: 10px; opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); z-index: 1000;
}
.dropdown-menu.active { opacity: 1; visibility: visible; transform: translateY(0); }

/* Menü Linkleri */
.dropdown-item {
    display: flex; align-items: center; gap: 10px; padding: 12px 15px;
    color: #ccc; text-decoration: none; border-radius: 8px; transition: 0.2s; font-size: 0.9rem;
}
.dropdown-item:hover { background: rgba(108, 93, 211, 0.1); color: white; }
.dropdown-item i { width: 20px; text-align: center; }
.dropdown-item.danger:hover { background: rgba(255, 0, 0, 0.1); color: #ff4d4d; }

/* Ayırıcı Çizgi */
.divider { height: 1px; background: rgba(255,255,255,0.1); margin: 5px 0; }

/* ══ HAMBURGER — position:absolute → flex akışını BOZMAZ ═══════ */
.hamburger {
    display: none; /* masaüstünde tamamen gizli */
    position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; width: 40px; height: 40px;
    background: none; border: none; cursor: pointer;
    padding: 8px; z-index: 110;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: rgba(255,255,255,0.85); border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.25s ease;
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translateY(7px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translateY(-7px); }

/* ══ RESPONSIVE ════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .glass-nav { padding: 18px 30px; }
    .hero-title { font-size: 3.2rem; }
}

@media (max-width: 768px) {
    /* Nav ana çubuğu */
    .glass-nav { padding: 12px 18px; }
    .nav-brand { font-size: 1.35rem; }

    /* Hamburger — absolute ile flex akışından tamamen çıkmış */
    .hamburger { display: flex; right: 18px; }

    /* Nav menü — mobilde flex akışından çıkar, sadece .mobile-open ile görünür */
    .nav-menu {
        display: none;
    }
    /* hidden-on-start animasyonunu sıfırla ki menü açılınca görünsün */
    .nav-menu.hidden-on-start {
        opacity: 1 !important; transform: none !important; transition: none !important;
    }
    /* Menü açıkken: fixed panel olarak göster */
    .nav-menu.mobile-open {
        display: flex;
        position: fixed;
        top: 54px; left: 0; right: 0;
        flex-direction: column; gap: 0;
        background: rgba(8, 8, 18, 0.97);
        backdrop-filter: blur(28px);
        border-bottom: 1px solid rgba(255,255,255,0.08);
        padding: 6px 0 18px;
        z-index: 99;
        animation: mobileMenuIn 0.2s ease forwards;
    }
    @keyframes mobileMenuIn {
        from { opacity: 0; transform: translateY(-10px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    /* Panel linkleri — büyük, kolay tıklanabilir */
    .nav-menu .nav-link {
        display: block; padding: 15px 22px;
        font-size: 0.98rem; font-weight: 500;
        color: rgba(255,255,255,0.72);
        border-bottom: 1px solid rgba(255,255,255,0.06);
        text-decoration: none; transition: background 0.15s, color 0.15s;
    }
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link:active { background: rgba(108,93,211,0.12); color: #fff; }

    .nav-menu .nav-btn-login {
        display: block; margin: 14px 20px 0;
        text-align: center; padding: 13px 20px;
        font-size: 0.9rem; border-radius: 14px;
    }

    /* Kullanıcı dropdown mobilde */
    .nav-menu .nav-user-container { padding: 12px 20px 0; }
    .nav-menu .user-btn { width: 100%; justify-content: flex-start; border-radius: 12px; }
    .nav-menu .dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: rgba(255,255,255,0.04); margin-top: 8px; width: 100%; }

    /* Hero — ortala, metin küçült */
    .hero-section { padding-left: 5%; padding-right: 5%; align-items: center; text-align: center; }
    .hero-content { text-align: center; max-width: 100%; }
    .hero-title { font-size: 2.3rem; line-height: 1.15; }
    .hero-desc { font-size: 0.95rem; margin-bottom: 28px; }

    /* Butonlar — dikey ve geniş */
    .button-group { flex-direction: column; gap: 14px; align-items: center; }
    .btn-liquid { width: 100%; max-width: 300px; text-align: center; padding: 17px 28px; font-size: 1rem; }
    .btn-glass  { width: 100%; max-width: 300px; justify-content: center; padding: 17px 28px; font-size: 1rem; }
    .hero-secondary-btns { justify-content: center; }
    .hero-download-sub { display: none; }

    /* Modal */
    .glass-card { width: 92vw; padding: 28px 20px; border-radius: 20px; }
    .modal-title { font-size: 1.5rem; }
    .input-field { margin-bottom: 16px; }

    /* Dropdown menü (user dropdown) */
    .dropdown-menu { width: min(200px, 85vw); right: 0; }
}

@media (max-width: 480px) {
    /* Nav */
    .glass-nav { padding: 10px 14px; }
    .nav-brand { font-size: 1.2rem; }
    .hamburger { right: 14px; }
    .nav-menu.mobile-open { top: 46px; }

    /* Hero */
    .hero-section { padding-left: 5%; padding-right: 5%; }
    .hero-title { font-size: 2rem; line-height: 1.15; }
    .hero-desc { font-size: 0.9rem; margin-bottom: 26px; }

    /* Butonlar */
    .btn-liquid, .btn-glass { padding: 16px 24px; max-width: 280px; font-size: 0.95rem; }

    /* Modal */
    .glass-card { width: 96vw; padding: 24px 16px; border-radius: 18px; }
    .modal-title { font-size: 1.35rem; margin-bottom: 18px; }
    .btn-neon { padding: 13px; font-size: 0.95rem; }
    .input-field input { font-size: 16px; } /* iOS zoom engelle */
}

/* ══ INFO / HOW IT WORKS SECTION ══════════════════════════════════ */
.info-section {
    position: relative; z-index: 10;
    padding: 90px 10% 110px;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-color) 10%, var(--bg-color) 100%);
}

.info-container { max-width: 1100px; margin: 0 auto; }

.info-header { text-align: center; margin-bottom: 64px; }

.info-tag {
    display: inline-block; font-size: 0.68rem; font-weight: 700; letter-spacing: 3px;
    color: #a78bfa; background: rgba(108,93,211,0.1);
    border: 1px solid rgba(108,93,211,0.25); border-radius: 20px;
    padding: 5px 16px; margin-bottom: 20px; text-transform: uppercase;
}

.info-heading {
    font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.2;
    margin-bottom: 18px; letter-spacing: -1px;
}

.text-gradient-gold {
    background: linear-gradient(135deg, var(--accent) 0%, #ff9500 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-subheading {
    font-size: 1rem; color: rgba(255,255,255,0.45);
    max-width: 480px; margin: 0 auto; line-height: 1.65;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
    gap: 20px;
}

.info-card-item {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px; padding: 32px 28px;
    transition: transform .3s, border-color .3s, box-shadow .3s;
}

.info-card-item:hover {
    transform: translateY(-6px);
    border-color: rgba(108,93,211,0.35);
    box-shadow: 0 20px 40px rgba(108,93,211,0.12);
}

.info-card-icon { font-size: 2.4rem; margin-bottom: 18px; line-height: 1; }

.info-card-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; }

.info-card-item p { font-size: 0.88rem; color: rgba(255,255,255,0.45); line-height: 1.65; }

@media (max-width: 768px) {
    .info-section { padding: 70px 6% 80px; }
    .info-heading  { font-size: 1.85rem; }
    .info-cards    { gap: 14px; }
    .info-card-item { padding: 24px 20px; }
}

@media (max-width: 480px) {
    .info-section { padding: 50px 5% 60px; }
    .info-cards   { grid-template-columns: 1fr; }
    .info-card-item { padding: 22px 18px; }
}