:root {
  --blue: #0b4ea2;
  --orange: #ff7a00;
  --text: #0f172a;
  --muted: #5b667a;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px; /* Account for sticky header on mobile */
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #B0E0E6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== HEADER ===== */
.site-header {
  padding: 24px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 224px;           /* 4x original size */
  display: block;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background-color: var(--blue);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  color: var(--muted);
}

.main-nav a:hover {
  color: var(--blue);
  background-color: rgba(11, 78, 162, 0.08);
  border-radius: 8px;
  padding: 6px 10px;
}


.nav-cta {
  background: var(--orange);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 400px;
  background: #B0E0E6;
}

.hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 0.5rem;
  margin-bottom: 2.5rem;
}

.hero-tagline,
.hero-title {
  font-size: 3rem;
  font-weight: bold;
  color: #222;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: none;
  width: 100%;
  position: static;
  padding: 0;
  margin: 0;
}

.hero-tagline {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.hero-title {
  margin-bottom: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr; /* image gets more space */
  align-items: center;
  gap: 60px;
}


.hero-text h1 {
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 22px;
}

.hero-text .accent {
  color: var(--orange);
}

.hero-subtext {
    font-size: 32px;
    line-height: 1.6;
  
    font-weight: bold;
    color: var(--muted);
    max-width: 520px;
    margin-bottom: 30px;
}

.hero-text .hero-subtext:first-child {
    margin-bottom: 1rem;
}

.hero-cta {
  display: inline-block;
  background: var(--orange);
  color: #ffffff;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 16px;
}

/* ===== HERO IMAGE ===== */
.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #B0E0E6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .logo img {
    height: 250px;  /* Keep logo large on mobile */
  }

  .header-inner {
    position: relative;
  }

  .hamburger {
    display: flex;
    position: fixed;
    left: 10px;
    top: 10px;
    z-index: 1001;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    gap: 20px;
    overflow-y: auto;
  }

  .main-nav.active {
    right: 0;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }

  .nav-cta {
    margin-top: 10px;
  }

  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero-image {
    order: -1;  /* Move image above everything */
    margin-bottom: 20px;
  }

  .hero-header {
    order: 0;  /* Header comes after image */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    order: 1;  /* Content comes last */
  }

  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }

  .container {
    max-width: 100%;
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }

  .logo img {
    max-width: 90vw;
  }
}

/* ===== DEMOS ===== */
.demos {
  padding: 80px 0;
  background: #B0E0E6;
  color: var(--text);
}

.demos-inner {
  text-align: center;
  max-width: 900px;
}

.demos-title {
  font-size: 40px;
  margin-bottom: 16px;
}

.demos-desc {
  font-size: 18px;
  color: #d1d5db;
  margin-bottom: 40px;
  line-height: 1.6;
}

.demos-actions {
  margin-bottom: 32px;
}

.demo-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 36px;
  background: #f59e0b;
  color: #000;
  font-size: 18px;
  font-weight: 700;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.demo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(245, 158, 11, 0.4);
}

.demos-features {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #e5e7eb;
}



/* ===== RESTORE ORIGINAL ANALYZE MODAL FORM ===== */

.modal-content {
  background: #eaf6fb;
  color: #222;
  padding: 40px;
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.modal-content label {
  display: block;
  margin-top: 18px;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1a3a4a;
  font-size: 1rem;
}

.modal-content input,
.modal-content select {
  width: 100%;
  margin-bottom: 8px;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #b3d6e6;
  font-size: 1em;
  background: #fff;
  color: #222;
}

.modal-content input:focus,
.modal-content select:focus {
  outline: none;
  border-color: #ffb000;
  box-shadow: 0 0 0 2px rgba(255,176,0,.25);
}

/* ===== MODAL OVERLAY (FIXED) ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  background: rgba(0,0,0,0.8);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 99999;
}

.hero-text {
    position: relative;
    z-index: 3;
    color: #222;
    /* background: rgba(255,255,255,0.8);  // Uncomment for debugging */
}

/* ===== FEATURES SECTION ===== */
.features-section {
  padding: 80px 0;
  background: #B0E0E6;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  padding: 80px 0;
  background: #B0E0E6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 80px 0;
  background: #B0E0E6;
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(255, 122, 0, 0.2);
}

#contactForm button:hover {
  background: #ff8c1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
  transition: all 0.3s ease;
}
