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

:root {
  --primary: #00E676;
  --primary-deep: #00C853;
  --accent: #64FFDA;
  --bg: #121E1C;
  --surface: #081210;
  --surface-support: #172724;
  --text-primary: #FFFFFF;
  --text-secondary: #A0B2AE;
  --border-color: rgba(255, 255, 255, 0.08);
  --card-bg: rgba(255, 255, 255, 0.03);
  --font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-support);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Glassmorphism Card System */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 230, 118, 0.25);
  box-shadow: 0 20px 50px rgba(0, 230, 118, 0.12);
}

/* Primary Glow Button */
.btn-primary {
  background-color: var(--primary);
  color: var(--surface);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(0, 230, 118, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #05ff85;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.4);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid rgba(0, 230, 118, 0.4);
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(0, 230, 118, 0.06);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Background Grid Overlay */
.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(0, 230, 118, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 118, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: center top;
  pointer-events: none;
  z-index: 1;
}

/* Radial Glow Orbs */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.glow-orb-primary {
  background: var(--primary);
  width: 400px;
  height: 400px;
}

.glow-orb-accent {
  background: var(--accent);
  width: 300px;
  height: 300px;
}

/* Floating Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-reverse {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-0.5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.animate-float-1 {
  animation: float 6s ease-in-out infinite;
}

.animate-float-2 {
  animation: float-reverse 7s ease-in-out infinite;
}

.animate-float-3 {
  animation: float 5s ease-in-out infinite 1s;
}

/* Hero Title Gradient */
.text-gradient {
  background: linear-gradient(135deg, #FFF 40%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Final CTA Section Gradient */
.cta-gradient-bg {
  background: radial-gradient(circle at 10% 20%, rgba(0, 230, 118, 0.15) 0%, rgba(8, 18, 16, 1) 90%);
  border: 1px solid rgba(0, 230, 118, 0.15);
}

/* Active Indicator */
.pulse-indicator {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
}

.pulse-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse 1.8s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(3);
    opacity: 0;
  }
}

/* Reveal on Scroll styling */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Interactive Compare Cards */
.compare-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 768px) {
  .compare-container {
    grid-template-columns: 1fr;
  }
}

/* Timeline Custom Styles */
.timeline-item::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 32px;
  bottom: -32px;
  width: 2px;
  background-color: var(--surface-support);
}

.timeline-item:last-child::before {
  display: none;
}

/* Device mockups structure */
.mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
}

.device-frame {
  border: 10px solid #233430;
  background-color: var(--surface);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8);
  aspect-ratio: 9 / 19;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.device-notch {
  width: 110px;
  height: 20px;
  background-color: #233430;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
