/* =========================================
   CHATBOT.NET.PE — Landing Page
   Paleta: navy #0A1640, cyan #1FD9E8, pink #FF1F6D, purple #6C2BD9
========================================= */

:root{
  --navy-900:#070f2e;
  --navy-800:#0A1640;
  --navy-700:#0F2359;
  --navy-600:#16307a;
  --cyan:#1FD9E8;
  --cyan-dark:#12b8c6;
  --pink:#FF1F6D;
  --purple:#6C2BD9;
  --white:#ffffff;
  --ink:#0A1640;
  --gray-600:#5b6478;
  --gray-100:#f4f6fb;
  --gray-200:#e7ebf5;
  --radius:16px;
  --shadow:0 20px 40px -20px rgba(10,22,64,.25);
  --font-head:'Poppins', sans-serif;
  --font-body:'Poppins', sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0;}

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

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

ul{list-style:none;}

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

h1,h2,h3,h4{font-family:var(--font-head);font-weight:700;line-height:1.15;color:var(--ink);}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 28px;
  border-radius:999px;
  font-weight:600;
  font-size:15px;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--cyan);
  color:var(--navy-900);
  box-shadow:0 10px 25px -8px rgba(31,217,232,.6);
}
.btn-primary:hover{transform:translateY(-2px);box-shadow:0 14px 30px -8px rgba(31,217,232,.75);}
.btn-ghost{
  background:transparent;
  color:var(--white);
  border:1.5px solid rgba(255,255,255,.4);
}
.btn-ghost:hover{background:rgba(255,255,255,.1);}
.btn-sm{padding:10px 18px;font-size:13px;}
.btn-lg{padding:18px 40px;font-size:17px;}

/* ===== Logo ===== */
.logo{display:flex;align-items:center;line-height:1;}
.logo-img{height:52px;width:auto;display:block;}
.logo-img-footer{height:84px;margin-bottom:4px;}

/* ===== Header ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(10,22,64,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 24px;
  gap:24px;
}
.main-nav{display:flex;gap:28px;}
.main-nav a{
  color:rgba(255,255,255,.85);
  font-weight:500;
  font-size:15px;
  transition:color .2s ease;
}
.main-nav a:hover{color:var(--cyan);}
.header-actions{display:flex;align-items:center;gap:16px;}

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:4px;
}
.nav-toggle span{width:24px;height:2px;background:var(--white);border-radius:2px;}

/* ===== Hero ===== */
.hero{
  position:relative;
  background:linear-gradient(160deg,var(--navy-900) 0%,var(--navy-800) 55%,var(--navy-700) 100%);
  overflow:hidden;
  padding:90px 0 100px;
}
.hero-bg{position:absolute;inset:0;opacity:.6;}
.circuit{width:100%;height:100%;}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  align-items:center;
  gap:48px;
}
.eyebrow{
  display:inline-block;
  color:var(--cyan);
  font-weight:600;
  font-size:14px;
  letter-spacing:.5px;
  margin-bottom:18px;
  border:1px solid rgba(31,217,232,.35);
  padding:6px 14px;
  border-radius:999px;
}
.hero h1{
  color:var(--white);
  font-size:clamp(32px,4.5vw,52px);
  margin-bottom:20px;
}
.text-cyan{color:var(--cyan);}
.hero-sub{
  color:rgba(255,255,255,.75);
  font-size:17px;
  max-width:520px;
  margin-bottom:32px;
}
.hero-cta{display:flex;flex-wrap:wrap;gap:16px;}

.hero-art{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:420px;
  padding:20px;
}
.bot-glow{
  position:absolute;
  width:340px;height:340px;
  border-radius:50%;
  background:radial-gradient(circle, rgba(31,217,232,.35) 0%, rgba(108,43,217,.2) 45%, transparent 72%);
  filter:blur(10px);
  animation:pulseGlow 4s ease-in-out infinite;
  z-index:0;
}
.bot-hero-img{
  position:relative;
  z-index:1;
  width:100%;
  max-width:440px;
  filter:drop-shadow(0 25px 35px rgba(0,0,0,.35));
  animation:float 5s ease-in-out infinite;
}

.float-bubble{
  position:absolute;
  z-index:2;
  display:flex;
  align-items:center;
  gap:8px;
  background:var(--white);
  color:var(--ink);
  padding:10px 16px;
  border-radius:999px;
  font-size:13.5px;
  font-weight:600;
  box-shadow:var(--shadow);
  white-space:nowrap;
  animation:float 4s ease-in-out infinite;
  transition:transform .25s ease, box-shadow .25s ease, opacity .3s ease;
}
.float-bubble:hover{transform:translateY(-6px) scale(1.05);box-shadow:0 20px 30px -10px rgba(10,22,64,.4);}
.bubble-emoji{font-size:16px;line-height:1;}

.bubble-1{top:6%;left:0%;animation-duration:4.5s;animation-delay:0s;}
.bubble-2{top:20%;right:-2%;animation-duration:5.5s;animation-delay:.6s;}
.bubble-3{bottom:22%;left:-4%;animation-duration:5s;animation-delay:1.2s;}
.bubble-4{bottom:6%;right:2%;max-width:230px;white-space:normal;animation-duration:4.8s;animation-delay:.3s;}
.bubble-4 #cycleText{transition:opacity .3s ease;}

.bubble-typing{
  top:44%;
  left:-8%;
  padding:12px 16px;
  animation-duration:4.2s;
  animation-delay:.9s;
  opacity:0;
}
.typing-dots{display:flex;gap:4px;}
.typing-dots span{
  width:6px;height:6px;
  border-radius:50%;
  background:var(--purple);
  animation:typingBounce 1.2s ease-in-out infinite;
}
.typing-dots span:nth-child(2){animation-delay:.2s;}
.typing-dots span:nth-child(3){animation-delay:.4s;}

@keyframes float{
  0%,100%{transform:translateY(0);}
  50%{transform:translateY(-14px);}
}
@keyframes pulseGlow{
  0%,100%{transform:scale(1);opacity:.8;}
  50%{transform:scale(1.12);opacity:1;}
}
@keyframes typingBounce{
  0%,60%,100%{transform:translateY(0);opacity:.5;}
  30%{transform:translateY(-5px);opacity:1;}
}

/* ===== Sections ===== */
.section{padding:96px 0;}
.section-dark{
  background:var(--navy-800);
}
.section-eyebrow{
  color:var(--purple);
  font-weight:700;
  font-size:13px;
  letter-spacing:1.5px;
  text-transform:uppercase;
  margin-bottom:12px;
}
.section-eyebrow-light{color:var(--cyan);}
.section-title{
  font-size:clamp(26px,3.5vw,38px);
  max-width:680px;
  margin-bottom:16px;
}
.section-title-light{color:var(--white);}
.section-sub{
  color:var(--gray-600);
  font-size:16px;
  max-width:640px;
  margin-bottom:48px;
}
.section-sub-light{color:rgba(255,255,255,.7);}

/* ===== Grids / Cards ===== */
.grid{display:grid;gap:28px;}
.grid-3{grid-template-columns:repeat(3,1fr);}
.grid-4{grid-template-columns:repeat(4,1fr);}

.card{
  background:var(--white);
  border:1px solid var(--gray-200);
  border-radius:var(--radius);
  padding:32px 28px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{transform:translateY(-6px);box-shadow:var(--shadow);}
.card h3{font-size:19px;margin-bottom:10px;}
.card p{color:var(--gray-600);font-size:14.5px;}

.card-icon{
  width:52px;height:52px;
  border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:18px;
}
.icon-cyan{background:rgba(31,217,232,.12);color:var(--cyan-dark);}
.icon-pink{background:rgba(255,31,109,.1);color:var(--pink);}
.icon-purple{background:rgba(108,43,217,.1);color:var(--purple);}

.industry-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius);
  padding:28px 22px;
  text-align:left;
}
.industry-card svg{margin-bottom:16px;}
.industry-card h4{color:var(--white);font-size:17px;margin-bottom:8px;}
.industry-card p{color:rgba(255,255,255,.65);font-size:14px;}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
  margin-top:28px;
}
.split-card{
  background:linear-gradient(135deg,rgba(31,217,232,.08),rgba(108,43,217,.08));
  border:1px solid rgba(31,217,232,.2);
  border-radius:var(--radius);
  padding:32px;
}
.split-card h3{color:var(--white);font-size:19px;margin-bottom:10px;}
.split-card p{color:rgba(255,255,255,.7);font-size:14.5px;}

/* ===== About ===== */
.about-inner{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:56px;
  align-items:center;
}
.about-text{color:var(--gray-600);margin-bottom:18px;font-size:15.5px;}
.about-art{display:flex;justify-content:center;}
.about-orb{
  width:300px;height:300px;
  border-radius:50%;
  box-shadow:var(--shadow);
}
.about-photo{
  width:100%;
  height:100%;
  border-radius:50%;
  object-fit:cover;
  object-position:center 15%;
  display:block;
  background:var(--white);
}

/* ===== CTA Final ===== */
.cta-final{
  background:linear-gradient(120deg,var(--purple),var(--navy-800) 60%);
  padding:80px 0;
  text-align:center;
}
.cta-final-inner{max-width:640px;margin:0 auto;}
.cta-final h2{color:var(--white);font-size:clamp(26px,3.5vw,36px);margin-bottom:16px;}
.cta-final p{color:rgba(255,255,255,.8);margin-bottom:32px;font-size:16px;}

/* ===== Footer ===== */
.site-footer{background:var(--navy-900);padding-top:64px;}
.footer-inner{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:32px;
  padding-bottom:48px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footer-desc{color:rgba(255,255,255,.55);font-size:14px;margin-top:16px;max-width:260px;}
.footer-col h5{color:var(--white);font-size:14px;letter-spacing:.5px;text-transform:uppercase;margin-bottom:18px;}
.footer-col a{
  display:block;
  color:rgba(255,255,255,.65);
  font-size:14.5px;
  margin-bottom:12px;
  transition:color .2s ease;
}
.footer-col a:hover{color:var(--cyan);}
.social-icons{display:flex;gap:12px;}
.social-icons a{
  width:38px;height:38px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.2);
  display:flex;align-items:center;justify-content:center;
  color:var(--white);
}
.social-icons a:hover{background:var(--cyan);color:var(--navy-900);border-color:var(--cyan);}
.footer-bottom{padding:22px 0;}
.footer-bottom p{color:rgba(255,255,255,.45);font-size:13px;text-align:center;}

/* ===== WhatsApp Float ===== */
.whatsapp-float{
  position:fixed;
  right:24px;
  bottom:24px;
  width:58px;height:58px;
  border-radius:50%;
  background:#25D366;
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 25px -6px rgba(37,211,102,.6);
  z-index:200;
  animation:pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{box-shadow:0 10px 25px -6px rgba(37,211,102,.6);}
  50%{box-shadow:0 10px 25px -6px rgba(37,211,102,.9), 0 0 0 8px rgba(37,211,102,.15);}
}

/* ===== Responsive ===== */
@media (max-width:960px){
  .hero-inner{grid-template-columns:1fr;text-align:center;}
  .hero-cta{justify-content:center;}
  .hero-sub{margin-left:auto;margin-right:auto;}
  .hero-art{margin-top:20px;min-height:380px;}
  .bubble-1{left:2%;}
  .bubble-2{right:2%;}
  .bubble-3{left:0%;}
  .bubble-typing{left:0%;}
  .about-inner{grid-template-columns:1fr;text-align:center;}
  .about-art{order:-1;}
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .grid-4{grid-template-columns:repeat(2,1fr);}
  .split{grid-template-columns:1fr;}
  .footer-inner{grid-template-columns:1fr 1fr;}
}

@media (max-width:720px){
  .main-nav{
    position:absolute;
    top:100%;
    left:0;right:0;
    background:var(--navy-800);
    flex-direction:column;
    padding:20px 24px;
    gap:16px;
    display:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .main-nav.open{display:flex;}
  .nav-toggle{display:flex;}
  .grid-3{grid-template-columns:1fr;}
  .grid-4{grid-template-columns:1fr;}
  .hero-art{min-height:320px;}
  .bot-hero-img{max-width:300px;}
  .bot-glow{width:240px;height:240px;}
  .float-bubble{font-size:12px;padding:8px 12px;}
  .bubble-3,.bubble-typing{display:none;}
  .footer-inner{grid-template-columns:1fr;text-align:center;}
  .social-icons{justify-content:center;}
  .footer-desc{margin-left:auto;margin-right:auto;}
}
