/* =========================================================
   ElevenBank — site.css
   Ana sayfa (Home/Index) için ortak stiller
   ========================================================= */

:root {
  --bg: #080c14;
  --surface: #0e1420;
  --surface2: #141c2e;
  --border: rgba(255,255,255,0.07);
  --accent: #2563eb;
  --accent2: #3b82f6;
  --gold: #c9a84c;
  --text: #f0f4ff;
  --muted: #6b7a99;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
  font-family:'DM Sans', sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

/* ── BACKGROUND ── */
.bg-grid {
  position:fixed; inset:0;
  background-image:
    linear-gradient(rgba(37,99,235,0.03) 1px, transparent 1px),
    linear-gradient(90deg,rgba(37,99,235,0.03) 1px,transparent 1px);
  background-size:60px 60px;
  pointer-events:none; z-index:0;
}
.bg-glow {
  position:fixed; top:-200px; left:50%; transform:translateX(-50%);
  width:800px; height:600px;
  background:radial-gradient(ellipse,rgba(37,99,235,0.12) 0%,transparent 70%);
  pointer-events:none; z-index:0;
}

/* ── NAV ── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  padding:20px 40px;
  display:flex; justify-content:space-between; align-items:center;
  background:rgba(8,12,20,0.8); backdrop-filter:blur(20px);
  border-bottom:1px solid var(--border);
}
.nav-logo {
  font-family:'Syne',sans-serif; font-weight:800; font-size:22px;
  color:var(--text); text-decoration:none;
  display:flex; align-items:center; gap:10px;
}
.nav-logo span { color:var(--accent2); }
.logo-icon {
  width:36px; height:36px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:18px;
}
.nav-links { display:flex; gap:32px; list-style:none; }
.nav-links a { color:var(--muted); text-decoration:none; font-size:14px; font-weight:500; transition:color 0.2s; }
.nav-links a:hover { color:var(--text); }
.nav-cta {
  background:var(--accent); color:#fff !important;
  padding:10px 22px; border-radius:8px; font-weight:500;
  transition:background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background:var(--accent2) !important; transform:translateY(-1px); }

/* ── MAIN ── */
main { position:relative; z-index:1; }

/* ── HERO ── */
.hero {
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  text-align:center; padding:120px 24px 80px;
}
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(37,99,235,0.1); border:1px solid rgba(37,99,235,0.3);
  color:var(--accent2); padding:8px 18px; border-radius:100px;
  font-size:13px; font-weight:500; margin-bottom:32px;
  animation:fadeUp 0.6s ease both;
}
.hero-badge::before {
  content:''; width:6px; height:6px;
  background:var(--accent2); border-radius:50%; animation:pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.4)} }

.hero h1 {
  font-family:'Syne',sans-serif; font-size:clamp(40px,7vw,80px);
  font-weight:800; line-height:1.05; letter-spacing:-2px;
  margin-bottom:24px; animation:fadeUp 0.6s ease 0.1s both;
}
.hero h1 .highlight {
  background:linear-gradient(135deg,var(--accent2),#60a5fa,#93c5fd);
  -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.hero p {
  font-size:clamp(16px,2vw,20px); color:var(--muted); max-width:560px;
  margin:0 auto 48px; line-height:1.7; font-weight:300;
  animation:fadeUp 0.6s ease 0.2s both;
}
.hero-buttons {
  display:flex; gap:16px; justify-content:center; flex-wrap:wrap;
  animation:fadeUp 0.6s ease 0.3s both;
}

/* ── BUTTONS ── */
.btn-primary {
  background:var(--accent); color:#fff;
  padding:16px 32px; border-radius:12px;
  font-size:15px; font-weight:600; text-decoration:none;
  transition:all 0.2s; display:flex; align-items:center; gap:8px;
  border:none; cursor:pointer;
}
.btn-primary:hover { background:var(--accent2); transform:translateY(-2px); box-shadow:0 12px 40px rgba(37,99,235,0.4); }
.btn-secondary {
  background:transparent; color:var(--text);
  padding:16px 32px; border-radius:12px;
  font-size:15px; font-weight:500; text-decoration:none;
  transition:all 0.2s; border:1px solid var(--border);
}
.btn-secondary:hover { background:var(--surface); border-color:rgba(255,255,255,0.15); }

/* ── STATS ── */
.stats { padding:0 24px 100px; }
.stats-grid {
  max-width:900px; margin:0 auto;
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:1px; background:var(--border);
  border:1px solid var(--border); border-radius:16px; overflow:hidden;
}
.stat-item { background:var(--surface); padding:40px 32px; text-align:center; }
.stat-value { font-family:'Syne',sans-serif; font-size:42px; font-weight:800; line-height:1; margin-bottom:8px; }
.stat-value span { color:var(--accent2); }
.stat-label { font-size:13px; color:var(--muted); }

/* ── FEATURES ── */
.features { padding:80px 24px; }
.section-label { text-align:center; font-size:12px; font-weight:600; color:var(--accent2); text-transform:uppercase; letter-spacing:3px; margin-bottom:16px; }
.section-title { font-family:'Syne',sans-serif; font-size:clamp(28px,4vw,48px); font-weight:800; text-align:center; letter-spacing:-1px; margin-bottom:16px; }
.section-desc { text-align:center; color:var(--muted); font-size:16px; max-width:500px; margin:0 auto 64px; line-height:1.7; }

.features-grid { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.feature-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:16px; padding:32px; transition:all 0.3s;
  position:relative; overflow:hidden;
}
.feature-card::before {
  content:''; position:absolute; top:0; left:0; right:0; height:2px;
  background:linear-gradient(90deg,transparent,var(--accent2),transparent);
  opacity:0; transition:opacity 0.3s;
}
.feature-card:hover { border-color:rgba(37,99,235,0.3); transform:translateY(-4px); box-shadow:0 20px 60px rgba(0,0,0,0.3); }
.feature-card:hover::before { opacity:1; }
.feature-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:20px; }
.feature-card h3 { font-family:'Syne',sans-serif; font-size:18px; font-weight:700; margin-bottom:10px; }
.feature-card p { font-size:14px; color:var(--muted); line-height:1.7; }

/* ── SECURITY ── */
.security { padding:80px 24px; }
.security-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
.security-content h2 { font-family:'Syne',sans-serif; font-size:clamp(28px,3.5vw,44px); font-weight:800; letter-spacing:-1px; margin-bottom:20px; line-height:1.1; }
.security-content p { color:var(--muted); font-size:16px; line-height:1.7; margin-bottom:32px; }
.security-list { list-style:none; display:flex; flex-direction:column; gap:14px; }
.security-list li { display:flex; align-items:center; gap:12px; font-size:15px; }
.check {
  width:22px; height:22px; background:rgba(37,99,235,0.15);
  border:1px solid rgba(37,99,235,0.4); border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  font-size:11px; color:var(--accent2); flex-shrink:0;
}
.security-visual { background:var(--surface); border:1px solid var(--border); border-radius:20px; padding:32px; }
.card-visual {
  background:linear-gradient(135deg,#1a3c6e,#0e1f40);
  border-radius:16px; padding:28px; margin-bottom:20px;
  position:relative; overflow:hidden;
}
.card-visual::after {
  content:''; position:absolute; top:-40px; right:-40px;
  width:120px; height:120px; background:rgba(37,99,235,0.2); border-radius:50%;
}
.card-chip { width:40px; height:30px; background:linear-gradient(135deg,var(--gold),#e6c56b); border-radius:6px; margin-bottom:20px; }
.card-number { font-family:'Syne',sans-serif; font-size:16px; letter-spacing:4px; color:rgba(255,255,255,0.7); margin-bottom:16px; }
.card-footer-row { display:flex; justify-content:space-between; align-items:flex-end; }
.card-name { font-size:13px; color:rgba(255,255,255,0.6); text-transform:uppercase; letter-spacing:1px; }
.card-bank { font-family:'Syne',sans-serif; font-size:18px; font-weight:800; color:#fff; }
.mini-stats { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mini-stat { background:var(--surface2); border-radius:12px; padding:16px; }
.mini-stat-label { font-size:11px; color:var(--muted); margin-bottom:4px; }
.mini-stat-value { font-family:'Syne',sans-serif; font-size:20px; font-weight:700; }
.mini-stat-value.green { color:#4ade80; }
.mini-stat-value.blue  { color:var(--accent2); }

/* ── CTA ── */
.cta { padding:80px 24px 120px; text-align:center; }
.cta-inner {
  max-width:700px; margin:0 auto;
  background:var(--surface); border:1px solid var(--border);
  border-radius:24px; padding:64px 48px; position:relative; overflow:hidden;
}
.cta-inner::before {
  content:''; position:absolute; top:-100px; left:50%; transform:translateX(-50%);
  width:400px; height:300px;
  background:radial-gradient(ellipse,rgba(37,99,235,0.15) 0%,transparent 70%);
  pointer-events:none;
}
.cta-inner h2 { font-family:'Syne',sans-serif; font-size:clamp(28px,4vw,44px); font-weight:800; letter-spacing:-1px; margin-bottom:16px; }
.cta-inner p  { color:var(--muted); font-size:16px; margin-bottom:40px; line-height:1.7; }

/* ── FOOTER ── */
footer {
  position:relative; z-index:1;
  border-top:1px solid var(--border);
  padding:40px 24px; text-align:center;
}
footer p { color:var(--muted); font-size:13px; }

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 16px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
}

    .footer-links a {
        color: var(--muted);
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.2s;
    }

        .footer-links a:hover {
            color: var(--primary); /* ya da istediğin renk */
        }

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--muted);
    text-align: center;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
.fade-in { opacity:0; transform:translateY(30px); transition:opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

/* ── RESPONSIVE ── */
@media(max-width:768px) {
  nav { padding:16px 20px; }
  .nav-links { display:none; }
  .stats-grid { grid-template-columns:1fr; }
  .features-grid { grid-template-columns:1fr; }
  .security-inner { grid-template-columns:1fr; }
  .cta-inner { padding:40px 24px; }
}
/* MUSIC PLAYER */
.music-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: rgba(8,12,20,0.95);
    backdrop-filter: blur(24px);
    border-top: 1px solid var(--border);
    padding: 12px 32px;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}

    .music-bar.visible {
        transform: translateY(0);
    }

.music-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.music-bar.playing .music-thumb {
    animation: spin 8s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.music-info {
    flex: 1;
    min-width: 0;
}

.music-title {
    font-family: 'Syne', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.music-artist {
    font-size: 11px;
    color: var(--muted);
    margin-top: 2px;
}

.music-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.music-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

    .music-btn:hover {
        background: var(--accent);
        border-color: var(--accent);
    }

.music-play-btn {
    width: 42px;
    height: 42px;
    background: var(--accent);
    border-color: var(--accent);
    font-size: 16px;
}

    .music-play-btn:hover {
        background: var(--accent2);
    }

.music-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 20px;
}

    .music-bars span {
        width: 3px;
        background: var(--accent2);
        border-radius: 2px;
        height: 4px;
    }

.music-bar.playing .music-bars span:nth-child(1) {
    animation: bar 0.8s ease-in-out infinite 0.0s;
}

.music-bar.playing .music-bars span:nth-child(2) {
    animation: bar 0.8s ease-in-out infinite 0.2s;
}

.music-bar.playing .music-bars span:nth-child(3) {
    animation: bar 0.8s ease-in-out infinite 0.4s;
}

.music-bar.playing .music-bars span:nth-child(4) {
    animation: bar 0.8s ease-in-out infinite 0.1s;
}

.music-bar.playing .music-bars span:nth-child(5) {
    animation: bar 0.8s ease-in-out infinite 0.3s;
}

@keyframes bar {
    0%, 100% {
        height: 4px;
    }

    50% {
        height: 18px;
    }
}

.music-open-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 201;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    border: none;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 24px rgba(37,99,235,0.5);
    transition: all 0.3s;
}

    .music-open-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 32px rgba(37,99,235,0.7);
    }

    .music-open-btn.up {
        bottom: 80px;
    }

/* MOBILE */
@media (max-width: 768px) {
    nav {
        padding: 16px 20px;
    }

    .nav-links {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .security-inner {
        grid-template-columns: 1fr;
    }

    .cta-inner {
        padding: 40px 24px;
    }

    .music-bar {
        padding: 12px 16px;
        gap: 12px;
    }

    .music-bars {
        display: none;
    }
}
