@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
  --bg: #020617;
  --bg-soft: #020817;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --danger: #f97373;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --border-subtle: rgba(148,163,184,0.35);
}

/* RESET */
*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  border: none;
  outline: none;
  font-family: 'Poppins', sans-serif;
}

html{
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body{
  min-height: 100vh;
  background: radial-gradient(circle at top left, #0b1220 0, #020617 42%, #000 100%);
  color: var(--text);
  overflow-x: hidden;
  position: relative;
}

/* grid bg */
body::before{
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.04) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.38;
  pointer-events: none;
  z-index: -1;
}

/* HEADER */
header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.6rem 9%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(2,8,23,0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15,23,42,0.9);
  z-index: 50;
}

/* BRAND */
.brand{
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo{
  height: 32px;
  width: auto;
  object-fit: contain;
}

.brand-text{
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--accent), #a5b4fc, var(--danger));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* NAV */
header nav{
  display: flex;
  align-items: center;
}

header nav a{
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  margin-left: 2.4rem;
  color: var(--muted);
  border-bottom: 2px solid transparent;
  padding-bottom: 0.4rem;
  transition: color 0.2s ease, border-color 0.2s ease, text-shadow 0.2s ease;
}

header nav a:hover,
header nav a.active{
  color: var(--accent);
  border-color: var(--accent);
  text-shadow: 0 0 10px rgba(56,189,248,0.7);
}

/* MOBILE MENU BUTTON */
.menu-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span{
  width: 2.4rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1){
  transform: translateY(4px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2){
  transform: translateY(-4px) rotate(-45deg);
}

/* SECTIONS */
section{
  min-height: 100vh;
  padding: 10rem 9% 6rem;
  scroll-margin-top: 90px; /* so anchor scroll stops below header */
}

/* HERO */
.home{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
}

.home-inner{
  max-width: 640px;
}

/* label */
.eyebrow{
  font-size: 1.2rem;
  letter-spacing: 0.25rem;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

/* title */
.home h1{
  font-size: 4.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.highlight{
  color: var(--accent);
  text-shadow: 0 0 18px rgba(56,189,248,0.85);
}

/* subtitle */
.subtitle{
  font-size: 2.4rem;
  font-weight: 600;
  color: #e5e7eb;
  margin-bottom: 1.6rem;
}

/* typing */
.typing-role{
  position: relative;
  color: var(--accent);
  padding-right: 0.6rem;
}

.typing-role::before{
  content: "Cybersecurity Auditor";
  animation: words 16s infinite;
}

.typing-role::after{
  content: "";
  position: absolute;
  top: 0;
  right: -0.3rem;
  width: 2px;
  height: 100%;
  background: var(--accent);
  animation: cursor 0.7s infinite;
}

/* hero text */
.hero-text{
  font-size: 1.5rem;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 auto 2.8rem;
  max-width: 54rem;
}

/* CTA */
.hero-cta{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.8rem;
  margin-bottom: 2.6rem;
}

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 3.4rem;
  border-radius: 999px;
  font-size: 1.4rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn.primary{
  background: radial-gradient(circle at 0 0, var(--accent-strong), #0b1120);
  color: #0b1120;
  border: 1px solid rgba(56,189,248,0.4);
  box-shadow: 0 0 20px rgba(56,189,248,0.5);
}

.btn.primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 0 26px rgba(56,189,248,0.8);
}

.btn.ghost{
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text);
}

.btn.ghost:hover{
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px rgba(56,189,248,0.4);
  transform: translateY(-2px);
}

/* social icons main row */
.social-icons{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 2.4rem;
}

.social-icons a{
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--accent);
  background: radial-gradient(circle at 30% 0, rgba(56,189,248,0.2), rgba(15,23,42,0.9));
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.social-icons a:hover{
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 0 20px rgba(56,189,248,0.7);
  background: var(--accent);
  color: #020617;
}

/* trust badges */
.trust-badges{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 1.1rem;
}

.trust-badges span{
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.4);
  background: rgba(15,23,42,0.85);
  color: var(--muted);
}

/* scroll indicator */
.scroll-indicator{
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(56,189,248,0.5);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}

.scroll-indicator span{
  width: 6px;
  height: 12px;
  border-radius: 999px;
  background: radial-gradient(circle, #4ade80, #22c55e, #0ea5e9);
  animation: scroll-dot 1.4s infinite;
}

/* generic section */
.section{
  padding-top: 9.5rem;
}

.section-header{
  max-width: 640px;
  margin: 0 auto 3.4rem;
  text-align: center;
}

.section-header h2{
  font-size: 3rem;
  margin-bottom: 0.8rem;
}

.section-header p{
  font-size: 1.5rem;
  color: var(--muted);
}

/* SERVICES TABLE */
.pricing-table-wrapper{
  overflow-x: auto;
  border-radius: 1.8rem;
  border: 1px solid rgba(37,99,235,0.4);
  background: radial-gradient(circle at top left, rgba(15,23,42,0.96), rgba(15,23,42,0.96));
  box-shadow: 0 0 25px rgba(15,23,42,0.9);
}

.pricing-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 1.3rem;
}

.pricing-table thead{
  background: linear-gradient(90deg, rgba(56,189,248,0.18), rgba(37,99,235,0.25));
}

.pricing-table th,
.pricing-table td{
  padding: 1.4rem 1.6rem;
  text-align: left;
  border-bottom: 1px solid rgba(30,64,175,0.45);
  vertical-align: top;
}

.pricing-table th{
  font-weight: 600;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  font-size: 1.2rem;
}

.feature-col{
  min-width: 230px;
}

.pricing-table tbody tr:nth-child(even){
  background: rgba(15,23,42,0.75);
}

.pricing-table tbody tr:nth-child(odd){
  background: rgba(15,23,42,0.95);
}

.pricing-table td:nth-child(2){ color: #a5f3fc; }
.pricing-table td:nth-child(3){ color: #facc15; }
.pricing-table td:nth-child(4){ color: #fca5a5; }

.pricing-note{
  margin-top: 1.6rem;
  font-size: 1.3rem;
  text-align: center;
  color: var(--muted);
}

.pricing-note span{
  color: var(--accent);
}

/* EXPERIENCE */
.exp-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.exp-card{
  padding: 2.2rem 2.3rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(30,64,175,0.5), rgba(15,23,42,0.98));
  border: 1px solid rgba(37,99,235,0.6);
  box-shadow: 0 0 25px rgba(15,23,42,0.95);
}

.exp-card h3{
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.exp-card p{
  font-size: 1.35rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.exp-card ul{
  list-style: none;
  font-size: 1.25rem;
  color: #cbd5f5;
}

.exp-card ul li{
  margin-bottom: 0.3rem;
}

.exp-footnote{
  margin-top: 2rem;
  font-size: 1.35rem;
  text-align: center;
  color: var(--muted);
}

/* WORK */
.work-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.work-card{
  padding: 2.2rem 2.3rem;
  border-radius: 1.6rem;
  background: radial-gradient(circle at top left, rgba(30,64,175,0.5), rgba(15,23,42,0.98));
  border: 1px solid rgba(37,99,235,0.6);
  box-shadow: 0 0 25px rgba(15,23,42,0.95);
}

.work-card h3{
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.work-card p{
  font-size: 1.35rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.work-card ul{
  list-style: none;
  font-size: 1.25rem;
  color: #cbd5f5;
}

.work-card ul li{
  margin-bottom: 0.3rem;
}

/* ABOUT */
.section-about{
  min-height: auto;
}

.about-layout{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.4rem;
  align-items: flex-start;
}

.about-text p{
  font-size: 1.45rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.about-text strong{
  color: var(--text);
}

.about-highlight{
  color: #e5e7ff;
}

.about-points h3{
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
}

.about-points ul{
  list-style: none;
  font-size: 1.35rem;
  color: #cbd5f5;
}

.about-points ul li{
  margin-bottom: 0.6rem;
}

/* CONTACT */
.contact-wrapper{
  display: flex;
  justify-content: center;
}

.contact-card{
  max-width: 540px;
  width: 100%;
  padding: 2.6rem 2.8rem;
  border-radius: 1.8rem;
  background: radial-gradient(circle at top left, rgba(37,99,235,0.4), rgba(15,23,42,0.97));
  border: 1px solid rgba(37,99,235,0.7);
  box-shadow: 0 0 28px rgba(15,23,42,0.96);
}

.contact-card h3{
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.contact-card p{
  font-size: 1.4rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.contact-detail{
  margin-bottom: 1.2rem;
}

.contact-detail span{
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.18rem;
  color: #9ca3ff;
  display: block;
  margin-bottom: 0.3rem;
}

.contact-detail a{
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-detail a:hover{
  text-decoration: underline;
}

.contact-footnote{
  font-size: 1.25rem;
  color: var(--muted);
}

/* ANIMATIONS */
@keyframes cursor{
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

@keyframes words{
  0%, 20% {
    content: "Cybersecurity Auditor";
  }
  21%, 40% {
    content: "Web App Pentester";
  }
  41%, 60% {
    content: "Bug Bounty Hunter";
  }
  61%, 80% {
    content: "Security Consultant";
  }
  81%, 100% {
    content: "Red Team Enthusiast";
  }
}

@keyframes scroll-dot{
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* RESPONSIVE */
@media (max-width: 960px){
  header{
    padding: 1.4rem 7%;
  }

  header nav{
    position: absolute;
    top: 100%;
    right: 7%;
    background: rgba(15,23,42,0.98);
    border-radius: 1.8rem;
    border: 1px solid rgba(56,189,248,0.35);
    padding: 1.6rem 2rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  header nav.active{
    display: flex;
  }

  header nav a{
    margin: 0.6rem 0;
  }

  .menu-toggle{
    display: flex;
  }

  section{
    padding: 9.5rem 7% 5rem;
  }

  .home h1{
    font-size: 3.6rem;
  }

  .subtitle{
    font-size: 2.1rem;
  }

  .hero-text{
    font-size: 1.4rem;
  }

  .exp-grid,
  .work-grid{
    grid-template-columns: 1fr;
  }

  .about-layout{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px){
  .hero-cta{
    flex-direction: column;
  }

  .scroll-indicator{
    bottom: 3.2rem;
  }
}
