/* 
   Rutas Nay - Custom Design System & Premium Styling
   Developer: Código Nayarita (codigonayarita@gmail.com)
*/

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

/* --- DESIGN SYSTEM & TOKENS --- */
:root {
  /* Color Palette (HSL Tailored) */
  --bg-deep: hsl(224, 64%, 8%);
  --bg-card: hsla(224, 45%, 15%, 0.7);
  --bg-card-hover: hsla(224, 45%, 20%, 0.8);
  --border-color: hsla(224, 40%, 30%, 0.25);
  --border-focus: hsla(165, 95%, 43%, 0.5);

  --color-primary: hsl(165, 95%, 43%);      /* Emerald Green (Nayarit Freshness) */
  --color-secondary: hsl(210, 100%, 55%);    /* Electric Blue (Transit / Maps) */
  --color-accent: hsl(328, 100%, 54%);       /* Coral / Pink (Highlight details) */
  
  --text-primary: hsl(210, 40%, 98%);
  --text-secondary: hsl(215, 20%, 75%);
  --text-muted: hsl(215, 15%, 55%);
  
  /* Gradient Sets */
  --grad-hero: linear-gradient(135deg, hsl(224, 64%, 8%) 0%, hsl(220, 50%, 15%) 100%);
  --grad-accent: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --grad-accent-hover: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  --grad-glow: radial-gradient(circle, hsla(165, 95%, 43%, 0.15) 0%, transparent 70%);
  --grad-glow-blue: radial-gradient(circle, hsla(210, 100%, 55%, 0.15) 0%, transparent 70%);

  /* Shadow Sets */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 30px hsla(165, 95%, 43%, 0.3);
  --shadow-glow-blue: 0 0 30px hsla(210, 100%, 55%, 0.25);

  /* Fonts */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background ambient glows */
body::before {
  content: '';
  position: absolute;
  top: 10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--grad-glow);
  pointer-events: none;
  z-index: -1;
}

body::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: var(--grad-glow-blue);
  pointer-events: none;
  z-index: -1;
}

h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: var(--grad-accent);
  color: var(--bg-deep);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--grad-accent-hover);
  opacity: 0;
  z-index: -1;
  transition: opacity var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::after {
  opacity: 1;
}

.btn-secondary {
  background: hsla(210, 40%, 98%, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: hsla(210, 40%, 98%, 0.18);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-pill {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Custom platform badges */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  border-radius: 12px;
  background: hsla(224, 45%, 15%, 0.9);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  transition: all var(--transition-normal);
  text-align: left;
  backdrop-filter: blur(10px);
}

.download-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.download-btn .btn-text {
  display: flex;
  flex-direction: column;
}

.download-btn .btn-subtitle {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.download-btn .btn-title {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.05rem;
}

.download-btn:hover {
  border-color: var(--color-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
  background: hsla(224, 45%, 20%, 0.9);
}

.download-btn.ios-btn {
  border-style: dashed;
  cursor: default;
}

.download-btn.ios-btn:hover {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-glow-blue);
  transform: none;
}

.download-btn.ios-btn .pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-secondary);
  border-radius: 50%;
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 0 10px var(--color-secondary);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.9); opacity: 1; }
}

/* --- HEADER / NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all var(--transition-normal);
  padding: 20px 0;
}

header.scrolled {
  padding: 12px 0;
  background-color: hsla(224, 64%, 8%, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

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

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

.logo img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  border-radius: 10px;
}

.logo span {
  font-family: var(--font-header);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  font-family: var(--font-header);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-fast);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
}

/* Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all var(--transition-fast);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.pre-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 6px 16px;
  background: hsla(165, 95%, 43%, 0.1);
  border: 1px solid hsla(165, 95%, 43%, 0.2);
  color: var(--color-primary);
  border-radius: 50px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.pre-title span.pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--color-primary);
  animation: pulse-ring 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title span {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 540px;
}

/* Smartphone Mockup CSS (Custom & Sleek) */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.phone-mockup {
  width: 300px;
  height: 600px;
  background: #090e1a;
  border-radius: 40px;
  border: 10px solid #1f2a44;
  box-shadow: var(--shadow-lg), var(--shadow-glow-blue);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-slow);
}

.phone-mockup:hover {
  transform: rotate3d(1, -1, 0, 10deg) translateY(-10px);
}

/* Smartphone details */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 22px;
  background: #1f2a44;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 5;
}

/* Simulated App Screen */
.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #0b1120;
}

/* App Header inside simulated screen */
.phone-app-header {
  padding: 30px 16px 12px 16px;
  background: #111a30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.phone-app-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-app-logo img {
  width: 24px;
  height: 24px;
  border-radius: 6px;
}

.phone-app-logo span {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}

.phone-app-bell {
  color: var(--text-secondary);
}

/* App Map Area inside simulated screen */
.phone-app-map {
  flex: 1;
  background: #0f1626;
  position: relative;
  overflow: hidden;
}

/* Decorative simulated streets */
.map-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.15;
  background-image: 
    linear-gradient(to right, #4f4f4f 1px, transparent 1px),
    linear-gradient(to bottom, #4f4f4f 1px, transparent 1px);
  background-size: 24px 24px;
}

.map-route-line {
  position: absolute;
  width: 4px;
  background: var(--color-primary);
  border-radius: 4px;
  box-shadow: 0 0 10px var(--color-primary);
  animation: drawRoute 4s infinite ease-in-out;
}

.map-route-1 {
  top: 40px;
  left: 80px;
  height: 140px;
}

.map-route-2 {
  top: 176px;
  left: 80px;
  width: 110px;
  height: 4px;
}

@keyframes drawRoute {
  0% { height: 0; width: 4px; }
  35% { height: 140px; width: 4px; }
  40% { height: 140px; width: 4px; }
  75% { height: 140px; width: 110px; }
  100% { height: 140px; width: 110px; opacity: 0; }
}

.map-pin {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-pin.start {
  background: var(--color-secondary);
  top: 36px;
  left: 76px;
  box-shadow: 0 0 10px var(--color-secondary);
}

.map-pin.end {
  background: var(--color-accent);
  top: 172px;
  left: 184px;
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulse-ring 1.5s infinite;
}

.map-bus-icon {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 2px solid #0f1626;
  color: #0f1626;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 36px;
  left: 73px;
  animation: moveBus 4s infinite ease-in-out;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

@keyframes moveBus {
  0% { top: 36px; left: 73px; }
  35% { top: 168px; left: 73px; }
  40% { top: 168px; left: 73px; }
  75% { top: 168px; left: 180px; }
  100% { top: 168px; left: 180px; }
}

/* App floating route list inside simulated screen */
.phone-app-card {
  margin: 12px;
  padding: 12px;
  background: rgba(17, 26, 48, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(5px);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.phone-card-title {
  font-size: 0.75rem;
  font-family: var(--font-header);
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
}

.phone-card-eta {
  color: var(--color-primary);
  font-weight: 600;
}

.phone-card-route-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-secondary);
}

.phone-card-badge {
  background: var(--color-primary);
  color: #000;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.65rem;
}

/* Visual Glow Background on Hero */
.hero-glow-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsla(210, 100%, 55%, 0.1) 0%, transparent 70%);
  z-index: -1;
  pointer-events: none;
}

/* --- STATS SECTION --- */
.stats {
  padding: 60px 0;
  background: hsla(224, 45%, 12%, 0.4);
  border-y: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-card {
  padding: 20px;
}

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-header);
  font-weight: 800;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* --- FEATURES SECTION --- */
.features {
  padding: 100px 0;
  position: relative;
}

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

.section-label {
  color: var(--color-primary);
  font-family: var(--font-header);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px 30px;
  border-radius: 24px;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, hsla(165, 95%, 43%, 0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg), 0 10px 30px -10px hsla(165, 95%, 43%, 0.15);
}

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

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: hsla(165, 95%, 43%, 0.1);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition-normal);
  border: 1px solid hsla(165, 95%, 43%, 0.2);
}

.feature-card:hover .feature-icon {
  background: var(--color-primary);
  color: var(--bg-deep);
  transform: scale(1.05);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Disclaimer Card (Independent and Official State Note) */
.disclaimer-container {
  margin-top: 50px;
  padding: 24px;
  border-radius: 20px;
  background: hsla(210, 100%, 55%, 0.06);
  border: 1px solid hsla(210, 100%, 55%, 0.2);
  display: flex;
  gap: 20px;
  align-items: center;
}

.disclaimer-icon {
  color: var(--color-secondary);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: hsla(210, 100%, 55%, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.disclaimer-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.disclaimer-text strong {
  color: var(--text-primary);
}



/* --- CONTACT SECTION --- */
.contact {
  padding: 100px 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-title {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.contact-desc {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: hsla(210, 100%, 55%, 0.1);
  border: 1px solid hsla(210, 100%, 55%, 0.2);
  color: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.contact-text label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-text a, .contact-text span {
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

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

/* Contact Form CSS (Highly Styled) */
.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 28px;
  padding: 40px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-family: var(--font-header);
  font-weight: 500;
  color: var(--text-secondary);
  padding-left: 4px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: hsla(224, 64%, 8%, 0.6);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-control::placeholder {
  color: var(--text-muted);
}

.form-control:focus {
  border-color: var(--color-primary);
  background: hsla(224, 64%, 8%, 0.8);
  box-shadow: 0 0 10px hsla(165, 95%, 43%, 0.15);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-feedback {
  font-size: 0.8rem;
  color: var(--color-accent);
  margin-top: 4px;
  display: none;
}

/* Success modal or alert style for form submission */
.form-success-alert {
  display: none;
  background: hsla(165, 95%, 43%, 0.1);
  border: 1px solid var(--color-primary);
  color: var(--text-primary);
  padding: 20px;
  border-radius: 16px;
  text-align: center;
  margin-bottom: 20px;
  animation: slideIn 0.3s ease-out;
}

.form-success-alert h4 {
  color: var(--color-primary);
  font-size: 1.1rem;
  margin-bottom: 6px;
}

@keyframes slideIn {
  from { transform: translateY(-10px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* --- FOOTER --- */
footer {
  background: #060a12;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand .logo span {
  font-size: 1.5rem;
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 360px;
  font-size: 0.9rem;
}

.footer-links-title {
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

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

.footer-dev {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-dev a {
  color: var(--color-primary);
  font-weight: 600;
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-grid {
    gap: 40px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 16px 0;
  }
  
  .nav-links, .nav-cta {
    display: none;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  /* Mobile Menu Open Style */
  .nav-open {
    overflow: hidden;
  }
  
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-deep);
    padding: 100px 24px;
    gap: 24px;
    z-index: 99;
  }
  
  .nav-open .nav-links a {
    font-size: 1.3rem;
  }
  
  .nav-open .mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  
  .nav-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-open .mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
  
  .hero {
    padding: 120px 0 60px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }
  
  .pre-title {
    align-self: center;
  }
  
  .hero-description {
    margin: 0 auto 32px auto;
  }
  
  .badge-group {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  

  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .badge-group {
    flex-direction: column;
    align-items: stretch;
  }
  
  .download-btn {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form-container {
    padding: 24px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
