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

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

/* === Custom Properties === */
:root {
  --primary: #3b82f6; --secondary: #10b981;
  --dark: #1e293b; --text: #334155; --bg: #ffffff; --bg-alt: #f8fafc;
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.1);
  --shadow-lg: 0 10px 30px rgba(0,0,0,.12);
  --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px;
  --spacing-sm: 8px; --spacing-md: 16px; --spacing-lg: 32px; --spacing-xl: 64px;
  --transition: .25s ease;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--dark); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem,5vw,3.5rem); } h2 { font-size: clamp(1.6rem,3.5vw,2.4rem); } h3 { font-size: 1.25rem; }

/* === Layout === */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--spacing-lg); }
.section { padding: 80px 0; }
.section:nth-child(even) { background: var(--bg-alt); }
.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text); opacity: .85; max-width: 640px; }
.text-muted { color: var(--text); opacity: .6; font-size: .9rem; }

/* === Section Header === */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag { display: inline-block; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--primary); background: rgba(59,130,246,.08); padding: 4px 14px; border-radius: 20px; margin-bottom: 12px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { max-width: 560px; margin: 0 auto; color: var(--text); opacity: .75; }

/* === Navbar === */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 16px 0; transition: var(--transition); background: transparent; }
.navbar.scrolled { background: rgba(255,255,255,.95); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); padding: 10px 0; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem; color: var(--dark); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--dark); transition: color var(--transition); }
.nav-links a:hover { color: var(--primary); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 22px; position: relative; }
.nav-toggle span, .nav-toggle::before, .nav-toggle::after { content: ''; position: absolute; left: 0; width: 100%; height: 2px; background: var(--dark); transition: var(--transition); }
.nav-toggle::before { top: 0; } .nav-toggle span { top: 10px; } .nav-toggle::after { top: 20px; }

/* === Hero === */
.hero { position: relative; min-height: 90vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--dark) 0%, #0f172a 100%); overflow: hidden; padding-top: 80px; }
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 30%, rgba(59,130,246,.15) 0%, transparent 60%); }
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero p { color: rgba(255,255,255,.75); font-size: 1.2rem; max-width: 560px; margin-bottom: 32px; }

/* === Grid === */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

/* === Cards === */
.card { background: var(--bg); border-radius: var(--radius-md); box-shadow: var(--shadow-md); overflow: hidden; transition: transform var(--transition), box-shadow var(--transition); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-image { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 24px; }
.card-title { font-size: 1.15rem; margin-bottom: 8px; }

/* === Features === */
.feature { text-align: center; padding: 32px 24px; border-radius: var(--radius-md); background: var(--bg); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { width: 56px; height: 56px; border-radius: var(--radius-md); background: rgba(59,130,246,.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; color: var(--primary); }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: var(--radius-sm); font-family: var(--font-heading); font-weight: 600; font-size: .95rem; border: 2px solid transparent; cursor: pointer; transition: all var(--transition); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: transparent; color: var(--primary); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-secondary:hover { background: var(--dark); color: #fff; transform: translateY(-2px); }

/* === Stats Bar === */
.stats-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px; padding: 40px 0; }
.stat { text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.4rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: .9rem; color: var(--text); opacity: .7; margin-top: 4px; }

/* === Testimonials === */
.testimonial-card { background: var(--bg); border-radius: var(--radius-md); padding: 32px; box-shadow: var(--shadow-sm); border: 1px solid rgba(0,0,0,.05); }
.stars { color: #fbbf24; margin-bottom: 12px; font-size: 1.1rem; }
.testimonial-card p { font-style: italic; margin-bottom: 16px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-author img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }

/* === Contact Form === */
.contact-form { max-width: 560px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .9rem; }
input, textarea, select { width: 100%; padding: 12px 16px; border: 1px solid #e2e8f0; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: .95rem; transition: border var(--transition), box-shadow var(--transition); background: var(--bg); color: var(--text); }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(59,130,246,.15); }
textarea { min-height: 120px; resize: vertical; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-item { display: flex; align-items: center; gap: 12px; }

/* === Footer === */
.footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h4 { color: #fff; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: #fff; }
.social-links { display: flex; gap: 12px; }
.social-links a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: background var(--transition); }
.social-links a:hover { background: var(--primary); }

/* === Animations === */
.fade-in { opacity: 0; transition: opacity .6s ease; }
.fade-in.visible { opacity: 1; }
.slide-up { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.slide-up.visible { opacity: 1; transform: translateY(0); }

/* === Responsive === */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--bg); flex-direction: column; padding: 80px 32px 32px; gap: 20px; box-shadow: var(--shadow-lg); transition: right var(--transition); }
  .nav-links.active { right: 0; }
  .hero { min-height: 80vh; }
  .hero h1 { font-size: 2rem; }
  .stats-bar { gap: 24px; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
}