/* Import Premium Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Design System */
:root {
  /* Colors */
  --bg-dark: #ffffff;
  --bg-card: rgba(241, 245, 249, 0.75);
  --bg-card-hover: rgba(226, 232, 240, 0.9);
  --border-glass: rgba(15, 23, 42, 0.08);
  
  --primary: #1e3a8a;
  --primary-glow: rgba(30, 58, 138, 0.15);
  --accent: #f97316;
  --accent-glow: rgba(249, 115, 22, 0.15);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-inverse: #ffffff;
  
  --success: #059669;
  --warning: #d97706;
  --error: #dc2626;
  
  /* Fonts */
  --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--text-main);
  background-color: var(--bg-dark);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background-image: 
    radial-gradient(at 10% 20%, rgba(30, 58, 138, 0.05) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(249, 115, 22, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Base Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Premium Header (Glassmorphism & Sticky) */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid var(--border-glass);
  transition: var(--transition-fast);
}

.header-top {
  background: rgba(30, 58, 138, 0.06);
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-align: center;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  color: var(--text-main);
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-badge {
  background: var(--accent);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.nav-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
}

.logo-signal {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.logo-bar {
  width: 4px;
  background: var(--primary);
  border-radius: 99px;
  animation: pulse-signal 1.5s infinite alternate;
}
.logo-bar:nth-child(1) { height: 8px; animation-delay: 0.1s; }
.logo-bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.logo-bar:nth-child(3) { height: 20px; animation-delay: 0.5s; }
.logo-bar:nth-child(4) { height: 26px; animation-delay: 0.7s; --primary: var(--accent); }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

/* Call-to-Action Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(37, 99, 235, 0.6);
  background: linear-gradient(135deg, #3b82f6, var(--primary));
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #ea580c);
  color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(249, 115, 22, 0.6);
  background: linear-gradient(135deg, #fb923c, var(--accent));
}

.btn-glass {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
}

.btn-glass:hover {
  background: rgba(15, 23, 42, 0.08);
  border-color: rgba(15, 23, 42, 0.15);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: var(--radius-sm);
}

/* Hero Section (Vibrant & Animated) */
.hero {
  position: relative;
  padding: 80px 0 120px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 120px);
  background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.95)), url('/images/hero-bg.png') no-repeat center center;
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  padding: 6px 16px;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(to right, #60a5fa, #38bdf8, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 20px;
  margin-bottom: 48px;
}

.hero-badges {
  display: flex;
  gap: 32px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--success);
  font-size: 1.2rem;
}

.hero-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

/* Glassmorphism Lead Card */
.lead-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.lead-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.lead-card h3 {
  margin-bottom: 12px;
  color: var(--text-main);
}

.lead-card p {
  font-size: 0.95rem;
  margin-bottom: 24px;
}

/* Form Styles */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 10px var(--primary-glow);
}

/* Breadcrumbs (Legible & Structured) */
.breadcrumbs {
  padding: 24px 0 0;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumbs li:not(:last-child)::after {
  content: '/';
  font-weight: 300;
}

.breadcrumbs a {
  color: var(--text-muted);
}

.breadcrumbs a:hover {
  color: #fff;
}

.breadcrumbs li:last-child {
  color: var(--accent);
  font-weight: 600;
}

/* Services Grid */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section {
  padding: 100px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  background: var(--bg-card-hover);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.card:hover .card-icon {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 0 20px var(--primary-glow);
}

.card h3 {
  margin-bottom: 16px;
  color: var(--text-main);
}

.card p {
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--accent);
}

.card-link:hover {
  gap: 12px;
  color: var(--primary);
}

/* Coverage Grid with Regions */
.regions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.region-box {
  background: #f8fafc;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
}

.region-box h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 8px;
  color: var(--text-main);
}

.suburb-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
}

.suburb-links a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.suburb-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

/* Interactive Signal Strength Estimator Tool */
.estimator-container {
  max-width: 600px;
  margin: 40px auto 0;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
}

.estimator-selector {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
}

.estimator-selector select {
  flex-grow: 1;
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-body);
}

.estimator-result {
  display: none;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  animation: fadeIn 0.4s ease;
}

.signal-meter {
  height: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 99px;
  overflow: hidden;
  margin: 20px 0;
  position: relative;
}

.signal-meter-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(0.1, 0.8, 0.3, 1);
}

.signal-meter-bar.weak { background: var(--error); width: 30%; }
.signal-meter-bar.mod { background: var(--warning); width: 60%; }
.signal-meter-bar.strong { background: var(--success); width: 100%; }

.signal-report-card {
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-top: 20px;
}

/* FAQs Accordion Styles */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding: 24px 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
  color: var(--text-muted);
}

.faq-answer p {
  padding-top: 16px;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

/* Footer Section */
.footer {
  background: #05070a;
  border-top: 1px solid var(--border-glass);
  padding: 80px 0 40px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
  margin-bottom: 60px;
}

.footer-info p {
  margin-top: 16px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.45);
  align-items: center;
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-signal {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Responsive Overrides */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-ctas {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  
  .hero-badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
  }
  
  .hero {
    padding: 60px 0 80px;
    min-height: auto;
  }

  .grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav-links {
    display: none;
  }
  
  .header-top-content {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .logo svg {
    width: 135px !important;
    height: 30px !important;
  }

  .nav-bar {
    height: 70px;
  }

  .lead-card {
    padding: 24px 20px;
  }

  .estimator-container {
    padding: 24px 20px;
    margin-top: 30px;
  }

  .estimator-selector {
    flex-direction: column;
    gap: 12px;
  }

  .estimator-selector button {
    width: 100%;
  }

  .section {
    padding: 60px 0;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .footer-grid {
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .hero-desc {
    font-size: 1.05rem;
    margin-bottom: 30px;
  }

  .btn {
    width: 100%;
  }

  .brand-logo-container {
    min-width: 120px;
    height: 50px;
    padding: 10px 15px;
  }

  .brand-logo-container svg {
    max-width: 100%;
    height: auto;
  }
}

/* Fix select dropdown option background/color contrast issues on Chrome/Windows */
select option {
  background-color: #ffffff;
  color: #0f172a;
}

/* Brands We Use Section Styles */
.brands-section {
  padding: 80px 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-glass);
  text-align: center;
}

.brands-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 40px;
}

.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.brand-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px 25px;
  background: #f8fafc;
  border: 1px solid rgba(15, 23, 42, 0.05);
  border-radius: var(--radius-sm);
  min-width: 140px;
  height: 60px;
  transition: var(--transition-fast);
}

.brand-logo-container:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.1);
}

.brand-text {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.15rem;
  color: #64748b;
  transition: var(--transition-fast);
}

.brand-logo-container:hover .brand-text {
  color: var(--primary);
}

/* Scroll Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  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; }

/* Dynamic Status Badges */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-left: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.weak {
  background-color: var(--error);
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.25);
}

.badge.mod {
  background-color: var(--warning);
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.badge.strong {
  background-color: var(--success);
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.25);
}
