/* =============================================
   ContractKit — Main Stylesheet
   Brand Colors:
     Primary Green:  #27ae60
     Dark Navy:      #2c3e50
     Light Blue:     #2980b9
     Orange Accent:  #f58220
     Light BG:       #eaeef1
     White:          #ffffff
   Fonts: Poppins (headings), Open Sans (body)
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: #2c3e50;
  background: #ffffff;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #2c3e50;
}

a {
  color: #27ae60;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #1e8449;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* === CONTAINER === */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  border: none;
  text-align: center;
}

.btn-primary {
  background: #27ae60;
  color: #ffffff;
}

.btn-primary:hover {
  background: #1e8449;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.05rem;
}

/* === HEADER / NAV === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(44, 62, 80, 0.08);
  transition: background 0.3s;
}

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

.logo-link {
  flex-shrink: 0;
}

.logo {
  height: 80px;
  width: auto;
  max-width: 280px;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2c3e50;
  letter-spacing: 0.02em;
  position: relative;
  padding-bottom: 4px;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #27ae60;
  transition: width 0.25s;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.main-nav a:hover {
  color: #27ae60;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #2c3e50;
  border-radius: 2px;
  transition: all 0.3s;
}

/* === HERO === */
.hero {
  padding: 168px 0 80px;
  background: linear-gradient(135deg, #f5f9ff 0%, #eaeef1 100%);
}

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

.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #2c3e50;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 1.1rem;
  color: #575757;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 44px;
  box-shadow: 0 12px 40px rgba(44, 62, 80, 0.12);
  max-width: 360px;
  width: 100%;
}

.hero-card-icon {
  margin-bottom: 24px;
}

.hero-card-icon svg {
  width: 64px;
  height: 64px;
}

.hero-card-label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

.hero-card-bar {
  height: 8px;
  background: #eaeef1;
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.hero-card-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #27ae60, #2980b9);
  border-radius: 4px;
  animation: fillBar 1.5s ease-out forwards;
}

@keyframes fillBar {
  from { width: 0; }
}

.hero-card-stat {
  font-size: 0.85rem;
  color: #575757;
}

/* === PROBLEM === */
.problem {
  padding: 80px 0;
  background: #2c3e50;
  color: #eaeef1;
}

.problem h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  margin-bottom: 16px;
}

.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  color: #cacccb;
  font-size: 1.05rem;
}

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

.stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.stat-number {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: #27ae60;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: #cacccb;
}

/* === VALUES === */
.values {
  padding: 80px 0;
  background: #ffffff;
}

.values h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

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

.value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 12px;
  background: #f5f9ff;
  border: 1px solid #eaeef1;
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(39, 174, 96, 0.12);
}

.value-icon svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #2c3e50;
}

.value-card p {
  font-size: 0.95rem;
  color: #575757;
}

/* === FEATURES === */
.features {
  padding: 80px 0;
  background: #eaeef1;
}

.features-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.features-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 16px;
}

.features-header p {
  color: #575757;
  font-size: 1.05rem;
}

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

.feature-item {
  background: #ffffff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.feature-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(44, 62, 80, 0.12);
}

.feature-icon svg {
  width: 56px;
  height: 56px;
  margin-bottom: 20px;
}

.feature-item h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #2c3e50;
}

.feature-item p {
  font-size: 0.95rem;
  color: #575757;
}

/* === CTA SECTION === */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #27ae60 0%, #1e8449 100%);
  text-align: center;
}

.cta-inner h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.cta-inner > p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.waitlist-form {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.waitlist-form input[type="email"] {
  padding: 14px 20px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  width: 320px;
  max-width: 100%;
  outline: none;
  font-family: 'Open Sans', sans-serif;
}

.waitlist-form input[type="email"]:focus {
  box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

.waitlist-form .btn-primary {
  background: #2c3e50;
  color: #ffffff;
}

.waitlist-form .btn-primary:hover {
  background: #1a252f;
}

.cta-disclaimer {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* === FAQ === */
.faq {
  padding: 80px 0;
  background: #ffffff;
}

.faq h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eaeef1;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #2c3e50;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #27ae60;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-question[aria-expanded="true"] {
  color: #27ae60;
}

.faq-question[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

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

.faq-answer.open {
  max-height: 300px;
  padding-bottom: 20px;
}

.faq-answer p {
  color: #575757;
  font-size: 0.97rem;
}

/* === CONTACT === */
.contact {
  padding: 80px 0;
  background: #f5f9ff;
}

.contact h2 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 48px;
}

.contact-form {
  max-width: 680px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-group label {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #2c3e50;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid #cacccb;
  border-radius: 6px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.97rem;
  color: #2c3e50;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #27ae60;
  box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.15);
}

.form-check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #27ae60;
}

.form-check label {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #575757;
}

.form-success {
  margin-top: 16px;
  color: #27ae60;
  font-weight: 600;
  font-size: 0.97rem;
}

/* === FOOTER === */
.site-footer {
  background: #2c3e50;
  color: #eaeef1;
  padding: 60px 0 0;
}

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

.footer-logo {
  height: 56px;
  width: auto;
  margin-bottom: 20px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  color: #cacccb;
  line-height: 1.7;
  margin-bottom: 12px;
}

.disclaimer {
  font-size: 0.82rem !important;
  color: #9a9c9b !important;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cacccb;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #27ae60;
}

.footer-contact p {
  color: #cacccb;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.footer-contact a {
  color: #27ae60;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: #9a9c9b;
}

/* === RESPONSIVE === */
@media (max-width: 975px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text {
    order: 1;
  }

  .hero-visual {
    order: 2;
  }

  .hero-sub {
    margin: 0 auto 36px;
  }

  .problem-stats {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .values-grid,
  .features-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .logo {
    height: 36px;
    max-width: 160px;
  }

  .nav-container {
    height: 72px;
  }

  .main-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 20px 24px 28px;
    box-shadow: 0 8px 24px rgba(44, 62, 80, 0.1);
  }

  .main-nav.open ul {
    flex-direction: column;
    gap: 0;
  }

  .main-nav.open ul li a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid #eaeef1;
    font-size: 1rem;
  }

  .main-nav.open + .nav-cta {
    display: none;
  }
}

@media (max-width: 575px) {
  .hero {
    padding: 110px 0 60px;
  }

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

  .waitlist-form {
    flex-direction: column;
    align-items: center;
  }

  .waitlist-form input[type="email"] {
    width: 100%;
  }

  .waitlist-form .btn {
    width: 100%;
  }
}
