:root {
  --bg: #0b1120;
  --card: rgba(255,255,255,0.06);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --accent2: #a855f7;
  --accent3: #22c55e;
  --border: rgba(255,255,255,0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top, #0f172a 0%, #0b1120 70%);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1100px; margin: 0 auto; padding: 24px; }

/* NAV */
nav { display:flex; justify-content:space-between; align-items:center; padding:18px 0; }
nav .logo { font-weight:800; font-size:22px; letter-spacing:1px; text-decoration:none; color:var(--text); }
nav ul { list-style:none; display:flex; align-items:center; gap:18px; }
nav li { display:inline-block; }
nav a { color:var(--text); text-decoration:none; font-weight:600; }
nav a:hover { color:var(--accent); }

/* HERO */
.hero {
  display:grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas:
    "text image"
    "text btn";
  gap:24px;
  background: var(--card);
  border:1px solid var(--border);
  padding:32px;
  border-radius:16px;
  backdrop-filter: blur(18px);
  box-shadow:0 12px 30px rgba(0,0,0,.35);
}

.hero-content { grid-area: text; }
.hero-img { grid-area: image; }
.hero-btn {
  grid-area: btn;
  justify-self: start;
  align-self: start;
}

/* HERO IMAGE */
.hero-img{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  display:inline-block;
  width:fit-content;
  height:fit-content;
  align-self:flex-start;
  justify-self:start;
}

/* SVG LED */
.led-border{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:2;
}

/* SEGMENTE NEON */
.led-border rect{
  fill:none;
  stroke:url(#neonGrad);
  stroke-width:2px;
  stroke-linecap:round;
  stroke-dasharray:300 700;
  filter:
    drop-shadow(0 0 6px rgba(56,189,248,.7))
    drop-shadow(0 0 12px rgba(168,85,247,.6))
    drop-shadow(0 0 18px rgba(34,197,94,.5));
}
.led-seg1{animation:ledTravel 20s linear infinite}
.led-seg2{animation:ledTravel 20s linear infinite;stroke-dashoffset:-500}

.hero-img img{
  position:relative;
  z-index:1;
  display:block;
  width:auto;
  height:auto;
  max-width:100%;
  border-radius:14px;
}

/* BUTTON */
.btn {
  display:inline-block;
  margin-top:14px;
  padding:12px 22px;
  border-radius:10px;
  font-weight:700;
  background: linear-gradient(90deg,var(--accent),var(--accent2));
  color:#fff;
  text-decoration:none;
  box-shadow:0 6px 14px rgba(56,189,248,.35);
}

/* SECTIONS */
.section {
  margin-top:24px;
  background: var(--card);
  border:1px solid var(--border);
  padding:30px;
  border-radius:14px;
  backdrop-filter: blur(14px);
  box-shadow:0 8px 20px rgba(0,0,0,.25);
}

/* FOOTER */
footer {
  margin-top:36px;
  padding:18px 0;
  border-top:1px solid var(--border);
  text-align:center;
}
footer ul {
  list-style:none;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  justify-content:center;
  margin-bottom:10px;
}
footer a { color: var(--muted); text-decoration:none; }
footer a:hover { color: var(--accent); }

/* ANIM */
@keyframes ledTravel{
  to { stroke-dashoffset: -1000; }
}

/* RESPONSIVE */
@media(max-width:768px){
  nav { flex-direction:column; gap:12px; }
  nav ul { flex-direction: column; gap:10px; }
  .hero{
    grid-template-columns:1fr;
    grid-template-areas:
      "text"
      "image"
      "btn";
    padding:24px;
  }
  .hero h1{ font-size:30px;}
  footer ul { flex-direction:column; gap:8px; }
}