/* Glyn Landing Page Styles */

:root {
  --bg: #F5F0E8;
  --bg-alt: #EDE8DC;
  --fg: #1A1A18;
  --fg-muted: #5C5A52;
  --accent: #D97706;
  --accent-dark: #B45309;
  --green: #1B4332;
  --green-mid: #2D6A4F;
  --green-light: rgba(27, 67, 50, 0.08);
  --card-bg: #FDFCF9;
  --border: rgba(26, 26, 24, 0.1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 48px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 24px; font-weight: 700; color: var(--green);
  letter-spacing: -0.02em;
}
.nav-tagline {
  font-size: 12px; color: var(--fg-muted); font-weight: 400;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-link { font-size: 15px; color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--fg); }
.nav-cta {
  background: var(--green); color: #fff;
  border: none; border-radius: 8px;
  padding: 10px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--green-mid); }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  padding: 80px 48px 100px;
  min-height: 85vh;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(27,67,50,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(217,119,6,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 68px); font-weight: 600;
  line-height: 1.1; letter-spacing: -0.03em;
  color: var(--fg); margin-bottom: 24px;
}
.hero-headline em {
  font-style: normal; color: var(--green);
}
.hero-subheadline {
  font-size: 18px; color: var(--fg-muted);
  max-width: 480px; line-height: 1.65; margin-bottom: 40px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--green); color: #fff;
  border: none; border-radius: 12px;
  padding: 16px 32px; font-size: 16px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s, transform 0.1s;
}
.btn-primary:hover { background: var(--green-mid); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--fg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 32px; font-size: 16px; font-weight: 500;
  cursor: pointer; font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.btn-secondary:hover { border-color: var(--fg-muted); background: var(--green-light); }

.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-phone {
  width: 280px; height: 560px;
  background: #111;
  border-radius: 40px;
  border: 12px solid #222;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 40px 80px rgba(0,0,0,0.25);
}
.hero-phone-screen {
  width: 100%; height: 100%; border-radius: 30px;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 32px 24px;
}
.phone-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 24px; }
.phone-macro { font-size: 36px; font-weight: 700; color: var(--green); }
.phone-unit { font-size: 14px; color: var(--fg-muted); }
.phone-sub { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }

/* HOW IT WORKS */
.section { padding: 100px 48px; }
.section-alt { background: var(--card-bg); }
.section-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 16px;
  text-align: center;
}
.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 600;
  line-height: 1.15; letter-spacing: -0.025em;
  text-align: center; margin-bottom: 64px;
}

.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 48px; max-width: 960px; margin: 0 auto;
}
.step-card { text-align: center; }
.step-icon {
  width: 72px; height: 72px; border-radius: 20px;
  background: var(--green-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; margin: 0 auto 24px;
}
.step-title { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.step-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.6; }

/* FEATURES */
.features-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 32px; max-width: 900px; margin: 0 auto;
}
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
}
.feature-tag {
  display: inline-block;
  font-size: 11px; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--green-light); color: var(--green-mid);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}
.feature-title { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.feature-desc { font-size: 15px; color: var(--fg-muted); line-height: 1.65; }

/* CTA */
.cta-section {
  text-align: center;
  padding: 100px 48px;
  background: var(--green);
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 120%, rgba(255,255,255,0.08) 0%, transparent 60%);
}
.cta-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 600;
  color: #fff; margin-bottom: 16px; position: relative;
}
.cta-sub { font-size: 18px; color: rgba(255,255,255,0.7); margin-bottom: 40px; position: relative; }
.cta-btn {
  background: #fff; color: var(--green);
  border: none; border-radius: 12px;
  padding: 16px 40px; font-size: 16px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  position: relative;
  transition: transform 0.1s;
}
.cta-btn:hover { transform: translateY(-1px); }

/* FORM */
.login-form {
  max-width: 400px; margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px; padding: 40px;
  text-align: left;
}
.form-title { font-size: 22px; font-weight: 600; text-align: center; margin-bottom: 8px; }
.form-sub { font-size: 14px; color: var(--fg-muted); text-align: center; margin-bottom: 32px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit;
  background: var(--bg); color: var(--fg);
  transition: border-color 0.2s;
  outline: none;
}
.form-input:focus { border-color: var(--green); }
.form-submit {
  width: 100%; background: var(--green); color: #fff;
  border: none; border-radius: 10px;
  padding: 14px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: inherit;
  transition: background 0.2s;
  margin-top: 8px;
}
.form-submit:hover { background: var(--green-mid); }

/* FOOTER */
.footer {
  background: var(--fg); color: rgba(255,255,255,0.5);
  padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 14px;
}
.footer-logo { font-family: 'Playfair Display', serif; font-size: 20px; color: #fff; font-weight: 700; }

/* Responsive */
@media (max-width: 768px) {
  .nav { padding: 20px 24px; }
  .nav-links { display: none; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding: 60px 24px; text-align: center; }
  .hero-visual { display: none; }
  .hero-actions { justify-content: center; }
  .section { padding: 64px 24px; }
  .steps-grid { grid-template-columns: 1fr; gap: 40px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-section { padding: 64px 24px; }
  .footer { padding: 32px 24px; flex-direction: column; gap: 12px; text-align: center; }
}