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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #0A0A0A;
  color: #F2F2F2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #39FF88;
  color: #0A0A0A;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn-green:hover {
  background: #2ECC71;
}

.btn-border {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid #F2F2F2;
  color: #F2F2F2;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.btn-border:hover {
  background: #F2F2F2;
  color: #0A0A0A;
}

.sec-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 56px;
}

.sec-title span {
  color: #39FF88;
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #111111;
  padding: 20px 0;
  transition: padding 0.3s, box-shadow 0.3s;
}

#navbar.scrolled {
  padding: 12px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: #F2F2F2;
}

.logo span {
  color: #39FF88;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: #9A9A9A;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #F2F2F2;
}

.nav-links a.active {
  background: #39FF88;
  color: #0A0A0A;
}

.hire-btn {
  background: #39FF88;
  color: #0A0A0A;
  padding: 10px 24px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
  transition: background 0.2s;
}

.hire-btn:hover {
  background: #2ECC71;
}

#hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px;
}

#hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #F2F2F2;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

#hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#hamburger.open span:nth-child(2) {
  opacity: 0;
}

#hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

#mobile-menu {
  display: none;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: #111111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#mobile-menu.open {
  max-height: 400px;
}

#mobile-menu a {
  display: block;
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  color: #9A9A9A;
  transition: color 0.2s, background 0.2s;
}

#mobile-menu a:hover {
  color: #F2F2F2;
  background: rgba(255,255,255,0.05);
}

#mobile-menu a.active {
  color: #39FF88;
}

#mobile-menu .mob-hire {
  margin: 8px 24px 16px;
  text-align: center;
  background: #39FF88;
  color: #0A0A0A;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
}

#home {
  padding: 140px 0 80px;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.hello-badge {
  display: inline-block;
  padding: 6px 20px;
  border: 1px solid rgba(57, 255, 136, 0.3);
  border-radius: 999px;
  background: rgba(57, 255, 136, 0.08);
  font-size: 0.875rem;
  font-weight: 500;
  color: #39FF88;
  animation: fadeDown 0.5s ease both;
}

.hero-title {
  font-size: clamp(2.4rem, 7vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-title em {
  color: #39FF88;
  font-style: italic;
}

.typewriter-line {
  display: block;
}

.blink {
  color: #39FF88;
  animation: blink 1s step-end infinite;
}

.hero-sub {
  color: #9A9A9A;
  font-size: 1.05rem;
  max-width: 440px;
  line-height: 1.65;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  flex-wrap: wrap;
}

.hero-quote {
  max-width: 190px;
  text-align: left;
  position: relative;
  top: -40px;
  animation: fadeLeft 0.8s 0.3s ease both;
}

.hero-quote .fa {
  color: #39FF88;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.hero-quote p {
  font-size: 0.84rem;
  font-style: italic;
  color: #9A9A9A;
  line-height: 1.55;
  margin-bottom: 8px;
}

.hero-quote cite {
  font-size: 0.75rem;
  font-weight: 700;
  color: #F2F2F2;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-photo-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scaleIn 0.8s 0.2s ease both;
}

.photo-outer {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.photo-circle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 160px;
  border-radius: 160px 160px 0 0;
  background: #39FF88;
  z-index: 0;
}


.photo-outer img {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 400px;
  object-fit: cover;
  object-position: center 20%;
}

.placeholder {
  position: relative;
  z-index: 1;
  width: 500px;
  height: 350px;
  background: rgba(6, 6, 6, 0.3);
  border-radius: 0px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  max-width: 190px;
  text-align: right;
  position: relative;
  top: -40px;
  animation: fadeRight 0.8s 0.3s ease both;
}

.stars {
  color: #39FF88;
  font-size: 1.1rem;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: #F2F2F2;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #9A9A9A;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

#about {
  padding: 96px 0;
  background: #111111;
}

.about-box {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.about-text {
  flex: 1;
  min-width: 280px;
}

.about-text p {
  color: #9A9A9A;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 18px;
}

.about-text strong {
  color: #F2F2F2;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.about-tags span {
  padding: 6px 16px;
  border: 1px solid rgba(57, 255, 136, 0.4);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #39FF88;
  background: rgba(57, 255, 136, 0.07);
}

.about-img {
  flex-shrink: 0;
  animation: scaleIn 0.8s ease both;
}

.about-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(57, 255, 136, 0.1);
  border: 3px solid rgba(57, 255, 136, 0.25);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 100%;
}

#experience {
  padding: 96px 0;
  background: #0A0A0A;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  border-left: 2px dotted rgba(57, 255, 136, 0.3);
  transform: translateX(-50%);
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 40px 1fr;
  align-items: start;
  gap: 0 24px;
  margin-bottom: 56px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.tl-item.visible {
  opacity: 1;
  transform: none;
}

.tl-left {
  text-align: right;
  padding-top: 4px;
}

.tl-right {
  text-align: left;
  padding-top: 4px;
}

.tl-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0A0A0A;
  border: 3px solid #39FF88;
  justify-self: center;
  margin-top: 4px;
  flex-shrink: 0;
}

.tl-org {
  font-size: 1.1rem;
  font-weight: 800;
  color: #F2F2F2;
  margin-bottom: 6px;
}

.tl-period {
  display: inline-block;
  font-size: 0.8rem;
  color: #9A9A9A;
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 12px;
  border-radius: 999px;
}

.tl-role {
  font-size: 1.3rem;
  font-weight: 800;
  color: #F2F2F2;
  margin-bottom: 10px;
}

.tl-desc {
  font-size: 0.88rem;
  color: #9A9A9A;
  line-height: 1.65;
}

#contact {
  padding: 64px 0;
  background: #0A0A0A;
}

.cta-box {
  background: #111111;
  border: 1px solid rgba(57, 255, 136, 0.15);
  border-radius: 40px;
  padding: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cta-box.visible {
  opacity: 1;
  transform: none;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: #F2F2F2;
  line-height: 1.1;
}

.cta-title em {
  color: #39FF88;
  font-style: italic;
}

#footer {
  background: #111111;
  padding: 80px 0 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: #9A9A9A;
  line-height: 1.7;
  margin: 16px 0 24px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #F2F2F2;
  transition: background 0.2s;
}

.socials a:hover {
  background: #39FF88;
  color: #0A0A0A;
}

#footer h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #F2F2F2;
}

#footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#footer ul a {
  font-size: 0.875rem;
  color: #9A9A9A;
  transition: color 0.2s;
}

#footer ul a:hover {
  color: #39FF88;
}

.nl-row {
  display: flex;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 4px;
  border: 2px solid transparent;
  transition: border-color 0.2s;
}

.nl-row:focus-within {
  border-color: #39FF88;
}

.nl-row.error {
  border-color: #f87171;
}

.nl-row input {
  background: none;
  border: none;
  outline: none;
  color: #F2F2F2;
  font-family: inherit;
  font-size: 0.875rem;
  padding: 8px 16px;
  width: 100%;
}

.nl-row input::placeholder {
  color: #6b7280;
}

.nl-row button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #39FF88;
  color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s;
}

.nl-row button:hover {
  background: #2ECC71;
}

#nl-msg {
  font-size: 0.78rem;
  margin-top: 8px;
  min-height: 1em;
}

#nl-msg.ok  { color: #4ade80; }
#nl-msg.err { color: #f87171; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-bottom div {
  display: flex;
  gap: 24px;
}

.footer-bottom a {
  color: #6b7280;
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: #F2F2F2;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: none; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: none; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

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

@media (max-width: 700px) {
  .nav-links, .hire-btn { display: none; }
  #hamburger  { display: flex; }
  #mobile-menu { display: flex; }

  .hero-quote, .hero-stat { display: none; }

  .photo-circle { width: 240px; height: 240px; }

  .about-box { flex-direction: column; }
  .about-img { display: none; }

  .timeline::before { left: 16px; transform: none; }
  .tl-item {
    grid-template-columns: 16px 1fr;
    grid-template-rows: auto auto;
    gap: 0 16px;
  }
  .tl-left  { grid-column: 2; grid-row: 1; text-align: left; }
  .tl-dot   { grid-column: 1; grid-row: 1; margin-top: 6px; }
  .tl-right { grid-column: 2; grid-row: 2; margin-top: 12px; }

  .cta-box { flex-direction: column; text-align: center; padding: 40px 24px; }

  .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.2rem; }
}
