:root{
  --navy:#101A66;
  --gray:#526D78;
  --green:#0F8B62;
  --green-dark:#1E9E6B;
  --bg-green-light:#EAFBF3;
  --border:#D9E4FF;
}

*{box-sizing:border-box;margin:0;padding:0;}
body{
  font-family:'Inter',Arial,sans-serif;
  color:var(--navy);
  background:#fff;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Poppins',sans-serif;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}

/* ---------- NAVBAR ---------- */
.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:20px 60px;

  background:transparent;

  position:absolute;
  top:0;
  left:0;
  width:100%;

  z-index:10;
}
.nav-logo{display:flex;align-items:center;gap:8px;}
.logo-img{width:32px;height:32px;}
.logo-fallback{
  width:32px;height:32px;border-radius:8px;background:var(--green);color:#fff;
  align-items:center;justify-content:center;font-weight:800;
}
.logo-text{font-size:20px;font-weight:800;color:var(--navy);}
.nav-links{display:flex;gap:32px;list-style:none;font-size:15px;font-weight:600;}
.nav-links a.active{color:var(--green-dark);border-bottom:2px solid var(--green-dark);padding-bottom:4px;}
.nav-auth{display:flex;gap:14px;align-items:center;}
.btn-login,.btn-signup{
  padding:10px 22px;border-radius:30px;font-size:14px;font-weight:700;
}
.btn-login{border:1px solid var(--navy);color:var(--navy);background:#fff;}
.btn-signup{background:var(--green);color:#fff;}

/* ================= HAMBURGER (mobile only — hidden on desktop) ================= */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 30;
  flex-shrink: 0;
}
.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(12, 42, 59, 0.14);
  margin-top: 8px;
  padding: 10px 8px;
  order: 3;
}
.mobile-menu.open { display: flex; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; }
.mobile-nav-links a {
  display: block;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  padding: 12px 14px;
  border-radius: 10px;
}
.mobile-nav-links a.active,
.mobile-nav-links a:active,
.mobile-nav-links a:hover { background: var(--bg-green-light); color: var(--green-dark); }
.mobile-auth {
  display: flex;
  gap: 10px;
  padding: 10px 10px 4px;
  border-top: 1px solid #EEF3F1;
  margin-top: 6px;
}
.mobile-auth .btn-login,
.mobile-auth .btn-signup {
  flex: 1;
  text-align: center;
  padding: 12px 10px;
}
.mobile-auth .btn-login { border: 1.5px solid var(--navy); }

/* ---------- HERO ---------- */
.hero{
  padding:120px 60px 90px;
  position:relative;
  overflow:hidden;

  background:
    radial-gradient(
      ellipse 65% 75% at 78% 15%,
      rgba(70,225,180,.72) 0%,
      rgba(70,225,180,.38) 35%,
      rgba(70,225,180,0) 72%
    ),
    radial-gradient(
      ellipse 55% 65% at 18% 28%,
      rgba(185,255,235,.70) 0%,
      rgba(185,255,235,.30) 48%,
      rgba(185,255,235,0) 75%
    ),
    radial-gradient(
      ellipse 55% 45% at 50% 78%,
      rgba(127,239,207,.38) 0%,
      rgba(127,239,207,0) 72%
    ),
    linear-gradient(
      135deg,
      #F7FFFD 0%,
      #EFFFFA 38%,
      #DFFFF5 68%,
      #E9FFF9 100%
    );
}
.hero::before{
  content:"";
  position:absolute;

  width:1150px;
  height:520px;

  right:-180px;
  top:-210px;

  border-radius:
    0 0 55% 48% /
    0 0 75% 70%;

  background:
    linear-gradient(
      135deg,
      rgba(171,250,225,.30) 0%,
      rgba(71,225,181,.48) 42%,
      rgba(8,203,151,.82) 100%
    );

  transform:rotate(-5deg);

  pointer-events:none;
  z-index:0;
}
.hero::after{
  content:"";
  position:absolute;

  width:125%;
  height:190px;

  left:-8%;
  bottom:-115px;

  background:#fff;

  border-radius:
    50% 50% 0 0 /
    70% 70% 0 0;

  transform:rotate(-1.5deg);

  pointer-events:none;
  z-index:1;
}
.hero-inner{
  max-width:1300px;
  margin:-50px auto 0;

  display:flex;
  align-items:center;
  gap:50px;
  flex-wrap:wrap;

  position:relative;
  z-index:2;
}
.hero-content{
  flex:1 1 420px;
  max-width:580px;

  position:relative;
  left:-35px;
}
.eyebrow{font-size:13px;font-weight:700;letter-spacing:1px;color:var(--green-dark);margin-bottom:10px;}
.hero-heading{
  font-size:58px;
  line-height:1.08;
  margin-bottom:18px;
}
.accent-green{color:var(--green-dark);}
.hero-desc{font-size:17px;line-height:1.5;color:var(--gray);margin-bottom:24px;max-width:460px;}
.store-badges{display:flex;gap:12px;margin-bottom:12px;}
.badge-img{height:48px;width:auto;}
.hero-footnote{color:#668078;font-size:12px;}

.hero-visual{
  flex:1 1 520px;
  max-width:600px;
  min-height:500px;

  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-phone{
  display:none !important;
}

.hero-bubble{
  display:none !important;
}
.hero-bubble img{width:32px;height:32px;object-fit:contain;}
.whatsapp-bubble{top:22%;left:2%;}
.telegram-bubble{top:42%;left:0;}
.hero-tooltip{
  display:none !important;
}
.whatsapp-tooltip{top:10%;left:16%;}
.telegram-tooltip{top:48%;left:14%;}

.hero-robot-caption{
  display:none !important;
}

.float-card{
  display:none !important;
}
.float-icon{
  width:26px;height:26px;border-radius:50%;display:grid;place-items:center;flex:0 0 26px;font-size:14px;color:#fff;
}
.icon-green{background:var(--green);}
.icon-blue{background:#2868E8;}
.icon-orange{background:#E88C2B;}
.icon-purple{background:#6C4FE8;}
.icon-pink{background:#E85B8C;}
.card-scanned .float-copy p{margin:0;}

/* ---------- HERO ROBOT ---------- */

.hero-robot{
  position:absolute;
  width:750px;
  max-width:none;
  height:auto;

  left:50%;
  top:50%;
  right:auto;
  bottom:auto;

  transform:translate(-50%, -45%);
  z-index:3;
}

/* ---------- SECTION LABELS ---------- */
.section-label{
  text-align:center;font-size:13px;font-weight:700;letter-spacing:1px;color:var(--green-dark);margin-bottom:10px;
}
.section-heading{text-align:center;font-size:30px;margin-bottom:8px;}
.section-sub{text-align:center;color:var(--gray);font-size:14px;margin-bottom:40px;}

/* ---------- GROUPS SECTION ---------- */
.groups-section{
  padding:10px 60px 0;
  max-width:1300px;
  margin:0 auto -170px;
  background:#fff;
}
.groups-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  column-gap:110px;
  row-gap:20px;
  margin-top:-170px;
}
.group-card{
  background:transparent;
  border:none;
  border-radius:0;
  padding:25px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:270px;
}
.group-icon{
  display:none;
}
.group-icon.icon-blue{background:#E1EEFF;}
.group-icon.icon-orange{background:#FFEBD6;}
.group-icon.icon-pink{background:#FFE3EC;}
.group-card h3,
.group-card p{
  display:none;
}
.group-card img{
  width:180%;
  max-width:none;
  height:520px;
  object-fit:contain;
  border-radius:12px;
  margin:0 auto;
}

/* ---------- HOW SPLITZON HELPS SECTION ---------- */
.how-section{
  padding:30px 60px 0px;

  background:
    radial-gradient(
      ellipse 70% 90% at 85% 20%,
      rgba(75,222,181,.65) 0%,
      rgba(75,222,181,.35) 40%,
      rgba(75,222,181,0) 75%
    ),
    radial-gradient(
      ellipse 65% 80% at 15% 35%,
      rgba(224,255,246,.95) 0%,
      rgba(224,255,246,.55) 50%,
      rgba(224,255,246,0) 80%
    ),
    linear-gradient(
      135deg,
      #E0FFF6 0%,
      #D8FFF4 40%,
      #99F1D7 72%,
      #4BDEB5 100%
    );

  margin-top:0;
}

/* ---------- FIRST HOW CARD - IMAGE ONLY ---------- */

.how-card:first-child{
  background:transparent;
  border:none;
  padding:0;
}

.how-card:first-child h3,
.how-card:first-child p,
.how-card:first-child > div:first-child{
  display:none !important;
}

.how-card:first-child .how-visual{
  width:100%;
  height:500px;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.how-card:first-child .how-phone{
  width:145%;
  max-width:none;
  height:560px;
  object-fit:contain;
  margin:0 auto;
}

/* ---------- SECOND & THIRD HOW CARDS - IMAGE ONLY ---------- */

.how-card:nth-child(2),
.how-card:nth-child(3){
  background:transparent;
  border:none;
  padding:0;
}

.how-card:nth-child(2) h3,
.how-card:nth-child(2) p,
.how-card:nth-child(3) h3,
.how-card:nth-child(3) p{
  display:none !important;
}

/* Remove top icon only */
.how-card:nth-child(2) > div:first-child,
.how-card:nth-child(3) > div:first-child{
  display:none !important;
}

/* Keep the actual image visible and make it large */
.how-card:nth-child(2) .how-full-img,
.how-card:nth-child(3) .how-full-img{
  display:block !important;
  width:115%;
  max-width:none;
  height:500px;
  object-fit:contain;
  margin:0 auto;
}

.how-grid{max-width:1300px;margin:0 auto;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.how-card{background:#fff;border-radius:18px;padding:24px;display:flex;flex-direction:column;}
.how-card h3{font-size:16px;margin:14px 0 8px;}
.how-card p{font-size:13px;color:var(--gray);line-height:1.4;margin-bottom:18px;}
.how-full-img{margin-top:auto;border-radius:14px;width:100%;object-fit:cover;}
.how-visual{
  margin-top:auto;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:330px;
}
.how-phone{
  width:100%;
  max-width:none;
  height:330px;
  object-fit:contain;
  margin:0 auto;
}
.how-buttons{
  display:none;
}
.how-btn{
  display:flex;align-items:center;gap:8px;background:#F3F7FF;border-radius:12px;
  padding:8px 12px;font-size:12px;font-weight:700;color:var(--navy);
}
.how-btn img{width:20px;height:20px;}
.how-btn-done{background:var(--bg-green-light);color:var(--green-dark);text-align:center;line-height:1.2;position:relative;}
.how-btn-done span{position:absolute;right:8px;top:50%;transform:translateY(-50%);color:var(--green);font-size:16px;}

/* ---------- FEATURE / WHY SECTION ---------- */
.why-section{
  padding:25px 60px 70px;
  max-width:1300px;
  margin:0 auto;
}
.feature-grid{
  display:grid;
  grid-template-columns:repeat(5, minmax(0,1fr));
  gap:16px;
  width:calc(100% + 180px);
  margin-left:-90px;
}
.feature-card{
  background:#F3F8FF;
  border:1px solid #D9E8FF;
  border-radius:12px;
  padding:16px;
  display:flex;
  flex-direction:column;
  height:100%;
}
.feature-icon{
  width:48px;
  height:48px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:0;
  margin-bottom:16px;
  overflow:hidden;
  background:transparent;
}
.feature-icon.icon-blue{background:#E1EEFF;}
.feature-icon.icon-green{background:#DFF6EA;}
.feature-icon.icon-pink{background:#FFE3EC;}
.feature-icon-img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.feature-card:nth-child(1) .feature-icon{
  background-image:url("feature_scan.png");
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  font-size:0;
}

.feature-card:nth-child(2) .feature-icon{
  background-image:url("feature_group.png");
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  font-size:0;
}

.feature-card:nth-child(3) .feature-icon{
  background-image:url("feature_ai_chat.png");
  background-size:contain;
  background-position:center;
  background-repeat:no-repeat;
  font-size:0;
}

.feature-card h3{font-size:14px;margin-bottom:6px;}
.feature-card p{
  font-size:13px;
  color:var(--gray);
  line-height:1.5;
}

/* ---------- CTA ---------- */
.cta-wrap{padding:0 60px 60px;}
.cta-box{
  max-width:1300px;margin:0 auto;border-radius:28px;padding:40px 50px;
  display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;
  background:radial-gradient(circle at 15% 50%,rgba(83,211,161,.35),transparent 45%),
             linear-gradient(110deg,#E9FAF3,#F3F7FF);
}
.cta-left{display:flex;align-items:center;gap:18px;}
.cta-icon{
  width:50px;height:50px;border-radius:14px;background:#fff;display:grid;place-items:center;font-size:22px;
}
.cta-left h3{font-size:20px;margin-bottom:4px;}
.cta-left p{font-size:14px;color:var(--gray);}

/* ---------- FOOTER ---------- */
.footer{
  padding:24px 60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  color:var(--gray);

  position:relative;
  overflow:hidden;
  min-height:100px;
  z-index:1;
}

.footer::before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  background:#EAFBF3;
  left:-70px;
  bottom:-105px;
  z-index:-1;
}

.footer::after{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  border-radius:50%;
  background:#EAFBF3;
  right:-70px;
  bottom:-105px;
  z-index:-1;
}
.footer-links a{color:var(--green-dark);font-weight:600;}


/* ---------- RESPONSIVE ---------- */
@media(max-width:1100px){
  .groups-grid{grid-template-columns:repeat(2,1fr);}
  .how-grid{grid-template-columns:1fr;}
  .feature-grid{
    grid-template-columns:repeat(5, minmax(0,1fr));
  }
}
@media(max-width:700px){
  .navbar,.hero,.groups-section,.how-section,.why-section,.cta-wrap,.footer{padding-left:20px;padding-right:20px;}

  /* --- hamburger swap --- */
  .navbar{flex-wrap:wrap;}
  .nav-links{display:none;}
  .nav-auth{display:none;}
  .hamburger-btn{display:flex;}

  /* --- hero --- */
  /* இப்போ இருக்குது */
.hero{padding-top:80px;padding-bottom:20px;}

/* இப்படி மாத்து */
.hero{padding-top:110px;padding-bottom:20px;}
  .hero-content{left:0;max-width:100%;text-align:center;}
  .hero-heading{font-size:36px;}
  .hero-desc{margin-left:auto;margin-right:auto;}
  .store-badges{justify-content:center;}
.hero-robot{
    width:380px;
    max-width:90%;
    left:50%;
    right:auto;
    transform:translateX(-50%);
    top:0;
    bottom:auto;
}

    .hero-visual{
    min-height:300px;
    }

  /* --- groups section --- */
  .groups-section{margin-bottom:0;padding-top:20px;}
  .groups-grid{grid-template-columns:repeat(2,1fr);margin-top:0;column-gap:10px;row-gap:14px;}
  .group-card{min-height:auto;padding:0;}
  .group-card img{width:100%;height:auto;}

  /* --- how section --- */
  .how-grid{grid-template-columns:repeat(3,1fr);gap:8px;}
  .how-card:first-child .how-visual{height:auto;}
  .how-card:first-child .how-phone{width:100%;max-width:100%;height:170px;object-fit:cover;}
  .how-card:nth-child(2) .how-full-img,
  .how-card:nth-child(3) .how-full-img{width:100%;max-width:100%;height:170px;object-fit:cover;}
  .how-card{padding:6px;}

  /* --- feature grid --- */
  .feature-grid{
    grid-template-columns:repeat(2,1fr);
    width:100%;
    margin-left:0;
  }

  /* --- cta / footer --- */
  .cta-box{flex-direction:column;align-items:flex-start;}
  .footer{flex-direction:column;gap:10px;text-align:center;}
}

@media(max-width:420px){
  .hero-heading{font-size:30px;}
  .feature-grid{grid-template-columns:1fr;}
}

@media(max-width:700px){
  .hero-bubble,
  .hero-tooltip{
    display:none !important;
  }
}