/* ============================================
   MERIDIAN TAX ADVISORY — GLOBAL STYLES
   ============================================ */

:root {
  /* Brand Colors */
  --color-navy:     #0B2D72;
  --color-sky:      #00AEEF;
  --color-black:    #000000;
  --color-white:    #FFFFFF;
  --color-navy-light: #1a3d8a;
  --color-navy-dark:  #071d4d;
  --color-sky-light:  #33bef3;
  --color-gray-100:   #f4f6fb;
  --color-gray-200:   #e8ecf4;
  --color-gray-400:   #9aaac4;
  --color-gray-600:   #4a5a7a;

  /* Typography */
  --font-primary:   'Oxanium', sans-serif;

  /* Spacing */
  --section-padding: 96px 0;
  --container-max:   1200px;
  --container-pad:   0 48px;

  /* Effects */
  --shadow-sm:   0 2px 8px rgba(11,45,114,0.08);
  --shadow-md:   0 8px 32px rgba(11,45,114,0.14);
  --shadow-lg:   0 24px 64px rgba(11,45,114,0.20);
  --radius-sm:   4px;
  --radius-md:   10px;
  --radius-lg:   18px;
  --transition:  0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--color-navy);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font-primary);
  cursor: pointer;
  border: none;
  background: none;
}

/* ---- Container ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-pad);
}

/* ---- Section ---- */
.section {
  padding: var(--section-padding);
}

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sky);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-title span {
  color: var(--color-sky);
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--color-gray-600);
  max-width: 560px;
  margin-top: 16px;
  line-height: 1.7;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-sky);
  color: var(--color-white);
  border: 2px solid var(--color-sky);
}
.btn-primary:hover {
  background: var(--color-sky-light);
  border-color: var(--color-sky-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,174,239,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

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

/* ---- View rendering ---- */
#app {
  min-height: 100vh;
}

.page {
  animation: pageFadeIn 0.4s ease;
}

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

/* ---- Active Nav ---- */
.nav-link.active {
  color: var(--color-sky) !important;
}

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-sky    { color: var(--color-sky); }
.text-navy   { color: var(--color-navy); }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }

/* ---- Divider ---- */
.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-sky), var(--color-navy));
  border-radius: 2px;
  margin: 20px 0;
}
.divider-center { margin: 20px auto; }

/* ---- Scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  :root {
    --container-pad: 0 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --container-pad: 0 20px;
    --section-padding: 64px 0;
  }
}
