/* ============================================================
   SiloPass / PassForge Marketing Site Styles
   ============================================================ */

/* --- Reset & base ------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --green-900: #1B4332;
  --green-800: #2D6A4F;
  --green-700: #40916C;
  --green-600: #52B788;
  --green-100: #D8F3DC;
  --green-50:  #F0FFF4;
  --gray-900:  #1A1A2E;
  --gray-700:  #4A4A5A;
  --gray-500:  #7A7A8A;
  --gray-200:  #E2E2E8;
  --gray-100:  #F4F4F8;
  --white:     #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,.12);
  --radius:    12px;
  --max-width: 1140px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* --- Utility ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--gray-100);
}

.section--green {
  background: var(--green-800);
  color: var(--white);
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: .75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--gray-500);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.section--green .section-subtitle {
  color: var(--green-100);
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: .875rem 2rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--green-800);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--green-700);
}

.btn--outline {
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-800);
}
.btn--outline:hover {
  background: var(--green-50);
}

.btn--white {
  background: var(--white);
  color: var(--green-800);
}
.btn--white:hover {
  background: var(--green-100);
}

.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* --- Navbar ----------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.navbar__logo {
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  color: var(--green-800);
}

.navbar__logo span {
  color: var(--green-600);
}

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

.navbar__links a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: color .15s;
}
.navbar__links a:hover {
  color: var(--green-800);
}

/* --- Hero ------------------------------------------------- */
.hero {
  padding: 6rem 0 5rem;
  text-align: center;
  background: linear-gradient(170deg, var(--green-50) 0%, var(--white) 60%);
}

.hero h1 {
  font-size: 3.25rem;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--gray-700);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: box-shadow .2s, transform .2s;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-card__icon {
  width: 3rem;
  height: 3rem;
  background: var(--green-100);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: .5rem;
}

.feature-card p {
  font-size: .9375rem;
  color: var(--gray-500);
}

/* --- How It Works ----------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.step__number {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--green-800);
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

.step p {
  color: var(--gray-500);
  font-size: .9375rem;
  max-width: 300px;
  margin: 0 auto;
}

/* --- Social Proof ----------------------------------------- */
.social-proof {
  padding: 3rem 0;
  text-align: center;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.social-proof p {
  font-size: 1.125rem;
  color: var(--gray-500);
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Pricing ---------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  text-align: center;
  position: relative;
  transition: box-shadow .2s;
}

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

.pricing-card--featured {
  border-color: var(--green-800);
  border-width: 2px;
  transform: scale(1.04);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-800);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: .35rem 1.25rem;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.375rem;
  margin-bottom: .25rem;
}

.pricing-card__price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-800);
  margin: .75rem 0 .25rem;
}

.pricing-card__price span {
  font-size: 1rem;
  color: var(--gray-500);
  font-weight: 400;
}

.pricing-card__limit {
  font-size: .875rem;
  color: var(--gray-500);
  margin-bottom: .25rem;
}

.pricing-card__fee {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--green-700, #2D6A4F);
  margin-bottom: 1.5rem;
}

.pricing-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 2rem;
}

.pricing-card__features li {
  padding: .5rem 0;
  font-size: .9375rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: .5rem;
}

.pricing-card__features li::before {
  content: "\2713";
  color: var(--green-700);
  font-weight: 700;
}

/* --- Comparison table (pricing page) ---------------------- */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  font-size: .9375rem;
}

.comparison-table thead th {
  background: var(--green-800);
  color: var(--white);
  font-family: 'DM Serif Display', serif;
  font-size: 1.125rem;
}

.comparison-table thead th:first-child {
  border-radius: var(--radius) 0 0 0;
}
.comparison-table thead th:last-child {
  border-radius: 0 var(--radius) 0 0;
}

.comparison-table tbody tr:nth-child(even) {
  background: var(--gray-100);
}

.comparison-table .check {
  color: var(--green-700);
  font-weight: 700;
}

.comparison-table .dash {
  color: var(--gray-500);
}

/* --- Fee Breakdown ---------------------------------------- */
.fee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.fee-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--gray-200);
}

.fee-card__value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-800);
}

.fee-card__label {
  font-size: .9375rem;
  color: var(--gray-500);
  margin-top: .25rem;
}

.transparency {
  text-align: center;
  font-size: 1.125rem;
  color: var(--gray-700);
  padding: 1.5rem;
  background: var(--green-50);
  border-radius: var(--radius);
  border: 1px dashed var(--green-600);
}

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

.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 1.5rem 0;
}

.faq-item h3 {
  font-size: 1.125rem;
  margin-bottom: .5rem;
  color: var(--gray-900);
}

.faq-item p {
  font-size: .9375rem;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 4rem 0 2rem;
}

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

.footer__brand p {
  font-size: .875rem;
  color: var(--gray-500);
  margin-top: .75rem;
  max-width: 260px;
}

.footer h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.footer ul {
  list-style: none;
}

.footer ul li {
  margin-bottom: .5rem;
}

.footer ul a {
  font-size: .875rem;
  color: var(--gray-500);
  transition: color .15s;
}
.footer ul a:hover {
  color: var(--green-600);
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8125rem;
  color: var(--gray-500);
}

/* --- Responsive ------------------------------------------- */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid  { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .pricing-card--featured { transform: none; }
  .footer-grid   { grid-template-columns: repeat(2, 1fr); }
  .fee-grid      { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto 2rem; }
}

@media (max-width: 640px) {
  .hero h1 { font-size: 2.25rem; }
  .hero p  { font-size: 1.0625rem; }
  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.75rem; }
  .features-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .navbar__links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; gap: .75rem; text-align: center; }
  .comparison-table { font-size: .8125rem; }
  .comparison-table th,
  .comparison-table td { padding: .625rem .5rem; }
}
