/* ==========================================
   ContentCraft Landing Page
   ========================================== */

:root {
  --sand: #F2EDE4;
  --sand-dark: #E6DCCF;
  --green: #1B4332;
  --green-mid: #2D6A4F;
  --amber: #D97706;
  --amber-light: #FEF3C7;
  --ink: #18181B;
  --ink-soft: #52525B;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--sand);
  color: var(--ink);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- Typography ---- */
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 700; line-height: 1.1; }

/* ---- Site Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(242, 237, 228, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.1);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 40px;
  display: flex;
  align-items: center;
}

.wordmark {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}

/* ---- Hero ---- */
.hero {
  background: var(--sand);
  padding: 80px 0 100px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}

.hero-headline {
  font-size: clamp(52px, 5vw, 80px);
  color: var(--green);
  margin-bottom: 24px;
  letter-spacing: -2px;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 0;
}

.proof-item {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.proof-item:first-child { padding-left: 0; }

.proof-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 4px;
}

.proof-label {
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.proof-divider {
  width: 1px;
  height: 36px;
  background: var(--sand-dark);
}

/* Phone mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-frame {
  width: 280px;
  background: var(--green);
  border-radius: 40px;
  padding: 16px;
  box-shadow: 0 30px 80px rgba(27, 67, 50, 0.25), 0 8px 24px rgba(27, 67, 50, 0.15);
  transform: rotate(-3deg);
}

.phone-notch {
  width: 100px;
  height: 28px;
  background: var(--green);
  border-radius: 0 0 18px 18px;
  margin: 0 auto 12px;
  position: relative;
  z-index: 1;
}

.phone-screen {
  background: var(--white);
  border-radius: 28px;
  padding: 18px 14px;
  min-height: 480px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.post-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-mid), var(--green));
}

.post-meta { flex: 1; }

.post-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}

.post-time {
  font-size: 11px;
  color: var(--ink-soft);
}

.post-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(145deg, var(--sand-dark), var(--green-mid));
  border-radius: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-image::after {
  content: '✨';
  font-size: 32px;
  opacity: 0.4;
}

.icon-row {
  display: flex;
  gap: 14px;
  margin-bottom: 6px;
}

.icon-heart, .icon-comment, .icon-share {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--sand-dark);
}

.icon-likes {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.post-caption {
  font-size: 11px;
  color: var(--ink);
  line-height: 1.5;
  margin-bottom: 8px;
}

.caption-name {
  font-weight: 700;
}

.post-ai-tag {
  font-size: 9px;
  color: var(--amber);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---- Section Shared ---- */
.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 16px;
}

.section-headline {
  font-size: clamp(32px, 3.5vw, 52px);
  color: var(--green);
  letter-spacing: -1.5px;
  margin-bottom: 60px;
}

/* ---- How It Works ---- */
.how {
  background: var(--green);
  padding: 100px 0;
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.how .section-label { color: var(--amber); }
.how .section-headline { color: var(--white); }

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

.step { position: relative; }

.step-num {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 72px;
  font-weight: 800;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 20px;
  letter-spacing: -3px;
}

.step h3 {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.step p {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ---- Clients ---- */
.clients {
  background: var(--sand);
  padding: 100px 0;
}

.clients-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--sand-dark);
  border: 1px solid var(--sand-dark);
  border-radius: 16px;
  overflow: hidden;
}

.client-card {
  background: var(--sand);
  padding: 36px 32px;
  transition: background 0.2s ease;
}

.client-card:hover { background: var(--white); }

.client-icon {
  width: 48px;
  height: 48px;
  background: var(--green);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: 20px;
}

.client-card h3 {
  font-size: 18px;
  color: var(--green);
  margin-bottom: 8px;
  font-weight: 700;
}

.client-card p {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---- Pricing ---- */
.pricing {
  background: var(--white);
  padding: 100px 0;
}

.pricing-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.pricing-tier {
  background: var(--sand);
  border: 1px solid var(--sand-dark);
  border-radius: 20px;
  padding: 40px 32px;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27, 67, 50, 0.1);
}

.tier-popular {
  background: var(--green);
  border-color: var(--green);
  transform: scale(1.03);
}

.tier-popular:hover {
  transform: scale(1.03) translateY(-4px);
}

.tier-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--amber);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.tier-name {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.tier-popular .tier-name { color: var(--amber); }

.tier-price {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -2px;
}

.tier-price span {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink-soft);
}

.tier-popular .tier-price { color: var(--white); }
.tier-popular .tier-price span { color: rgba(255,255,255,0.6); }

.tier-desc {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}

.tier-popular .tier-desc { color: rgba(255,255,255,0.65); }

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tier-features li {
  font-size: 14px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}

.tier-features li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  background: var(--green);
  border-radius: 50%;
  margin-top: 1px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%23fff' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.tier-popular .tier-features li { color: var(--white); }

.pricing-note {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---- Closing ---- */
.closing {
  background: var(--sand);
  padding: 120px 0;
  border-top: 1px solid var(--sand-dark);
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

.closing-headline {
  font-size: clamp(40px, 4.5vw, 72px);
  color: var(--green);
  margin-bottom: 32px;
  letter-spacing: -2px;
  line-height: 1.05;
}

.closing-sub {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.closing-tagline {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  color: var(--amber);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--green);
  padding: 48px 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand .wordmark {
  color: var(--white);
  display: block;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { order: -1; }
  .phone-frame { transform: rotate(-2deg) scale(0.85); }
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .client-grid { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .tier-popular { transform: none; }
  .tier-popular:hover { transform: translateY(-4px); }
}

@media (max-width: 600px) {
  .header-inner, .hero-inner, .how-inner, .clients-inner, .pricing-inner, .closing-inner, .footer-inner { padding: 0 24px; }
  .hero { padding: 60px 0 80px; }
  .how, .clients, .pricing, .closing { padding: 70px 0; }
  .client-grid { grid-template-columns: 1fr; }
  .hero-proof { flex-wrap: wrap; gap: 16px; }
  .proof-divider { display: none; }
}