/* ============================================
   Property Check Australia - Main Stylesheet
   ============================================ */

:root {
  --primary: #0a2540;
  --primary-light: #1a3a5c;
  --accent: #00b4d8;
  --accent-dark: #0090b8;
  --green: #22c55e;
  --yellow: #f59e0b;
  --red: #ef4444;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}

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

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-sm {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}

.text-center { text-align: center; }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 20px; }

.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-gray { color: var(--gray-500); }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-green { color: var(--green); }
.text-yellow { color: var(--yellow); }
.text-red { color: var(--red); }
.text-white { color: var(--white); }

.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }

.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.py-2 { padding-top: 8px; padding-bottom: 8px; }
.py-3 { padding-top: 12px; padding-bottom: 12px; }

.w-full { width: 100%; }

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(10, 37, 64, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), #0090b8);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

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

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--accent);
  color: var(--white) !important;
  padding: 9px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 180, 216, 0.5);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--gray-200);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-dark {
  background: var(--primary);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 14px;
  border-radius: 8px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 18px;
  border-radius: 12px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #0d3460 50%, #163a5f 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: 
    radial-gradient(circle at 25% 25%, var(--accent) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, #4fc3f7 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 180, 216, 0.15);
  border: 1px solid rgba(0, 180, 216, 0.3);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(36px, 6vw, 68px);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--accent), #4fc3f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 48px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-search {
  background: var(--white);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 640px;
  margin: 0 auto 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  position: relative;
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--gray-800);
  background: transparent;
  font-family: var(--font);
}

.hero-search input::placeholder {
  color: var(--gray-400);
}

/* Location (GPS) button inside search bar */
.location-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--gray-500);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  margin-left: 4px;
}
.location-btn:hover {
  background: rgba(0, 180, 216, 0.1);
  color: var(--accent);
  transform: scale(1.05);
}
.location-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.hero-search .btn {
  flex-shrink: 0;
}

/* Subtle hint text below search bar */
.search-hint {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: -20px;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
  margin-top: 8px;
  z-index: 50;
  overflow: hidden;
  display: none;
}

.search-suggestions.active {
  display: block;
}

.suggestion-item {
  padding: 13px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-700);
  transition: background 0.12s;
  border-bottom: 1px solid var(--gray-100);
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover,
.suggestion-item.suggestion-active {
  background: var(--gray-50);
  color: var(--primary);
}

.suggestion-text {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.suggestion-state-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 0.03em;
}

.suggestion-loading {
  cursor: default;
  opacity: 0.7;
}
.suggestion-loading:hover {
  background: transparent;
  color: var(--gray-700);
}

.suggestion-icon {
  color: var(--gray-400);
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
}

.hero-stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.hero-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* ============================================
   TRUST BAR
   ============================================ */

.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  padding: 20px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gray-500);
  font-size: 14px;
  font-weight: 500;
}

.trust-icon {
  font-size: 18px;
  color: var(--accent);
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 80px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 540px;
  line-height: 1.7;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 16px;
}

.card-icon.blue {
  background: rgba(0, 180, 216, 0.1);
}

.card-icon.green {
  background: rgba(34, 197, 94, 0.1);
}

.card-icon.yellow {
  background: rgba(245, 158, 11, 0.1);
}

.card-icon.red {
  background: rgba(239, 68, 68, 0.1);
}

.card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
}

/* ============================================
   SAMPLE REPORT PREVIEW
   ============================================ */

.report-preview {
  background: var(--primary);
  border-radius: 20px;
  padding: 32px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.report-preview::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0,180,216,0.2) 0%, transparent 70%);
  border-radius: 50%;
}

.score-ring-container {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.score-ring {
  position: relative;
  width: 120px;
  height: 120px;
}

.score-ring svg {
  transform: rotate(-90deg);
}

.score-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
}

.score-ring-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  font-weight: 600;
}

/* ============================================
   HOW IT WORKS
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.67% + 20px);
  right: calc(16.67% + 20px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), #4fc3f7);
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--white);
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(0, 180, 216, 0.4);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   FEATURES GRID
   ============================================ */

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 28px;
  height: 28px;
  background: rgba(34, 197, 94, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 13px;
  color: var(--gray-500);
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 15px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  color: var(--white);
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
}

.author-role {
  font-size: 13px;
  color: var(--gray-400);
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.2s;
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--gray-800);
  font-size: 15px;
  user-select: none;
  transition: color 0.2s;
}

.faq-item.active .faq-question {
  color: var(--primary);
}

.faq-chevron {
  font-size: 18px;
  transition: transform 0.3s;
  color: var(--gray-400);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

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

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--gray-500);
  font-size: 15px;
  line-height: 1.7;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--primary), #0d3460);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(0,180,216,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(79, 195, 247, 0.1) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-search {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 8px;
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.cta-search input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 16px;
  color: var(--white);
  font-family: var(--font);
}

.cta-search input::placeholder {
  color: rgba(255,255,255,0.4);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.6);
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.footer-col ul a {
  color: rgba(255,255,255,0.5);
  font-size: 14px;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
}

.footer-disclaimer {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

/* ============================================
   REPORT PAGE
   ============================================ */

.report-page {
  background: var(--gray-50);
  min-height: 100vh;
  padding-top: 80px;
}

.report-header {
  background: linear-gradient(135deg, var(--primary), #0d3460);
  padding: 40px 0 60px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.report-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: var(--gray-50);
  border-radius: 40px 40px 0 0;
}

.report-header-inner {
  position: relative;
  z-index: 1;
}

.report-address {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.report-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.report-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.report-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.report-body {
  padding: 40px 0 80px;
  margin-top: -20px;
}

/* Score Card */
.score-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}

.score-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--green), #16a34a);
}

.score-card.warning::before {
  background: linear-gradient(180deg, var(--yellow), #d97706);
}

.score-card.danger::before {
  background: linear-gradient(180deg, var(--red), #dc2626);
}

.score-ring-large {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
}

.score-ring-large svg {
  transform: rotate(-90deg);
}

.score-ring-large .score-ring-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.score-ring-large .score-number {
  font-size: 36px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.score-ring-large .score-label {
  font-size: 11px;
  color: var(--gray-400);
  font-weight: 600;
  margin-top: 2px;
}

.score-info {
  flex: 1;
}

.score-verdict {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 16px;
}

.score-verdict.good {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.score-verdict.warning {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.score-verdict.danger {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

.score-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
  max-width: 520px;
}

.score-breakdown {
  display: flex;
  gap: 24px;
  margin-top: 20px;
}

.score-factor {
  flex: 1;
}

.score-factor-label {
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.score-factor-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}

.score-factor-fill {
  height: 100%;
  border-radius: 3px;
  transition: width 1s ease;
}

.fill-green { background: var(--green); }
.fill-yellow { background: var(--yellow); }
.fill-red { background: var(--red); }
.fill-blue { background: var(--accent); }

/* Report Sections */
.report-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 28px;
  align-items: start;
}

.section-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  margin-bottom: 24px;
}

.section-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.section-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.section-card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--primary);
}

.section-card-subtitle {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* Risk Items */
.risk-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-50);
}

.risk-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.risk-indicator {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.risk-indicator.low {
  background: rgba(34, 197, 94, 0.1);
}

.risk-indicator.medium {
  background: rgba(245, 158, 11, 0.1);
}

.risk-indicator.high {
  background: rgba(239, 68, 68, 0.1);
}

.risk-content {
  flex: 1;
}

.risk-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 3px;
}

.risk-desc {
  font-size: 13px;
  color: var(--gray-400);
}

.risk-badge {
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.risk-badge.low {
  background: rgba(34, 197, 94, 0.12);
  color: #16a34a;
}

.risk-badge.medium {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.risk-badge.high {
  background: rgba(239, 68, 68, 0.12);
  color: #dc2626;
}

/* Lifestyle Items */
.lifestyle-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-50);
}

.lifestyle-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.lifestyle-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 180, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.lifestyle-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 3px;
}

.lifestyle-value {
  font-size: 13px;
  color: var(--gray-500);
}

/* Cost Estimate */
.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-50);
}

.cost-item:last-child {
  border-bottom: none;
}

.cost-label {
  font-size: 14px;
  color: var(--gray-600);
}

.cost-value {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
}

/* Sidebar Widgets */
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  margin-bottom: 20px;
}

.sidebar-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Reddit Section */
.reddit-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.reddit-logo {
  font-size: 22px;
}

.reddit-post {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  border: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.reddit-post:hover {
  border-color: #ff4500;
  background: rgba(255, 69, 0, 0.02);
}

.reddit-post-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 6px;
  line-height: 1.4;
}

.reddit-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.reddit-badge {
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
}

.reddit-badge.positive {
  background: rgba(34, 197, 94, 0.15);
  color: #16a34a;
}

.reddit-badge.negative {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626;
}

.reddit-badge.mixed {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;
}

.reddit-meta-text {
  font-size: 12px;
  color: var(--gray-400);
}

.sentiment-overview {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.sentiment-emoji {
  font-size: 28px;
}

.sentiment-label {
  font-weight: 700;
  font-size: 16px;
  color: var(--gray-800);
}

.sentiment-detail {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

.sentiment-bar {
  display: flex;
  gap: 3px;
  margin-top: 10px;
}

.sentiment-bar-segment {
  height: 6px;
  border-radius: 3px;
}

/* ============================================
   DEVELOPMENTS / PREMIUM SECTION
   ============================================ */

.premium-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}

.premium-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  padding: 2px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.developments-preview {
  position: relative;
}

.developments-blur {
  filter: blur(5px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
}

.da-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
}

.da-item:last-child {
  border-bottom: none;
}

.da-type-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.da-type-badge.residential {
  background: rgba(0, 180, 216, 0.12);
  color: #0369a1;
}

.da-type-badge.commercial {
  background: rgba(139, 92, 246, 0.12);
  color: #7c3aed;
}

.da-type-badge.infrastructure {
  background: rgba(34, 197, 94, 0.12);
  color: #15803d;
}

.da-info {
  flex: 1;
}

.da-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
}

.da-details {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

.da-status {
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.da-status.approved {
  color: var(--green);
}

.da-status.pending {
  color: var(--yellow);
}

.da-status.under-review {
  color: var(--accent);
}

.unlock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  border-radius: var(--radius);
  z-index: 10;
}

.unlock-icon {
  font-size: 36px;
  margin-bottom: 10px;
}

.unlock-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.unlock-subtext {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 16px;
  text-align: center;
  max-width: 200px;
}

/* Email CTA Form */
.email-cta-card {
  background: linear-gradient(135deg, #fff7ed, #fff);
  border: 2px solid #fed7aa;
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  margin-bottom: 24px;
}

.email-cta-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.email-cta-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.email-cta-subtitle {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
}

.email-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
  text-align: left;
}

.email-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-600);
}

.email-feature-check {
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
}

.email-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.email-form input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  font-size: 14px;
  color: var(--gray-700);
  font-family: var(--font);
  outline: none;
  transition: border-color 0.2s;
}

.email-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.1);
}

.email-form .btn-submit {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: var(--white);
  border: none;
  padding: 13px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
}

.email-form .btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.email-form .btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.email-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  display: none;
}

.email-success.show {
  display: block;
}

.email-success-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.email-success-text {
  font-size: 14px;
  color: #15803d;
  font-weight: 600;
  line-height: 1.5;
}

/* ── Social Sign-in ── */
.social-signin-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.social-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.18s;
  border: 1.5px solid var(--gray-200);
  background: white;
  color: var(--gray-800);
  position: relative;
  overflow: hidden;
}

.social-signin-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.18s;
}

.social-signin-btn:hover::after { background: rgba(0,0,0,0.04); }
.social-signin-btn:active       { transform: scale(0.98); }

.social-signin-btn.google {
  border-color: #dadce0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.social-signin-btn.google:hover {
  border-color: #4285F4;
  box-shadow: 0 2px 8px rgba(66,133,244,0.2);
}

.social-signin-btn.outlook {
  border-color: #c9d8e8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.social-signin-btn.outlook:hover {
  border-color: #0078D4;
  box-shadow: 0 2px 8px rgba(0,120,212,0.2);
}

.social-signin-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}
.social-signin-btn.loading span { opacity: 0; }
.social-signin-btn.loading::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  border: 2px solid var(--gray-200);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.signin-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0 16px;
  font-size: 12px;
  color: var(--gray-400);
  font-weight: 600;
}
.signin-divider::before,
.signin-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

.social-signed-in-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 10px;
  padding: 11px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #15803d;
  font-weight: 600;
}
.social-signed-in-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Transport Trip Planner */
.transport-planner {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 16px;
  margin-top: 4px;
  border: 1px solid var(--gray-100);
}

.transport-link-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  width: 100%;
  justify-content: center;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

.transport-link-btn:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.transport-link-btn.secondary {
  background: var(--white);
  color: var(--accent);
  border: 1.5px solid var(--accent);
  margin-top: 8px;
}

.transport-link-btn.secondary:hover {
  background: rgba(0, 180, 216, 0.05);
}

.transport-modes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.transport-mode {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--gray-600);
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 4px 10px;
  border-radius: 100px;
}

/* Map */
.map-container {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 12px;
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #0d3460);
  color: var(--white);
  gap: 8px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.loading-logo {
  font-size: 48px;
  margin-bottom: 8px;
}

.loading-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--gray-100);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.loading-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 260px;
}

.loading-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--gray-400);
  transition: color 0.3s;
}

.loading-step.active {
  color: var(--primary);
}

.loading-step.done {
  color: var(--green);
}

.loading-step-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  transition: all 0.3s;
}

.loading-step.active .loading-step-icon {
  border-color: var(--accent);
  background: rgba(0, 180, 216, 0.1);
}

.loading-step.done .loading-step-icon {
  border-color: var(--green);
  background: rgba(34, 197, 94, 0.1);
  color: var(--green);
}

.loading-progress {
  width: 260px;
  height: 6px;
  background: var(--gray-100);
  border-radius: 3px;
  overflow: hidden;
}

.loading-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #4fc3f7);
  border-radius: 3px;
  transition: width 0.5s ease;
  width: 0%;
}

/* Print Button */
.action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-action {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: var(--font);
}

.btn-action.outline {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.8);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn-action.outline:hover {
  background: rgba(255,255,255,0.2);
  color: var(--white);
}

/* Disclaimer */
.disclaimer {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 16px 20px;
  margin-top: 8px;
}

.disclaimer-text {
  font-size: 12px;
  color: var(--gray-400);
  line-height: 1.7;
}

/* NSW Planning Portal Link */
.nsw-portal-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  text-decoration: none;
  transition: gap 0.2s;
}

.nsw-portal-link:hover {
  gap: 12px;
}

/* ============================================
   LOADING ANIMATION
   ============================================ */

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

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-search {
    flex-direction: column;
    padding: 12px;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-divider {
    display: none;
  }

  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .steps::before {
    display: none;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .score-card {
    flex-direction: column;
    text-align: center;
  }

  .score-breakdown {
    flex-wrap: wrap;
  }

  .report-grid {
    grid-template-columns: 1fr;
  }

  .trust-bar-inner {
    gap: 20px;
  }

  .cta-search {
    flex-direction: column;
  }
}

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

  .hero-title {
    font-size: 28px;
  }

  .section {
    padding: 56px 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .score-breakdown {
    gap: 12px;
  }
}

/* ============================================
   TWITTER / X CARD
   ============================================ */

.x-logo {
  width: 44px;
  height: 44px;
  background: #000;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
}

.tweet-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}

.tweet-card:hover {
  border-color: #000;
}

.tweet-avatar {
  width: 36px;
  height: 36px;
  background: var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
  color: var(--gray-500);
  flex-shrink: 0;
}

.tweet-author {
  font-weight: 700;
  font-size: 13px;
  color: var(--gray-800);
}

.tweet-handle {
  font-size: 12px;
  color: var(--gray-400);
}

.tweet-text {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.55;
  margin: 8px 0;
}

.tweet-metrics {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--gray-400);
}

/* ============================================
   COUNCIL EVENTS CARD
   ============================================ */

.council-event-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-50);
}

.council-event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.council-event-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.council-event-title {
  font-weight: 600;
  font-size: 14px;
  color: var(--gray-800);
  margin-bottom: 4px;
  line-height: 1.3;
}

.council-event-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: var(--gray-400);
  flex-wrap: wrap;
  margin-bottom: 5px;
}

.event-cat-badge {
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.event-free-badge {
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.event-days-badge {
  font-size: 12px;
  color: var(--accent);
  font-weight: 600;
}

/* ============================================
   PREMIUM LOCKED OVERLAY VARIANTS
   ============================================ */

.premium-lock-box {
  border: 1.5px dashed var(--gray-200);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  background: var(--gray-50);
  margin-top: 8px;
}

.premium-lock-box .lock-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.premium-lock-box .lock-title {
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 4px;
}

.premium-lock-box .lock-desc {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ============================================
   SECTION SEPARATOR
   ============================================ */

.premium-section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray-400);
}

.premium-section-divider::before,
.premium-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-100);
}

@media print {
  .navbar, .loading-screen, .btn-action, .email-cta-card, .nav-links,
  .address-finder-bar {
    display: none !important;
  }

  .report-page {
    padding-top: 0;
  }

  .section-card, .score-card, .sidebar-card, .premium-card {
    box-shadow: none;
    border: 1px solid var(--gray-200);
  }
}

/* ============================================
   ADDRESS FINDER BAR (report page)
   ============================================ */

.address-finder-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 10px 0;
  position: sticky;
  top: 64px;           /* sits below the fixed navbar */
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.address-finder-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.address-finder-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
}

.address-finder-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: 10px;
  overflow: visible;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-width: 0;
}

.address-finder-search:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,180,216,0.12);
  background: var(--white);
}

.report-location-btn {
  background: none;
  border: none;
  padding: 0 12px;
  cursor: pointer;
  color: var(--gray-400);
  font-size: 15px;
  transition: color 0.2s;
  flex-shrink: 0;
  line-height: 1;
  height: 40px;
  display: flex;
  align-items: center;
}

.report-location-btn:hover { color: var(--accent); }

.address-finder-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 14px;
  color: var(--gray-800);
  padding: 10px 6px;
  outline: none;
  min-width: 0;
}

.address-finder-input::placeholder { color: var(--gray-400); }

.address-finder-btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0 16px;
  height: 40px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.address-finder-btn:hover { background: var(--accent-dark); }

/* Suggestions dropdown positioned for the report bar */
.report-suggestions {
  top: calc(100% + 6px) !important;
  left: 0 !important;
  right: 0 !important;
  width: auto !important;
}

@media (max-width: 640px) {
  .address-finder-bar { top: 56px; }
  .address-finder-label { display: none; }
  .address-finder-inner { gap: 0; }
}

/* ============================================
   ARCHITECTURE SECTION
   ============================================ */

.arch-section {
  padding: 80px 0;
}

.arch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.arch-card {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
}

.arch-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-100);
}

.arch-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.arch-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
}

.arch-card-sub {
  font-size: 13px;
  color: var(--gray-400);
  margin-top: 2px;
}

.arch-badge {
  margin-left: auto;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.arch-badge-green {
  background: rgba(34,197,94,0.12);
  color: #16a34a;
}

.arch-badge-blue {
  background: rgba(0,180,216,0.12);
  color: var(--accent-dark);
}

.arch-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* File list */
.arch-files {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.arch-file-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  transition: background 0.15s;
}

.arch-file-row:hover {
  background: rgba(0,180,216,0.04);
  border-color: rgba(0,180,216,0.2);
}

.arch-file-icon {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}

.arch-file-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  font-family: 'Courier New', monospace;
}

.arch-file-desc {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 2px;
}

/* API box */
.arch-api-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 20px;
}

.arch-api-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.arch-api-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-api-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.arch-api-row code {
  background: rgba(0,180,216,0.08);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-family: 'Courier New', monospace;
  flex: 1;
}

.arch-api-note {
  color: var(--gray-400);
  font-size: 12px;
  flex-shrink: 0;
}

.arch-method {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  width: 40px;
  text-align: center;
}

.arch-method.get    { background: rgba(34,197,94,0.12);  color: #16a34a; }
.arch-method.post   { background: rgba(0,180,216,0.12);  color: #0090b8; }
.arch-method.delete { background: rgba(239,68,68,0.1);   color: #dc2626; }

/* External APIs */
.arch-external-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 10px;
}

.arch-externals {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arch-external-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
}

.arch-ext-badge {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  flex-shrink: 0;
  margin-top: 1px;
}

.arch-ext-badge.free { background: rgba(34,197,94,0.12); color: #16a34a; }
.arch-ext-badge.mock { background: rgba(245,158,11,0.12); color: #a16207; }

.arch-ext-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-700);
}

.arch-ext-url {
  font-size: 12px;
  color: var(--gray-400);
  margin-top: 2px;
}

/* How to manage grid */
.arch-manage {
  border-top: 3px solid var(--accent);
}

.arch-manage-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 4px;
}

.arch-manage-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.arch-manage-step {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.arch-manage-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.arch-manage-body {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.6;
}

.arch-manage-body code {
  background: var(--gray-100);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 12px;
  color: var(--primary);
}

@media (max-width: 900px) {
  .arch-grid {
    grid-template-columns: 1fr;
  }
  .arch-manage-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .arch-manage-grid {
    grid-template-columns: 1fr;
  }
  .arch-card {
    padding: 20px;
  }
}
