@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #faf9f6; /* Warm off-white */
  --bg-card: #ffffff;
  --border-color: #e5e5e3;
  --border-color-hover: #c4c4c2;
  
  --text-primary: #1a1a19;
  --text-secondary: #5c5c5a;
  --text-muted: #8c8c89;
  
  --color-emerald: #0b6640; /* Fiduciary forest green */
  --color-emerald-light: #e6f3ed;
  --color-warning-bg: #fffbf0;
  --color-warning-border: #f5d0a9;
  --color-warning-text: #965313;
  
  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 {
  font-size: 2.8rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.3rem;
}

p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Buttons & Inputs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--text-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #333331;
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: #f3f3f0;
  border-color: var(--border-color-hover);
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 249, 246, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-text {
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-text-alt {
  font-weight: 400;
  color: var(--color-emerald);
}

.logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-secondary);
  font-size: 0.875rem;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-fast);
}

nav a:hover {
  color: var(--text-primary);
}

/* Typewriter Section (Hero) */
.hero {
  padding: 6rem 0 4rem 0;
  text-align: center;
}

.typewriter-container {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-emerald);
  margin-bottom: 1rem;
  min-height: 1.5rem;
}

.typewriter-cursor {
  display: inline-block;
  background-color: var(--color-emerald);
  margin-left: 2px;
  width: 2px;
  height: 1rem;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto 1.5rem auto;
}

.hero p.lead {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.value-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.value-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
}

.value-card-num {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 1rem;
  display: block;
}

.value-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Applicability Section */
.section {
  padding: 5rem 0;
  border-top: 1px solid var(--border-color);
}

.section-title-wrapper {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 3.5rem auto;
}

.section-title-wrapper h2 {
  margin-bottom: 1rem;
}

.eligibility-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.eligibility-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.eligibility-item {
  display: flex;
  gap: 1rem;
}

.eligibility-icon {
  color: var(--color-emerald);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.eligibility-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}

.eligibility-content p {
  font-size: 0.9rem;
  line-height: 1.5;
}

.not-eligible-box {
  background-color: var(--color-warning-bg);
  border: 1px solid var(--color-warning-border);
  border-radius: 8px;
  padding: 2rem;
}

.not-eligible-box h3 {
  color: var(--color-warning-text);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.not-eligible-box ul {
  list-style: none;
  padding-left: 0;
}

.not-eligible-box li {
  font-size: 0.9rem;
  color: var(--color-warning-text);
  margin-bottom: 0.75rem;
  padding-left: 1.25rem;
  position: relative;
}

.not-eligible-box li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-warning-text);
}

/* Screenshot Showcase Tabs */
.showcase-section {
  background-color: #f5f5f2;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 5rem 0;
}

.tabs-nav {
  display: flex;
  justify-content: center;
  border-bottom: 1px solid #e0e0dd;
  margin-bottom: 3rem;
  gap: 2rem;
}

.tab-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.75rem 0.5rem;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--text-primary);
  font-weight: 600;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--text-primary);
}

.showcase-content {
  display: none;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.showcase-content.active {
  display: grid;
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.q-and-a-bubbles {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bubble {
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  max-width: 85%;
  line-height: 1.45;
}

.bubble-user {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.bubble-app {
  background-color: var(--color-emerald-light);
  color: var(--color-emerald);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
  font-weight: 500;
}

.showcase-image-wrapper {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.showcase-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

/* Savings Calculator Section */
.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.calc-sliders {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.5rem;
}

.slider-group {
  margin-bottom: 2rem;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.slider-val {
  font-weight: 600;
  color: var(--text-primary);
}

.range-input {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: #e0e0dd;
  border-radius: 2px;
  outline: none;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--text-primary);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
}

.calc-breakdown-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.calc-display {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-display h2 {
  font-size: 1.8rem;
}

.savings-card {
  background-color: var(--color-emerald-light);
  border-radius: 8px;
  padding: 2rem;
  border-left: 4px solid var(--color-emerald);
}

.savings-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-emerald);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.savings-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-emerald);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.savings-note {
  font-size: 0.85rem;
  color: var(--color-emerald);
  opacity: 0.9;
}

/* Pricing Panel */
.pricing-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.price-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  transition: var(--transition-smooth);
}

.price-card:hover {
  border-color: var(--border-color-hover);
}

.price-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-emerald);
  background-color: var(--color-emerald-light);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.price-val {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}

.price-subtext {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.price-features {
  list-style: none;
  padding: 0;
  text-align: left;
  margin-bottom: 2.5rem;
}

.price-features li {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.price-features i {
  color: var(--color-emerald);
}

/* Waitlist Form (CTA) */
.waitlist-section {
  background-color: #1a1a19;
  color: #ffffff;
  padding: 5rem 0;
  text-align: center;
  border-top: none;
  border-bottom: none;
}

.waitlist-section h2 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.waitlist-section p {
  color: #bcbcba;
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.waitlist-form {
  display: flex;
  max-width: 450px;
  margin: 0 auto;
  gap: 0.5rem;
}

.waitlist-input {
  flex: 1;
  background-color: #2b2b2a;
  border: 1px solid #3d3d3c;
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-fast);
}

.waitlist-input:focus {
  border-color: #8c8c89;
}

.waitlist-submit {
  background-color: #ffffff;
  color: #1a1a19;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.waitlist-submit:hover {
  background-color: #e5e5e3;
}

.waitlist-message {
  font-size: 0.85rem;
  margin-top: 1rem;
  color: var(--color-emerald);
  display: none;
}

/* FAQ Accordion */
.faq-list {
  max-width: 750px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--border-color);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem 0;
}

.faq-question-btn i {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: transform 0.3s ease;
}

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

.faq-answer-content {
  padding: 0.75rem 0;
  font-size: 0.925rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.faq-item.active .faq-question-btn i {
  transform: rotate(45deg);
}

/* Footer */
footer {
  background-color: #faf9f6;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 3rem 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-links-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
}

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

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-links-col a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-bottom-info {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-disclaimer {
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-muted);
}

/* Hamburger & Mobile Menu Reset */
.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-btn i {
  font-size: 1.25rem;
  color: var(--text-primary);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .eligibility-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .showcase-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  header {
    padding: 0.75rem 0;
  }
  
  .menu-btn {
    display: block;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  }
  
  header.nav-open nav {
    display: block;
  }
  
  nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-brand p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  
  .waitlist-form {
    flex-direction: column;
    width: 100%;
  }
}
