/* ============================================================
   CONVERTECH SOLUTIONS — Global Stylesheet
   Brand: Midnight Navy / Electric Blue / Sky Charge
   Fonts: Rajdhani (headings) · DM Sans (body) · Space Mono (labels)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Space+Mono:wght@400;700&display=swap');

/* ── TOKENS ── */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0F2040;
  --navy-light:  #1A3355;
  --blue:        #1E6FD9;
  --blue-hover:  #1860C4;
  --sky:         #4DA6FF;
  --cloud:       #E8F2FF;
  --off-white:   #F5F8FC;
  --white:       #FFFFFF;
  --text-body:   #2D4A6B;
  --text-muted:  #5A7FA0;
  --text-light:  #8BAEC9;
  --border:      rgba(30, 111, 217, 0.15);
  --border-mid:  rgba(30, 111, 217, 0.25);

  --font-head:   'Rajdhani', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --font-mono:   'Space Mono', monospace;

  --radius-sm:   6px;
  --radius-md:   10px;
  --radius-lg:   16px;
  --radius-xl:   24px;

  --shadow-card: 0 2px 20px rgba(10, 22, 40, 0.08);
  --shadow-blue: 0 4px 24px rgba(30, 111, 217, 0.2);

  --nav-h:       72px;
  --section-gap: 100px;
  --max-w:       1160px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { font-size: 1rem; line-height: 1.75; color: var(--text-body); }

.label-mono {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 0.75rem;
}

/* ── LAYOUT ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: var(--section-gap) 0; }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 4rem;
}
.section-header p {
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.22s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(30, 111, 217, 0.35);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
}

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

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(30, 111, 217, 0.2);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-logo-name span { color: var(--sky); }

.nav-logo-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1.5px;
  background: var(--sky);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: left;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-links .nav-future {
  color: rgba(255,255,255,0.3);
  pointer-events: none;
  font-size: 0.85rem;
}

.nav-cta {
  margin-left: 1rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--navy);
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid rgba(30,111,217,0.2);
  flex-direction: column;
  gap: 1rem;
  z-index: 99;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--sky); }
.nav-mobile .btn { margin-top: 0.5rem; width: 100%; justify-content: center; }
.nav-mobile .nav-future { color: rgba(255,255,255,0.25); pointer-events: none; }

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  padding: 60px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand {}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
}
.footer-logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer-logo-name span { color: var(--sky); }
.footer-logo-sub {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-top: 2px;
  font-weight: 300;
}
.footer-tagline {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.04em;
  margin-bottom: 1.25rem;
}
.footer-email a {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--sky);
  letter-spacing: 0.04em;
}
.footer-email a:hover { color: var(--white); }

.footer-col h5 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--sky); }
.footer-col ul li.coming-soon a {
  color: rgba(255,255,255,0.2);
  pointer-events: none;
  font-style: italic;
}

.footer-hours {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 0.5rem;
}
.footer-hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 0;
}
.footer-hours-row:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-hours-day {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}
.footer-hours-time {
  font-size: 0.8rem;
  color: var(--sky);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.25);
}
.footer-abn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.06em;
}

/* ── CARDS ── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(10, 22, 40, 0.12);
  border-color: var(--border-mid);
}

/* ── TRUST BADGE ── */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(77,166,255,0.12);
  border: 1px solid rgba(77,166,255,0.25);
  border-radius: 99px;
  padding: 5px 14px 5px 8px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky);
}
.trust-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34,197,94,0.7);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ── HOURS CHIP ── */
.hours-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.65);
}
.hours-chip svg { color: var(--sky); width: 14px; height: 14px; }

/* ── DIVIDER ── */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-mid), transparent);
  margin: 0;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--navy);
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(30,111,217,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.6); max-width: 560px; margin-top: 1rem; font-size: 1.1rem; }

/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-up {
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
}
.animate-fade-up.delay-1 { animation-delay: 0.1s; }
.animate-fade-up.delay-2 { animation-delay: 0.2s; }
.animate-fade-up.delay-3 { animation-delay: 0.35s; }
.animate-fade-up.delay-4 { animation-delay: 0.5s; }
.animate-fade-up.delay-5 { animation-delay: 0.65s; }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ── FORM STYLES ── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.form-group .req { color: var(--blue); margin-left: 2px; }
.form-group .opt {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background: var(--white);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,111,217,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235A7FA0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
  cursor: pointer;
  color: var(--navy);
}
.form-group select option[value=""] { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 130px; line-height: 1.6; }

.form-error {
  font-size: 0.78rem;
  color: #dc3545;
  display: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea { border-color: #dc3545; }
.form-group.has-error .form-error { display: block; }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-navy { color: var(--navy); }
.text-blue { color: var(--blue); }
.text-sky  { color: var(--sky); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  :root { --section-gap: 70px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --section-gap: 56px; }
  .container { padding: 0 1.25rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}
