/* --- PRO-APPLE LIGHT DESIGN SYSTEM --- */
:root {
  --bg-white: #FFFFFF;
  --apple-grey: #F5F5F7;
  --pro-blue: #0A66C2; /* LinkedIn Blue */
  --pro-blue-hover: #004182;
  --pro-blue-light: rgba(10, 102, 194, 0.1);
  
  --text-dark: #1D1D1F;
  --text-grey: #6E6E73;
  --text-muted: #86868B;
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(0, 0, 0, 0.05);
  --glass-blur: blur(20px);
  
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.08);
  
  --font-display: 'Cormorant Garamond', serif;
  --font-ui: 'Outfit', sans-serif;
  
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --radius-pill: 40px;
  
  --max-width: 1100px;
  --section-gap: 120px;
  --transition-fluid: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-white);
}

body {
  font-family: var(--font-ui);
  color: var(--text-dark);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.3;
}

.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3BaseFilter id='filter'%3BfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3B/filter%3Brect width='100%25' height='100%25' filter='url(%23filter)'/%3B/svg%3B");
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: var(--section-gap) 0;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--pro-blue);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-size: clamp(3rem, 8vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-headline em {
  font-style: italic;
  color: var(--pro-blue);
}

.hero-subheadline {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: var(--text-grey);
  max-width: 650px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.section-headline {
  font-size: clamp(2rem, 5vw, 2.6rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.intro-line {
  font-size: 1.4rem;
  color: var(--text-grey);
  max-width: 800px;
  margin-bottom: 4rem;
  line-height: 1.6;
}

/* --- NAVIGATION --- */
.header {
  position: fixed;
  top: 1.5rem;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 2rem;
}

.nav-pill {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-pill);
  height: 60px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-md);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.5px;
  font-style: italic;
}

.accent-dot {
  color: var(--pro-blue);
  font-style: normal;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
}

.nav-links a {
  text-decoration: none;
  font-family: var(--font-ui);
  color: var(--text-grey);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: var(--transition-fluid);
}

.nav-links a:hover {
  color: var(--pro-blue);
}

.nav-cta {
  background: var(--pro-blue);
  color: white;
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  transition: var(--transition-fluid);
}

.nav-cta:hover {
  background: var(--pro-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.nav-resume-mobile {
  display: none !important;
}

/* --- MOBILE TOGGLE --- */
.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-fluid);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- BUTTONS --- */
.btn {
  padding: 14px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 15px;
  display: inline-block;
  transition: var(--transition-fluid);
}

.btn-primary {
  background: var(--pro-blue);
  color: white;
}

.btn-primary:hover {
  background: var(--pro-blue-hover);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(10, 102, 194, 0.2);
}

.btn-secondary {
  background: transparent;
  border: 1px solid rgba(0,0,0,0.1);
  color: var(--text-dark);
}

.btn-secondary:hover {
  border-color: var(--pro-blue);
  color: var(--pro-blue);
  transform: translateY(-4px);
}

/* --- HERO --- */
.hero {
  text-align: center;
  padding-top: 180px;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 5rem;
}

@media (max-width: 500px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    padding: 0 2rem;
  }
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.stats-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
}

.status-indicator {
  margin-bottom: 2rem;
  font-family: var(--font-ui);
  font-size: 14px;
  color: #1a7f37;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #1a7f37;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 400px) {
  .metrics-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.metric-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.2rem;
}

.metric-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-grey);
  letter-spacing: 0.5px;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
  100% { opacity: 1; transform: scale(1); }
}

.scroll-indicator {
  margin-top: 5rem;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* --- GLASS CARDS (GENERAL) --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fluid);
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(10, 102, 194, 0.2);
}

/* --- ABOUT SECTION (UNIFORM DESIGN) --- */
.uniform-about-container {
  display: grid;
  gap: 4rem;
}

.about-subsection {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.subsection-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

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

/* Unified About Card Style */
.about-card {
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.card-large-text {
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--pro-blue);
  margin-bottom: 0.5rem;
}

.card-subtext {
  font-size: 13px;
  color: var(--text-grey);
  line-height: 1.4;
}

.card-badge {
  display: inline-block;
  background: var(--pro-blue-light);
  color: var(--pro-blue);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  align-self: flex-start;
}

.about-card h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--text-dark);
}

.about-card p {
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

.card-accent {
  width: 12px;
  height: 32px;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.accent-blue { background: #0A66C2; }
.accent-pink { background: #E11D48; }
.accent-green { background: #10B981; }
.accent-purple { background: #8B5CF6; }
.accent-gold { background: #F59E0B; }

/* AI Edge Card (Uniform Width) */
.ai-edge-card-uniform {
  padding: 3rem;
  border: 1px solid rgba(139, 92, 246, 0.2);
  background: linear-gradient(to right, #FFFFFF, #FDFCFE);
  flex-direction: row !important;
  align-items: center;
  gap: 3rem;
  width: 100%;
}

.ai-edge-header {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

.ai-icon {
  color: #8B5CF6;
  font-size: 1.8rem;
  line-height: 1;
}

.ai-edge-card-uniform h3 {
  margin: 0;
  font-size: 1.4rem;
}

.ai-edge-card-uniform p {
  margin: 0;
  max-width: 600px;
}

/* --- EXPERIENCE --- */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--pro-blue), var(--apple-grey));
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-dot {
  position: absolute;
  left: -2.35rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--pro-blue);
  border-radius: 50%;
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 10px rgba(10, 102, 194, 0.3);
}

.timeline-content {
  padding: 2.5rem;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.timeline-header h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.company {
  color: var(--pro-blue);
  font-weight: 500;
}

.date {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-ui);
}

.bullets {
  list-style: none;
}

.bullets li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

.bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--pro-blue);
}

/* --- SKILLS --- */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.skill-card {
  padding: 2rem;
}

.skill-card h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.skill-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-card span {
  font-size: 11px;
  background: var(--apple-grey);
  color: var(--text-grey);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fluid);
}

.skill-card span:hover {
  background: var(--pro-blue-light);
  color: var(--pro-blue);
}

/* --- CERTIFICATIONS --- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.cert-card {
  padding: 2rem;
}

.cert-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.issuer {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--pro-blue);
}

.year {
  font-size: 11px;
  color: var(--text-muted);
}

.cert-card h3 {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
}

.cert-card p {
  color: var(--text-grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

.additional-creds {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

/* --- CONTACT --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--text-grey);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.contact-details {
  display: grid;
  gap: 1rem;
}

.detail {
  font-size: 14px;
  color: var(--text-dark);
}

.detail a {
  color: var(--pro-blue);
  text-decoration: none;
}

.contact-form-container form {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-grey);
}

input, textarea {
  width: 100%;
  background: var(--apple-grey);
  border: 1px solid transparent;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-family: inherit;
  transition: var(--transition-fluid);
}

input:focus, textarea:focus {
  outline: none;
  background: var(--bg-white);
  border-color: var(--pro-blue);
  box-shadow: 0 0 0 4px var(--pro-blue-light);
}

.hidden { display: none; }
#form-success {
  margin-top: 1.5rem;
  color: #1a7f37;
  font-size: 14px;
}

/* --- FOOTER --- */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--apple-grey);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.social-icons {
  display: flex;
  gap: 2rem;
}

.social-icons a {
  text-decoration: none;
  font-size: 13px;
  color: var(--text-grey);
  transition: var(--transition-fluid);
}

.social-icons a:hover {
  color: var(--pro-blue);
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  :root {
    --section-gap: 80px;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(20px);
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    pointer-events: all;
  }

  .nav-links a {
    font-size: 24px;
    font-family: var(--font-display);
    font-weight: 500;
  }

  .nav-resume-mobile {
    display: inline-block !important;
    margin-top: 1rem;
    font-size: 16px;
    padding: 12px 24px;
  }

  .nav-cta {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-pill {
    width: 100%;
    justify-content: space-between;
    height: 56px;
    padding: 0 1.25rem;
  }

  .grid-2, .grid-3, .grid-4, .skills-grid, .cert-grid, .contact-grid {
    grid-template-columns: 1fr !important;
  }

  .ai-edge-card-uniform {
    flex-direction: column !important;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 2rem;
  }

  .hero {
    padding-top: 140px;
  }

  .hero-headline {
    font-size: 2.5rem;
  }

  .hero-subheadline {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .intro-line {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
  }

  .stats-card {
    padding: 2rem 1.5rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .timeline {
    padding-left: 1.5rem;
  }

  .timeline-header {
    flex-direction: column;
    gap: 0.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .social-icons {
    order: -1;
  }
}

@media (max-width: 600px) {
  .section-headline {
    font-size: 1.8rem;
  }

  .hero-headline {
    font-size: 2.2rem;
  }

  .about-card {
    padding: 1.25rem;
  }
}
