/* ═══════════════════════════════════════════
   GLOBAL — Variables, Reset, Base, Buttons
   ═══════════════════════════════════════════ */

:root {
  --navy: #0a1628;
  --navy-mid: #0f2044;
  --navy-light: #162d5a;
  --blue: #1a3a8f;
  --blue-bright: #2962ff;
  --cyan: #00e5ff;
  --cyan-dim: #00b8d4;
  --ice: #e8f4fd;
  --ice-light: #f0f7ff;
  --frost: #f6faff;
  --white: #ffffff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --shadow-frost: 0 4px 30px rgba(0, 229, 255, 0.06);
  --shadow-card:
    0 1px 3px rgba(10, 22, 40, 0.04), 0 8px 32px rgba(10, 22, 40, 0.06);
  --shadow-card-hover:
    0 2px 8px rgba(10, 22, 40, 0.06), 0 16px 48px rgba(10, 22, 40, 0.1);
  --font-display: "Outfit", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--frost);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* Canvas for floating particles */
#frost-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ─── Gradient Text ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-bright) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Section Utilities ─── */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan-dim);
  margin-bottom: 16px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  padding: 14px 28px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan-dim));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}
.btn-primary:hover {
  box-shadow: 0 6px 32px rgba(0, 229, 255, 0.4);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--blue-bright);
  color: var(--blue-bright);
}
.btn-outline:hover {
  background: var(--blue-bright);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.82rem;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan-dim));
  color: var(--white);
  border-radius: 50px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}
.btn-sm:hover {
  box-shadow: 0 4px 16px rgba(0, 229, 255, 0.3);
  transform: translateY(-1px);
}

/* ─── Animations ─── */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--delay, 0s);
}
[data-animate="slide-left"] {
  transform: translateX(40px);
}
[data-animate].visible {
  opacity: 1;
  transform: translate(0);
}

/* ─── Accessibility & Focus States ─── */
*:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
  border-radius: 4px;
}
.btn:focus-visible {
  outline-offset: 2px;
  border-radius: 50px;
}

/* ─── Footer Social Icons ─── */
.footer-social {
  display: flex;
  gap: 12px;
  padding: 16px 0 0;
}
.footer-social a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social a:hover {
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ─── Floating WhatsApp ─── */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ─── FAQ Smooth Animation ─── */
.faq-answer-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease-out;
}
details[open] .faq-answer-wrapper {
  grid-template-rows: 1fr;
}
.faq-answer {
  overflow: hidden;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }
}

/* ─── Logo Inline Styles (moved from templates) ─── */
.nav-logo-img {
  height: 32px;
  width: auto;
  vertical-align: middle;
}
.footer-logo-img {
  height: 24px;
  width: auto;
  vertical-align: middle;
}
