/* ═══════════════════════════════════════════════════════════════
   AWAY Landing Page V2 – Core Styles
   Dark Hero + Light Body | iPhone 15 Pro Titanium | DE/EN Toggle
   ═══════════════════════════════════════════════════════════════ */

/* ── Root Variables ─────────────────────────────────────────── */
:root {
  --color-primary:     #16a34a;
  --color-primary-dark: #15803d;
  --color-violet:      #8b5cf6;
  --color-blue:        #2563eb;
  --color-amber:       #f59e0b;
  --color-emerald:     #10b981;
  --color-red:         #ef4444;

  /* Dark sections */
  --dark-bg:       #070b14;
  --dark-surface:  #0f1422;
  --dark-surface2: #111827;
  --dark-border:   rgba(255,255,255,0.08);
  --dark-muted:    rgba(255,255,255,0.45);

  /* Light sections */
  --light-bg:      #f8fafc;
  --light-surface: #ffffff;
  --light-border:  rgba(0,0,0,0.06);

  /* Titanium iPhone frame gradient */
  --titanium-1: #8E8375;
  --titanium-2: #B0A99D;
  --titanium-3: #74706B;
  --titanium-4: #A9A49F;
}

html { scroll-padding-top: 80px; }

body {
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ── 1. REVEAL ON SCROLL ──────────────────────────────────────*/
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal--visible { opacity: 1; transform: translateY(0); }

/* ── 2. GLASSMORPHISM ─────────────────────────────────────────*/
.glass-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.45);
  box-shadow: 0 8px 32px rgba(22,163,74,0.05);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.glass-card:hover {
  border-color: rgba(22,163,74,0.2);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(22,163,74,0.1);
}
.glass-card-dark {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--dark-border);
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.glass-card-dark:hover {
  border-color: rgba(22,163,74,0.3);
  background: rgba(22,163,74,0.06);
}

/* ── 3. GRADIENT TEXT ─────────────────────────────────────────*/
.gradient-text {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-text-blue {
  background: linear-gradient(135deg, #15803d, #16a34a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── 4. MARQUEE / LOGO TICKER ─────────────────────────────────*/
.marquee-track {
  animation: marquee 40s linear infinite;
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  align-items: center;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── 5. ROI SLIDERS (Dark) ────────────────────────────────────*/
#roi input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  width: 100%;
  cursor: pointer;
}
#roi input[type=range]::-webkit-slider-runnable-track {
  width: 100%; height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
#roi input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 22px; width: 22px;
  border-radius: 50%;
  background: #16a34a;
  border: 2px solid #fff;
  cursor: pointer;
  margin-top: -8px;
  box-shadow: 0 0 12px rgba(22,163,74,0.5);
  transition: transform 0.15s;
}
#roi input[type=range]:active::-webkit-slider-thumb { transform: scale(1.2); }
#roi input[type=range]::-moz-range-track {
  height: 6px;
  background: rgba(255,255,255,0.12);
  border-radius: 3px;
}
#roi input[type=range]::-moz-range-thumb {
  height: 22px; width: 22px;
  border-radius: 50%;
  background: #16a34a;
  border: 2px solid #fff;
  cursor: pointer;
}

/* ── 6. iPHONE 15 PRO TITANIUM FRAME ─────────────────────────*/
.iphone-frame {
  position: relative;
  width: 270px;
  height: 570px;
  border-radius: 48px;
  background: linear-gradient(
    145deg,
    var(--titanium-1) 0%,
    var(--titanium-2) 25%,
    var(--titanium-3) 55%,
    var(--titanium-4) 80%,
    var(--titanium-2) 100%
  );
  padding: 3px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.18),
    0 48px 96px rgba(0,0,0,0.65),
    inset 0 1px 2px rgba(255,255,255,0.28);
  flex-shrink: 0;
}

/* Volume buttons */
.iphone-frame::before {
  content: '';
  position: absolute;
  left: -3.5px;
  top: 108px;
  width: 3px;
  height: 32px;
  background: linear-gradient(to bottom, var(--titanium-2), var(--titanium-3));
  border-radius: 2px 0 0 2px;
  box-shadow: 0 44px 0 var(--titanium-3), 0 0 4px rgba(0,0,0,0.3);
}
/* Power button */
.iphone-frame::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 138px;
  width: 3px;
  height: 64px;
  background: linear-gradient(to bottom, var(--titanium-2), var(--titanium-3));
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 4px rgba(0,0,0,0.3);
}

.iphone-inner {
  width: 100%;
  height: 100%;
  border-radius: 46px;
  background: #000;
  overflow: hidden;
  position: relative;
}

/* Dynamic Island */
.iphone-island {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 108px;
  height: 32px;
  background: #000;
  border-radius: 20px;
  z-index: 30;
  box-shadow: inset 0 1px 2px rgba(255,255,255,0.04);
}

/* Screen slides */
.app-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}
.app-screen.active { opacity: 1; }

/* ─ Screen 1: Dashboard ─ */
.screen-dashboard {
  background: #070b14;
  padding: 52px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.screen-logo {
  font-size: 12px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  font-family: 'Outfit', sans-serif;
}
.screen-avatar {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #16a34a, #22c55e);
}
.kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.kpi-card {
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
}
.kpi-label {
  font-size: 6.5px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.kpi-value {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
  font-family: 'Outfit', sans-serif;
  line-height: 1.1;
}
.kpi-amber { color: #f59e0b; }
.kpi-green { color: #10b981; }
.kpi-blue  { color: #4ade80; }

.request-list-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 9px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
}
.req-avatar {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(22,163,74,0.35);
  flex-shrink: 0;
}
.req-info { flex: 1; }
.req-name { width: 58px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.2); }
.req-date { width: 38px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.1); margin-top: 3px; }
.req-badge {
  margin-left: auto;
  font-size: 5.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 8px;
  flex-shrink: 0;
}
.badge-green  { background: rgba(16,185,129,0.15); color: #10b981; }
.badge-amber  { background: rgba(245,158,11,0.15);  color: #f59e0b; }
.badge-blue   { background: rgba(22,163,74,0.15);  color: #4ade80; }

/* ─ Screen 2: Wizard ─ */
.screen-wizard {
  background: #070b14;
  padding: 52px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.wizard-steps {
  display: flex;
  gap: 4px;
  margin-bottom: 2px;
}
.wstep {
  flex: 1; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
}
.wstep.done   { background: #16a34a; }
.wstep.active { background: #4ade80; }
.wizard-title { font-size: 10px; font-weight: 700; color: #fff; }
.wizard-sub   { font-size: 7px; color: rgba(255,255,255,0.4); margin-top: 1px; }
.form-field {
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  padding: 7px 10px;
}
.field-label {
  font-size: 6px;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.field-value {
  height: 5px;
  border-radius: 2px;
  background: rgba(255,255,255,0.2);
  width: 72%;
}
.field-value.short { width: 45%; }
.wizard-btn {
  margin-top: 2px;
  background: #16a34a;
  border-radius: 9px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wizard-btn-text { font-size: 8px; font-weight: 700; color: #fff; letter-spacing: 0.05em; }

/* ─ Screen 3: Calendar ─ */
.screen-calendar {
  background: #070b14;
  padding: 52px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cal-header { display: flex; justify-content: space-between; align-items: baseline; }
.cal-title  { font-size: 11px; font-weight: 800; color: #fff; font-family: 'Outfit', sans-serif; }
.cal-month  { font-size: 8px; color: rgba(255,255,255,0.4); font-weight: 600; }
.cal-grid   { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day-label {
  font-size: 6px;
  color: rgba(255,255,255,0.3);
  text-align: center;
  font-weight: 600;
  padding-bottom: 2px;
}
.cal-day {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
}
.cal-day.ev-blue   { background: rgba(22,163,74,0.3); color: #4ade80; font-weight: 700; }
.cal-day.ev-green  { background: rgba(16,185,129,0.25); color: #10b981; font-weight: 700; }
.cal-day.ev-amber  { background: rgba(245,158,11,0.2);  color: #f59e0b; font-weight: 700; }
.cal-day.today-d   { background: #16a34a; color: #fff; font-weight: 800; }
.cal-day.empty     { opacity: 0.15; }
.cal-legend { display: flex; gap: 8px; flex-wrap: wrap; }
.legend-item { display: flex; align-items: center; gap: 3px; font-size: 6px; color: rgba(255,255,255,0.45); }
.leg-dot     { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }

/* ── 7. PRICING CARDS ─────────────────────────────────────────*/
.pricing-card {
  border-radius: 26px;
  padding: 2rem 1.75rem;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: all 0.3s cubic-bezier(0.16,1,0.3,1);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(22,163,74,0.12);
  border-color: rgba(22,163,74,0.25);
}
.pricing-card.featured {
  border-color: #16a34a;
  box-shadow: 0 0 0 1px #16a34a, 0 20px 60px rgba(22,163,74,0.18);
}
.pf-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: #475569;
  padding: 7px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  line-height: 1.4;
}
.pf-row:last-child { border-bottom: none; }
.check-ico { color: #16a34a; flex-shrink: 0; margin-top: 2px; }
.cross-ico { color: #cbd5e1; flex-shrink: 0; margin-top: 2px; }

/* ── 8. APP SHOWCASE TABS ─────────────────────────────────────*/
.tab-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.4);
  white-space: nowrap;
}
.tab-btn:hover { color: rgba(255,255,255,0.75); }
.tab-btn.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── 9. APP MOCK WINDOW ───────────────────────────────────────*/
.app-window {
  background: var(--dark-surface);
  border-radius: 16px;
  border: 1px solid var(--dark-border);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.app-window-bar {
  background: #06090f;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid var(--dark-border);
}
.win-dot { width: 10px; height: 10px; border-radius: 50%; }
.win-dot-red    { background: #ff5f57; }
.win-dot-yellow { background: #febc2e; }
.win-dot-green  { background: #28c840; }
.win-url {
  flex: 1;
  text-align: center;
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  family: monospace;
}

.app-window-body {
  display: flex;
  height: 380px;
  overflow: hidden;
}
.app-sidebar {
  width: 185px;
  flex-shrink: 0;
  padding: 14px 10px;
  border-right: 1px solid var(--dark-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}
.sidebar-logo-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 8px 12px;
  border-bottom: 1px solid var(--dark-border);
  margin-bottom: 8px;
}
.sidebar-logo-icon {
  width: 22px; height: 22px;
  background: #16a34a;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sidebar-logo-text {
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.05em;
}
.sidebar-nav-item {
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
  white-space: nowrap;
}
.sidebar-nav-item.active {
  background: rgba(22,163,74,0.15);
  color: #4ade80;
  font-weight: 600;
}
.sidebar-nav-item:hover:not(.active) {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.65);
}
.nav-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; }
.nav-dot.active { background: #16a34a; }
.nav-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.45; }
.sidebar-nav-item.active .nav-icon { opacity: 1; }

.app-content { flex: 1; padding: 18px; overflow: hidden; }
.content-title { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 12px; }

/* Status badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 700;
  white-space: nowrap;
}
.badge-approved  { background: rgba(16,185,129,0.15); color: #10b981; }
.badge-pending   { background: rgba(245,158,11,0.15);  color: #f59e0b; }
.badge-rejected  { background: rgba(239,68,68,0.12);   color: #f87171; }

/* ── 10. FAQ ACCORDION ────────────────────────────────────────*/
.faq-item {
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.faq-item.open {
  box-shadow: 0 8px 30px rgba(22,163,74,0.08);
  border-color: rgba(22,163,74,0.2);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}
.faq-question:hover { color: #16a34a; }
.faq-chevron {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
  color: #94a3b8;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); color: #16a34a; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16,1,0.3,1), padding 0.3s;
  padding: 0 22px;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 18px; }

/* ── 11. NAVBAR SCROLL ────────────────────────────────────────*/
.nav-scrolled {
  background: rgba(7,11,20,0.88) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.3) !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* ── 12. LANGUAGE TOGGLE ──────────────────────────────────────*/
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 30px;
  padding: 2px;
}
.lang-btn {
  padding: 4px 12px;
  border-radius: 22px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.4);
}
.lang-btn.active-lang {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

/* ── 13. STEP CONNECTOR ───────────────────────────────────────*/
.step-connector {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, rgba(22,163,74,0.35), rgba(168,85,247,0.2));
  margin-top: -2px;
  flex-shrink: 0;
}
@media (max-width: 768px) { .step-connector { display: none; } }

/* ── 14. BENTO CARDS ──────────────────────────────────────────*/
.bento-card {
  display: flex;
  flex-direction: column;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(22,163,74,0.1);
  border-color: rgba(22,163,74,0.2);
}

/* ── 15. TRUST BAR ────────────────────────────────────────────*/
.trust-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.55;
  transition: opacity 0.2s;
  white-space: nowrap;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.trust-logo:hover { opacity: 1; }

/* ── 16. SECTION LABELS ───────────────────────────────────────*/
.section-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(22,163,74,0.08);
  border: 1px solid rgba(22,163,74,0.15);
  color: #16a34a;
  border-radius: 30px;
  padding: 5px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-chip-dark {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.65);
}

/* ── 17. TOAST ANIMATION ──────────────────────────────────────*/
@keyframes toast-up {
  0%   { opacity: 0; transform: translateY(10px); }
  15%  { opacity: 1; transform: translateY(0); }
  78%  { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}
.toast-animate { animation: toast-up 4s ease-in-out infinite; }

/* ── 18. GLOW ORBS ────────────────────────────────────────────*/
@keyframes glow-pulse {
  0%,100% { opacity: 0.18; transform: scale(1); }
  50%      { opacity: 0.30; transform: scale(1.1); }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: glow-pulse 7s ease-in-out infinite;
}

/* ── 19. INNOVATION CARD ──────────────────────────────────────*/
.innovation-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border: 1px solid rgba(22,163,74,0.25);
  border-radius: 26px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.innovation-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: rgba(22,163,74,0.12);
  border-radius: 50%;
  filter: blur(40px);
}
.innovation-card:hover {
  border-color: rgba(22,163,74,0.45);
  box-shadow: 0 20px 60px rgba(22,163,74,0.18);
}

/* ── 20. MOBILE ───────────────────────────────────────────────*/
@media (max-width: 640px) {
  .iphone-frame { width: 220px; height: 464px; }
  .app-window-body { height: 280px; }
  .app-sidebar { display: none; }
  .tab-btn { padding: 6px 12px; font-size: 0.75rem; }
}

