/* ============================================================
   SocialQuantum — SMM Panel Teması
   Light (gündüz) + Dark (gece) modu
   ============================================================ */

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

/* ---------- THEME TOKENS ---------- */
:root,
[data-theme="light"] {
  --bg:            #f3f4fb;
  --bg-tint-1:     rgba(168, 85, 247, .10);
  --bg-tint-2:     rgba(236, 72, 153, .08);
  --surface:       #ffffff;
  --surface-2:     #f7f7fc;
  --surface-glass: rgba(255,255,255,.72);
  --border:        rgba(20, 16, 41, .08);
  --border-strong: rgba(20, 16, 41, .14);
  --heading:       #181235;
  --text:          #3b3550;
  --text-muted:    #8b86a3;
  --input-bg:      #f6f6fb;
  --shadow:        0 18px 50px -18px rgba(72, 40, 120, .22);
  --shadow-sm:     0 8px 24px -10px rgba(72, 40, 120, .18);
  --globe-glow:    rgba(168,85,247,.18);
  --grid-line:     rgba(20,16,41,.06);
  --table-head:    #f4f4fa;
  --row-hover:     #faf8ff;
  --wave-op:       .55;
}

[data-theme="dark"] {
  --bg:            #0a0612;
  --bg-tint-1:     rgba(168, 85, 247, .22);
  --bg-tint-2:     rgba(217, 70, 239, .14);
  --surface:       #120c20;
  --surface-2:     #160f27;
  --surface-glass: rgba(22, 14, 38, .55);
  --border:        rgba(168, 85, 247, .16);
  --border-strong: rgba(168, 85, 247, .30);
  --heading:       #f3effb;
  --text:          #c6bedd;
  --text-muted:    #8b80a8;
  --input-bg:      rgba(255,255,255,.03);
  --shadow:        0 24px 60px -20px rgba(0,0,0,.7);
  --shadow-sm:     0 10px 30px -12px rgba(0,0,0,.6);
  --globe-glow:    rgba(217,70,239,.35);
  --grid-line:     rgba(168,85,247,.10);
  --table-head:    rgba(255,255,255,.025);
  --row-hover:     rgba(168,85,247,.06);
  --wave-op:       .9;
}

/* shared accent */
:root {
  --acc-1: #a855f7;
  --acc-2: #ec4899;
  --acc-3: #6366f1;
  --grad:  linear-gradient(100deg, #8b5cf6 0%, #c026d3 55%, #ec4899 100%);
  --grad-text: linear-gradient(100deg, #a855f7, #ec4899);
  --radius: 18px;
  --radius-sm: 12px;
}

/* ---------- RESET ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .4s ease, color .4s ease;
  position: relative;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img { max-width: 100%; }

/* atmospheric background blobs */
body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
body::before { width: 540px; height: 540px; top: -160px; left: -140px; background: var(--bg-tint-1); }
body::after  { width: 600px; height: 600px; bottom: -200px; right: -160px; background: var(--bg-tint-2); }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }

/* ---------- HEADER ---------- */
header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: var(--surface-glass);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.35rem; color: var(--heading); }
.brand .logo {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--grad);
  display: grid; place-items: center;
  font-weight: 800; color: #fff; font-size: 1.05rem;
  box-shadow: 0 8px 20px -6px rgba(192,38,211,.55);
}
.brand b { font-weight: 800; }
.brand span { font-weight: 500; color: var(--text); }

.menu { display: flex; align-items: center; gap: 30px; }
.menu a {
  font-size: .94rem; font-weight: 500; color: var(--text);
  display: inline-flex; align-items: center; gap: 7px;
  transition: color .2s; white-space: nowrap;
}
.menu a:hover, .menu a.active { color: var(--acc-1); }
.menu a svg { width: 17px; height: 17px; }

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

.theme-btn {
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--heading); background: var(--surface-2);
  transition: .25s;
}
.theme-btn:hover { border-color: var(--acc-1); color: var(--acc-1); transform: translateY(-2px); }
.theme-btn svg { width: 20px; height: 20px; }
.theme-btn .moon { display: none; }
[data-theme="dark"] .theme-btn .sun { display: none; }
[data-theme="dark"] .theme-btn .moon { display: block; }

.btn-panel {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 22px; border-radius: 13px;
  border: 1px solid var(--acc-1); color: var(--acc-1);
  font-weight: 600; font-size: .92rem; transition: .25s;
}
.btn-panel:hover { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 10px 24px -8px rgba(192,38,211,.5); }
.btn-panel svg { width: 16px; height: 16px; }

.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border-strong); color: var(--heading); place-items: center; }
.burger svg { width: 22px; height: 22px; }

/* ---------- HERO ---------- */
.hero { display: grid; grid-template-columns: minmax(380px, 460px) 1fr; gap: 48px; padding: 56px 0 90px; align-items: start; }

.login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 42px 40px;
  box-shadow: var(--shadow);
}
[data-theme="dark"] .login-card { background: linear-gradient(160deg, rgba(30,20,52,.6), rgba(15,9,28,.75)); }

.login-card h1 { font-size: 2.45rem; line-height: 1.12; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.login-card h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.login-card .sub { color: var(--text-muted); margin-top: 14px; font-size: 1rem; }

.tabs { display: flex; gap: 6px; background: var(--input-bg); border: 1px solid var(--border); border-radius: 14px; padding: 6px; margin: 30px 0 26px; }
.tab {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px; border-radius: 10px; font-weight: 600; font-size: .92rem; color: var(--text-muted);
  transition: .25s;
}
.tab svg { width: 17px; height: 17px; }
.tab.on { background: var(--surface); color: var(--acc-1); box-shadow: var(--shadow-sm); }
[data-theme="dark"] .tab.on { background: rgba(168,85,247,.15); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; font-weight: 600; color: var(--heading); margin-bottom: 9px; }
.input {
  display: flex; align-items: center; gap: 11px;
  background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 13px; padding: 0 15px; height: 52px;
  transition: .2s;
}
.input:focus-within { border-color: var(--acc-1); box-shadow: 0 0 0 4px rgba(168,85,247,.12); }
.input svg { width: 18px; height: 18px; color: var(--text-muted); flex-shrink: 0; }
.input input { flex: 1; background: none; border: none; outline: none; color: var(--heading); font-size: .95rem; }
.input input::placeholder { color: var(--text-muted); }
.input .eye { cursor: pointer; }

.row-between { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 22px; font-size: .9rem; }
.check { display: flex; align-items: center; gap: 9px; color: var(--text); cursor: pointer; }
.check input { width: 17px; height: 17px; accent-color: var(--acc-1); }
.forgot { color: var(--acc-2); font-weight: 600; }

.btn-primary {
  width: 100%; height: 54px; border-radius: 14px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 1rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 14px 30px -10px rgba(192,38,211,.55); transition: .25s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(192,38,211,.7); }
.btn-primary svg { width: 18px; height: 18px; }

.divider { text-align: center; color: var(--text-muted); font-size: .88rem; margin: 20px 0; position: relative; }
.divider::before, .divider::after { content: ""; position: absolute; top: 50%; width: 40%; height: 1px; background: var(--border); }
.divider::before { left: 0; } .divider::after { right: 0; }

.btn-google {
  width: 100%; height: 54px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--border-strong); color: var(--heading);
  font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 11px; transition: .25s;
}
[data-theme="dark"] .btn-google { background: #fff; color: #181235; }
.btn-google:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-google svg { width: 20px; height: 20px; }

.signup-line { text-align: center; margin-top: 24px; color: var(--text-muted); font-size: .92rem; }
.signup-line a { color: var(--acc-2); font-weight: 700; }

/* ---------- HERO RIGHT (visual) ---------- */
.visual { position: relative; }

.globe-stage { position: relative; height: 330px; margin-bottom: -34px; }
.globe {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 360px; height: 360px;
}
.globe .sphere {
  position: absolute; inset: 30px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, var(--globe-glow), transparent 60%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 5px, var(--grid-line) 5px 6px);
  box-shadow: inset 0 0 60px -10px var(--globe-glow), 0 0 80px -20px var(--globe-glow);
  -webkit-mask: radial-gradient(circle, #000 64%, transparent 66%);
          mask: radial-gradient(circle, #000 64%, transparent 66%);
  animation: spin 50s linear infinite;
}
.globe svg.net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.globe .ring { position: absolute; inset: 12px; border-radius: 50%; border: 1px dashed var(--border-strong); animation: spin 38s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.soc { position: absolute; width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; box-shadow: var(--shadow); background: var(--surface); animation: float 5s ease-in-out infinite; }
[data-theme="dark"] .soc { box-shadow: 0 0 26px -4px var(--globe-glow); }
.soc svg { width: 30px; height: 30px; }
.soc.ig  { top: 50px;  left: 60px;  } 
.soc.tt  { top: 78px;  right: 56px; animation-delay: .6s; }
.soc.yt  { top: 175px; left: 18px;  animation-delay: 1.2s; background: #ff0000; }
.soc.fb  { top: 185px; right: 8px;  animation-delay: 1.8s; background: #1877f2; }
.soc.yt svg, .soc.fb svg { fill: #fff; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* stats panel */
.panel {
  position: relative; z-index: 3;
  background: var(--surface-glass); backdrop-filter: blur(20px);
  border: 1px solid var(--border); border-radius: 22px;
  padding: 26px; box-shadow: var(--shadow);
}
[data-theme="dark"] .panel { background: linear-gradient(160deg, rgba(30,20,52,.55), rgba(15,9,28,.7)); }
.panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel-head h3 { font-size: 1.1rem; color: var(--heading); font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 7px; font-size: .85rem; font-weight: 600; color: #16a34a; }
.live .dot { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{ box-shadow:0 0 0 3px rgba(22,163,74,.22);} 50%{ box-shadow:0 0 0 7px rgba(22,163,74,0);} }

.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-bottom: 22px; }
.stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 15px; padding: 16px 14px; }
[data-theme="dark"] .stat { background: rgba(255,255,255,.025); }
.stat .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(168,85,247,.12); color: var(--acc-1); margin-bottom: 10px; }
.stat .ic svg { width: 18px; height: 18px; }
.stat .num { font-size: 1.45rem; font-weight: 800; color: var(--heading); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat .lbl { font-size: .78rem; color: var(--text-muted); margin-top: 6px; }

.chart-box { position: relative; }
.chart-box svg { width: 100%; height: 150px; display: block; }
.chart-days { display: flex; justify-content: space-between; font-size: .76rem; color: var(--text-muted); margin-top: 8px; padding: 0 4px; }
.tooltip { position: absolute; top: 8px; left: 64%; transform: translateX(-50%); background: var(--grad); color: #fff; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; box-shadow: 0 6px 14px -4px rgba(192,38,211,.6); }
.tooltip::after { content: ""; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%) rotate(45deg); width: 9px; height: 9px; background: #c026d3; }

/* feature cards */
.features { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 24px; }
.feature { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; transition: .25s; }
[data-theme="dark"] .feature { background: rgba(255,255,255,.02); }
.feature:hover { transform: translateY(-4px); border-color: var(--acc-1); box-shadow: var(--shadow-sm); }
.feature .fic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(168,85,247,.12); color: var(--acc-1); margin-bottom: 13px; }
.feature .fic svg { width: 20px; height: 20px; }
.feature h4 { font-size: .98rem; color: var(--heading); font-weight: 700; margin-bottom: 6px; }
.feature p { font-size: .82rem; color: var(--text-muted); }

/* ---------- WAVE FOOTER DECOR ---------- */
.wave { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 1; pointer-events: none; opacity: var(--wave-op); }
.wave svg { width: 100%; height: 180px; display: block; }

/* ============================================================
   HİZMETLER / SERVİSLER SAYFASI
   ============================================================ */
.page-head { padding: 50px 0 26px; }
.page-head h1 { font-size: 2.2rem; font-weight: 800; color: var(--heading); letter-spacing: -.02em; }
.page-head h1 .grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-head p { color: var(--text-muted); margin-top: 8px; }

.toolbar {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 18px; margin-bottom: 22px; box-shadow: var(--shadow-sm);
}
.tool-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--acc-3); color: #fff; font-weight: 600; font-size: .9rem;
  padding: 13px 18px; border-radius: 12px; transition: .2s;
}
.tool-btn.alt { background: var(--acc-1); }
.tool-btn:hover { filter: brightness(1.08); }
.tool-btn svg { width: 16px; height: 16px; }
.search-bar { flex: 1; display: flex; align-items: center; }
.search-bar input {
  flex: 1; height: 50px; background: var(--input-bg); border: 1px solid var(--border);
  border-radius: 12px 0 0 12px; padding: 0 18px; color: var(--heading); font-size: .95rem; outline: none;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  height: 50px; width: 56px; border-radius: 0 12px 12px 0;
  background: var(--text-muted); color: #fff; display: grid; place-items: center;
}
[data-theme="dark"] .search-bar button { background: rgba(255,255,255,.1); }
.search-bar button svg { width: 18px; height: 18px; }

.services-table {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 60px;
}
.t-head {
  display: grid;
  grid-template-columns: 70px minmax(280px,1fr) 130px 110px 130px 150px 110px;
  gap: 12px; padding: 18px 24px; background: var(--table-head);
  font-weight: 700; font-size: .82rem; color: var(--heading);
  border-bottom: 1px solid var(--border); align-items: center;
}
.t-head .helper { display: inline-flex; align-items: center; gap: 5px; }
.t-head .helper .q { width: 15px; height: 15px; border-radius: 50%; background: var(--acc-2); color: #fff; font-size: .65rem; display: grid; place-items: center; font-weight: 700; }

.cat-bar {
  background: linear-gradient(90deg, #c026d3, #db2777);
  color: #fff; font-weight: 700; font-size: .96rem;
  padding: 14px 24px; display: flex; align-items: center; gap: 9px; letter-spacing: .01em;
}
.cat-bar .badge { background: rgba(255,255,255,.22); border-radius: 6px; padding: 1px 7px; font-size: .72rem; font-weight: 700; }

.t-row {
  display: grid;
  grid-template-columns: 70px minmax(280px,1fr) 130px 110px 130px 150px 110px;
  gap: 12px; padding: 16px 24px; align-items: center;
  border-bottom: 1px solid var(--border); font-size: .9rem; transition: background .15s;
}
.t-row:hover { background: var(--row-hover); }
.t-row .id { font-weight: 700; color: var(--text-muted); }
.t-row .svc { color: var(--text); line-height: 1.4; }
.t-row .svc .flag { font-size: .68rem; font-weight: 800; background: var(--input-bg); border: 1px solid var(--border); padding: 1px 5px; border-radius: 5px; color: var(--heading); margin-right: 4px; vertical-align: middle; }
.t-row .rate { font-weight: 700; color: var(--heading); }
.t-row .num-c { color: var(--text); }
.t-row .time { color: var(--text); }
.t-row .time.new { color: #16a34a; font-weight: 600; }
.btn-view {
  background: var(--acc-3); color: #fff; font-weight: 600; font-size: .82rem;
  padding: 9px 16px; border-radius: 9px; transition: .2s; justify-self: start;
}
.btn-view:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* whatsapp float */
.wa { position: fixed; bottom: 26px; right: 26px; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6); z-index: 40; transition: .25s; }
.wa:hover { transform: scale(1.08); }
.wa svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; }
  .menu, .btn-panel span { display: none; }
  .burger { display: grid; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .stats, .features { grid-template-columns: repeat(2,1fr); }
  .login-card { padding: 30px 22px; }
  .login-card h1 { font-size: 2rem; }
  .t-head { display: none; }
  .t-row { grid-template-columns: 1fr 1fr; gap: 6px 14px; padding: 16px; }
  .t-row .svc { grid-column: 1 / -1; font-weight: 600; color: var(--heading); }
  .t-row .id::before { content: "ID: "; color: var(--text-muted); font-weight: 500; }
  .t-row .rate::before { content: "1000/oran: "; color: var(--text-muted); font-weight: 500; font-size: .78rem; }
  .t-row .min-c::before { content: "Min: "; color: var(--text-muted); }
  .t-row .max-c::before { content: "Max: "; color: var(--text-muted); }
  .t-row .time::before { content: "Süre: "; color: var(--text-muted); }
  .btn-view { grid-column: 1 / -1; text-align: center; justify-self: stretch; }
  .toolbar { flex-wrap: wrap; }
  .search-bar { order: 3; width: 100%; }
}
