/* SendYourDocs — Global Stylesheet
   Design: Clean professional, document-focused
   Palette: Forest Green #1B6B4A, Slate #334155, Warm White #FAFAF8
   Typography: DM Sans
*/

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

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1B6B4A;
  --green-dark: #145A3C;
  --green-light: #E8F5EE;
  --slate: #334155;
  --slate-light: #64748B;
  --warm-white: #FAFAF8;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --white: #FFFFFF;
  --text: #1E293B;
  --text-light: #64748B;
  --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w: 1120px;
  --radius: 12px;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-dark); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- HEADER ---- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
}

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

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate);
}

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

.nav-links { display: flex; gap: 28px; list-style: none; }

.nav-links a {
  color: var(--text-light);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.nav-links a:hover, .nav-links a.active { color: var(--slate); }

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover { background: var(--green-dark); color: var(--white) !important; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle svg { width: 24px; height: 24px; stroke: var(--slate); }

/* ---- HERO ---- */

.hero {
  padding: 80px 0 60px;
  background: linear-gradient(160deg, var(--slate) 0%, #1E293B 60%, #0F172A 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27,107,74,0.15) 0%, transparent 70%);
}

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

.hero-content { position: relative; }

.hero h1 {
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  max-width: 480px;
}

/* Hero document illustration */
.hero-visual {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.doc-stack {
  position: relative;
  width: 200px;
  height: 260px;
}

.doc {
  position: absolute;
  width: 180px;
  height: 230px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.12);
}

.doc-1 {
  background: rgba(255,255,255,0.04);
  top: 20px; left: 0;
  transform: rotate(-5deg);
}

.doc-2 {
  background: rgba(255,255,255,0.07);
  top: 10px; left: 10px;
  transform: rotate(-2deg);
}

.doc-3 {
  background: rgba(27,107,74,0.15);
  border-color: rgba(27,107,74,0.35);
  top: 0; left: 20px;
  transform: rotate(1deg);
  display: flex;
  flex-direction: column;
  padding: 24px 20px;
  gap: 10px;
}

.doc-line {
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.12);
}

.doc-line:nth-child(1) { width: 60%; }
.doc-line:nth-child(2) { width: 90%; }
.doc-line:nth-child(3) { width: 75%; }
.doc-line:nth-child(4) { width: 40%; background: rgba(27,107,74,0.4); margin-top: auto; }

.doc-badge {
  position: absolute;
  bottom: 30px;
  right: -20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(27,107,74,0.4);
}

.doc-badge svg {
  width: 24px;
  height: 24px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-sub {
  padding: 60px 0 80px;
  background: linear-gradient(160deg, var(--slate) 0%, #1E293B 100%);
  color: var(--white);
}

.hero-sub h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-sub p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.55);
  max-width: 540px;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-block;
  padding: 13px 28px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.15s;
  cursor: pointer;
  border: none;
}

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

.btn-outline-light {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline-light:hover { border-color: var(--white); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--gray-200);
}
.btn-outline:hover { border-color: var(--slate); }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- SECTIONS ---- */

section { padding: 80px 0; }
.section-white { background: var(--white); }

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--slate);
  margin-bottom: 10px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 540px;
  margin-bottom: 44px;
}

/* ---- FEATURES ---- */

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

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

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(30,41,59,0.06);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-bottom: 16px;
  background: var(--green-light);
  border-radius: 10px;
  color: var(--green);
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ---- STATS ---- */

.stats-band {
  background: var(--green);
  padding: 48px 0;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
}

.stat-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* ---- PRICING ---- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  padding: 32px 28px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
}

.price-card.featured {
  border-color: var(--green);
  box-shadow: 0 8px 32px rgba(27,107,74,0.1);
  position: relative;
}

.price-card.featured::before {
  content: 'Recommended';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: white;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 20px;
}

.price-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--slate); margin-bottom: 6px; }

.price-amount { font-size: 2.25rem; font-weight: 700; color: var(--slate); margin-bottom: 4px; }
.price-amount span { font-size: 0.85rem; font-weight: 400; color: var(--text-light); }

.price-desc {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.price-features { list-style: none; margin-bottom: 24px; }

.price-features li {
  font-size: 0.85rem;
  color: var(--text);
  padding: 5px 0 5px 22px;
  position: relative;
}

.price-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 10px;
  width: 14px; height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B6B4A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
}

.price-card .btn { width: 100%; text-align: center; }

/* ---- BLOG ---- */

.blog-hero {
  background: linear-gradient(160deg, var(--slate) 0%, #1E293B 100%);
  padding: 64px 0 52px;
  color: var(--white);
}

.blog-hero .section-title { color: var(--white); }
.blog-hero .section-sub { color: rgba(255,255,255,0.5); margin-bottom: 0; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--green);
  border-radius: var(--radius);
  transition: box-shadow 0.2s;
}

.blog-card:hover { box-shadow: 0 4px 20px rgba(30,41,59,0.06); }

.blog-meta { font-size: 0.75rem; color: var(--text-light); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.04em; }

.blog-card h3 { font-size: 1.05rem; font-weight: 600; color: var(--slate); margin-bottom: 8px; line-height: 1.35; }
.blog-card h3 a { color: inherit; }
.blog-card h3 a:hover { color: var(--green); }
.blog-card p { font-size: 0.875rem; color: var(--text-light); }

/* Blog post */

.post-hero {
  background: linear-gradient(160deg, var(--slate) 0%, #1E293B 100%);
  padding: 64px 0 52px;
  color: var(--white);
}

.post-hero h1 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
}

.post-hero .post-meta { color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 10px; }

.post-body { max-width: 700px; padding: 44px 0 80px; }

.post-body h2 { font-size: 1.3rem; font-weight: 600; color: var(--slate); margin-top: 36px; margin-bottom: 14px; }
.post-body p { margin-bottom: 16px; color: var(--text); }
.post-body ul, .post-body ol { margin-bottom: 16px; padding-left: 24px; }
.post-body li { margin-bottom: 6px; }

.post-body blockquote {
  border-left: 3px solid var(--green);
  padding-left: 20px;
  margin: 24px 0;
  color: var(--text-light);
  font-style: italic;
}

/* ---- IMAGE BAND ---- */

.img-band {
  position: relative;
  height: 320px;
  overflow: hidden;
}

.img-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.img-band .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}

.img-band .overlay h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  max-width: 480px;
}

.img-band .overlay p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 8px;
}

/* ---- CTA ---- */

.cta-banner {
  background: var(--slate);
  padding: 56px 0;
  text-align: center;
}

.cta-banner h2 { color: var(--white); font-size: 1.75rem; font-weight: 700; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,0.5); margin-bottom: 24px; }

/* ---- CONTACT ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.875rem;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.15s;
}

.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--green); }
.form-group textarea { resize: vertical; min-height: 110px; }

.contact-info h3 { font-size: 1rem; font-weight: 600; color: var(--slate); margin-bottom: 10px; margin-top: 20px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 0.875rem; color: var(--text-light); margin-bottom: 6px; }

/* ---- FAQ ---- */

.faq-list { max-width: 700px; }

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

.faq-item summary {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after { content: '+'; font-size: 1.2rem; color: var(--text-light); }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { font-size: 0.875rem; color: var(--text-light); margin-top: 10px; line-height: 1.6; }

/* ---- TEAM ---- */

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.team-member { text-align: center; padding: 24px 12px; }

.team-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green-light);
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 600; color: var(--green);
}

.team-member h4 { font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.team-member p { font-size: 0.75rem; color: var(--text-light); }

/* ---- FOOTER ---- */

.site-footer {
  background: var(--slate);
  color: rgba(255,255,255,0.45);
  padding: 44px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 10px; display: block; }
.footer-brand p { font-size: 0.8rem; line-height: 1.6; max-width: 260px; }

.footer-col h4 { color: var(--white); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col a { color: rgba(255,255,255,0.45); font-size: 0.8rem; display: block; padding: 3px 0; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
}

.footer-bottom a { color: rgba(255,255,255,0.45); }

/* ---- LEGAL ---- */

.legal-body { max-width: 700px; padding: 60px 0 80px; }
.legal-body h1 { font-size: 1.75rem; font-weight: 700; color: var(--slate); margin-bottom: 6px; }
.legal-updated { font-size: 0.8rem; color: var(--text-light); margin-bottom: 32px; }
.legal-body h2 { font-size: 1.1rem; font-weight: 600; color: var(--slate); margin-top: 28px; margin-bottom: 10px; }
.legal-body p, .legal-body li { font-size: 0.875rem; color: var(--text-light); margin-bottom: 10px; line-height: 1.7; }
.legal-body ul { padding-left: 20px; margin-bottom: 14px; }

/* ---- 404 ---- */

.error-page { text-align: center; padding: 140px 24px; }
.error-page h1 { font-size: 6rem; font-weight: 700; color: var(--gray-200); line-height: 1; }
.error-page p { font-size: 1.05rem; color: var(--text-light); margin: 10px 0 24px; }

/* ---- RESPONSIVE ---- */

@media (max-width: 900px) {
  .features-grid, .pricing-grid { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--warm-white);
    border-bottom: 1px solid var(--gray-200);
    padding: 16px 24px; gap: 14px;
  }
  .nav-toggle { display: block; }
  .hero { padding: 52px 0 40px; }
  .hero h1 { font-size: 1.85rem; }
  section { padding: 48px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
}
