/* Variables & Design System */
:root {
  /* Palette */
  --color-primary: #0f172a;
  --color-primary-hover: #1e293b;
  --color-accent: #2563eb;
  --color-accent-hover: #1d4ed8;
  --color-text: #334155;
  --color-text-light: #64748b;
  --color-bg: #ffffff;
  --color-surface: #f8fafc;
  --color-border: #e2e8f0;
  --color-white: #ffffff;

  /* Typography */
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* UI Elements */
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
}

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

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-lg) 0;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--color-primary);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; margin-bottom: var(--spacing-sm); }
h2 { font-size: 2.25rem; margin-bottom: var(--spacing-sm); }
h3 { font-size: 1.5rem; margin-bottom: var(--spacing-xs); }
h4 { font-size: 1.125rem; margin-bottom: var(--spacing-xs); }

p { margin-bottom: var(--spacing-sm); }

.section-title { text-align: center; }
.section-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin: 0 auto var(--spacing-md);
}

/* Header & Nav */
.header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: var(--spacing-sm) 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 2rem;
  width: auto;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-links > li { position: static; }
.nav-links > li > a {
  font-size: 19px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}
.nav-links > li:hover .nav-arrow { transform: rotate(180deg); }
.nav-links > li > a:hover { color: var(--color-accent); }

.nav-toggle { display: none; }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--spacing-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-sm);
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--color-text);
}

.dropdown a svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
  margin-top: 2px;
}

.dropdown a strong {
  display: block;
  color: var(--color-primary);
  font-weight: 600;
}

.dropdown a span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-top: 0.25rem;
}

.dropdown a:hover {
  background: var(--color-surface);
  color: var(--color-accent);
}

/* Hero */
.hero {
  padding: var(--spacing-xl) 0;
  background: radial-gradient(circle at top right, var(--color-surface), transparent);
padding-bottom: 10px;}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.hero-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--color-surface);
  color: var(--color-accent);
  /* border: 1px solid var(--color-border); */
  border-radius: 999px;
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.button.primary { background: var(--color-primary); color: white; }
.button.primary:hover { background: var(--color-primary-hover); transform: translateY(-1px); }

.button.secondary { background: white; color: var(--color-text); border: 1px solid var(--color-border); }
.button.secondary:hover { border-color: var(--color-text); background: var(--color-surface); }

.button.light { background: white; color: var(--color-primary); }
.button.light:hover { background: var(--color-surface); }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.icon-circle {
  width: 48px;
  height: 48px;
  background: var(--color-surface);
  color: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: var(--spacing-sm);
}

/* Components */
.proof-row {
  display: flex;
  justify-content: space-between;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  padding: var(--spacing-md) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.proof-row strong { display: block; color: var(--color-primary); }
.proof-row p { font-size: 0.9rem; color: var(--color-text-light); margin: 0; }

.testimonial-slider { overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.5s ease; }
.testimonial {
  min-width: 100%;
  padding: var(--spacing-md);
  text-align: center;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
}
.testimonial p { font-size: 1.25rem; font-weight: 500; color: var(--color-primary); }

.logo-strip { display: flex; justify-content: center; gap: var(--spacing-lg); flex-wrap: wrap; }
.logo-placeholder { font-weight: 700; font-size: 1.5rem; color: var(--color-text-light); }

.image-placeholder {
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-lg);
  color: var(--color-text-light);
  min-height: 300px;
}

.cta-band {
  background: var(--color-primary);
  color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}
.cta-band h2 { color: white; margin-bottom: 0.5rem; }
.cta-band p { color: #94a3b8; margin: 0; }

/* Forms */
.form-grid { display: grid; gap: var(--spacing-sm); max-width: 500px; }
input, select, textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  margin-top: var(--spacing-lg);
  border-top: 4px solid var(--color-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  /* margin-bottom: var(--spacing-xl); */
}

.footer-col h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.5rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a { color: #94a3b8; font-size: 0.9rem; transition: color 0.2s; display: block; }
.footer-col a:hover { color: white; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--spacing-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
}

.trust-badges { display: flex; flex-wrap: wrap; gap: var(--spacing-md); justify-content: center; margin-bottom: var(--spacing-md); }
.trust-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.05); padding: 0.5rem 1rem;
  border-radius: var(--radius-sm); color: #e2e8f0; font-size: 0.85rem; font-weight: 500;
}
.trust-badge svg { width: 32px; height: 32px; fill: #38bdf8; }

.footer-legal { color: #64748b; font-size: 0.85rem; text-align: center; }

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; background: none; border: none; font-size: 1rem; font-weight: 700; color: var(--color-primary); cursor: pointer; padding: 0.5rem; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: white;
    flex-direction: column;
    padding: 0;
    border-bottom: 1px solid var(--color-border);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
  }
    .hero{padding-top: 15px; }

    .headerr{font-size:22px;}
  .badge{font-size: 21px;}
  .header.nav-open .nav-links { display: flex; }
  
  .nav-links > li {
    width: 100%;
    border-bottom: 1px solid var(--color-surface);
  }
  
  .nav-links > li > a {
    width: 100%;
    justify-content: space-between;
    padding: 1rem var(--spacing-sm);
  }

  /* Mobile Dropdown */
  .dropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--color-surface);
    padding: 0;
    grid-template-columns: 1fr;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none; /* Hidden by default */
    background-color: #f8fafc;
  }
  
  /* Show dropdown on hover/focus-within for mobile */
  .nav-links > li:hover .dropdown,
  .nav-links > li:focus-within .dropdown {
    display: grid;
  }
  
  .dropdown a {
    padding: 0.75rem var(--spacing-md);
  }

  .hero-grid, .footer-grid, .card-grid, .feature-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .section { padding: var(--spacing-md) 0; }
}

/* Feature Cards (Home) */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  font-weight: 700;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
}

.feature-icon svg { width: 24px; height: 24px; fill: currentColor; }

/* Feature Card Colors */
.feature-card.style-blue { background-color: #eff6ff; border-color: #dbeafe; }
.feature-card.style-blue .feature-icon { background-color: #ffffff; color: #2563eb; }
.feature-card.style-blue:hover { border-color: #2563eb; box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15); transform: translateY(-4px); }
.feature-card.style-green { background-color: #f0fdf4; border-color: #dcfce7; }
.feature-card.style-green .feature-icon { background-color: #ffffff; color: #16a34a; }
.feature-card.style-green:hover { border-color: #16a34a; box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.15); transform: translateY(-4px); }
.feature-card.style-purple { background-color: #faf5ff; border-color: #f3e8ff; }
.feature-card.style-purple .feature-icon { background-color: #ffffff; color: #9333ea; }
.feature-card.style-purple:hover { border-color: #9333ea; box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.15); transform: translateY(-4px); }
.feature-card.style-orange { background-color: #fff7ed; border-color: #ffedd5; }
.feature-card.style-orange .feature-icon { background-color: #ffffff; color: #ea580c; }
.feature-card.style-orange:hover { border-color: #ea580c; box-shadow: 0 10px 25px -5px rgba(234, 88, 12, 0.15); transform: translateY(-4px); }
.feature-card.style-red { background-color: #fef2f2; border-color: #fee2e2; }
.feature-card.style-red .feature-icon { background-color: #ffffff; color: #dc2626; }
.feature-card.style-red:hover { border-color: #dc2626; box-shadow: 0 10px 25px -5px rgba(220, 38, 38, 0.15); transform: translateY(-4px); }
.feature-card.style-teal { background-color: #f0fdfa; border-color: #ccfbf1; }
.feature-card.style-teal .feature-icon { background-color: #ffffff; color: #0d9488; }
.feature-card.style-teal:hover { border-color: #0d9488; box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.15); transform: translateY(-4px); }

/* Newsletter Section */
.newsletter-box {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

.newsletter-box::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.newsletter-box h2 {
  color: white;
  margin-bottom: var(--spacing-xs);
}

.newsletter-box p {
  color: #cbd5e1;
  margin-bottom: var(--spacing-md);
  max-width: 600px;
  font-size: 1.1rem;
}

.newsletter-form {
  display: flex;
  width: 100%;
  max-width: 480px;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1;
}

.newsletter-form input {
  background: transparent;
  border: none;
  color: white;
  padding: 0 1.5rem;
  height: 48px;
  flex: 1;
}

.newsletter-form input::placeholder {
  color: #94a3b8;
}

.newsletter-form input:focus {
  box-shadow: none;
}

.newsletter-form button {
  border-radius: 40px;
  padding: 0 2rem;
  height: 48px;
}

@media (max-width: 600px) {
  .newsletter-form {
    flex-direction: column;
    background: transparent;
    border: none;
    padding: 0;
    border-radius: 0;
  }
  .newsletter-form input {
    background: white;
    color: var(--color-text);
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
  }
  .newsletter-form button {
    width: 100%;
    border-radius: var(--radius-sm);
  }
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-md);
  text-align: center;
  margin-top: var(--spacing-lg);
}

.stat-item strong {
  display: block;
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--spacing-xs);
}

.stat-item p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0;
}

/* Section Intro Text */
.section-intro-block {
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  color: var(--color-text-light);
}
.section-intro-block p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: start;
}
.contact-grid .section-title { text-align: left; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 0.8s ease-out forwards;
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }