/* ===== STEEZE DESIGN SYSTEM ===== */
/* Matches the Flutter app's dark theme with lime (#CCFF00) accent */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* === CSS Custom Properties === */
:root {
  --bg-primary: #050505;
  --bg-secondary: #0A0A0A;
  --bg-surface: #111111;
  --bg-card: #1A1A1A;
  --bg-elevated: #222222;

  --lime: #CCFF00;
  --lime-dim: rgba(204, 255, 0, 0.15);
  --lime-glow: rgba(204, 255, 0, 0.35);
  --lime-dark: #99BF00;

  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.7);
  --text-tertiary: rgba(255, 255, 255, 0.45);
  --text-inverse: #000000;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-medium: rgba(255, 255, 255, 0.1);
  --border-lime: rgba(204, 255, 0, 0.2);

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-glow: 0 0 60px rgba(204, 255, 0, 0.08);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1200px;
  --container-narrow: 800px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--lime);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--lime-dark);
}

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

/* === Ambient Background Effects === */
.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.ambient-glow::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.06) 0%, transparent 70%);
  animation: float-slow 20s ease-in-out infinite;
}
.ambient-glow::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(204, 255, 0, 0.04) 0%, transparent 70%);
  animation: float-slow 25s ease-in-out infinite reverse;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition-smooth), backdrop-filter var(--transition-smooth);
}
.nav.scrolled {
  background: rgba(5, 5, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}
.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: url('assets/logo_lime.png') no-repeat center;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.nav-links a:hover {
  color: var(--lime);
}
.nav-cta {
  background: var(--lime) !important;
  color: var(--text-inverse) !important;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--lime-glow);
  color: var(--text-inverse) !important;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* === Container === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--container-narrow);
}

/* === Sections === */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 1;
}
.section--hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

/* === Section Headers === */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.section-badge .badge-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.section-title {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title .highlight {
  color: var(--lime);
}
.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
  text-decoration: none;
}
.btn--primary {
  background: var(--lime);
  color: var(--text-inverse);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--lime-glow);
  color: var(--text-inverse);
}
.btn--outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.btn--outline:hover {
  border-color: var(--lime);
  color: var(--lime);
  transform: translateY(-2px);
}
.btn--sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* === Glass Card === */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 32px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}
.glass-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-lime);
  box-shadow: var(--shadow-glow);
}

/* === Feature Cards === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px 28px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--lime), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-lime);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.feature-card:hover::before {
  opacity: 1;
}
.feature-icon {
  width: 52px;
  height: 52px;
  background: var(--lime-dim);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* === How It Works === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
  counter-reset: step;
}
.step-card {
  text-align: center;
  position: relative;
  counter-increment: step;
}
.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--lime), var(--lime-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: #000;
  margin: 0 auto 20px;
  position: relative;
}
.step-number::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--lime-dim);
}
.step-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.step-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === Stats Bar === */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 48px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin: 60px 0;
}
.stat-item {
  text-align: center;
}
.stat-value {
  font-size: 36px;
  font-weight: 800;
  color: var(--lime);
  letter-spacing: -1px;
}
.stat-label {
  font-size: 13px;
  color: var(--text-tertiary);
  margin-top: 4px;
  font-weight: 500;
}

/* === CTA Section === */
.cta-section {
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(204, 255, 0, 0.03), transparent);
  padding: 100px 0;
}
.cta-section .section-title {
  max-width: 600px;
  margin: 0 auto 16px;
}
.cta-section .section-subtitle {
  margin: 0 auto 36px;
}
.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Footer === */
.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: var(--text-secondary);
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.7;
  max-width: 280px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition-fast);
}
.footer-col a:hover {
  color: var(--lime);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-tertiary);
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* === Legal Pages === */
.legal-page {
  padding-top: 120px;
  padding-bottom: 80px;
}
.legal-page .page-header {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}
.legal-page .page-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.legal-page .page-header .last-updated {
  color: var(--text-tertiary);
  font-size: 14px;
}

.legal-content {
  max-width: var(--container-narrow);
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}
.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--lime);
}
.legal-content p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.legal-content ul, .legal-content ol {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 16px;
  padding-left: 24px;
}
.legal-content li {
  margin-bottom: 8px;
}
.legal-content strong {
  color: var(--text-primary);
  font-weight: 600;
}
.legal-content a {
  color: var(--lime);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Info callout box */
.info-box {
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0;
}
.info-box p {
  color: var(--text-primary);
  font-size: 14px;
  margin-bottom: 0;
}

/* Contact card */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 36px;
  margin: 32px 0;
}
.contact-card h3 {
  color: var(--text-primary) !important;
  margin-top: 0 !important;
}
.contact-card .contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}
.contact-card .contact-icon {
  width: 36px;
  height: 36px;
  background: var(--lime-dim);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

/* Support form */
.support-form {
  margin-top: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px var(--lime-dim);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
}
.form-group select option {
  background: var(--bg-card);
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* === Phone Mockup === */
.phone-mockup {
  width: 280px;
  height: 560px;
  background: var(--bg-card);
  border-radius: 40px;
  border: 3px solid var(--border-medium);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(204, 255, 0, 0.06);
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 28px;
  background: var(--bg-primary);
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #0A3D3D 0%, #050505 100%);
  padding: 48px 20px 20px;
}
.phone-screen .mock-greeting {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.phone-screen .mock-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 24px;
}
.phone-screen .mock-btn {
  background: var(--lime);
  color: #000;
  font-size: 12px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  margin-top: auto;
  margin-bottom: 40px;
}
.phone-screen .mock-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
}
.phone-screen .mock-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
}
.phone-screen .mock-dots span.active {
  width: 18px;
  border-radius: 3px;
  background: #fff;
}

/* === Responsive === */
@media (max-width: 968px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .stats-bar {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-toggle {
    display: flex;
  }
  .section--hero {
    padding-top: 100px;
    min-height: auto;
  }
  .hero-grid {
    flex-direction: column !important;
    text-align: center;
  }
  .hero-grid .section-subtitle {
    margin: 0 auto;
  }
  .hero-buttons {
    justify-content: center !important;
  }
  .phone-mockup {
    width: 220px;
    height: 440px;
    margin: 40px auto 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .section {
    padding: 60px 0;
  }
  .stats-bar {
    gap: 24px;
  }
  .stat-value {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
  .glass-card {
    padding: 24px;
  }
  .feature-card {
    padding: 28px 20px;
  }
}
