*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

:root{
  --bg:#0b0f19;
  --bgSoft:#101626;
  --text:#eaf0ff;
  --muted: rgba(234,240,255,.72);
  --card: rgba(255,255,255,.04);
  --cardSoft: rgba(255,255,255,.03);
  --cardBorder: rgba(255,255,255,.08);
  --cardShadow: rgba(0,0,0,.35);
  --accent1:#6ee7ff;
  --accent2:#8b5cf6;
  --success:#22c55e;
}

html{
  scroll-behavior:smooth;
}

body{
  background:
    radial-gradient(circle at top left, rgba(110,231,255,.08), transparent 30%),
    radial-gradient(circle at bottom right, rgba(139,92,246,.10), transparent 34%),
    var(--bg);
  color:var(--text);
  overflow-x:hidden;
  line-height:1.6;
}

.container{
  width:min(1120px, 92%);
  margin:0 auto;
}

/* FLOATING WHATSAPP */
.floating-whatsapp{
  position:fixed;
  right:18px;
  bottom:18px;
  width:54px;
  height:54px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
  background:linear-gradient(135deg,var(--accent1),var(--accent2));
  color:#081019;
  text-decoration:none;
  font-weight:900;
  z-index:9999;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  transition:.25s ease;
}

.floating-whatsapp:hover{
  transform:translateY(-3px) scale(1.03);
  filter:brightness(1.05);
}

/* NAVBAR */
.navbar{
  position:sticky;
  top:0;
  z-index:999;
  background:rgba(11,15,25,.76);
  border-bottom:1px solid rgba(255,255,255,.06);
  backdrop-filter:blur(14px);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  position:relative;
}

.brand{
  display:flex;
  gap:10px;
  align-items:center;
  cursor:pointer;
  user-select:none;
}

.logo-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:linear-gradient(135deg,var(--accent1),var(--accent2));
  box-shadow:0 0 22px rgba(139,92,246,.55);
  flex-shrink:0;
}

.brand-name{
  font-weight:900;
  letter-spacing:.4px;
  font-size:18px;
}

.brand-sub{
  font-size:12px;
  opacity:.76;
  margin-top:2px;
}

.nav-links{
  display:flex;
  gap:18px;
  align-items:center;
}

.nav-links a{
  color:var(--text);
  text-decoration:none;
  opacity:.88;
  transition:.2s ease;
  font-weight:650;
}

.nav-links a:hover{
  opacity:1;
  transform:translateY(-1px);
}

.hamburger{
  display:none;
  background:transparent;
  border:0;
  font-size:26px;
  color:#fff;
  cursor:pointer;
}

/* BUTTONS */
.btn{
  background:linear-gradient(135deg,var(--accent1),var(--accent2));
  color:#081019;
  padding:12px 18px;
  border-radius:14px;
  text-decoration:none;
  display:inline-block;
  font-weight:900;
  border:0;
  cursor:pointer;
  transition:.25s ease;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

.btn:hover{
  filter:brightness(1.06);
  transform:translateY(-2px);
}

.btn-sm{
  padding:10px 14px;
  border-radius:12px;
}

.btn-outline{
  background:transparent;
  color:var(--text);
  border:1px solid rgba(255,255,255,.18);
  box-shadow:none;
}

.btn-outline:hover{
  border-color:rgba(110,231,255,.35);
  background:rgba(255,255,255,.03);
}

.btn.full{
  width:100%;
  text-align:center;
}

/* HERO */
.hero{
  padding:72px 0 36px;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.25fr .9fr;
  gap:28px;
  align-items:center;
}

.pill{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
  margin-bottom:18px;
  font-size:13px;
  opacity:.96;
}

.hero h1{
  font-size:46px;
  line-height:1.08;
  margin-bottom:14px;
  letter-spacing:-.8px;
}

.hero p{
  opacity:.88;
  font-size:16px;
  line-height:1.8;
  max-width:680px;
}

.hero-buttons{
  display:flex;
  gap:12px;
  margin:22px 0 26px;
  flex-wrap:wrap;
}

.hero-stats{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
}

.stat{
  padding:15px 16px;
  border:1px solid var(--cardBorder);
  border-radius:18px;
  background:rgba(255,255,255,.03);
  min-width:120px;
  transition:.25s ease;
  box-shadow:0 8px 28px rgba(0,0,0,.12);
}

.stat:hover{
  transform:translateY(-3px);
  border-color:rgba(110,231,255,.25);
}

.stat h3{
  font-size:22px;
}

.stat p{
  font-size:12px;
  opacity:.75;
  margin-top:4px;
  line-height:1.4;
}

/* HERO CARD */
.hero-card .glass{
  border-radius:24px;
  padding:24px;
  background:rgba(255,255,255,.04);
  border:1px solid var(--cardBorder);
  box-shadow:0 20px 60px var(--cardShadow);
}

.hero-card h2{
  font-size:24px;
  margin-bottom:6px;
}

.muted{
  opacity:.7;
}

.mini-list{
  margin:20px 0;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.mini-item{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.mini-item p{
  opacity:.75;
  font-size:13px;
  margin-top:3px;
  line-height:1.5;
}

.mini-icon{
  font-size:20px;
  margin-top:1px;
}

/* SECTIONS */
.section{
  padding:70px 0;
}

.section.dark{
  background:rgba(255,255,255,.02);
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.section-title{
  text-align:center;
  margin-bottom:30px;
}

.section-title.left{
  text-align:left;
}

.section-title h2{
  font-size:34px;
  margin-bottom:8px;
  letter-spacing:-.4px;
}

.section-title p{
  opacity:.76;
  max-width:760px;
  margin:0 auto;
}

.section-title.left p{
  margin:0;
}

/* GRIDS */
.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

/* CARDS */
.card{
  padding:22px;
  border-radius:22px;
  background:var(--card);
  border:1px solid var(--cardBorder);
  transition:.25s ease;
  box-shadow:0 8px 28px rgba(0,0,0,.10);
}

.card:hover{
  transform:translateY(-3px);
  border-color:rgba(110,231,255,.22);
}

.card h3{
  margin-bottom:10px;
  font-size:18px;
}

.card p{
  opacity:.8;
  line-height:1.75;
}

/* PROJECTS / GENERIC */
.project{
  border-radius:22px;
  padding:20px;
  border:1px solid var(--cardBorder);
  background:rgba(255,255,255,.035);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:100%;
  transition:.25s ease;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
  overflow:hidden;
}

.project:hover{
  transform:translateY(-4px);
  border-color:rgba(139,92,246,.25);
}

.project-top h3{
  font-size:20px;
  margin-bottom:8px;
}

.project-top p{
  opacity:.8;
  line-height:1.75;
}

.project-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid rgba(255,255,255,.06);
}

.tag{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  background:rgba(110,231,255,.12);
  border:1px solid rgba(110,231,255,.20);
  margin-bottom:10px;
  font-weight:700;
}

.link{
  color:var(--accent1);
  text-decoration:none;
  font-weight:900;
}

.link:hover{
  text-decoration:underline;
}

/* OPTIONAL OLD PORTFOLIO */
.portfolio-card{
  padding:20px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  transition:.2s;
  cursor:pointer;
}

.portfolio-card:hover{
  transform:translateY(-2px);
  border-color:rgba(110,231,255,.25);
}

.portfolio-img{
  height:150px;
  border-radius:18px;
  background:rgba(0,0,0,.2);
  border:1px dashed rgba(255,255,255,.2);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:26px;
  margin-bottom:12px;
}

/* PRICING */
.price-card{
  padding:22px;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  transition:.25s ease;
}

.price-card:hover{
  transform:translateY(-3px);
  border-color:rgba(139,92,246,.25);
}

.price-card h3{
  margin-bottom:6px;
}

.price-card ul{
  margin:12px 0 16px;
  padding-left:18px;
  line-height:1.9;
  opacity:.9;
}

.price{
  font-size:20px;
  font-weight:900;
  margin-top:8px;
  margin-bottom:10px;
}

.price-card.featured{
  border:1px solid rgba(110,231,255,.25);
  background:rgba(110,231,255,.06);
}

/* ABOUT */
.about-grid{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:20px;
  align-items:start;
}

.about-text{
  opacity:.84;
  line-height:1.85;
  margin-top:10px;
}

.skills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}

.chip{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  font-size:13px;
}

.about-card{
  padding:22px;
  border-radius:22px;
  border:1px solid var(--cardBorder);
  background:var(--card);
  box-shadow:0 8px 28px rgba(0,0,0,.10);
}

.list{
  margin:12px 0;
  padding-left:18px;
  opacity:.87;
  line-height:1.8;
}

/* CONTACT */
.contact{
  background:
    radial-gradient(circle at top left, rgba(110,231,255,.10), transparent 40%),
    radial-gradient(circle at bottom right, rgba(139,92,246,.14), transparent 50%);
  border-top:1px solid rgba(255,255,255,.06);
}

.contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:start;
}

.contact h2{
  margin-bottom:6px;
}

.contact-box{
  margin-top:16px;
  padding:18px;
  border-radius:20px;
  border:1px solid var(--cardBorder);
  background:rgba(0,0,0,.10);
}

.contact-box p{
  line-height:1.8;
}

.contact-box a{
  color:var(--accent1);
  text-decoration:none;
  font-weight:900;
}

.contact-box a:hover{
  text-decoration:underline;
}

.cta-row{
  margin-top:14px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.form{
  padding:20px;
  border-radius:22px;
  border:1px solid var(--cardBorder);
  background:rgba(0,0,0,.10);
  box-shadow:0 8px 28px rgba(0,0,0,.10);
}

.form h3{
  margin-bottom:12px;
}

label{
  display:block;
  margin:10px 0 6px;
  opacity:.86;
  font-size:13px;
}

input,
textarea{
  width:100%;
  padding:13px 13px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:#fff;
  outline:none;
  transition:.2s ease;
}

input::placeholder,
textarea::placeholder{
  color:rgba(255,255,255,.45);
}

input:focus,
textarea:focus{
  border-color:rgba(110,231,255,.30);
  box-shadow:0 0 0 3px rgba(110,231,255,.07);
}

textarea{
  min-height:120px;
  resize:vertical;
}

.small{
  font-size:12px;
}

/* MODAL */
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
  z-index:99999;
}

.modal.show{
  display:flex;
}

.modal-content{
  width:min(520px, 96%);
  background:rgba(11,15,25,.98);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:18px;
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  position:relative;
}

.modal-close{
  position:absolute;
  top:10px;
  right:12px;
  background:transparent;
  border:0;
  color:#fff;
  font-size:20px;
  cursor:pointer;
}

.modal-image{
  height:220px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  border:1px dashed rgba(255,255,255,.20);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-top:12px;
}

/* FOOTER */
.footer{
  padding:24px 0;
  border-top:1px solid rgba(255,255,255,.06);
  background:rgba(255,255,255,.015);
}

.footer-grid{
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.footer p{
  opacity:.88;
}

/* UTILITIES */
a{
  transition:.2s ease;
}

/* PREMIUM SYSTEMS SECTION */
.systems-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:22px;
}

.system-card{
  position:relative;
  border-radius:24px;
  padding:22px;
  background:linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.025));
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 14px 40px rgba(0,0,0,.18);
}

.system-card:hover{
  transform:translateY(-5px);
  border-color:rgba(110,231,255,.22);
  box-shadow:0 20px 50px rgba(0,0,0,.24);
}

.featured-system{
  border:1px solid rgba(110,231,255,.22);
  box-shadow:0 18px 50px rgba(110,231,255,.08);
}

.system-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}

.system-badge{
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(139,92,246,.14);
  border:1px solid rgba(139,92,246,.25);
  color:var(--text);
  white-space:nowrap;
}

.system-shot{
  width:100%;
  height:230px;
  border-radius:18px;
  margin:14px 0 18px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
}

.system-shot img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  display:block;
}

.system-card h3{
  font-size:24px;
  line-height:1.2;
  margin-bottom:10px;
}

.system-card p{
  opacity:.82;
  line-height:1.75;
}

.system-features{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}

.system-features span{
  padding:8px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}

.system-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.system-actions .btn{
  flex:1 1 180px;
  text-align:center;
}

/* TABLET */
@media (max-width: 980px){
  .hero-grid,
  .about-grid,
  .contact-grid{
    grid-template-columns:1fr;
  }

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

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

  .hero h1{
    font-size:38px;
  }
}

/* MOBILE */
@media (max-width: 850px){
  .grid-3{
    grid-template-columns:1fr;
  }

  .hamburger{
    display:block;
  }

  .nav-links{
    position:absolute;
    right:4%;
    top:64px;
    flex-direction:column;
    gap:14px;
    padding:16px;
    border-radius:16px;
    background:rgba(11,15,25,.97);
    border:1px solid rgba(255,255,255,.08);
    display:none;
    width:min(280px, 92%);
    box-shadow:0 20px 40px rgba(0,0,0,.28);
  }

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

  .hero{
    padding:56px 0 26px;
  }

  .hero h1{
    font-size:34px;
  }

  .section{
    padding:58px 0;
  }

  .section-title h2{
    font-size:28px;
  }

  .hero-buttons,
  .hero-stats,
  .cta-row{
    gap:10px;
  }

  .stat{
    min-width:unset;
    flex:1 1 140px;
  }

  .system-shot{
    height:150px;
  }
}

@media (max-width: 560px){
  .container{
    width:min(94%, 94%);
  }

  .hero h1{
    font-size:30px;
  }

  .pill{
    font-size:12px;
    line-height:1.5;
  }

  .btn,
  .btn-sm{
    width:100%;
    text-align:center;
  }

  .hero-buttons .btn{
    width:100%;
  }

  .floating-whatsapp{
    width:50px;
    height:50px;
    font-size:22px;
    right:14px;
    bottom:14px;
  }

  .project,
  .card,
  .price-card,
  .about-card,
  .form,
  .contact-box,
  .system-card{
    padding:18px;
  }

  .system-head{
    align-items:flex-start;
    flex-direction:row;
  }

  .system-shot{
    height:150px;
    border-radius:14px;
    margin:12px 0 16px;
  }

  .project-top h3,
  .system-card h3{
    font-size:20px;
    line-height:1.3;
  }

  .project-top p,
  .system-card p{
    font-size:14px;
    line-height:1.65;
  }

  .system-features{
    gap:8px;
  }

  .system-features span{
    font-size:11px;
    padding:7px 10px;
  }

  .system-actions{
    flex-direction:column;
  }

  .system-actions .btn{
    width:100%;
    flex:none;
  }
}
.text-only-card{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100%;
}

.text-only-card .project-top{
  width:100%;
}

.text-only-card .system-head{
  margin-bottom:18px;
}

.text-only-card h3{
  margin-bottom:12px;
}

.text-only-card p{
  margin-bottom:6px;
}