/* ============================================
   MIASA EXPRESS — STYLE.CSS
   2026 Animated Website
   ============================================ */

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

:root {
  /* Brand Colors */
  --primary: #00C853; /* Vibrant Green */
  --primary-hover: #00B84D;
  --bg: #0A0F1E; /* Deep Navy */
  --bg-darker: #050810;
  --bg-card: #141B2D;
  --bg-input: #1D263B;
  
  --text: #F8FAFC;
  --text-muted: #94A3B8;
  --white: #FFFFFF;
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(0, 200, 83, 0.4);

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Animation Easing */
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── Noise Overlay ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* ── Custom Cursor ── */
.cursor, .cursor-follower {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s;
}

.cursor {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
}

.cursor-follower {
  width: 32px;
  height: 32px;
  border: 1px solid var(--primary);
  opacity: 0.5;
}

/* ── Typography ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 12px;
  font-weight: 700;
  font-family: var(--font-display);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-darker);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 200, 83, 0.2);
}

.btn-large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.btn-nav {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid var(--border);
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-nav:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(0, 200, 83, 0.08);
}

.cta-contacts {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-overline {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  z-index: 1000;
  transition: all 0.4s var(--ease);
}

.nav.scrolled {
  background: rgba(10, 15, 30, 0.8);
  backdrop-filter: blur(12px);
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.logo-mark {
  background: var(--primary);
  color: var(--bg-darker);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 1.2rem;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1rem 4rem;
  overflow: hidden;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, black, transparent 80%);
}

.particle-canvas {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.2);
  border-radius: 100px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.hero-headline {
  font-size: clamp(3rem, 10vw, 5.5rem);
  margin-bottom: 1.5rem;
}

.hero-headline .line {
  display: block;
}

.highlight {
  color: var(--primary);
  font-style: normal;
  position: relative;
}

.hero-sub {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.cta-hint {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--primary), transparent);
  animation: scrollDown 2s infinite;
}

/* ── Marquee ── */
.marquee-wrapper {
  background: var(--bg-darker);
  padding: 1.5rem 0;
  border-y: 1px solid var(--border);
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  gap: 2rem;
}

.marquee-inner span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.mdot {
  color: var(--primary);
}

/* ── Features ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 10rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.card-icon-wrap {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.card-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(0, 200, 83, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
}

/* ── Stats ── */
.stats-section {
  background: var(--bg-darker);
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 4rem;
}

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

.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
}

.stat-number {
  font-size: clamp(3rem, 8vw, 5rem);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1;
}

.stat-suffix {
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
}

.stat-label {
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 0.5rem;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: var(--border);
}

/* ── How It Works ── */
.steps-list {
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 3rem;
  padding-bottom: 4rem;
  position: relative;
}

.step-num {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-display);
}

.step-body h3 {
  margin-bottom: 1rem;
}

.step-body p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

.step-connector {
  position: absolute;
  left: 0.6rem;
  top: 2rem;
  bottom: 0;
  width: 1px;
  background: var(--border);
}

/* ── CTA ── */
.cta-card {
  background: var(--bg-card);
  padding: 6rem 3rem;
  border-radius: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
}

.cta-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 2rem;
}

.cta-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  margin-inline: auto;
}

.cta-phone {
  margin-top: 2rem;
  color: var(--text-muted);
}

.cta-phone a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
}

/* ── Booking Overlay ── */
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 16, 0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
}

.booking-overlay.active {
  opacity: 1;
  visibility: visible;
}

.booking-panel {
  background: var(--bg-card);
  width: 100%;
  max-width: 600px;
  height: 100%;
  max-height: 800px;
  border-radius: 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  margin: 1rem;
}

.booking-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255,255,255,0.05);
  border: none;
  color: var(--white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.booking-header {
  padding: 3rem 3rem 1.5rem;
}

.booking-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 100px;
  margin-bottom: 2rem;
  overflow: hidden;
}

.booking-progress-fill {
  height: 100%;
  background: var(--primary);
  width: 25%;
  transition: width 0.6s var(--ease);
}

.booking-step-info {
  display: flex;
  flex-direction: column;
}

.booking-step-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.booking-step-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
}

.booking-steps-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 0 3rem 2rem;
  scrollbar-width: none;
}

.booking-step {
  display: none;
  animation: slideUp 0.6s var(--ease);
}

.booking-step.active {
  display: block;
}

.step-intro {
  margin-bottom: 2.5rem;
}

.step-emoji {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.form-fields {
  display: grid;
  gap: 2rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.field-group label {
  font-weight: 600;
  font-size: 0.95rem;
}

input, textarea, select {
  background: var(--bg-input);
  border: 1px solid var(--border);
  padding: 1.2rem;
  border-radius: 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 200, 83, 0.05);
}

.optional {
  font-weight: 400;
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ── Review Card ── */
.review-card {
  background: rgba(255,255,255,0.03);
  border-radius: 24px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
}

.review-section {
  margin-bottom: 1.5rem;
}

.review-section:last-child {
  margin-bottom: 0;
}

.review-label {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.review-val {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.review-val.muted {
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.9rem;
}

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

.review-note {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

/* ── Booking Footer ── */
.booking-footer {
  padding: 2rem 3rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
}

.btn-back {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
}

.btn-next {
  width: 200px;
}

/* ── Sticky CTA ── */
.sticky-cta {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  display: none;
}

.sticky-btn {
  white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* ── Animations ── */
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 200, 83, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 200, 83, 0); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollDown {
  0% { transform: translateY(0) scaleY(1); opacity: 0; }
  50% { transform: translateY(20px) scaleY(1.5); opacity: 1; }
  100% { transform: translateY(40px) scaleY(1); opacity: 0; }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Media Queries ── */
@media (max-width: 768px) {
  .nav { padding: 1rem; }
  .hero { padding-top: 6rem; }
  .stats-grid { gap: 2.5rem; }
  .stat-divider { display: none; }
  .step { flex-direction: column; gap: 1rem; }
  .step-connector { display: none; }
  .booking-panel { margin: 0; border-radius: 0; max-height: none; }
  .booking-header, .booking-steps-wrap, .booking-footer { padding-inline: 1.5rem; }
  .sticky-cta { display: block; }
}
