:root{
  --bg:#070A0F;
  --panel:#0E121A;
  --panel2:#0B0F16;
  --text:#EAF0FF;
  --muted:#A6B0C7;
  --muted2:#7F8AA6;
  --border: rgba(255,255,255,.10);
  --shadow: 0 16px 40px rgba(0,0,0,.45);
  --radius: 18px;
  --accent:#13D8FF;
  --accent2:#2A7CFF;
  --max:1120px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
}

.landing-body,
.auth-body{
  background:
    radial-gradient(1000px 520px at 50% 18%, rgba(19,216,255,.18), transparent 55%),
    radial-gradient(800px 520px at 68% 10%, rgba(42,124,255,.18), transparent 55%),
    radial-gradient(900px 700px at 20% 10%, rgba(19,216,255,.10), transparent 50%),
    var(--bg);
  min-height:100vh;
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
.container{ max-width:var(--max); margin:0 auto; padding:0 18px; }

header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(7,10,15,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

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

.brand,
.auth-brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:800;
  letter-spacing:-.02em;
}

.logoDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 0 0 6px rgba(19,216,255,.12);
}

.navLinks{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
}

.navLinks a{
  color: var(--muted2);
  padding:8px 10px;
  border-radius:12px;
  transition:.18s ease;
}

.navLinks a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
}

.menuBtn{
  display:none;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding:10px 12px;
  border-radius:14px;
  cursor:pointer;
}

.hero{
  padding: 62px 0 46px;
  text-align:center;
}

.hero .kicker{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(19,216,255,.92);
  background: rgba(19,216,255,.08);
  border: 1px solid rgba(19,216,255,.20);
  box-shadow: 0 12px 40px rgba(19,216,255,.08);
  margin-bottom: 18px;
}

.hero h1{
  margin: 0 auto 14px;
  max-width: 980px;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.03em;
  font-weight: 900;
}

.hero h1 .grad{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  background-clip:text;
  color:transparent;
}

.hero p{
  margin:0 auto;
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.ctaRow{
  margin-top: 22px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-weight: 800;
  transition: .18s ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
}

.btnPrimary{
  border-color: rgba(19,216,255,.35);
  background: linear-gradient(135deg, rgba(19,216,255,.95), rgba(42,124,255,.85));
  color:#06101a;
  box-shadow: 0 18px 50px rgba(19,216,255,.18);
}

section{ padding: 38px 0; }

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

.title h2{
  margin:0;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 900;
  letter-spacing:-.02em;
  background: linear-gradient(135deg, rgba(19,216,255,1), rgba(42,124,255,.92));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.title p{
  margin: 10px auto 0;
  max-width: 760px;
  color: var(--muted);
}

.card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}

.cardInner{ padding: 22px; }

.aboutGrid,
.skillsGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 22px;
}

.rowFlex{
  display:flex;
  gap:16px;
  width:100%;
  align-items:flex-start;
}

.iconBox{
  width:44px;
  height:44px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background: rgba(19,216,255,.09);
  border: 1px solid rgba(19,216,255,.18);
  flex: 0 0 auto;
  font-weight: 800;
  color: rgba(19,216,255,.95);
}

.iconBox svg{ width:22px; height:22px; fill: rgba(19,216,255,.95); }

.miniCard h3,
.skillsCard h3{
  margin:0 0 10px;
  font-size: 18px;
  font-weight: 900;
}

.miniCard p,
.about-card p{
  margin:0;
  color: var(--muted);
}

.aboutLong{ margin-top: 18px; }
.aboutLong p{ margin:0; color: var(--text); line-height: 1.8; }

.about-cards{
  margin-top: 20px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
}

.about-card{
  border-radius: 16px;
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 34px rgba(0,0,0,.35);
  transition: .2s ease;
}

.about-card:hover{
  transform: translateY(-4px);
  border-color: rgba(19,216,255,.35);
}

.about-card h4{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  color: rgba(19,216,255,.95);
}

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.chip{
  font-size: 13px;
  font-weight: 800;
  color: rgba(235,245,255,.92);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.09);
  background: rgba(255,255,255,.04);
}

.contactWrap{ margin-top: 22px; padding: 24px; }
.contactText{ text-align:center; color: var(--muted); margin: 0 auto 16px; max-width: 760px; }
.contactBtns{
  display:flex;
  justify-content:center;
  gap: 14px;
  flex-wrap:wrap;
  padding: 14px 0 18px;
}
.contactBtn{
  min-width: 150px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(19,216,255,.18);
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
}
.divider{
  height:1px;
  width:100%;
  background: rgba(255,255,255,.08);
  margin: 10px 0 14px;
}
.contactFoot,
.footer-copy{
  text-align:center;
  color: var(--muted2);
  font-weight: 700;
  padding-bottom: 28px;
}

.reveal{ opacity:0; transform: translateY(10px); transition: .55s ease; }
.reveal.show{ opacity:1; transform: translateY(0); }

/* AUTH */
.auth-page{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px 16px;
}

.auth-card{
  width:100%;
  max-width:520px;
  padding:32px;
  border-radius:24px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  backdrop-filter: blur(14px);
}

.auth-card h1{
  margin:18px 0 8px;
  font-size:34px;
  font-weight:900;
  letter-spacing:-0.02em;
}

.auth-subtitle{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.6;
}

.auth-message{
  margin-bottom:16px;
  padding:12px 14px;
  border-radius:12px;
  background: rgba(19,216,255,.08);
  border:1px solid rgba(19,216,255,.20);
  color: var(--text);
}

.auth-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.auth-form input{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--text);
  outline:none;
  font-size:15px;
}

.auth-form input::placeholder{
  color: var(--muted2);
}

.auth-form input:focus{
  border-color: rgba(19,216,255,.45);
  box-shadow: 0 0 0 4px rgba(19,216,255,.10);
}

.auth-form button{
  margin-top:4px;
  width:100%;
  padding:14px 16px;
  border:none;
  border-radius:14px;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  color:#06101a;
  background: linear-gradient(135deg, rgba(19,216,255,.95), rgba(42,124,255,.85));
  box-shadow: 0 18px 50px rgba(19,216,255,.18);
}

.auth-links{
  margin-top:18px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.auth-links a{
  color: rgba(19,216,255,.95);
  font-weight:700;
}

@media (max-width: 1000px){
  .about-cards{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px){
  .aboutGrid, .skillsGrid{ grid-template-columns: 1fr; }
}

@media (max-width: 860px){
  .navLinks{ display:none; width:100%; padding-bottom:10px; }
  .navLinks.open{ display:flex; justify-content:flex-start; }
  .menuBtn{ display:inline-flex; }
  .nav{ flex-wrap:wrap; }
}

@media (max-width: 620px){
  .about-cards{ grid-template-columns: 1fr; }
  .auth-card{ padding:24px; }
  .auth-links{ flex-direction:column; }
}
