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

html {
  scroll-behavior: smooth
}

:root {
  --bg: #060d1f;
  --bg2: #0a1428;
  --bg3: #0f1e38;
  --surface: #112044;
  --surface2: #162a55;
  --border: rgba(255, 255, 255, 0.06);
  --border2: rgba(255, 255, 255, 0.1);
  --border3: rgba(255, 255, 255, 0.15);
  --text: #e8f0ff;
  --text2: #7a9abf;
  --text3: #3a5070;
  --cyan: #00d4ff;
  --cyan2: #00b8e0;
  --cyan-lt: rgba(0, 212, 255, 0.1);
  --cyan-lt2: rgba(0, 212, 255, 0.06);
  --blue: #2563eb;
  --blue2: #3b82f6;
  --purple: #7c3aed;
  --ff: 'Inter', sans-serif;
  --ffd: 'Plus Jakarta Sans', sans-serif;
  --r: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 13, 31, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 68px;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ffd);
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--cyan), var(--blue2));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-icon i {
  font-size: 16px;
  color: #fff;
}

.nav-logo span {
  color: var(--cyan);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all .15s;
  white-space: nowrap;
}

.nav-links a i {
  font-size: 13px;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

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

.btn-outline-cyan {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan);
  padding: 8px 18px;
  border-radius: 9px;
  border: 1.5px solid var(--cyan);
  transition: all .15s;
  white-space: nowrap;
}

.btn-outline-cyan:hover {
  background: var(--cyan-lt);
}

.btn-purple {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 8px 18px;
  border-radius: 9px;
  background: var(--purple);
  border: 1.5px solid var(--purple);
  transition: all .15s;
  white-space: nowrap;
}

.btn-purple:hover {
  background: #6d28d9;
}

/* Koyu turuncu — giriş yapmış kullanıcı: Yönetim Paneli */
.btn-admin-panel {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  padding: 8px 18px;
  border-radius: 9px;
  background: #c2410c;
  border: 1.5px solid #9a3412;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
  transition: all .15s;
  white-space: nowrap;
}

.btn-admin-panel:hover {
  background: #9a3412;
  border-color: #7c2d12;
  color: #fff;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text2);
  font-size: 20px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 20px;
  gap: 4px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text2);
  padding: 11px 14px;
  border-radius: 8px;
  transition: all .15s;
}

.mobile-menu a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.mobile-menu .mob-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

.mob-outline {
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  border-radius: 9px;
  justify-content: center;
}

.mob-purple {
  background: var(--purple);
  color: #fff;
  border-radius: 9px;
  justify-content: center;
}

.mob-admin-panel {
  background: #c2410c;
  color: #fff;
  border: 1.5px solid #9a3412;
  border-radius: 9px;
  justify-content: center;
  font-weight: 600;
}

.mob-admin-panel:hover {
  background: #9a3412;
  color: #fff;
}


.hero {
  padding: 160px 24px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.08) 0%, transparent 65%);
  pointer-events: none;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--cyan-lt);
  border: 1px solid rgba(0, 212, 255, 0.25);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1
  }

  50% {
    opacity: .3
  }
}

.hero h1 {
  font-family: var(--ffd);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--text);
  margin-bottom: 14px;
}

.hero h1 span {
  color: var(--cyan);
}

.hero-slogan {
  font-family: var(--ffd);
  font-size: clamp(16px, 2.5vw, 22px);
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 20px;
  font-style: italic;
}

.hero-slogan i {
  color: var(--cyan);
  margin-right: 6px;
}

.hero-desc {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text2);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--cyan);
  color: #050d1e;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  transition: all .15s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--cyan2);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 12px;
  border: 1.5px solid var(--border2);
  transition: all .15s;
  cursor: pointer;
}

.btn-secondary:hover {
  border-color: var(--border3);
  background: rgba(255, 255, 255, 0.04);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-num {
  font-family: var(--ffd);
  font-size: 32px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text2);
}


.hero-visual {
  margin-top: 70px;
  position: relative;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-visual-img {
  width: 100%;
  border-radius: var(--r-xl);
  border: 1px solid var(--border2);
  overflow: hidden;
  background: var(--bg3);
}

.hero-visual-img picture {
  display: block;
  width: 100%;
}

.hero-visual-img img {
  width: 100%;
  height: auto;
  display: block;

}

.hero-visual-img .img-placeholder {
  width: 100%;
  min-height: 0;
  background: linear-gradient(135deg, var(--bg3), var(--surface));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text3);
  font-size: 14px;
}

.hero-visual-img .img-placeholder i {
  font-size: 40px;
  color: var(--text3);
}

.hero-float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .4);
}

.fc-1 {
  bottom: -16px;
  left: 32px;
}

.fc-2 {
  top: 24px;
  right: -16px;
}

.fc-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.fc-icon.cyan {
  background: var(--cyan-lt);
  color: var(--cyan);
}

.fc-icon.green {
  background: rgba(16, 185, 129, .12);
  color: #10b981;
}

.fc-text-top {
  font-size: 11px;
  color: var(--text2);
}

.fc-text-bot {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}


section {
  padding: 90px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 14px;
}

.section-tag i {
  font-size: 12px;
}

.section-title {
  font-family: var(--ffd);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-title span {
  color: var(--cyan);
}

.section-sub {
  font-size: 16px;
  color: var(--text2);
  max-width: 580px;
  line-height: 1.8;
}

.text-center {
  text-align: center;
}

.text-center .section-sub {
  margin: 0 auto;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}


.features-section {
  background: var(--bg);
}

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

.feature-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color .2s, transform .2s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--blue2));
  opacity: 0;
  transition: opacity .2s;
}

.feature-card:hover {
  border-color: var(--border2);
  transform: translateY(-3px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feat-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: var(--cyan-lt);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 18px;
}

.feat-title {
  font-family: var(--ffd);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.feat-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.7;
}


.how-section {
  background: var(--bg2);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 56px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.how-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s;
}

.how-step:hover {
  border-color: var(--border2);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), var(--blue2));
  color: #fff;
  font-family: var(--ffd);
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-content {}

.step-title {
  font-family: var(--ffd);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 14px;
  color: var(--text2);
}

.how-visual {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border2);
  background: var(--bg3);
}

.how-visual img {
  width: 100%;
}

.how-visual .img-placeholder {
  width: 100%;
  height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--text3);
  font-size: 13px;
}

.how-visual .img-placeholder i {
  font-size: 48px;
}


.about-section {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border2);
  background: var(--bg3);
}

.about-img img {
  width: 100%;
}

.about-img .img-placeholder {
  width: 100%;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  color: var(--text3);
  font-size: 13px;
}

.about-img .img-placeholder i {
  font-size: 48px;
}

.about-content {}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.about-value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r);
}

.av-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.av-icon.c1 {
  background: var(--cyan-lt);
  color: var(--cyan);
}

.av-icon.c2 {
  background: rgba(124, 58, 237, .12);
  color: #a78bfa;
}

.av-icon.c3 {
  background: rgba(16, 185, 129, .12);
  color: #10b981;
}

.av-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.av-desc {
  font-size: 13px;
  color: var(--text2);
}


.use-section {
  background: var(--bg2);
}

.use-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.use-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s;
}

.use-card:hover {
  border-color: var(--border2);
}

.use-icon {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
}

.use-icon.c1 {
  background: var(--cyan-lt);
  color: var(--cyan);
}

.use-icon.c2 {
  background: rgba(37, 99, 235, .12);
  color: var(--blue2);
}

.use-icon.c3 {
  background: rgba(124, 58, 237, .12);
  color: #a78bfa;
}

.use-icon.c4 {
  background: rgba(16, 185, 129, .12);
  color: #10b981;
}

.use-icon.c5 {
  background: rgba(245, 158, 11, .12);
  color: #f59e0b;
}

.use-icon.c6 {
  background: rgba(239, 68, 68, .12);
  color: #f87171;
}

.use-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.use-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}


.why-section {
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.why-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s, transform .2s;
}

.why-card:hover {
  border-color: rgba(0, 212, 255, .2);
  transform: translateY(-3px);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin: 0 auto 18px;
  background: var(--cyan-lt);
  color: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.why-title {
  font-family: var(--ffd);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.why-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}


.cta-section {
  background: var(--bg2);
  padding: 100px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: var(--ffd);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.025em;
  color: var(--text);
  margin-bottom: 16px;
  position: relative;
}

.cta-title span {
  color: var(--cyan);
}

.cta-sub {
  font-size: 17px;
  color: var(--text2);
  max-width: 500px;
  margin: 0 auto 36px;
  line-height: 1.8;
  position: relative;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  position: relative;
}


footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 28px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ffd);
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cyan), var(--blue2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon i {
  font-size: 15px;
  color: #fff;
}

.footer-logo span {
  color: var(--cyan);
}

.footer-brand-desc {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.75;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1px solid var(--border2);
  color: var(--text2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  transition: all .15s;
}

.social-btn:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text2);
  transition: color .15s;
}

.footer-links a i {
  font-size: 11px;
  color: var(--text3);
}

.footer-links a:hover {
  color: var(--cyan);
}

.footer-links a:hover i {
  color: var(--cyan);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text2);
  margin-bottom: 12px;
}

.footer-contact-item i {
  font-size: 14px;
  color: var(--cyan);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom-text {
  font-size: 13px;
  color: var(--text3);
}

.footer-bottom-text span {
  color: var(--text2);
}

.footer-bottom-heart {
  color: #ef4444;
}


@media(max-width:1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media(max-width:768px) {

  .nav-links,
  .nav-btns {
    display: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
  }

  .how-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .how-visual,
  .about-img {
    order: -1;
  }

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

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

  .hero-stats {
    gap: 28px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .fc-1,
  .fc-2 {
    display: none;
  }
}

@media(max-width:480px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 130px 20px 80px;
  }

  section {
    padding: 64px 0;
  }
}

.page-legal {
  padding: 100px 24px 80px;
  min-height: 60vh;
  background: var(--bg);
}

.page-legal-inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 28px;
  transition: opacity 0.15s;
}

.page-legal-back:hover {
  opacity: 0.85;
}

.page-legal-back i {
  font-size: 12px;
}

.page-legal-header {
  margin-bottom: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border2);
}

.page-legal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 12px;
}

.page-legal-header h1 {
  font-family: var(--ffd);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 10px;
}

.page-legal-updated {
  font-size: 13px;
  color: var(--text3);
}

.page-legal-prose {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text2);
}

.page-legal-prose h2 {
  font-family: var(--ffd);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 14px;
  letter-spacing: -0.02em;
}

.page-legal-prose h2:first-of-type {
  margin-top: 0;
}

.page-legal-prose h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin: 24px 0 10px;
}

.page-legal-prose p {
  margin-bottom: 14px;
}

.page-legal-prose ul,
.page-legal-prose ol {
  margin: 0 0 16px 1.25em;
}

.page-legal-prose li {
  margin-bottom: 8px;
}

.page-legal-prose strong {
  color: var(--text);
  font-weight: 600;
}

.page-legal-prose a {
  color: var(--cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-legal-prose a:hover {
  color: var(--cyan2);
}

.page-legal-note {
  margin-top: 40px;
  padding: 18px 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  font-size: 13px;
  color: var(--text3);
  line-height: 1.65;
}

.page-legal-note strong {
  color: var(--text2);
}


/* --------------------------------------------------------------------------
   Auth pages (/login, /register)
   -------------------------------------------------------------------------- */

.auth-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  position: relative;
  overflow: hidden;
  padding-top: 68px;
  box-sizing: border-box;
}

.auth-glow-1 {
  position: absolute;
  top: -160px;
  left: 50%;
  width: 700px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0, 212, 255, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

.login-page .auth-glow-1 {
  transform: translateX(-60%);
}

.register-page .auth-glow-1 {
  transform: translateX(-40%);
}

.auth-glow-2 {
  position: absolute;
  bottom: -120px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(124, 58, 237, 0.06) 0%, transparent 65%);
  pointer-events: none;
}

.login-page .auth-glow-2 {
  right: -100px;
}

.register-page .auth-glow-2 {
  left: -100px;
}

.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  position: relative;
  z-index: 5;
}

.auth-card {
  width: 100%;
  max-width: 440px;
}

.register-page .auth-card {
  max-width: 460px;
}

.auth-card-head {
  text-align: center;
  margin-bottom: 36px;
}

.register-page .auth-card-head {
  margin-bottom: 32px;
}

.auth-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--cyan-lt), rgba(37, 99, 235, 0.12));
  border: 1px solid rgba(0, 212, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 26px;
  color: var(--cyan);
}

.register-page .auth-icon-wrap {
  background: linear-gradient(135deg, var(--cyan-lt), rgba(124, 58, 237, 0.1));
}

.auth-card-head h1 {
  font-family: var(--ffd);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 8px;
}

.auth-card-head p {
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
}

.register-page .auth-card-head p {
  line-height: 1.65;
}

.auth-badge-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--cyan-lt);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.auth-form-box {
  background: var(--bg2);
  border: 1px solid var(--border2);
  border-radius: var(--r-xl);
  padding: 32px;
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.auth-form-group {
  margin-bottom: 20px;
}

.register-page .auth-form-group {
  margin-bottom: 18px;
}

.auth-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.register-page .auth-form-group label {
  margin-bottom: 7px;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--text3);
  pointer-events: none;
  transition: color 0.15s;
}

.register-page .auth-input-icon {
  font-size: 13px;
}

.auth-input-wrap:focus-within .auth-input-icon,
.login-page .auth-input:focus + .auth-input-icon {
  color: var(--cyan);
}

.auth-input {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--r);
  color: var(--text);
  font-family: var(--ff);
  font-size: 14px;
  padding: 12px 14px 12px 40px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.register-page .auth-input {
  padding: 11px 14px 11px 38px;
}

.auth-input::placeholder {
  color: var(--text3);
}

.auth-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.auth-input.error {
  border-color: #f87171;
}

.auth-field-hint {
  font-size: 11px;
  color: var(--text3);
  margin-top: 5px;
}

.auth-field-hint.err {
  color: #f87171;
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text3);
  font-size: 14px;
  padding: 4px;
  transition: color 0.15s;
  line-height: 1;
}

.register-page .auth-password-toggle {
  right: 11px;
  font-size: 13px;
}

.auth-password-toggle:hover {
  color: var(--text2);
}

.auth-password-input {
  padding-right: 40px;
}

.register-page .auth-password-input {
  padding-right: 38px;
}

.auth-strength {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.auth-strength-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--border2);
  transition: background 0.2s;
}

.auth-strength-bar.weak {
  background: #f87171;
}

.auth-strength-bar.medium {
  background: #f59e0b;
}

.auth-strength-bar.strong {
  background: #10b981;
}

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}

.auth-checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
  cursor: pointer;
  user-select: none;
}

.auth-checkbox {
  width: 16px;
  height: 16px;
  accent-color: var(--cyan);
  cursor: pointer;
  flex-shrink: 0;
}

.register-page .auth-checkbox {
  margin-top: 2px;
}

.auth-forgot {
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.15s;
}

.auth-forgot:hover {
  color: var(--cyan2);
}

.auth-terms-text {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.55;
}

.auth-terms-text a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 500;
}

.auth-terms-text a:hover {
  color: var(--cyan2);
}

.auth-btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--cyan);
  color: #050d1e;
  font-family: var(--ffd);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--r);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
  letter-spacing: 0.01em;
}

.auth-btn-submit:hover {
  background: var(--cyan2);
}

.auth-btn-submit:active {
  transform: scale(0.99);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}

.register-page .auth-divider {
  margin: 22px 0;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border2);
}

.auth-divider span {
  font-size: 12px;
  color: var(--text3);
  white-space: nowrap;
}

.auth-btn-telegram {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: transparent;
  color: var(--text);
  font-family: var(--ff);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--r);
  border: 1.5px solid var(--border2);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-decoration: none;
}

.auth-btn-telegram:hover {
  border-color: var(--cyan);
  background: var(--cyan-lt2);
}

.auth-btn-telegram i {
  font-size: 16px;
  color: #2aabee;
}

.auth-footer-text {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--text2);
}

.register-page .auth-footer-text {
  margin-top: 22px;
}

.auth-footer-text a {
  color: var(--cyan);
  font-weight: 600;
  text-decoration: none;
}

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

.auth-footer-sep {
  display: inline-block;
  margin: 0 8px;
  color: var(--text3);
}

.auth-btn-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.auth-perks {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.auth-perk {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text3);
}

.auth-perk i {
  color: var(--cyan);
  font-size: 11px;
}

.auth-alert {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r);
  font-size: 13px;
  margin-bottom: 20px;
}

.register-page .auth-alert {
  margin-bottom: 18px;
}

.auth-alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

.auth-alert.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.28);
  color: #86efac;
}

.auth-alert.show {
  display: flex;
}

@media (max-width: 520px) {
  .register-page .auth-form-box {
    padding: 24px 18px;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
  }

  .auth-perks {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .login-page .auth-form-box {
    padding: 24px 20px;
  }

  .login-page .auth-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}
