/* ========================================
   AEROCEUTICAL — Flying Tablet Website
   Aesthetic: Retro-futuristic pharma-tech
   Palette: Sky blue + cyan + amber + violet on deep navy
   ======================================== */

:root {
  --bg: #060a1a;
  --bg-2: #0a1128;
  --bg-3: #0f1934;
  --surface: #121e3f;
  --surface-2: #1a2854;
  --cyan: #00e0ff;
  --cyan-dim: #00a8c4;
  --amber: #ff9a3c;
  --amber-dim: #e07a1c;
  --violet: #a78bfa;
  --violet-dim: #7c5fd9;
  --green: #00f5a0;
  --green-dim: #00c878;
  --green-deep: #008f54;
  --green-glow: rgba(0, 245, 160, 0.12);
  --text: #e8f0ff;
  --text-dim: #8da3c4;
  --text-mute: #5a6f8e;
  --border: rgba(0, 224, 255, 0.12);
  --border-2: rgba(232, 240, 255, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --font-display: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-serif: 'Playfair Display', serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

::selection { background: var(--green); color: var(--bg); }

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-25px) rotate(2deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0.3; }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.6; }
}

.anim-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.anim-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.anim-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(6, 10, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.nav-inner {
  max-width: var(--max-width);
  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-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--text);
}
.nav-logo-icon { color: var(--cyan); display: flex; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  color: var(--text-dim);
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--green) !important;
  color: var(--bg) !important;
  padding: 8px 20px !important;
  border-radius: 100px !important;
  font-weight: 600 !important;
  transition: all 0.2s;
}
.nav-cta:hover {
  background: var(--text) !important;
  transform: translateY(-1px);
}
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  width: 24px; height: 2px;
  background: var(--text);
  transition: 0.3s;
}
.mobile-menu {
  display: none;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: radial-gradient(ellipse at 70% 50%, var(--bg-2) 0%, var(--bg) 100%);
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-circle-1 {
  width: 500px; height: 500px;
  top: -100px; right: -100px;
  background: var(--cyan);
  opacity: 0.06;
}
.hero-circle-2 {
  width: 400px; height: 400px;
  bottom: -50px; left: -100px;
  background: var(--green);
  opacity: 0.05;
}
.hero-circle-3 {
  width: 300px; height: 300px;
  top: 40%; left: 45%;
  background: var(--amber);
  opacity: 0.04;
}
.hero-content {
  max-width: 580px;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--cyan), var(--green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 480px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--green);
  color: var(--bg);
}
.btn-primary:hover {
  background: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 245, 160, 0.25);
}
.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--green);
  background: rgba(0, 245, 160, 0.05);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--green);
  background: rgba(0, 245, 160, 0.05);
}
.btn-lg {
  padding: 18px 36px;
  font-size: 16px;
}

/* HERO VISUAL */
.hero-visual {
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 620px;
  display: flex;
  justify-content: center;
  z-index: 1;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
}
.hero-image {
  width: 100%;
  border-radius: 24px;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 60px rgba(0, 245, 160, 0.18));
}
.hero-image-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--green);
  opacity: 0.1;
  filter: blur(60px);
  animation: glow-pulse 4s ease-in-out infinite;
  z-index: -1;
}
.hero-tag {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  white-space: nowrap;
  background: rgba(10, 17, 40, 0.8);
  backdrop-filter: blur(10px);
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
}
.hero-tag-1 { top: 20%; left: -30px; }
.hero-tag-2 { bottom: 25%; right: -20px; }
.hero-tag-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan);
}
.hero-tag-dot--green {
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--text-mute);
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--cyan), transparent);
}

/* ===== MARQUEE ===== */
.marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.15em;
  color: var(--text-dim);
}
.marquee-dot { color: var(--green); font-size: 8px; }

/* ===== SECTIONS ===== */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 16px;
}
.section-eyebrow--green { color: var(--green); }
.section-title {
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
}
.section-title--light { color: var(--text); }
.section-desc {
  font-size: 16px;
  color: var(--text-dim);
}

/* ===== SCIENCE ===== */
.science {
  padding: 120px 0;
  background: var(--bg);
}
.science-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.science-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.science-step {
  display: flex;
  gap: 24px;
  padding: 28px;
  border-radius: var(--radius);
  transition: background 0.3s;
}
.science-step:hover {
  background: var(--surface);
}
.science-step-num {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}
.science-step-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.science-step-body p {
  font-size: 14px;
  color: var(--text-dim);
}
.science-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.science-image {
  width: 100%;
  display: block;
}
.science-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--green);
  background: rgba(6, 10, 26, 0.85);
  padding: 6px 12px;
  border-radius: 6px;
  backdrop-filter: blur(8px);
}

/* ===== PRODUCTS ===== */
.products {
  padding: 120px 0;
  background: var(--bg-2);
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: var(--border);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}
.product-card--featured {
  border-color: var(--green);
  background: linear-gradient(180deg, rgba(0, 245, 160, 0.05), var(--surface));
  position: relative;
}
.product-card--featured::before {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--cyan));
  border-radius: var(--radius) var(--radius) 0 0;
}
.product-badge {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.product-badge--cyan { background: rgba(0, 224, 255, 0.1); color: var(--cyan); }
.product-badge--green { background: rgba(0, 245, 160, 0.12); color: var(--green); }
.product-badge--amber { background: rgba(255, 154, 60, 0.1); color: var(--amber); }
.product-badge--violet { background: rgba(167, 139, 250, 0.1); color: var(--violet); }
.product-visual {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--bg-3), rgba(0, 245, 160, 0.04));
  overflow: hidden;
  position: relative;
}
.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, var(--green-glow), transparent 70%);
  pointer-events: none;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.product-card:hover .product-image {
  transform: scale(1.05);
}
.product-name {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.product-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.product-desc {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.product-specs {
  list-style: none;
  margin-bottom: 24px;
}
.product-specs li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-2);
  font-size: 13px;
}
.product-specs li span { color: var(--text-mute); }
.product-specs li strong { color: var(--text); font-weight: 600; }
.product-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}
.product-price-amount {
  font-size: 32px;
  font-weight: 800;
  color: var(--text);
}
.product-price-unit {
  font-size: 14px;
  color: var(--text-mute);
}
.product-card .btn {
  margin-top: auto;
  width: 100%;
}

/* ===== EXPERIENCE ===== */
.experience {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}
.experience-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.experience-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.experience-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}
.experience-content {
  position: relative;
  z-index: 1;
}
.experience-quotes {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.exp-quote {
  background: rgba(10, 17, 40, 0.7);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  border-left: 3px solid var(--green);
}
.exp-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 16px;
}
.exp-quote cite {
  font-size: 13px;
  color: var(--green);
  font-style: normal;
}

/* ===== SAFETY ===== */
.safety {
  padding: 120px 0;
  background: var(--bg);
}
.safety-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.safety-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.3s;
}
.safety-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 245, 160, 0.08);
}
.safety-icon {
  margin-bottom: 20px;
  display: flex;
}
.safety-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}
.safety-card p {
  font-size: 14px;
  color: var(--text-dim);
}

/* ===== FAQ ===== */
.faq {
  padding: 120px 0;
  background: var(--bg-2);
}
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item:hover { border-color: var(--border); }
.faq-item summary {
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 56px;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: var(--green);
  transition: transform 0.3s;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item summary:hover { color: var(--green); }
.faq-item p {
  padding: 0 28px 24px;
  font-size: 14px;
  color: var(--text-dim);
}

/* ===== CTA ===== */
.cta {
  padding: 120px 0;
  background: var(--bg);
}
.cta-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
}
.cta-glow {
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: var(--green);
  opacity: 0.08;
  filter: blur(80px);
  border-radius: 50%;
}
.cta-title {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.cta-desc {
  font-size: 16px;
  color: var(--text-dim);
  margin-bottom: 32px;
}
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.cta-fine {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-mute);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  color: var(--text);
}
.footer-brand .nav-logo-icon { color: var(--cyan); }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--text-dim);
  padding: 6px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--green); }
.footer-bottom {
  border-top: 1px solid var(--border-2);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-bottom p {
  font-size: 13px;
  color: var(--text-mute);
}
.footer-disclaimer {
  font-size: 12px !important;
  max-width: 700px;
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px; left: 0; right: 0;
    background: var(--bg-2);
    padding: 24px;
    gap: 16px;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 99;
    border-bottom: 1px solid var(--border);
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    font-size: 16px;
    color: var(--text-dim);
  }

  .hero {
    flex-direction: column;
    padding-top: 100px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-eyebrow, .hero-subtitle { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-visual {
    position: relative;
    transform: none;
    width: 100%;
    max-width: 350px;
    margin: 40px auto 0;
  }
  .hero-tag-1 { left: 0; }
  .hero-tag-2 { right: 0; }

  .science-grid { grid-template-columns: 1fr; gap: 40px; }
  .products-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }

  .cta-inner { padding: 40px 24px; }
}

@media (max-width: 600px) {
  .footer-links { grid-template-columns: 1fr; }
  .hero-title { font-size: 38px; }
  .science-step { flex-direction: column; gap: 12px; }
}
