/* Modern, Google-like baseline styles */

:root {
  --bg: #ffffff;
  --text: #202124;
  --subtext: #5f6368;
  --primary: #1a73e8;
  --primary-ink: #ffffff;
  --surface: #ffffff;
  --surface-elev: #ffffff;
  --border: #e0e3e7;
  --shadow: 0 1px 2px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.08);
}

html, body {
  height: 100%;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

/* Header */
.site-header-wrap {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
}

.site-logo-image { width: 112px; height: auto; float: none; }

.primary-cta {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(26,115,232,.3), 0 3px 10px rgba(26,115,232,.2);
}
.primary-cta:hover { filter: brightness(1.06); }

/* Navigation */
.wrap { width: 100%; float: none; }
.menu { background: transparent; box-shadow: none; }
.menu ul { display: flex; gap: 20px; padding: 0 16px; }
.menu li { font-size: 15px; }
.menu a { color: var(--subtext); text-shadow: none; padding: 8px 10px; border-radius: 8px; }
.menu a:hover, .menu .current-item a { color: var(--primary); background: rgba(26,115,232,0.08); }
.toggle-nav { display: none; }

@media (max-width: 900px) {
  .menu ul { flex-wrap: wrap; gap: 12px; }
}

/* Neutralize legacy dropdown mobile nav */
@media (max-width: 1150px) {
  .menu { position: static !important; display: block !important; width: 100% !important; }
  .menu ul { position: static !important; top: auto !important; left: auto !important; padding: 8px 16px !important; background: transparent !important; box-shadow: none !important; display: flex !important; }
  .menu ul:after { display: none !important; }
  .menu li { float: none !important; }
  .toggle-nav { display: none !important; }
}

/* Hero / Main */
.section-main {
  display: grid;
  place-items: center;
  min-height: 60vh;
  height: auto;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.35)),
    url("images/main.jpeg") center/cover no-repeat;
}

.sheet-main { position: static; left: auto; top: auto; text-align: center; }
.text3 { color: var(--text); font-size: 30px; line-height: 1.3; font-weight: 700; }
/* Ensure hero text is white over the background image */
.section-main .text3 { color: #ffffff; }

.hero-actions { margin-top: 16px; display: flex; gap: 12px; justify-content: center; }
.button { display: inline-block; padding: 12px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; }
.button-primary { background: var(--primary); color: #fff; box-shadow: 0 1px 2px rgba(26,115,232,.3), 0 3px 10px rgba(26,115,232,.2); }
.button-primary:hover { filter: brightness(1.06); }
.button-secondary { background: rgba(255,255,255,0.12); color: #fff; border: 1px solid rgba(255,255,255,0.35); }

/* Content sections */
.section-about, .section-tou, .section-network, .section-contact {
  width: 100%;
  min-height: auto;
  height: auto;
  float: none;
}

.sheet-about, .sheet-tou, .sheet-network, .sheet-contact {
  position: static;
  max-width: 900px;
  margin: 48px auto;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.text1 { font-size: 30px; font-weight: 700; margin: 0 0 14px; color: var(--text); }
.text2 { font-size: 18px; color: var(--subtext); }

/* Card plans */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

@media (min-width: 700px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .plans-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.plan-card {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.plan-title { font-weight: 800; font-size: 20px; color: var(--text); }
.plan-price { font-weight: 800; font-size: 26px; margin-top: 8px; color: var(--text); }
.plan-meta { color: var(--subtext); margin-top: 6px; }
.plan-validity { margin-top: 6px; color: var(--subtext); font-weight: 600; }
.plan-concurrency { margin-top: 6px; color: var(--subtext); }
.plan-estimates {
  margin: 12px 0 0;
  padding-left: 18px;
  list-style: disc;
  color: var(--subtext);
}

.plan-actions { margin-top: 16px; }
.buy-button {
  appearance: none;
  border: none;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 1px 2px rgba(26,115,232,.3), 0 3px 10px rgba(26,115,232,.2);
}
.buy-button:hover { filter: brightness(1.06); }
.buy-button:active { transform: translateY(1px); }

.estimate-note { margin-top: 16px; color: var(--subtext); font-size: 14px; }
.trust-note { margin-top: 8px; color: var(--subtext); display: flex; gap: 16px; }
.trust-note span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; background: #f3f6fb; border: 1px solid var(--border); border-radius: 999px; }
.estimate-extra { margin-top: 6px; color: var(--subtext); font-size: 14px; }

/* Most popular badge */
.popular { position: relative; border-color: rgba(26,115,232,0.35); box-shadow: 0 0 0 3px rgba(26,115,232,0.12), var(--shadow); }
.plan-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(26,115,232,0.1);
  color: var(--primary);
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

/* Places & Things lists */
.places-list, .things-list {
  margin: 16px 0 0;
  padding-left: 18px;
}
.places-list li, .things-list li {
  margin-bottom: 12px;
}
.place-title {
  font-weight: 700;
  color: var(--text);
}
.place-desc {
  color: var(--subtext);
  margin-top: 4px;
}

/* Compare table */
.compare-wrap { margin-top: 16px; }
.compare-toggle { margin-top: 16px; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 16px; }
.compare-table th, .compare-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.compare-table th { color: var(--subtext); font-weight: 600; }

.how-it-works { margin-top: 20px; }
.how-title { font-weight: 700; margin-bottom: 8px; color: var(--text); }
.how-steps { display: grid; gap: 8px; }
.how-step { display: flex; align-items: center; gap: 8px; color: var(--text); }
.how-num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; }

/* Footer links */
.footer { display: grid; gap: 8px; }
.footer .footer-links { display: flex; gap: 12px; justify-content: center; }
.footer .footer-links a { color: var(--subtext); text-decoration: none; }
.footer .footer-links a:hover { color: var(--primary); }

/* Focus styles */
*:focus-visible { outline: 3px solid rgba(26,115,232,0.4); outline-offset: 2px; border-radius: 6px; }

/* Forms */
.form-contact label { color: var(--text); font-weight: 500; }
.form-contact input[type="text"],
.form-contact input[type="email"],
.form-contact textarea {
  width: 100%;
  box-sizing: border-box;
  margin: 10px 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease;
}

.form-contact input[type="text"]:focus,
.form-contact input[type="email"]:focus,
.form-contact textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}

.form-contact input[type="submit"] {
  appearance: none;
  border: none;
  background: var(--primary);
  color: var(--primary-ink);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 1px 2px rgba(26,115,232,.3), 0 3px 10px rgba(26,115,232,.2);
}

.form-contact input[type="submit"]:hover { filter: brightness(1.06); }
.form-contact input[type="submit"]:active { transform: translateY(1px); }

/* Footer */
.footer {
  max-width: 1200px;
  margin: 48px auto;
  padding: 16px;
  color: var(--subtext);
  text-align: center;
  border-top: 1px solid var(--border);
}

/* Utility */
a { text-decoration: none; }
p { margin: 0 0 12px; }
ul { margin: 0; padding: 0; list-style: none; }
img { display: block; max-width: 100%; }

