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

:root {
  --blue: #0f6cbd;
  --blue-dark: #0a4f9c;
  --blue-light: #e8f1fb;
  --grey-50: #f7f9fc;
  --grey-100: #eef1f6;
  --grey-300: #c8d0dc;
  --grey-600: #5a6478;
  --grey-900: #111827;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--grey-900);
  background: var(--white);
  line-height: 1.6;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--grey-100);
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-size: 1.25rem; font-weight: 700; color: var(--blue);
  text-decoration: none; letter-spacing: -0.3px;
}
.nav-logo span { color: var(--grey-900); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; color: var(--grey-600);
  font-size: 0.95rem; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue); color: var(--white);
  padding: 0.5rem 1.25rem; border-radius: 6px;
  text-decoration: none; font-size: 0.9rem; font-weight: 600;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-dark); }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--grey-50) 0%, var(--blue-light) 100%);
  padding: 6rem 2rem 5rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light); color: var(--blue-dark);
  border: 1px solid #b3d0f5;
  padding: 0.35rem 1rem; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800; line-height: 1.15;
  color: var(--grey-900); max-width: 760px; margin: 0 auto 1.25rem;
}

.hero h1 span { color: var(--blue); }

.hero p {
  font-size: 1.15rem; color: var(--grey-600);
  max-width: 580px; margin: 0 auto 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue); color: var(--white);
  padding: 0.8rem 2rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }

.btn-secondary {
  background: var(--white); color: var(--blue);
  border: 2px solid var(--blue);
  padding: 0.75rem 2rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-secondary:hover { background: var(--blue-light); transform: translateY(-1px); }

/* SECTIONS */
section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.8rem; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800; line-height: 1.2;
  margin-bottom: 1rem; color: var(--grey-900);
}

.section-sub {
  font-size: 1.05rem; color: var(--grey-600);
  max-width: 580px; margin-bottom: 3rem;
}

/* ABOUT */
#about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-text p { color: var(--grey-600); margin-bottom: 1rem; }

.stat-row { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat .num { font-size: 2rem; font-weight: 800; color: var(--blue); }
.stat .lbl { font-size: 0.85rem; color: var(--grey-600); font-weight: 500; }

.about-card {
  background: var(--grey-50); border-radius: var(--radius);
  border: 1px solid var(--grey-100); padding: 2rem;
}
.about-card h3 { margin-bottom: 1rem; color: var(--grey-900); }
.about-card ul { list-style: none; }
.about-card li { color: var(--grey-600); padding: 0.4rem 0; border-bottom: 1px solid var(--grey-100); }
.about-card li:last-child { border-bottom: none; }
.about-card li::before { content: "✓ "; color: var(--blue); font-weight: 700; }

/* PRODUCTS */
#products { background: var(--grey-50); }

.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }

.product-card {
  background: var(--white); border-radius: 14px;
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.product-header {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 2rem; color: var(--white);
}

.product-icon {
  width: 48px; height: 48px; background: rgba(255,255,255,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1rem;
}

.product-header h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; }
.product-header p { opacity: 0.85; font-size: 0.95rem; }

.product-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; gap: 1.5rem; }

.product-features { list-style: none; }
.product-features li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.45rem 0; color: var(--grey-600); font-size: 0.95rem;
  border-bottom: 1px solid var(--grey-100);
}
.product-features li:last-child { border-bottom: none; }
.product-features li::before { content: "→"; color: var(--blue); font-weight: 700; flex-shrink: 0; }

.product-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: auto; }

.deploy-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  background: #0078d4; color: var(--white);
  padding: 0.75rem 1.25rem; border-radius: 8px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s;
}
.deploy-btn:hover { background: #006cbf; }
.deploy-btn img { height: 20px; }

.learn-btn {
  display: block; text-align: center;
  border: 1.5px solid var(--grey-300); color: var(--grey-600);
  padding: 0.65rem 1.25rem; border-radius: 8px;
  text-decoration: none; font-weight: 500; font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
}
.learn-btn:hover { border-color: var(--blue); color: var(--blue); }

.product-tag {
  display: inline-block;
  background: var(--blue-light); color: var(--blue-dark);
  padding: 0.2rem 0.7rem; border-radius: 20px;
  font-size: 0.75rem; font-weight: 600; margin-right: 0.4rem;
}

/* HOW IT WORKS */
#how-it-works { background: var(--white); }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 1rem; }

.step { text-align: center; padding: 1.5rem 1rem; }

.step-num {
  width: 48px; height: 48px; background: var(--blue); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 800; margin: 0 auto 1rem;
}

.step h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step p { color: var(--grey-600); font-size: 0.9rem; }

/* CONTACT */
#contact { background: var(--blue); color: var(--white); text-align: center; }
#contact .section-label { color: rgba(255,255,255,0.7); }
#contact .section-title { color: var(--white); margin: 0 auto 1rem; }
#contact .section-sub { color: rgba(255,255,255,0.8); margin: 0 auto 2.5rem; }

.contact-form {
  max-width: 500px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%; padding: 0.85rem 1rem;
  border-radius: 8px; border: none;
  font-family: inherit; font-size: 0.95rem;
  background: rgba(255,255,255,0.15); color: var(--white);
  outline: none; transition: background 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.6); }
.contact-form input:focus,
.contact-form textarea:focus { background: rgba(255,255,255,0.25); }
.contact-form textarea { resize: vertical; min-height: 120px; }

.contact-form button {
  background: var(--white); color: var(--blue);
  padding: 0.85rem; border: none; border-radius: 8px;
  font-size: 1rem; font-weight: 700; cursor: pointer;
  transition: opacity 0.2s;
}
.contact-form button:hover { opacity: 0.9; }

/* FOOTER */
footer {
  background: var(--grey-900); color: var(--grey-300);
  padding: 2.5rem 2rem; text-align: center; font-size: 0.9rem;
}
footer a { color: var(--blue); text-decoration: none; }
footer .footer-logo { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .about-grid, .products-grid { grid-template-columns: 1fr; gap: 2rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
}

@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
  .hero { padding: 4rem 1.25rem 3rem; }
  section { padding: 3.5rem 1.25rem; }
}
