/* ===== CUSTOM FONTS ===== */
@font-face {
  font-family: 'Sadyan';
  src: url('assets/Sadyan-Font/SadyanPersonalUse-Thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sadyan';
  src: url('assets/Sadyan-Font/SadyanPersonalUse-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sadyan';
  src: url('assets/Sadyan-Font/SadyanPersonalUse-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Sadyan';
  src: url('assets/Sadyan-Font/SadyanPersonalUse-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0F1117;
  --bg-secondary: #192126;
  --bg-elevated: #1E2630;
  --bg-card: #1A1F2E;
  --bg-input: #252B37;
  --accent: #BBF246;
  --accent-dark: #8BC34A;
  --accent-orange: #EE9033;
  --accent-purple: #A48AED;
  --accent-danger: #ED4747;
  --accent-info: #95CCE3;
  --text-primary: #FFFFFF;
  --text-secondary: #8A9198;
  --text-muted: #4A5568;
  --glass-bg: rgba(25, 33, 38, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(187, 242, 70, 0.1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

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

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(15, 17, 23, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.nav-logo span {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent);
  color: var(--bg-primary);
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  transition: all 0.3s;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(187, 242, 70, 0.3);
}

.mobile-toggle {
  display: none;
  background: none;
  color: white;
  font-size: 24px;
}

/* Mobile Nav Drawer */
.nav-links.open {
  display: flex;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 17, 23, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    z-index: 200;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
  }

  .mobile-toggle {
    display: block;
    z-index: 300;
  }

  .nav-cta {
    display: none;
  }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
}

.hero-gradient {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(187, 242, 70, 0.4) 0%, rgba(187, 242, 70, 0.1) 40%, transparent 70%);
  pointer-events: none;
  animation: pulseGlow 6s ease-in-out infinite;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

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

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero-label span {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.hero-title {
  font-family: 'Sadyan', var(--font);
  font-size: 72px;
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -3px;
  margin-bottom: 24px;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: all 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(187, 242, 70, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-elevated);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-secondary:hover {
  background: var(--bg-card);
  transform: translateY(-2px);
}

.hero-partners {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-partners span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.partner-logos {
  display: flex;
  gap: 24px;
  align-items: center;
}

.partner-logos svg {
  width: 24px;
  height: 24px;
  fill: var(--text-muted);
  opacity: 0.5;
  transition: opacity 0.3s;
}

.partner-logos svg:hover {
  opacity: 1;
}

.partner-logo-text {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-muted);
  opacity: 0.5;
  letter-spacing: 1px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  position: relative;
  width: 100%;
  max-width: 420px;
}

.hero-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
}

/* ===== PHONE MOCKUP ===== */
.phone-mockup {
  position: relative;
  width: 280px;
  border-radius: 40px;
  overflow: hidden;
  border: 4px solid #2A2F3A;
  background: #000;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 60px rgba(187, 242, 70, 0.08);
}

.phone-mockup.large {
  width: 320px;
}

.phone-mockup img {
  width: 100%;
  display: block;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 18px 18px;
  z-index: 2;
}

.phone-glow {
  position: absolute;
  inset: -2px;
  border-radius: 42px;
  background: linear-gradient(135deg, rgba(187, 242, 70, 0.3), transparent, rgba(187, 242, 70, 0.1));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s;
}

.phone-mockup:hover .phone-glow {
  opacity: 1;
}

/* ===== APP PREVIEW SECTION ===== */
.app-preview {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.app-preview-text {
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.app-preview-text strong {
  color: var(--accent);
}

.app-preview-phone {
  display: flex;
  justify-content: center;
  position: relative;
}

.app-preview-phone .phone-mockup {
  width: 300px;
}

.preview-decoration {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(187, 242, 70, 0.2);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: rotateSlow 20s linear infinite;
}

.preview-decoration::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--accent);
}

@keyframes rotateSlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* ===== TRACKING SECTION ===== */
.tracking {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.tracking-route {
  max-width: 500px;
  margin: 0 auto 40px;
  height: 200px;
  position: relative;
  overflow: visible;
  padding: 10px;
}

.route-svg {
  width: 100%;
  height: 100%;
}

.route-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  filter: drop-shadow(0 0 8px rgba(187, 242, 70, 0.5));
}

.route-path.animated {
  animation: drawRoute 2s ease forwards;
}

@keyframes drawRoute {
  to {
    stroke-dashoffset: 0;
  }
}

.route-dot {
  fill: var(--accent);
  filter: drop-shadow(0 0 6px rgba(187, 242, 70, 0.8));
}

.route-dot-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  opacity: 0.3;
}

.tracking-timer {
  font-family: 'Sadyan', var(--font);
  font-size: 80px;
  font-weight: 900;
  letter-spacing: -4px;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.tracking-timer span {
  color: var(--text-muted);
}

.tracking-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

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

.tracking-stat-value {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}

.tracking-stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FEATURES SECTION ===== */
.features {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.section-title {
  font-family: 'Sadyan', var(--font);
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 60px;
}

.section-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

.feature-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: all 0.4s ease;
  group: true;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(187, 242, 70, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.feature-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card:hover .feature-card-image img {
  transform: scale(1.05);
}

.feature-card-content {
  padding: 24px;
}

.feature-card-stat {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.feature-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== METRICS SECTION ===== */
.metrics {
  padding: 120px 0;
  position: relative;
}

.metrics-header {
  text-align: center;
  margin-bottom: 60px;
}

.metrics-dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s;
}

.metric-card:hover {
  border-color: rgba(187, 242, 70, 0.15);
  transform: translateY(-4px);
}

.metric-card-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 12px;
}

.metric-card-value {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1;
}

.metric-card-unit {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
  margin-left: 4px;
}

.metric-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 80px;
  margin-top: 20px;
}

.metric-bar {
  flex: 1;
  border-radius: 4px;
  min-height: 8px;
  transition: height 1s ease;
}

.metric-bar.lime {
  background: var(--accent);
}

.metric-bar.orange {
  background: var(--accent-orange);
}

.metric-bar.muted {
  background: var(--text-muted);
  opacity: 0.3;
}

.metric-card.full-width {
  grid-column: 1 / -1;
}

.metric-card .bars-row {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 100px;
  margin-top: 16px;
}

.metric-card .bars-row .bar {
  flex: 1;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  min-height: 4px;
  opacity: 0.8;
  transition: all 0.5s ease;
}

.metric-card .bars-row .bar:hover {
  opacity: 1;
}

/* ===== CTA SECTION ===== */
.cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.cta-title {
  font-family: 'Sadyan', var(--font);
  font-size: 60px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -3px;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta .btn-primary {
  padding: 18px 48px;
  font-size: 16px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}

.footer-phones {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 80px;
  position: relative;
}

.footer-phones .phone-mockup {
  width: 260px;
}

.footer-phones .phone-mockup:first-child {
  transform: rotate(-5deg);
}

.footer-phones .phone-mockup:last-child {
  transform: rotate(5deg);
}

.footer-swoosh {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 300px;
  pointer-events: none;
  z-index: 3;
}

.footer-swoosh svg {
  width: 100%;
  height: 100%;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 40px;
  border-top: 1px solid var(--glass-border);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-logo span {
  font-size: 16px;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color 0.3s;
}

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

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

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-partners {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .hero-title {
    font-size: 56px;
  }

  .section-title {
    font-size: 40px;
  }

  .cta-title {
    font-size: 44px;
  }

  .tracking-timer {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

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

  .metrics-dashboard {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .cta-title {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .tracking-timer {
    font-size: 42px;
    letter-spacing: -2px;
  }

  .tracking-stats {
    gap: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-phones {
    gap: 20px;
  }

  .footer-phones .phone-mockup {
    width: 180px;
  }

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

  .phone-mockup {
    width: 240px;
  }

  .phone-mockup.large {
    width: 260px;
  }

  .metric-card-value {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 34px;
  }

  .hero {
    padding-top: 80px;
  }

  .container {
    padding: 0 16px;
  }

  .app-preview,
  .tracking,
  .features,
  .metrics,
  .cta {
    padding: 80px 0;
  }
}