body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background: #ffffff;
}

.gradient-bg {
  background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 100%);
}

.section {
  padding: 80px 20px;
}

.light-bg {
  background: #f8fafc;
}

.blue-bg {
  background: #2563eb;
  color: white;
}

header.scrolled {
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* =========================
   HEADER
========================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: #ffffff;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 34px;
  height: 34px;
  background: #2563eb;
  color: white;
  font-weight: 700;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #2563eb;
}

/* Contact button */
.nav-cta {
  padding: 8px 16px;
  background: #2563eb;
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
}

.nav-cta:hover {
  background: #1e40af;
}

/* =========================
   HERO SECTION
========================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
}

.hero-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 20px;
}

.hero .highlight {
  color: #2563eb;
}

.hero p {
  font-size: 16px;
  color: #475569;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Buttons */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 24px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.25s ease;
}

.btn.primary {
  background: #2563eb;
  color: white;
}

.btn.primary:hover {
  background: #1e40af;
  transform: translateY(-2px);
}

.btn.secondary {
  border: 2px solid #2563eb;
  color: #2563eb;
}

.btn.secondary:hover {
  background: #2563eb;
  color: white;
}

/* =========================
   PRODUCTS SECTION
========================= */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: #475569;
  font-size: 16px;
}

/* Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

/* Card */
.product-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Icon */
.product-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

/* Text */
.product-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card p {
  font-size: 14px;
  color: #475569;
  margin-bottom: 16px;
  line-height: 1.6;
}

.product-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.product-card ul li {
  font-size: 14px;
  color: #334155;
  margin-bottom: 8px;
  position: relative;
  padding-left: 16px;
}

.product-card ul li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #2563eb;
  font-size: 12px;
}

/* Tag */
.tag {
  display: inline-block;
  background: #eff6ff;
  color: #2563eb;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* =========================
   WHY CHOOSE XDT
========================= */

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.why-card {
  background: white;
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.why-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #0f172a;
}

.why-card p {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

/* =========================
   PRESENCE SECTION
========================= */

.presence {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.presence-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.presence-row.reverse {
  direction: rtl;
}

.presence-row.reverse > * {
  direction: ltr;
}

.presence-text h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 8px;
}

.presence-focus {
  display: inline-block;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
}

.presence-text p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
}

.presence-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .presence-row {
    grid-template-columns: 1fr;
  }
  .presence-row.reverse {
    direction: ltr;
  }
}

/* =========================
   CONTACT / LEAD FORM
========================= */

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  align-items: center;
}

.contact-info h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-info p {
  font-size: 16px;
  color: #e0e7ff;
  line-height: 1.6;
}

/* Form */
.contact-form {
  background: white;
  padding: 32px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid #c7d2fe;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
}

.contact-form button {
  padding: 14px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #1e40af;
}

.form-status {
  font-size: 13px;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

/* =========================
   FOOTER
========================= */

.site-footer {
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-top: 16px;
  max-width: 420px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  text-decoration: none;
  color: #64748b;
  font-size: 14px;
}

.footer-col a:hover {
  color: #2563eb;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   WHATSAPP BUTTON
========================= */

.whatsapp-button {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: white;
  font-size: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35);
}

/* =========================
   AI ADVISOR
========================= */

.ai-toggle {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1e3a8a;
  color: white;
  font-size: 24px;
  border: none;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  z-index: 1000;
}

.ai-box {
  position: fixed;
  bottom: 170px;
  right: 24px;
  width: 320px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  padding: 20px;
  z-index: 1000;
}

.hidden {
  display: none;
}

.ai-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.ai-header h4 {
  margin: 0;
  font-size: 16px;
}

.ai-header button {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

.ai-hint {
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
}

.ai-box input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #c7d2fe;
  margin-bottom: 10px;
}

.ai-box button#aiSend {
  width: 100%;
  padding: 10px;
  background: #2563eb;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.ai-response {
  margin-top: 12px;
  font-size: 13px;
  background: #eff6ff;
  padding: 10px;
  border-left: 4px solid #2563eb;
  border-radius: 6px;
}
