/* SmartCity Landing Page Styling - Matched 1:1 with SmartCity Flutter App Theme & Fully Mobile Responsive */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  /* AppTheme & WebSplashScreen Design Tokens */
  --bg-dark: #0D1B2A;            /* Dark Midnight Navy from WebSplashScreen */
  --primary-navy: #152A47;       /* AppTheme.primaryColor */
  --navy-container: #1E3A5F;     /* WebSplashScreen Icon Container Gradient Top */
  --navy-container-dark: #102A45;/* WebSplashScreen Icon Container Gradient Bottom */
  --accent-gold: #D4AF37;        /* AppTheme.accentColor */
  --accent-gold-hover: #C59F2A;  
  --accent-blue: #2C5E9E;        /* WebSplashScreen Ambient Glow Blue */
  
  --bg-light: #F7F9FC;           /* AppTheme.backgroundColor */
  --card-surface: #FFFFFF;       /* AppTheme.surfaceColor */
  --info-box-bg: #F0F5FA;        /* AppTheme.infoBoxBackground */
  
  --text-navy: #152A47;          /* AppTheme.textPrimary */
  --text-secondary: #7A869A;     /* AppTheme.textSecondary */
  --border-light: #E2E8F0;       /* AppTheme.borderColor */
  --border-gold: rgba(212, 175, 55, 0.4);
  
  --font-main: 'Poppins', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-card: 16px;           /* AppTheme card borderRadius (16px) */
  --radius-badge: 20px;
  --radius-xl: 24px;
  
  --shadow-card: 0 4px 12px rgba(21, 42, 71, 0.05);
  --shadow-hover: 0 12px 28px rgba(21, 42, 71, 0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--text-navy);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

/* Typography & Badges */
h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--text-navy);
}

.gold-text {
  color: var(--accent-gold);
}

.gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background-color: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-badge);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  max-width: 100%;
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  border: 1.5px solid transparent;
  text-align: center;
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--primary-navy);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3);
}

.btn-gold:hover {
  background-color: var(--accent-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.4);
}

.btn-navy {
  background-color: var(--primary-navy);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(21, 42, 71, 0.2);
}

.btn-navy:hover {
  background-color: var(--navy-container);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(21, 42, 71, 0.3);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.05rem 2.2rem;
  font-size: 1.05rem;
}

/* Header & Navbar - Mobile Responsive */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 76px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px rgba(13, 27, 42, 0.4);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-container), var(--navy-container-dark));
  border: 1.5px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-size: 1.25rem;
  box-shadow: 0 4px 15px rgba(44, 94, 158, 0.3);
  flex-shrink: 0;
}

.logo-text-col {
  display: flex;
  flex-direction: column;
}

.logo-main-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.logo-sub-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Desktop Nav Links Wrapper */
.nav-links-wrapper {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Mobile Hamburger Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.mobile-nav-toggle:focus {
  outline: none;
  color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
  padding-top: 140px;
  padding-bottom: 80px;
  background-color: var(--bg-dark);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero-glow-right {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(44, 94, 158, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow-left {
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin-top: 1.2rem;
  margin-bottom: 1.2rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 740px;
  margin-left: auto;
  margin-right: auto;
}

.hero-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.5px;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.hero-preview-wrapper {
  position: relative;
  margin-top: 1rem;
  border-radius: var(--radius-xl);
  padding: 12px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.4), rgba(16, 42, 69, 0.6));
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-gold);
  box-shadow: 0 25px 60px rgba(13, 27, 42, 0.6);
}

.hero-preview-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: calc(var(--radius-xl) - 6px);
}

/* Stats Bar */
.stats-bar {
  padding: 2.5rem 0;
  background-color: var(--card-surface);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 0.8rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 0.2rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Section Common Styling */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.feature-card {
  background-color: var(--card-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 1.8rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-hover);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--info-box-bg);
  border: 1px solid #D9E5F2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-navy);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.feature-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 0.5rem;
}

.feature-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Platform Dual Spotlight */
.platform-section {
  background-color: #EEF3F9;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.platform-card {
  background-color: var(--card-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
}

.platform-card:hover {
  box-shadow: var(--shadow-hover);
}

.platform-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  background-color: var(--info-box-bg);
  color: var(--primary-navy);
  margin-bottom: 1.2rem;
  border: 1px solid #D9E5F2;
}

.platform-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 0.8rem;
}

.platform-card p {
  color: var(--text-secondary);
  margin-bottom: 1.6rem;
  font-size: 0.98rem;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-navy);
  font-size: 0.95rem;
  font-weight: 500;
}

.feature-list li i {
  color: var(--accent-gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Contact / Lead Section */
.contact-section {
  background-color: var(--bg-light);
}

.contact-card {
  background-color: var(--card-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  box-shadow: var(--shadow-hover);
}

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.contact-perks {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.perk-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.perk-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--info-box-bg);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid #D9E5F2;
}

.perk-text h4 {
  font-size: 1rem;
  color: var(--text-navy);
  margin-bottom: 0.15rem;
}

.perk-text p {
  font-size: 0.88rem;
  margin-bottom: 0;
  color: var(--text-secondary);
}

/* Form Inputs */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  color: var(--text-navy);
  font-family: var(--font-main);
  font-size: 1rem; /* Prevents auto-zoom on mobile safari */
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-navy);
  box-shadow: 0 0 0 3px rgba(21, 42, 71, 0.1);
  background-color: #FFFFFF;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(13, 27, 42, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 1rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background-color: var(--card-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2.5rem 1.8rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-hover);
  transform: scale(0.9);
  transition: var(--transition);
}

.modal-overlay.active .modal-card {
  transform: scale(1);
}

.modal-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--info-box-bg);
  color: var(--accent-gold);
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
  border: 2px solid var(--accent-gold);
}

.modal-card h3 {
  font-size: 1.6rem;
  color: var(--text-navy);
  margin-bottom: 0.6rem;
}

.modal-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
}

.modal-btn-group {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 60px 0 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.8rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #FFFFFF;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-gold);
}

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

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES (Mobile & Tablet Breakpoints)
   ========================================================================== */

@media (max-width: 900px) {
  /* Mobile Navigation Hamburger Drawer */
  .mobile-nav-toggle {
    display: block;
  }

  .nav-links-wrapper {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: var(--bg-dark);
    border-bottom: 1.5px solid var(--border-gold);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links-wrapper.active {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 1.2rem;
  }

  .nav-links a {
    font-size: 1.05rem;
    display: block;
    width: 100%;
    padding: 0.3rem 0;
  }

  .nav-cta-btn {
    width: 100%;
    margin-top: 0.5rem;
  }

  /* Section Padding */
  .hero-section {
    padding-top: 110px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .platform-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 600px) {
  .container {
    padding: 0 1rem;
  }

  .logo-main-title {
    font-size: 1rem;
  }

  .logo-sub-tag {
    font-size: 0.58rem;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 1.95rem;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
  }

  .hero-tagline {
    font-size: 0.8rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
    gap: 0.8rem;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section {
    padding: 55px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }

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

  .feature-card {
    padding: 1.4rem;
  }

  .platform-card {
    padding: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .contact-card {
    padding: 1.5rem 1.2rem;
  }

  .contact-info h2 {
    font-size: 1.75rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.8rem;
    text-align: center;
  }

  .modal-card {
    padding: 2rem 1.2rem;
  }

  .modal-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .modal-btn-group .btn {
    width: 100%;
  }
}
