/* 
 * Premium Design System (Light) - ZeroDevs CEO Portfolio
 * Clean, Modern, Professional
 */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  /* Palette: Light Mode */
  --bg-main: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --accent: #d97706;
  /* Gold/Amber */
  --accent-light: #fcd34d;

  /* UI Elements */
  --card-bg: rgba(255, 255, 255, 0.7);
  --glass-border: rgba(203, 213, 225, 0.4);
  --glass-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --glass-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.01);

  --link-color: var(--accent);
  --nav-height: 80px;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hidden {
  display: none !important;
}

/* Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: radial-gradient(circle at 0% 0%, rgba(217, 119, 6, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
  z-index: -2;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.serif-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 600;
}

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

.section-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-headline {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 600px;
  margin: 0 auto;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Layout */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.grid-split {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.5);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.9);
  height: 70px;
  shadow: var(--glass-shadow);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.03);
}

.social-icon:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-2px);
}

/* Hero */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.role-pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(217, 119, 6, 0.1);
  color: var(--accent);
  border-radius: 50px;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero-img {
  width: 320px;
  height: 400px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
  z-index: 2;
  position: relative;
  /* Adjust position as requested */
  object-position: 80% 50%;
}

.hero-backdrop {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 320px;
  height: 400px;
  border: 2px solid var(--accent);
  border-radius: 24px;
  z-index: 1;
  opacity: 0.3;
}

/* Buttons */
.cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(217, 119, 6, 0.2);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--text-primary);
}

/* Ecosystem Teaser */
.brand-teaser {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.brand-pill {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  backdrop-filter: blur(4px);
}

/* Components: Cards */
.bg-glass {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0) 0%, rgba(248, 250, 252, 1) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.vertical-group {
  margin-bottom: 5rem;
}

.vertical-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 1rem;
}

.vertical-icon {
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.8;
}

.vertical-name {
  font-size: 1.5rem;
  font-weight: 600;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(8px);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--glass-shadow-hover);
  border-color: rgba(217, 119, 6, 0.3);
}

.card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0.8;
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}

.card-link i {
  font-size: 0.8rem;
  transition: transform 0.2s;
}

.card-link:hover {
  color: var(--accent);
}

.card-link:hover i {
  transform: translateX(3px);
}

/* Impact List */
.impact-group {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid var(--glass-border);
}

.impact-group h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.achievement-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.achievement-item:last-child {
  margin-bottom: 0;
}

.year-badge {
  font-weight: 700;
  color: var(--text-primary);
  min-width: 50px;
  padding-top: 0.2rem;
  position: relative;
}

.year-badge::after {
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background: var(--accent);
  margin-top: 4px;
  opacity: 0.5;
}

.achieve-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.achieve-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.highlight-link {
  color: var(--accent);
  font-weight: 500;
  margin-left: 5px;
}

/* Footer */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
  margin-top: 4rem;
}

.footer-cta {
  text-align: center;
  margin-bottom: 3rem;
}

.footer-cta h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.copyright {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Animation Utils */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
}

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

/* Responsive */
@media (max-width: 850px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image-wrapper {
    justify-content: center;
    margin-bottom: 2rem;
    order: -1;
  }

  .hero-img,
  .hero-backdrop {
    height: 350px;
  }

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

  .hero-subtitle {
    margin: 0 auto 2rem;
  }

  .cta-group {
    justify-content: center;
  }

  .grid-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Core Strengths */
.strength-card {
  background: white;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.strength-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: var(--accent);
}

.strength-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  background: rgba(217, 119, 6, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.strength-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Tech Skills (Hidden/Removed per request but kept styles just in case) */
.tech-group {
  background: var(--bg-secondary);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.tech-cat-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
  padding-bottom: 0.5rem;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  background: white;
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: var(--transition);
}

.skill-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}