:root {
  --bg-color: #f8f9fa; /* Google Light Grey */
  --text-color: #202124; /* Google Dark Grey */
  --primary: #fbbc05; /* Google Yellow */
  --secondary: #ea4335; /* Google Red */
  --accent: #4285f4; /* Google Blue */
  --green: #34a853; /* Google Green */
  --border-width: 4px;
  --border-color: #202124;
  --shadow-color: #202124;
  --shadow-offset: 8px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Space Mono', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Custom cursor */
}

/* Background Pattern */
.hero__grid-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(var(--border-color) 2px, transparent 2px);
  background-size: 30px 30px;
  opacity: 0.1;
  z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -1px;
}

/* Utility */
.blink {
  animation: blink-anim 1s step-end infinite;
}
@keyframes blink-anim { 50% { opacity: 0; } }

/* Buttons & Links */
.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--text-color);
  background-color: var(--bg-color);
  border: var(--border-width) solid var(--border-color);
  box-shadow: var(--shadow-offset) var(--shadow-offset) 0 var(--shadow-color);
  transition: all 0.2s ease;
  cursor: none;
  text-transform: uppercase;
}
.btn:hover {
  transform: translate(4px, 4px);
  box-shadow: 0 0 0 var(--shadow-color);
}
.btn--primary {
  background-color: var(--primary);
}
.btn--outline {
  background-color: transparent;
}
.btn--full {
  width: 100%;
  text-align: center;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-top: 8px solid;
  border-image: linear-gradient(to right, var(--accent) 25%, var(--secondary) 25% 50%, var(--primary) 50% 75%, var(--green) 75%) 1;
  border-bottom: var(--border-width) solid var(--border-color);
  background: var(--bg-color);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
}
.nav__logo-bracket { color: var(--secondary); }
.nav__links {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav__link {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  position: relative;
}
.nav__link::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s ease;
  transform-origin: right;
}
.nav__link:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 150px 40px 60px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  position: relative;
  border-bottom: var(--border-width) solid var(--border-color);
}
.hero__tag {
  display: inline-block;
  padding: 8px 16px;
  background: var(--green);
  border: 2px solid var(--border-color);
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 4px 4px 0 var(--shadow-color);
}
.hero__title {
  font-size: 6rem;
  line-height: 0.9;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
}
.hero__title-line--outline {
  -webkit-text-stroke: 2px var(--border-color);
  color: transparent;
}
.hero__subtitle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}
.hero__subtitle-box {
  background: var(--primary);
  border: 2px solid var(--border-color);
  padding: 8px 16px;
  font-weight: 700;
}
.hero__subtitle-box--alt {
  background: var(--accent);
  color: white;
}
.hero__desc {
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 40px;
  background: white;
  padding: 20px;
  border: 2px solid var(--border-color);
  box-shadow: 4px 4px 0 var(--border-color);
}
.hero__cta-group {
  display: flex;
  gap: 20px;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Avatar Card */
.hero__avatar-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__avatar-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: var(--secondary);
  border: var(--border-width) solid var(--border-color);
  box-shadow: 16px 16px 0 var(--shadow-color);
  position: relative;
  animation: float 4s ease-in-out infinite;
}
.hero__avatar-inner {
  width: 100%;
  height: 100%;
  border: var(--border-width) solid var(--border-color);
  background: white;
  overflow: hidden;
}
.hero__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__avatar-fallback {
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  background: var(--primary);
}
.hero__avatar-sticker {
  position: absolute;
  padding: 5px 15px;
  background: white;
  border: 2px solid var(--border-color);
  font-weight: 700;
  transform: rotate(-10deg);
  box-shadow: 4px 4px 0 var(--border-color);
}
.hero__avatar-sticker--1 { top: -20px; left: -20px; background: var(--primary); }
.hero__avatar-sticker--2 { bottom: 40px; right: -30px; background: var(--accent); color: white; transform: rotate(15deg); }
.hero__avatar-sticker--3 { bottom: -20px; left: 20px; background: var(--green); transform: rotate(-5deg); }

/* Marquee */
.marquee-strip {
  background: var(--border-color);
  color: white;
  padding: 15px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  border-bottom: var(--border-width) solid var(--border-color);
}
.marquee-track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}
.marquee-track span { margin: 0 20px; }
.marquee-track .dot-blue { color: var(--accent); }
.marquee-track .dot-red { color: var(--secondary); }
.marquee-track .dot-yellow { color: var(--primary); }
.marquee-track .dot-green { color: var(--green); }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Sections */
.section {
  padding: 100px 40px;
  border-bottom: var(--border-width) solid var(--border-color);
}
.section__container {
  max-width: 1400px;
  margin: 0 auto;
}
.section__header {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 60px;
}
.section__number {
  font-size: 4rem;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 2px var(--border-color);
}
.section__title {
  font-size: 3.5rem;
  background: var(--primary);
  padding: 0 15px;
  border: 3px solid var(--border-color);
  box-shadow: 6px 6px 0 var(--border-color);
}

/* About Grid */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.about__text-block {
  background: white;
  padding: 40px;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 12px 12px 0 var(--shadow-color);
}
.about__quote-card {
  background: var(--secondary);
  color: white;
  padding: 20px;
  border: 2px solid var(--border-color);
  margin-bottom: 30px;
  font-size: 1.5rem;
  font-family: var(--font-heading);
  box-shadow: 6px 6px 0 var(--border-color);
  position: relative;
}
.about__bio { margin-bottom: 20px; font-size: 1.1rem; }
.about__stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.stat-card {
  padding: 30px 20px;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 8px 8px 0 var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--border-color);
}
.stat-card--yellow { background: var(--primary); }
.stat-card--black { background: var(--border-color); color: white; }
.stat-card--white { background: white; }
.stat-card--accent { background: var(--accent); color: white; }
.stat-card__num { font-size: 3.5rem; font-family: var(--font-heading); font-weight: 700; line-height: 1; margin-bottom: 10px; }
.stat-card__label { font-weight: 700; }
.about__location-card {
  grid-column: span 2;
  background: white;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 8px 8px 0 var(--border-color);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--font-heading);
  font-weight: 700;
}
.about__location-pin { font-size: 2.5rem; }
.about__location-status { margin-left: auto; background: var(--green); padding: 5px 10px; border: 2px solid var(--border-color); }

/* Skills Grid */
.skills__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}
.skill-category {
  background: white;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 8px 8px 0 var(--border-color);
  padding: 30px;
}
.skill-category__header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}
.skill-category__icon { font-size: 2rem; }
.skill-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.skill-tag {
  padding: 8px 15px;
  border: 2px solid var(--border-color);
  font-weight: 700;
  box-shadow: 3px 3px 0 var(--border-color);
}
.skill-tag--1 { background: var(--primary); }
.skill-tag--2 { background: var(--secondary); color: white; }
.skill-tag--3 { background: var(--accent); color: white; }

/* Proficiency */
.proficiency {
  background: var(--border-color);
  color: white;
  padding: 40px;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 12px 12px 0 var(--shadow-color);
}
.proficiency__title { margin-bottom: 30px; font-size: 2rem; color: var(--primary); }
.prof-bar { margin-bottom: 20px; }
.prof-bar__label { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 700; font-family: var(--font-heading); font-size: 1.2rem; }
.prof-bar__track { height: 20px; border: 2px solid white; background: transparent; width: 100%; position: relative; }
.prof-bar__fill { height: 100%; position: absolute; left: 0; top: 0; border-right: 2px solid white; }
.prof-bar__fill--yellow { background: var(--primary); width: 90%; }
.prof-bar__fill--white { background: white; width: 80%; border-right: 2px solid var(--border-color); }
.prof-bar__fill--accent { background: var(--accent); width: 75%; }
.prof-bar:nth-child(4) .prof-bar__fill { width: 85%; }
.prof-bar:nth-child(5) .prof-bar__fill { width: 70%; }

/* Projects Grid */
.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}
.project-card {
  background: white;
  border: var(--border-width) solid var(--border-color);
  box-shadow: 12px 12px 0 var(--shadow-color);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
}
.project-card--featured { grid-column: span 2; background: var(--primary); }
.project-card--dark { background: var(--border-color); color: white; }
.project-card__tag { position: absolute; top: -15px; left: 40px; background: var(--accent); color: white; padding: 5px 15px; border: 2px solid var(--border-color); font-weight: 700; box-shadow: 4px 4px 0 var(--shadow-color); }
.project-card__num { font-family: var(--font-heading); font-size: 3rem; font-weight: 700; opacity: 0.3; margin-bottom: 10px; line-height: 1; }
.project-card--dark .project-card__num { opacity: 0.5; }
.project-card__title { font-size: 2.2rem; margin-bottom: 20px; }
.project-card__desc { margin-bottom: 30px; font-size: 1.1rem; flex-grow: 1; }
.project-card__tech { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.project-card__tech span { padding: 5px 10px; border: 2px solid var(--border-color); font-size: 0.9rem; font-weight: 700; background: white; color: var(--text-color); }
.project-card__links { display: flex; gap: 15px; }
.project-card__link { padding: 10px 20px; border: 2px solid var(--border-color); font-family: var(--font-heading); font-weight: 700; text-decoration: none; color: var(--text-color); background: white; box-shadow: 4px 4px 0 var(--border-color); transition: transform 0.2s; }
.project-card__link:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--border-color); }
.project-card__link--alt { background: var(--secondary); color: white; }
.projects__more { text-align: center; }

/* GDG Section */
.gdg__layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; }
.gdg__card-main { background: white; border: var(--border-width) solid var(--border-color); box-shadow: 12px 12px 0 var(--shadow-color); padding: 40px; text-align: center; }
.gdg__badge { display: inline-block; margin-bottom: 30px; }
.gdg__badge-inner { width: 100px; height: 100px; border: 4px solid var(--border-color); background: var(--bg-color); display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 6px 6px 0 var(--shadow-color); border-radius: 50%; }
.gdg__badge-g { font-size: 4rem; font-family: var(--font-heading); font-weight: 700; color: var(--accent); }
.gdg__title { font-size: 2rem; margin-bottom: 20px; }
.gdg__desc { margin-bottom: 30px; font-size: 1.1rem; }
.gdg__member-badge { display: inline-block; background: var(--primary); border: 2px solid var(--border-color); padding: 10px 20px; font-weight: 700; box-shadow: 4px 4px 0 var(--border-color); }
.gdg__activities { display: flex; flex-direction: column; gap: 20px; }
.gdg__activities-title { font-size: 2rem; margin-bottom: 10px; background: var(--accent); color: white; display: inline-block; padding: 5px 15px; border: 3px solid var(--border-color); box-shadow: 4px 4px 0 var(--border-color); }
.activity-item { display: flex; gap: 20px; background: white; border: var(--border-width) solid var(--border-color); box-shadow: 6px 6px 0 var(--shadow-color); padding: 20px; transition: transform 0.2s; }
.activity-item:hover { transform: translateX(10px); }
.activity-item__icon { font-size: 2.5rem; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; background: var(--primary); border: 2px solid var(--border-color); box-shadow: 4px 4px 0 var(--border-color); }
.activity-item__title { font-size: 1.3rem; font-weight: 700; font-family: var(--font-heading); margin-bottom: 5px; }

/* Contact Section */
.contact__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; background: var(--secondary); padding: 60px; border: var(--border-width) solid var(--border-color); box-shadow: 16px 16px 0 var(--shadow-color); color: white; }
.contact__tagline { font-size: 4rem; font-family: var(--font-heading); font-weight: 700; line-height: 1; margin-bottom: 20px; }
.contact__tagline span { color: var(--primary); -webkit-text-stroke: 1px var(--border-color); }
.contact__sub { font-size: 1.2rem; margin-bottom: 40px; }
.contact__socials { display: flex; flex-direction: column; gap: 15px; }
.social-link { display: flex; align-items: center; gap: 15px; background: white; color: var(--text-color); padding: 15px 20px; border: 3px solid var(--border-color); text-decoration: none; font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; box-shadow: 6px 6px 0 var(--border-color); transition: transform 0.2s; }
.social-link:hover { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--border-color); }
.social-link--alt { background: var(--accent); color: white; }
.social-link__icon { font-size: 1.5rem; }
.social-link__arrow { margin-left: auto; }
.contact-form { background: white; color: var(--text-color); padding: 40px; border: 4px solid var(--border-color); box-shadow: 8px 8px 0 var(--shadow-color); }
.form-group { margin-bottom: 25px; }
.form-label { display: block; font-family: var(--font-heading); font-weight: 700; margin-bottom: 10px; font-size: 1.1rem; }
.form-input { width: 100%; padding: 15px; border: 3px solid var(--border-color); font-family: var(--font-body); font-size: 1rem; background: var(--bg-color); outline: none; transition: box-shadow 0.2s; }
.form-input:focus { box-shadow: 4px 4px 0 var(--accent); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-success { display: none; background: var(--green); border: 2px solid var(--border-color); padding: 15px; font-weight: 700; margin-top: 20px; text-align: center; }

/* Footer */
.footer { padding: 40px; text-align: center; border-top: var(--border-width) solid var(--border-color); background: var(--border-color); color: white; font-family: var(--font-heading); }
.footer__inner { max-width: 1400px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer__logo { font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.footer__copy { font-weight: 700; letter-spacing: 1px; }
.footer__back-btn { padding: 10px 20px; background: transparent; color: white; border: 2px solid white; text-decoration: none; font-weight: 700; transition: background 0.2s, color 0.2s; display: inline-block; }
.footer__back-btn:hover { background: white; color: var(--border-color); }

/* Custom Cursor */
.custom-cursor { width: 40px; height: 40px; border: 2px solid var(--border-color); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.2s, height 0.2s, background-color 0.2s; }
.custom-cursor-dot { width: 8px; height: 8px; background: var(--accent); border: 2px solid var(--border-color); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); }

/* Responsive */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 120px; }
  .hero__title { font-size: 4rem; }
  .hero__subtitle-row { justify-content: center; }
  .hero__desc { margin: 0 auto 40px; }
  .hero__cta-group { justify-content: center; }
  .about__grid { grid-template-columns: 1fr; }
  .projects__grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: auto; }
  .gdg__layout { grid-template-columns: 1fr; }
  .contact__layout { grid-template-columns: 1fr; padding: 30px; }
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .section__number { font-size: 3rem; }
  .section__title { font-size: 2.5rem; }
  .stat-card__num { font-size: 2.5rem; }
  .hero__title { font-size: 3rem; }
}
