/* ============================================================
   Manogna Makineni — Portfolio
   Oracle Redwood design language
   ============================================================ */

:root {
  --accent: #C74634;
  --bg: #FBF9F8;
  --ink: #1B1A19;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
}

.root {
  font-family: 'Hanken Grotesk', sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

/* ---------- keyframes ---------- */
@keyframes blink { 0%,49%{opacity:1} 50%,100%{opacity:0} }
@keyframes dotpulse { 0%,80%,100%{transform:scale(.6);opacity:.4} 40%{transform:scale(1);opacity:1} }
@keyframes fadeup { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
@keyframes glow { 0%,100%{box-shadow:0 0 0 0 rgba(199,70,52,.35)} 50%{box-shadow:0 0 0 6px rgba(199,70,52,0)} }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,249,248,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #ECE7E2;
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
}
.nav-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 14px;
}
.nav-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.navlinks { display: flex; align-items: center; gap: 24px; }
.navlinks a {
  font-size: 13.5px; font-weight: 500; color: #5B5651; text-decoration: none;
}
.navlinks a:hover:not(.btn-resume) { color: var(--accent); }
.btn-resume {
  background: var(--accent); color: #fff !important;
  padding: 9px 16px; border-radius: 5px;
  font-weight: 600; font-size: 13.5px; text-decoration: none;
}
.btn-resume:hover { filter: brightness(1.06); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 28px 28px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: center;
}
.hero-badges { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.badge-role {
  display: inline-block; font-size: 12px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.07em;
  background: #F6E9E6; padding: 7px 14px; border-radius: 100px;
}
.badge-open {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12px; font-weight: 600; color: #1F7A4C;
  background: #E6F4EC; padding: 7px 13px; border-radius: 100px;
}
.badge-open-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #1F7A4C; animation: glow 2s infinite;
}
.hero-h1 {
  font-size: 54px; line-height: 1.03; font-weight: 800;
  letter-spacing: -0.035em; margin: 22px 0 0; text-wrap: balance;
}
.hero-sub {
  font-size: 17px; line-height: 1.6; color: #5B5651;
  margin: 20px 0 0; max-width: 540px;
}
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent); color: #fff;
  padding: 14px 22px; border-radius: 6px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.btn-primary:hover { filter: brightness(1.06); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid #D6CFC8; color: var(--ink);
  padding: 14px 22px; border-radius: 6px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.hero-photo-wrap { display: flex; justify-content: center; }
.hero-photo { position: relative; }
.hero-photo-ring {
  position: absolute; inset: -10px; border-radius: 50%; border: 1px solid #E3DDD7;
}
.hero-img {
  width: 280px; height: 280px; border-radius: 50%; object-fit: cover;
  border: 5px solid #fff; box-shadow: 0 18px 44px rgba(27,26,25,.16);
  display: block;
}
.hero-photo-tag {
  position: absolute; bottom: 14px; right: -10px;
  background: #fff; border: 1px solid #ECE7E2; border-radius: 100px;
  padding: 9px 15px; font-size: 12px; font-weight: 700; color: var(--accent);
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
  display: flex; align-items: center; gap: 6px;
}

/* ============================================================
   METRICS
   ============================================================ */
.metrics {
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 0 28px;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border: 1px solid #ECE7E2;
  border-radius: 12px;
  overflow: hidden;
}
.metric-cell { padding: 26px 28px; border-right: 1px solid #ECE7E2; }
.metric-cell:last-child { border-right: none; }
.metric-value { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.metric-label { font-size: 13px; color: #6B6560; margin-top: 8px; line-height: 1.3; }

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 88px 28px 0;
  scroll-margin-top: 80px;
}
.section-eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow-label {
  font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.08em;
}
.eyebrow-line { flex: 1; height: 1px; background: #ECE7E2; }
.sec-h2 {
  font-size: 36px; font-weight: 800; letter-spacing: -0.03em; margin: 18px 0 0;
}
.sec-h2.mb-26 { margin-bottom: 26px; }
.sec-h2.mb-6 { margin-bottom: 6px; }
.section-lead {
  font-size: 16px; line-height: 1.6; color: #5B5651; margin: 14px 0 0; max-width: 680px;
}

/* ============================================================
   AI AGENT SHOWCASE
   ============================================================ */
.ai-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  margin-top: 34px;
  align-items: start;
}
.chat-card {
  background: #fff; border: 1px solid #ECE7E2; border-radius: 14px;
  overflow: hidden; box-shadow: 0 10px 30px rgba(27,26,25,.05);
}
.chat-header {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-bottom: 1px solid #ECE7E2; background: #FCFBFA;
}
.chat-avatar {
  width: 30px; height: 30px; border-radius: 8px; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.chat-title { flex: 1; }
.chat-title-name { font-size: 13.5px; font-weight: 700; }
.chat-title-status {
  font-size: 11px; color: #1F7A4C; font-weight: 600;
  display: flex; align-items: center; gap: 5px;
}
.chat-status-dot { width: 6px; height: 6px; border-radius: 50%; background: #1F7A4C; }
.chat-studio { font-size: 11px; color: #9C938D; font-weight: 600; }

.chat-messages {
  height: 360px; overflow-y: auto; padding: 18px;
  display: flex; flex-direction: column; gap: 12px; background: #FBF9F8;
}
.msg { display: flex; flex-direction: column; animation: fadeup .25s ease both; }
.msg-user {
  align-self: flex-end; background: var(--accent); color: #fff;
  font-size: 13.5px; line-height: 1.45; padding: 10px 14px;
  border-radius: 14px 14px 3px 14px; max-width: 82%;
}
.msg-typing {
  align-self: flex-start; background: #fff; border: 1px solid #ECE7E2;
  padding: 12px 14px; border-radius: 14px 14px 14px 3px; display: flex; gap: 5px;
}
.msg-typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #C0B8B1;
  animation: dotpulse 1.2s infinite;
}
.msg-typing span:nth-child(2) { animation-delay: .2s; }
.msg-typing span:nth-child(3) { animation-delay: .4s; }

.msg-text {
  align-self: flex-start; background: #fff; border: 1px solid #ECE7E2; color: var(--ink);
  padding: 12px 15px; border-radius: 14px 14px 14px 3px; max-width: 90%;
}
.msg-heading {
  font-size: 11px; font-weight: 700; color: var(--accent);
  letter-spacing: 0.04em; margin-bottom: 7px;
}
.msg-line { font-size: 13.5px; line-height: 1.5; color: #3C3833; margin-top: 3px; }

.msg-status {
  align-self: flex-start; background: #fff; border: 1px solid #ECE7E2;
  padding: 14px 15px; border-radius: 14px 14px 14px 3px; max-width: 92%;
}
.msg-status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 800; letter-spacing: 0.06em;
  padding: 6px 12px; border-radius: 100px;
}
.msg-status-badge .dot { width: 9px; height: 9px; border-radius: 50%; }
.msg-status .msg-line { margin-top: 9px; }
.msg-recommend {
  font-size: 12.5px; line-height: 1.5; color: #6B6560;
  margin-top: 11px; padding-top: 11px; border-top: 1px dashed #E3DDD7;
}
.msg-recommend b { color: var(--ink); }

.msg-evm {
  align-self: flex-start; background: #fff; border: 1px solid #ECE7E2;
  padding: 14px 15px; border-radius: 14px 14px 14px 3px;
  width: 100%; box-sizing: border-box;
}
.evm-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.evm-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  border: 1px solid #F0ECE7; border-radius: 7px; padding: 7px 10px;
}
.evm-row-label { font-size: 11.5px; font-weight: 600; color: #6B6560; }
.evm-row-value { font-size: 12.5px; font-weight: 800; }
.evm-summary {
  font-size: 13px; line-height: 1.55; color: #3C3833;
  margin-top: 12px; padding-top: 11px; border-top: 1px dashed #E3DDD7;
}

.chat-chips {
  display: flex; gap: 8px; flex-wrap: wrap;
  padding: 14px 16px; border-top: 1px solid #ECE7E2; background: #fff;
}
.chip {
  cursor: pointer; font-family: inherit; font-size: 12.5px; font-weight: 600;
  color: var(--ink); background: #F4F1EE; border: 1px solid #E3DDD7;
  padding: 9px 13px; border-radius: 100px; transition: all .15s;
}
.chip:hover { background: #F6E9E6; border-color: var(--accent); color: var(--accent); }

.ai-detail { display: flex; flex-direction: column; gap: 14px; }
.arch-card { background: #fff; border: 1px solid #ECE7E2; border-radius: 14px; padding: 22px; }
.arch-title {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: #6B6560; margin-bottom: 14px;
}
.arch-item { display: flex; gap: 12px; padding: 11px 0; border-top: 1px solid #F2EEEA; }
.arch-num {
  flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px;
  background: #F6E9E6; color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px;
}
.arch-item-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.arch-item-desc { font-size: 13px; line-height: 1.45; color: #6B6560; margin-top: 2px; }

.highlight-card {
  background: #1B1715; border-radius: 14px; padding: 22px; color: #fff;
  position: relative; overflow: hidden;
}
.highlight-glow {
  position: absolute; top: -60px; right: -40px; width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(199,70,52,.5), transparent 70%);
}
.highlight-label {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  color: #F0A99B; position: relative;
}
.highlight-body {
  font-size: 13.5px; line-height: 1.6; color: #D8D2CD; margin-top: 12px; position: relative;
}
.highlight-body .hl { color: #fff; font-weight: 600; }

/* ============================================================
   EXPERIENCE TIMELINE
   ============================================================ */
.timeline { display: flex; flex-direction: column; gap: 14px; }
.job {
  cursor: pointer; background: #fff; border: 1px solid #ECE7E2; border-radius: 14px;
  padding: 22px 24px; transition: border-color .2s;
}
.job.active { border-color: #D9C9C4; }
.job-head { display: flex; align-items: flex-start; gap: 18px; }
.job-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 17px;
}
.job-main { flex: 1; }
.job-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.job-company { font-size: 18px; font-weight: 800; color: var(--ink); }
.job-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  padding: 4px 9px; border-radius: 5px;
}
.job-role { font-size: 14.5px; font-weight: 600; color: #3C3833; margin-top: 4px; }
.job-period { font-size: 12.5px; color: #9C938D; margin-top: 3px; }
.job-chevron {
  flex-shrink: 0; font-size: 20px; color: #C0B8B1;
  transition: transform .2s;
}
.job.active .job-chevron { transform: rotate(180deg); }
.job-detail {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid #F2EEEA; padding-left: 64px;
}
.job-bullet { display: flex; gap: 10px; margin-top: 9px; }
.job-bullet-dot {
  flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent); margin-top: 7px;
}
.job-bullet-text { font-size: 14px; line-height: 1.55; color: #3C3833; }
.job-awards { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.job-award {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: #9A6B00; background: #FBF1D9; padding: 6px 11px; border-radius: 100px;
}

/* ============================================================
   SKILLS EXPLORER
   ============================================================ */
.skills-lead { font-size: 15px; color: #6B6560; margin: 0 0 22px; }
.skill-filters { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.skill-filter {
  cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 100px; transition: all .15s;
  border: 1px solid #E3DDD7; background: #fff; color: #3C3833;
}
.skill-filter:hover { border-color: var(--accent); }
.skill-filter.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 10px;
}
.skill-item {
  display: flex; align-items: center; gap: 11px;
  background: #fff; border: 1px solid #ECE7E2; border-radius: 10px;
  padding: 13px 15px; animation: fadeup .3s ease both;
}
.skill-dot { flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%; }
.skill-name { font-size: 14px; font-weight: 600; color: var(--ink); flex: 1; }
.skill-cat { font-size: 10.5px; font-weight: 600; color: #9C938D; letter-spacing: 0.03em; }

/* ============================================================
   CERTIFICATIONS
   ============================================================ */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cert-card {
  display: flex; gap: 16px; background: #fff; border: 1px solid #ECE7E2;
  border-radius: 14px; padding: 22px;
}
.cert-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 12px;
  background: #F6E9E6; display: flex; align-items: center; justify-content: center;
}
.cert-title { font-size: 15.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.cert-meta { font-size: 12.5px; color: #9C938D; margin-top: 6px; }

/* ============================================================
   CONTENT CREATOR
   ============================================================ */
.creator-card {
  background: #1B1715; border-radius: 20px; padding: 44px;
  position: relative; overflow: hidden;
}
.creator-glow {
  position: absolute; top: -80px; left: -40px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(199,70,52,.4), transparent 70%);
}
.creator-inner { position: relative; }
.creator-eyebrow { color: #F0A99B; }
.creator-h2 {
  font-size: 34px; font-weight: 800; letter-spacing: -0.03em;
  margin: 14px 0 0; color: #fff;
}
.creator-lead {
  font-size: 16px; line-height: 1.6; color: #C8C1BB; margin: 14px 0 0; max-width: 620px;
}
.creator-lead b { color: #fff; }

.video-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px;
}
.video-card {
  text-decoration: none; background: #262220; border: 1px solid #3A3431;
  border-radius: 14px; overflow: hidden; display: block; transition: border-color .2s;
}
.video-card:hover { border-color: var(--accent); }
.video-thumb { position: relative; height: 140px; background: #000; }
.video-thumb img { width: 100%; height: 140px; object-fit: cover; display: block; }
.video-play {
  position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; pointer-events: none;
}
.video-play-btn {
  width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.video-meta { padding: 14px 15px; }
.video-title { font-size: 14px; font-weight: 700; color: #fff; line-height: 1.35; }
.video-watch {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: #F0A99B; margin-top: 8px; font-weight: 600;
}
.channel-card {
  text-decoration: none; background: linear-gradient(150deg, #C74634, #7E2C20);
  border: 1px solid #3A3431; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 26px 20px; min-height: 212px; box-sizing: border-box;
  transition: filter .2s;
}
.channel-card:hover { filter: brightness(1.08); }
.channel-name { font-size: 16px; font-weight: 800; color: #fff; margin-top: 14px; }
.channel-sub { font-size: 12.5px; color: rgba(255,255,255,.88); margin-top: 6px; }

.creator-links { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.creator-yt {
  display: inline-flex; align-items: center; gap: 9px;
  background: #C74634; color: #fff; padding: 13px 20px; border-radius: 8px;
  font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.creator-yt:hover { filter: brightness(1.08); }
.creator-ig {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid #4A423E; color: #fff; padding: 13px 20px; border-radius: 8px;
  font-weight: 600; font-size: 14.5px; text-decoration: none;
}
.creator-ig:hover { border-color: #fff; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-section { padding-bottom: 90px; }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid #ECE7E2; border-radius: 20px; padding: 46px;
}
.contact-h2 { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.contact-lead { font-size: 16px; line-height: 1.6; color: #5B5651; margin: 14px 0 0; }
.contact-download {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 24px;
  background: var(--accent); color: #fff; padding: 14px 24px; border-radius: 8px;
  font-weight: 600; font-size: 15px; text-decoration: none;
}
.contact-download:hover { filter: brightness(1.06); }
.contact-links { display: flex; flex-direction: column; gap: 11px; }
.contact-link {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  border: 1px solid #ECE7E2; border-radius: 11px; padding: 15px 18px;
  transition: border-color .15s, background .15s;
}
.contact-link:hover { border-color: var(--accent); background: #FCFBFA; }
.contact-link-label { font-size: 11px; color: #9C938D; font-weight: 600; }
.contact-link-val { font-size: 14.5px; font-weight: 600; color: var(--ink); }

.footer { text-align: center; font-size: 12.5px; color: #9C938D; margin-top: 34px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 820px) {
  .navlinks a:not([download]) { display: none; }
  .navlinks { gap: 12px; }
  .hero-h1 { font-size: 38px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .metric-grid > .metric-cell:nth-child(2n) { border-right: none; }
  .metric-grid > .metric-cell:nth-child(n+3) { border-top: 1px solid #ECE7E2; }
  .ai-grid { grid-template-columns: 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; padding: 26px; gap: 22px; }
  .creator-card { padding: 26px; }
  .sec-h2 { font-size: 27px; }
}
