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

:root {
  --primary: #0F6B5E;
  --primary-light: #E8F5F1;
  --primary-dark: #0A4D43;
  --accent: #E8913A;
  --accent-light: #FFF3E6;
  --text: #1A1A2E;
  --text-light: #555;
  --text-muted: #888;
  --bg: #FFFFFF;
  --bg-alt: #F8FAFA;
  --bg-dark: #0F1B2D;
  --border: #E2E8F0;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; height: auto; }

/* === Typography === */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { color: var(--text-light); }

.section-title { text-align: center; color: var(--text); margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 640px; margin: 0 auto 48px; font-size: 1.1rem; }

/* === Buttons === */
.btn {
  display: inline-block; padding: 12px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: all var(--transition); text-align: center;
  background: var(--accent); color: #fff;
}
.btn:hover { background: #D47E2E; transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 8px 20px; font-size: 0.9rem; }
.btn-full { width: 100%; }

/* === Nav === */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 1.3rem; font-weight: 800; color: var(--text); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.logo-icon { color: var(--accent); font-size: 1.4rem; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--text-light); font-size: 0.9rem; font-weight: 500; transition: color var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-blog { opacity: 0.5; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); transition: all var(--transition); border-radius: 2px; }

/* === Hero === */
.hero {
  padding: 140px 0 100px; text-align: center;
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
}
.hero-content { max-width: 720px; margin: 0 auto; }
.hero h1 { margin-bottom: 20px; color: var(--text); }
.hero-sub { font-size: 1.2rem; color: var(--text-light); margin-bottom: 36px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 16px; }
.hero-note { font-size: 0.85rem; color: var(--text-muted); }

/* === Sections === */
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--bg-alt); }

/* === Problem/Solution === */
.problem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 64px; }
.problem-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 24px; text-align: center; }
.problem-icon { font-size: 2.4rem; margin-bottom: 16px; }
.problem-card h3 { margin-bottom: 8px; color: var(--text); }
.solution-block { text-align: center; max-width: 680px; margin: 0 auto; }
.solution-text { font-size: 1.1rem; margin-bottom: 12px; }
.solution-text strong { color: var(--text); }

/* === Services === */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; transition: all var(--transition);
}
.service-card:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.service-icon { font-size: 2rem; margin-bottom: 12px; }
.service-card h3 { margin-bottom: 8px; color: var(--text); }

/* === Verticals === */
.verticals-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vertical-card {
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: all var(--transition);
}
.vertical-card:hover { border-color: var(--primary); background: var(--primary-light); }
.vertical-icon { font-size: 2.4rem; margin-bottom: 12px; }
.vertical-card h3 { margin-bottom: 6px; color: var(--text); }
.vertical-card p { font-size: 0.9rem; }
.verticals-note { text-align: center; margin-top: 32px; color: var(--text-muted); }
.verticals-note a { color: var(--primary); text-decoration: underline; }

/* === How It Works === */
.steps-grid { display: flex; align-items: flex-start; justify-content: center; gap: 16px; }
.step {
  flex: 1; max-width: 300px; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
}
.step-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 1.3rem; font-weight: 700;
  margin-bottom: 16px;
}
.step h3 { margin-bottom: 8px; color: var(--text); }
.step-arrow { font-size: 1.8rem; color: var(--text-muted); margin-top: 40px; font-weight: 300; }

/* === About === */
.about-content { max-width: 680px; margin: 0 auto; text-align: center; }
.about-text p { margin-bottom: 16px; font-size: 1.05rem; }
.about-text strong { color: var(--text); }

/* === FAQ === */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; padding: 20px 0;
  font-size: 1.05rem; font-weight: 600; color: var(--text);
  text-align: left; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-family: inherit; line-height: 1.4;
}
.faq-question:hover { color: var(--primary); }
.faq-toggle { font-size: 1.4rem; font-weight: 300; color: var(--text-muted); transition: transform var(--transition); }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer p { padding: 0 0 20px; color: var(--text-light); line-height: 1.7; }

/* === Contact === */
.contact { background: var(--bg-dark); color: #fff; }
.contact .section-title { color: #fff; text-align: left; }
.contact p { color: rgba(255,255,255,0.75); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-benefits { list-style: none; margin-top: 24px; }
.contact-benefits li { color: rgba(255,255,255,0.85); margin-bottom: 10px; font-size: 0.95rem; }
.contact-form-wrapper { background: var(--bg); border-radius: var(--radius); padding: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 4px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.optional { font-weight: 400; color: var(--text-muted); }
.form-group input, .form-group select, .form-group textarea {
  padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-size: 1rem; font-family: inherit; color: var(--text); background: var(--bg);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light);
}
.form-group textarea { resize: vertical; }
.form-success { text-align: center; padding: 40px 0; }
.success-icon { font-size: 3rem; color: var(--primary); margin-bottom: 16px; }
.form-success h3 { color: var(--text); margin-bottom: 8px; }
.form-success p { color: var(--text-light); }

/* === Footer === */
.footer { background: var(--bg-dark); border-top: 1px solid rgba(255,255,255,0.08); padding: 48px 0 24px; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 32px; margin-bottom: 32px; }
.footer-brand .logo { color: #fff; margin-bottom: 8px; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.footer-contact a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.9rem; }
.footer-contact a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 20px; }
.footer-bottom p { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { 
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--bg); flex-direction: column; padding: 24px;
    border-bottom: 1px solid var(--border); gap: 16px; box-shadow: var(--shadow-lg);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  
  .hero { padding: 120px 0 64px; }
  .hero-sub { font-size: 1.05rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  
  .problem-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: 1fr 1fr; }
  
  .steps-grid { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .step { max-width: 100%; }
  
  .contact-wrapper { grid-template-columns: 1fr; gap: 32px; }
  .contact .section-title { text-align: center; }
  .contact-text { text-align: center; }
  
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .verticals-grid { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 24px 20px; }
  h1 { font-size: 2rem; }
}
