﻿:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e2e8f0;
  background: #020617;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, rgba(99, 102, 241, 0.18), transparent 22%),
    radial-gradient(circle at bottom right, rgba(56, 189, 248, 0.15), transparent 25%),
    linear-gradient(180deg, #04060f 0%, #07121f 100%);
  overflow-x: hidden;
}

body.neon-mode {
  background: radial-gradient(circle at top left, rgba(168, 85, 247, 0.26), transparent 20%),
    radial-gradient(circle at bottom right, rgba(34, 211, 238, 0.18), transparent 24%),
    linear-gradient(180deg, #09031f 0%, #0b173a 100%);
}

body.neon-mode .site-header {
  background: rgba(14, 22, 39, 0.88);
}

body.neon-mode .button-secondary,
body.neon-mode .mode-toggle,
body.neon-mode .nav-toggle {
  background: rgba(14, 22, 39, 0.96);
  border-color: rgba(56, 189, 248, 0.25);
}

body.neon-mode .site-nav a:hover,
body.neon-mode .site-nav a:focus-visible {
  color: #38bdf8;
}

.page-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.7;
}

.glow--left {
  left: -120px;
  top: 20%;
  background: #7c3aed;
}

.glow--right {
  right: -140px;
  top: 55%;
  background: #38bdf8;
}

.bg-star {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}

.star--1 { left: 15%; top: 12%; }
.star--2 { left: 8%; top: 75%; width: 8px; height: 8px; }
.star--3 { left: 62%; top: 20%; }
.star--4 { right: 10%; top: 30%; width: 9px; height: 9px; }

button,
a {
  font: inherit;
}

a {
  color: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  margin: 0 auto;
  width: min(1100px, 100%);
  background: rgba(5, 9, 24, 0.72);
  border-bottom: 1px solid rgba(148, 163, 184, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #a5b4fc;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  z-index: 1;
}

.site-nav a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #7c3aed;
}

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

.mode-toggle,
.nav-toggle {
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.96);
  color: #e2e8f0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.mode-toggle:hover,
.nav-toggle:hover {
  transform: translateY(-1px);
  background: rgba(124, 58, 237, 0.22);
}

.page-container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  align-items: center;
  gap: 32px;
  padding: 42px;
  border-radius: 32px;
  background: rgba(9, 16, 32, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 42px 120px rgba(15, 23, 42, 0.4);
}

.hero-copy {
  max-width: 560px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: #60a5fa;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: #f8fafc;
}

.hero-copy p {
  margin: 24px 0 0;
  line-height: 1.8;
  max-width: 620px;
  color: #cbd5e1;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #a78bfa 0%, #60a5fa 100%);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(99, 102, 241, 0.2);
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f8fafc;
  background: rgba(15, 23, 42, 0.82);
}

.hero-panel {
  display: grid;
  justify-items: center;
}

.profile-card {
  width: 100%;
  min-height: 100%;
  border-radius: 32px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.7));
  border: 1px solid rgba(99, 102, 241, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 32px 60px rgba(15, 23, 42, 0.25);
}

.profile-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(99, 102, 241, 0.18);
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-meta {
  margin-top: 22px;
}

.profile-meta h2 {
  margin: 0;
  font-size: 2rem;
  color: #f8fafc;
}

.profile-meta p {
  margin: 10px 0 0;
  color: #94a3b8;
}

.profile-stats {
  display: grid;
  gap: 16px;
  margin-top: 26px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-stats div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.profile-stats strong {
  display: block;
  font-size: 1.1rem;
  color: #f8fafc;
}

.profile-stats span {
  display: block;
  margin-top: 5px;
  color: #94a3b8;
  font-size: 0.95rem;
}

.section {
  margin-top: 56px;
  padding: 38px;
  border-radius: 32px;
  background: rgba(9, 16, 32, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  color: #f8fafc;
}

.about-grid,
.projects-grid,
.contact-grid {
  display: grid;
  gap: 26px;
  margin-top: 32px;
}

.about-grid {
  grid-template-columns: 1.4fr 0.8fr;
}

.about-grid p {
  margin: 0 0 18px;
  line-height: 1.8;
  color: #cbd5e1;
}

.about-list {
  display: grid;
  gap: 14px;
}

.about-list div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 163, 184, 0.08);
}

.about-list strong {
  display: block;
  margin-bottom: 6px;
  color: #f8fafc;
}

.about-list div:not(:first-child) {
  opacity: 0.95;
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(255, 255, 255, 0.1);
}

.project-label {
  display: inline-flex;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.18);
  color: #c7d2fe;
  font-size: 0.82rem;
  margin-bottom: 16px;
}

.project-card h3 {
  margin: 0 0 16px;
}

.project-card p {
  margin: 0 0 20px;
  color: #cbd5e1;
}

.project-tech {
  color: #94a3b8;
  font-size: 0.95rem;
}

.contact-grid {
  grid-template-columns: 1fr 1.2fr;
}

.contact-detail,
.contact-form {
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.contact-detail h3 {
  margin-top: 0;
}

.contact-detail p {
  margin: 18px 0;
  line-height: 1.75;
  color: #cbd5e1;
}

.contact-detail ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contact-detail a {
  color: #60a5fa;
}

.contact-form label {
  display: block;
  margin-bottom: 10px;
  color: #e2e8f0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  margin-bottom: 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.95);
  color: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(96, 165, 250, 0.4);
}

.contact-form .button-primary {
  width: 100%;
}

.form-status {
  margin-top: 16px;
  min-height: 1.5rem;
  color: #22c55e;
}

.site-footer {
  margin-top: 48px;
  text-align: center;
  color: #94a3b8;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 940px) {
  .hero,
  .about-grid,
  .projects-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 28px;
  }

  .profile-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    padding: 18px 18px;
  }

  .site-nav {
    width: 100%;
    justify-content: center;
    display: none;
    flex-direction: column;
    gap: 12px;
    padding-top: 12px;
  }

  .site-nav.open {
    display: flex;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding: 20px;
  }
}

/* ==========================================
   HOME | LANDING PAGE BUTTON
   ========================================== */

.home-button-container{

    width:100%;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:60px 0 80px;

    position:relative;

    z-index:10;

}


/* Button Style */

.home-btn{

    display:flex;

    justify-content:center;

    align-items:center;


    width:280px;

    height:65px;


    text-decoration:none;

    color:#f8fafc;


    background:

    linear-gradient(
        135deg,
        rgba(124,58,237,.9),
        rgba(56,189,248,.9)
    );


    border:2px solid rgba(255,255,255,.35);


    border-radius:50px;


    font-size:18px;

    font-weight:700;

    letter-spacing:1.5px;


    box-shadow:

    0 0 25px rgba(124,58,237,.5),

    0 0 50px rgba(56,189,248,.3);


    backdrop-filter:blur(15px);


    transition:.4s ease;

}



/* Hover Effect */

.home-btn:hover{

    transform:translateY(-8px) scale(1.08);


    background:

    linear-gradient(
        135deg,
        #60a5fa,
        #c084fc
    );


    color:white;


    box-shadow:

    0 0 35px #60a5fa,

    0 0 70px rgba(192,132,252,.8);

}



/* Mobile Size */

@media(max-width:720px){

    .home-btn{

        width:230px;

        height:58px;

        font-size:15px;

    }

}

