/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #f8f8f9;
  --bg-card: #ffffff;
  --bg-elevated: #f0f0f2;
  --text: #1a1a1e;
  --text-muted: #555560;
  --text-dim: #888892;
  --accent: #dc3c3c;
  --accent-light: #f03c3c;
  --accent-dark: #b42828;
  --accent-glow: rgba(220, 60, 60, 0.15);
  --accent2: #ff6b3d;
  --border: #e0e0e4;
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.08);
}
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
.gradient-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 15px; cursor: pointer;
  border: none; transition: all var(--transition); text-decoration: none;
  letter-spacing: -0.01em;
}
.btn-primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 6px 24px var(--accent-glow); color: #fff; }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-full { width: 100%; }

/* ===== Nav ===== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(248, 248, 249, 0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent; transition: border-color var(--transition);
}
#nav.scrolled { border-bottom-color: var(--border); }
.nav-container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; height: 72px; display: flex; align-items: center; justify-content: space-between; }
.logo { font-weight: 800; font-size: 22px; letter-spacing: -0.03em; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--text-muted); }
.nav-links a:hover { color: var(--accent); }
.nav-toggle { display: none; flex-direction: column; gap: 4px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ===== Hero ===== */
.hero {
  position: relative; padding: 160px 0 100px; text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(220, 60, 60, 0.06) 0%, transparent 60%);
}
.hero-badge {
  display: inline-block; padding: 8px 18px; border-radius: 100px;
  background: rgba(220, 60, 60, 0.08); color: var(--accent);
  font-size: 13px; font-weight: 600; margin-bottom: 28px;
  border: 1px solid rgba(220, 60, 60, 0.2);
}
.hero h1 { font-size: clamp(36px, 6vw, 64px); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 24px; }
.hero-subtitle { font-size: 19px; color: var(--text-muted); max-width: 640px; margin: 0 auto 36px; line-height: 1.6; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-size: 36px; font-weight: 800; color: var(--accent); }
.stat span { font-size: 14px; color: var(--text-dim); }

/* ===== Section Header ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 16px; }
.section-header p { font-size: 18px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== Services ===== */
.services { padding: 100px 0; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--border); transition: all var(--transition); box-shadow: var(--shadow);
}
.service-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.service-icon { margin-bottom: 20px; color: var(--accent); display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; background: rgba(220, 60, 60, 0.08); }
.service-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; letter-spacing: -0.01em; }
.service-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.service-card ul { list-style: none; }
.service-card li { padding: 6px 0; color: var(--text-dim); font-size: 14px; padding-left: 24px; position: relative; }
.service-card li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ===== Why ===== */
.why { padding: 100px 0; background: var(--bg-card); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.why-card {
  background: var(--bg-elevated); border-radius: var(--radius); padding: 32px 28px;
  border: 1px solid var(--border); transition: all var(--transition);
}
.why-card:hover { border-color: var(--accent); }
.why-number { font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 12px; letter-spacing: 0.05em; }
.why-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 10px; }
.why-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

/* ===== Process ===== */
.process { padding: 100px 0; }
.process-timeline { max-width: 720px; margin: 0 auto; }
.process-step { display: flex; gap: 24px; padding-bottom: 40px; position: relative; }
.process-step:not(:last-child)::before { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--border); }
.process-dot {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px; z-index: 1;
}
.process-content h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.process-content p { color: var(--text-muted); font-size: 15px; }

/* ===== FAQ ===== */
.faq { padding: 100px 0; background: var(--bg-card); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-elevated); border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; transition: border-color var(--transition);
}
.faq-item[open] { border-color: var(--accent); }
.faq-item summary {
  padding: 20px 24px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-item summary::after { content: "+"; font-size: 22px; color: var(--accent); font-weight: 400; transition: transform var(--transition); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { padding: 0 24px 20px; color: var(--text-muted); font-size: 15px; line-height: 1.7; }

/* ===== Demos ===== */
.demos { padding: 100px 0; }
.demos-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.demo-card {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px 28px;
  border: 1px solid var(--border); transition: all var(--transition); box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.demo-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.demo-icon { margin-bottom: 20px; color: var(--accent); display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 12px; background: rgba(220, 60, 60, 0.08); }
.demo-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.demo-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 20px; line-height: 1.6; }
.demo-cta { margin-bottom: 12px; }
.demo-note { color: var(--text-dim); font-size: 13px; }

/* ===== Contact ===== */
.contact { padding: 100px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact-info h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.contact-info p { color: var(--text-muted); font-size: 17px; margin-bottom: 36px; line-height: 1.6; }
.contact-methods { display: flex; flex-direction: column; gap: 20px; }
.contact-method { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--bg-card); border-radius: var(--radius-sm); border: 1px solid var(--border); transition: all var(--transition); box-shadow: var(--shadow); }
.contact-method:hover { border-color: var(--accent); }
.contact-icon { font-size: 24px; }
.contact-method strong { display: block; font-size: 15px; }
.contact-method span { color: var(--text-muted); font-size: 14px; }
.contact-method small { color: var(--text-dim); font-size: 12px; }
.contact-form {
  background: var(--bg-card); border-radius: var(--radius); padding: 36px;
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: var(--radius-sm);
  background: var(--bg-elevated); border: 1px solid var(--border); color: var(--text);
  font-family: inherit; font-size: 15px; transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; }
.form-note { margin-top: 16px; font-size: 14px; text-align: center; color: var(--accent); }

/* ===== Footer ===== */
.footer { background: var(--bg-card); padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links a, .footer-links span { display: block; font-size: 14px; color: var(--text-muted); margin-bottom: 10px; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; text-align: center; }
.footer-bottom p { color: var(--text-dim); font-size: 13px; }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 24px; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero { padding: 120px 0 60px; }
  .hero-stats { gap: 24px; }
  .stat strong { font-size: 28px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}
