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

:root {
  --primary: #0068FF;
  --primary-light: #4D9AFF;
  --primary-dark: #0054CC;
  --dark: #2D3436;
  --dark-light: #636E72;
  --light: #F8F9FA;
  --white: #FFFFFF;
  --gray: #DFE6E9;
  --gradient: linear-gradient(135deg, #0068FF 0%, #4D9AFF 100%);
  --shadow: 0 4px 24px rgba(0, 104, 255, 0.12);
  --shadow-lg: 0 12px 48px rgba(0, 104, 255, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ===== Utilities ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--dark);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--dark-light);
  max-width: 560px;
  line-height: 1.7;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0, 104, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 104, 255, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== Fade-in Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 1.2rem;
  font-weight: 600;
  color:#2D3436;
}

.nav-logo img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark-light);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.9rem;
  color: #ffffff!important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  padding: 160px 0 100px;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray);
  border-radius: 50px;
  padding: 6px 16px 6px 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--dark-light);
  margin-bottom: 24px;
}

.hero-badge span {
  background: var(--primary);
  color: var(--white);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--dark);
}

.hero h1 .highlight {
  color: var(--primary);
}

.hero p {
  font-size: 1.2rem;
  color: var(--dark-light);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-form {
  display: flex;
  gap: 12px;
  max-width: 440px;
}

.hero-form input {
  flex: 1;
  padding: 14px 20px;
  border: 2px solid var(--gray);
  border-radius: 50px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.hero-form input:focus {
  border-color: var(--primary);
}

.hero-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-graphic {
  width: 420px;
  height: 420px;
  position: relative;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.hero-circle-1 {
  width: 420px;
  height: 420px;
  background: rgba(0, 104, 255, 0.08);
  top: 0;
  left: 0;
}

.hero-circle-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 104, 255, 0.12);
  top: 60px;
  left: 60px;
  animation-delay: -2s;
}

.hero-circle-3 {
  width: 180px;
  height: 180px;
  background: var(--primary);
  top: 120px;
  left: 120px;
  animation-delay: -4s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-circle-3 img {
  width: 80px;
  height: 80px;
  border-radius: 16px;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  animation: float 5s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-card svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.hero-float-card.card-1 {
  top: 30px;
  right: -20px;
  animation-delay: -1s;
}

.hero-float-card.card-2 {
  bottom: 60px;
  left: -30px;
  animation-delay: -3s;
}

.hero-float-card.card-3 {
  bottom: 20px;
  right: 0;
  animation-delay: -5s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ===== Features Grid ===== */
.features {
  background: var(--white);
}

.features .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.features .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.feature-card:hover {
  background: var(--white);
  border-color: var(--gray);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--dark-light);
  line-height: 1.6;
}

/* ===== Split Sections (Connect & Atlas) ===== */
.split-section .container {
  display: flex;
  align-items: center;
  gap: 80px;
}

.split-section.reverse .container {
  flex-direction: row-reverse;
}

.split-content {
  flex: 1;
}

.split-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.split-content .section-title {
  font-size: 2.25rem;
}

.split-content .section-subtitle {
  margin-bottom: 28px;
}

.split-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.split-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--dark-light);
}

.split-features li svg {
  width: 22px;
  height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Visual Mockups */
.connect-visual {
  width: 100%;
  max-width: 440px;
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray);
}

.chat-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.chat-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.chat-status {
  font-size: 0.8rem;
  color: #00B894;
}

.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-bubble.sent {
  background: var(--primary);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-bubble.received {
  background: var(--white);
  color: var(--dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  border: 1px solid var(--gray);
}

.atlas-visual {
  width: 100%;
  max-width: 480px;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.atlas-map {
  width: 100%;
  height: 240px;
  background: #B3D4FF;
  position: relative;
  overflow: hidden;
}

.map-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 40px 40px;
}

.map-pin {
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.map-pin::after {
  content: '';
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  transform: rotate(45deg);
}

.map-pin:nth-child(2) { top: 40px; left: 60px; }
.map-pin:nth-child(3) { top: 80px; left: 200px; }
.map-pin:nth-child(4) { top: 50px; right: 80px; }
.map-pin:nth-child(5) { bottom: 50px; left: 120px; }
.map-pin:nth-child(6) { bottom: 40px; right: 60px; }

.atlas-cards {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.atlas-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray);
}

.atlas-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.atlas-card-icon svg {
  width: 20px;
  height: 20px;
  color: var(--white);
}

.atlas-card-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

.atlas-card-info p {
  font-size: 0.8rem;
  color: var(--dark-light);
}

/* ===== Business Section ===== */
.business {
  background: var(--light);
}

.business .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.business .section-subtitle {
  margin: 0 auto;
}

.business-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.business-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  border: 1px solid var(--gray);
  transition: var(--transition);
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.business-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: var(--primary-light);
}

.business-card .feature-icon {
  flex-shrink: 0;
}

.business-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.business-card p {
  font-size: 0.92rem;
  color: var(--dark-light);
  line-height: 1.6;
}

/* ===== How It Works ===== */
.how-it-works .section-header {
  text-align: center;
  margin-bottom: 60px;
}

.how-it-works .section-subtitle {
  margin: 0 auto;
}

.steps {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: var(--gray);
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 0.92rem;
  color: var(--dark-light);
  line-height: 1.5;
  max-width: 260px;
  margin: 0 auto;
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--primary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: -200px;
  right: -100px;
}

.cta-section::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  bottom: -150px;
  left: -80px;
}

.cta-section .section-title {
  color: var(--white);
  font-size: 2.5rem;
}

.cta-section .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 36px;
}

.cta-form {
  display: flex;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-form input {
  flex: 1;
  padding: 16px 24px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.cta-form input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .nav-logo {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul a {
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--primary);
  color: var(--white);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-graphic {
    width: 340px;
    height: 340px;
  }

  .hero-circle-1 { width: 340px; height: 340px; }
  .hero-circle-2 { width: 240px; height: 240px; top: 50px; left: 50px; }
  .hero-circle-3 { width: 140px; height: 140px; top: 100px; left: 100px; }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-section .container {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 70px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    z-index: 999;
  }

  .nav-links.active {
    display: flex;
  }

  .navbar:has(.nav-links.active) {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-cta-mobile {
    display: inline-flex;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-form {
    flex-direction: column;
    max-width: 100%;
  }

  .hero-form .btn {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 20px;
  }

  .hero-graphic {
    width: 280px;
    height: 280px;
  }

  .hero-circle-1 { width: 280px; height: 280px; }
  .hero-circle-2 { width: 200px; height: 200px; top: 40px; left: 40px; }
  .hero-circle-3 { width: 120px; height: 120px; top: 80px; left: 80px; }

  .hero-float-card { display: none; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .split-section .container,
  .split-section.reverse .container {
    flex-direction: column;
    text-align: center;
  }

  .split-content .section-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .split-features {
    align-items: center;
  }

  .business-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    flex-direction: column;
    align-items: center;
  }

  .steps::before {
    display: none;
  }

  .cta-form {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-section .section-title {
    font-size: 2rem;
  }
}
