/* TALK TO US BUTTON - PROPERLY SIZED */
.talk-to-us {
    background: linear-gradient(135deg, #34d399 0%, #0ea5e9 100%);
    color: white !important;
    padding: 8px 18px !important;
    border-radius: 20px !important;
    text-decoration: none !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 3px 12px rgba(52, 211, 153, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1) !important;
    height: auto !important;
    line-height: 1.2 !important;
}

/* HOVER STATE (Enhanced) */
.talk-to-us:hover {
    /* Lift up and scale slightly */
    transform: translateY(-3px) scale(1.03) !important;
    /* More pronounced shadow */
    box-shadow: 0 10px 25px rgba(52, 211, 153, 0.45) !important;
    /* Reverse gradient for a dynamic shift */
    background: linear-gradient(135deg, #0ea5e9 0%, #34d399 100%) !important;
    color: white !important;
}

/* ACTIVE STATE */
.talk-to-us:active {
    transform: translateY(0) scale(1.01) !important;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.3) !important;
}

:root {
  --bg: #050816;
  --bg-light: #0b1020;
  --bg-lighter: #10172b;
  --accent: #34d399; /* Your Primary Green */
  --accent-soft: rgba(52, 211, 153, 0.15);
  --text: #e5e7eb;
  --muted: #9ca3af;
  --danger: #f97373;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-main);
  background: radial-gradient(circle at top, #1f2933 0, #020617 55%);
  color: var(--text);
  line-height: 1.6;
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section.light {
  background: var(--bg-light);
}

.section.dark {
  background: #020617;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  max-width: 640px;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(2, 6, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 81px;
}

/* Corrected logo block structure */
.logo a {
  font-weight: 700;
  font-size: 0.5rem;
  letter-spacing: 1.50m;
  text-decoration: none;
  color: var(--text);
}
.logo-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-right: 0px;
}
.logo-text {
    font-size: 5px;
    color: white;
}


.main-nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 2.0rem;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent) !important;
}

/* ===== REQUEST A DEMO BUTTON (PRIMARY) - (Enhanced) ===== */

.primary-btn {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    cursor: pointer !important;
    display: inline-block !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.3) !important;
    /* Slower, more impactful transition */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1) !important;
    height: auto !important;
    line-height: 1.4 !important;
    min-width: auto !important;
}

/* HOVER STATE (Enhanced) */
.primary-btn:hover {
    /* Lift up and scale slightly */
    transform: translateY(-4px) scale(1.04) !important;
    /* Much more pronounced shadow for a 3D effect */
    box-shadow: 0 16px 40px rgba(52, 211, 153, 0.5) !important;
    /* Reverse gradient for a dynamic shift */
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%) !important;
    color: white !important;
}

/* ACTIVE STATE (When clicked) */
.primary-btn:active {
    transform: translateY(-1px) scale(1.01) !important;
    box-shadow: 0 8px 25px rgba(52, 211, 153, 0.35) !important;
}

/* FOCUS STATE (For accessibility) */
.primary-btn:focus {
    outline: 2px solid rgba(52, 211, 153, 0.5);
    outline-offset: 2px;
}

/* DISABLED STATE */
.primary-btn:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}


/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 3vw, 3rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-text p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.hero-subtext {
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 320px;
  padding: 1.5rem;
  border-radius: 1rem;
  background: radial-gradient(circle at top left, #1e293b 0, #020617 55%);
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.9);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.hero-card p {
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease; /* Ensure transition is applied to all generic buttons */
}

.btn.primary {
  background: linear-gradient(135deg, #22c55e, #0ea5e9);
  color: #020617;
  font-weight: 600;
}

.btn.ghost {
  border-color: rgba(148, 163, 184, 0.5);
  color: var(--text);
  background: transparent;
}

/* NEW: Hover state for 'Explore features' button */
.btn.ghost:hover {
  border-color: var(--accent); /* Highlight border with accent color */
  color: var(--accent); /* Change text/icon color to accent */
  transform: translateY(-2px); /* Slight lift */
  box-shadow: 0 4px 10px rgba(52, 211, 153, 0.15); /* Soft shadow */
}

/* Cards and grids */
.card-grid {
  display: grid;
  gap: 1.8rem;
  margin-top: 2rem;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--bg-lighter);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.card p {
  color: var(--muted);
}

/* Technology */
.tech-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 2rem;
  align-items: flex-start;
}

.tech-panel {
  background: var(--bg-lighter);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Lists */
.list-check,
.list-dot {
  list-style: none;
  padding-left: 0;
}

.list-check li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.5rem;
}

.list-dot li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

.list-check li,
.list-dot li {
  color: var(--muted);
  margin-bottom: 0.4rem;
}

/* Enhanced Metrics Grid */
.metrics-grid {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.metric {
  padding: 1.8rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.08), rgba(56, 189, 248, 0.05));
  border: 1px solid rgba(52, 211, 153, 0.3);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.metric:hover {
  border-color: rgba(52, 211, 153, 0.6);
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.12), rgba(56, 189, 248, 0.08));
  transform: translateY(-2px);
}

.metric-icon {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.metric-value {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.metric-label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.metrics-note {
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  margin-top: 1.5rem;
}

/* Responsive metrics grid */
@media (max-width: 900px) {
  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Styles */
.site-footer {
  background: #020617;
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-section h3,
.footer-section h4 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-transform: none;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

.footer-section p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
}

.footer-section a {
  display: block;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  transition: color 0.2s ease;
}

.footer-section a:hover {
  color: var(--accent);
}

/* Social Links Fix: Icon color set to accent green by default for visibility */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.3);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0;
  transition: all 0.2s ease;
  color: var(--accent); /* Default icon color is accent green */
}

.social-links a:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text); /* Icon color changes to white on hover for better contrast */
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--muted);
}


/* Footer Responsive */
@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Corrected placement and logic for .footer-bottom mobile styling */
  .footer-bottom {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
  }
  .social-links {
      margin-top: 1rem;
      margin-bottom: 0.5rem;
  }
}