:root {
  --forest: #2d4a22;
  --forest-mid: #3d6030;
  --sage: #7a9e6a;
  --sage-light: #a8c498;
  --cream: #f7f2ea;
  --cream-dark: #ede5d8;
  --sand: #d4b896;
  --amber: #c8832a;
  --amber-light: #e8a84a;
  --white: #ffffff;
  --text-dark: #1a2614;
  --text-mid: #4a5e3a;
  --text-light: #7a8e6a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* === NAV === */
nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 0 60px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, box-shadow 0.4s;
}

nav.sticky-nav {
  background: rgba(247, 242, 234, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(45, 74, 34, 0.08);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.nav-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 0.02em;
  transition: color 0.4s;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--amber);
  transition: width 0.3s;
}

.nav-links a:hover::after {
  width: 100%;
}

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

.nav-cta {
  background: var(--forest);
  border: 1.5px solid var(--forest);
  color: white;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--forest-mid);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: white;
}

.section-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}

.section-tag::before {
  content: '— ';
}

.section-tag::after {
  content: ' —';
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--forest-mid);
}

.section-sub {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.dev-hero {
  height: 480px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #0a1608 0%, #1a3012 50%, #0d1f0a 100%);
}

.dev-hero .hero-bg {
  position: absolute;
  inset: 0;
  background: url('background\ developer.png') center 30%/cover;
  opacity: 0.70;
}

.dev-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 8, 0.85) 0%, rgba(10, 22, 8, 0.4) 50%, rgba(10, 22, 8, 0.2) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(168, 196, 152, 0.4);
  animation: floatParticle 5s ease-in-out infinite;
}

@keyframes floatParticle {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  50% {
    opacity: 1;
    transform: translateY(-40px) scale(1);
  }
}

.dev-hero .hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px 60px;
  animation: heroFadeUp 1s ease-out;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-tag-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(168, 196, 152, 0.12);
  border: 1px solid rgba(168, 196, 152, 0.25);
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 0.78rem;
  color: var(--sage-light);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.hero-code-icon {
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--amber-light);
}

.dev-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 600;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}

.dev-hero h1 em {
  font-style: italic;
  color: var(--sage-light);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 300;
  max-width: 500px;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  right: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(0.6);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.team-intro {
  padding: 80px 60px 20px;
}

.team-section {
  padding: 0 60px 80px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  padding: 40px 32px 36px;
  text-align: center;
  border: 1px solid rgba(45, 74, 34, 0.08);
  box-shadow: 0 4px 30px rgba(45, 74, 34, 0.06);
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.4s;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px);
}

.team-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.team-card:nth-child(2).animate-in {
  transition-delay: 0.15s;
}

.team-card:nth-child(3).animate-in {
  transition-delay: 0.3s;
}

.team-card:hover {
  box-shadow: 0 20px 60px rgba(45, 74, 34, 0.15);
}

.card-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  transition: background 0.3s;
}

.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}

.team-card-leader .card-badge {
  background: rgba(200, 131, 42, 0.1);
  color: var(--amber);
}

.team-card-owner .card-badge {
  background: rgba(122, 158, 106, 0.1);
  color: var(--sage);
}

.team-card-dev .card-badge {
  background: rgba(45, 74, 34, 0.1);
  color: var(--forest);
}

.card-avatar-wrap {
  position: relative;
  width: 130px;
  height: 130px;
  margin: 0 auto 20px;
}

.avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  animation: ringRotate 4s linear infinite;
}

.team-card-leader .avatar-ring {
  border-image: linear-gradient(135deg, var(--amber), var(--amber-light), var(--amber)) 1;
}

.team-card-owner .avatar-ring {
  border-image: linear-gradient(135deg, var(--sage), var(--sage-light), var(--sage)) 1;
}

.team-card-dev .avatar-ring {
  border-image: linear-gradient(135deg, var(--forest), var(--sage), var(--forest)) 1;
}

@keyframes ringRotate {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.card-avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s;
}

.team-card:hover .card-avatar {
  transform: scale(1.05);
}

.avatar-status {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #4ade80;
  border: 3px solid white;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 8px;
}

.card-role {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.team-card-leader .card-role {
  color: var(--amber);
}

.team-card-owner .card-role {
  color: var(--sage);
}

.team-card-dev .card-role {
  color: var(--forest);
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
}

.card-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}

.skill-tag {
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--cream);
  color: var(--text-mid);
  border: 1px solid var(--cream-dark);
  transition: all 0.2s;
}

.skill-tag:hover {
  background: var(--forest);
  color: white;
  border-color: var(--forest);
}

.card-quote {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 16px;
  border-radius: 14px;
  background: var(--cream);
  border-left: 3px solid var(--sage-light);
}

.card-quote span {
  font-size: 0.8rem;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.6;
  font-weight: 300;
}

.tech-section {
  background: var(--forest);
  padding: 80px 60px;
}

.tech-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.tech-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
  line-height: 1.2;
}

.tech-title em {
  font-style: italic;
  color: var(--sage-light);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(30px);
}

.tech-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.tech-card:nth-child(2).animate-in {
  transition-delay: 0.1s;
}

.tech-card:nth-child(3).animate-in {
  transition-delay: 0.2s;
}

.tech-card:nth-child(4).animate-in {
  transition-delay: 0.3s;
}

.tech-card:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-6px);
}

.tech-icon {
  margin-bottom: 18px;
}

.tech-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.tech-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
}

.project-section {
  padding: 80px 60px;
}

.project-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.project-info-card {
  background: white;
  border-radius: 24px;
  padding: 40px 32px;
  border: 1px solid rgba(45, 74, 34, 0.08);
  box-shadow: 0 4px 30px rgba(45, 74, 34, 0.06);
  opacity: 0;
  transform: translateY(30px);
}

.project-info-card.animate-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.project-info-card:nth-child(2).animate-in {
  transition-delay: 0.15s;
}

.project-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.project-info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 24px;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.project-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cream-dark);
}

.project-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.detail-label {
  font-size: 0.82rem;
  color: var(--text-light);
  font-weight: 500;
}

.detail-value {
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 600;
}

.status-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.4);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(22, 163, 74, 0);
  }
}

.project-goals {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.project-goals li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.5;
}

.goal-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(122, 158, 106, 0.12);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.dev-cta {
  background: linear-gradient(135deg, var(--forest), var(--forest-mid));
  padding: 80px 60px;
  text-align: center;
}

.dev-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 600;
  color: white;
  margin-bottom: 14px;
}

.dev-cta h2 em {
  font-style: italic;
  color: var(--sage-light);
}

.dev-cta p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 32px;
  font-weight: 300;
}

.cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-amber {
  background: var(--amber);
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-amber:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 131, 42, 0.4);
}

.btn-ghost-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  color: white;
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.12);
}

.smamda-footer {
  background: #0a1608;
  color: rgba(255, 255, 255, 0.7);
  padding: 50px 60px 20px;
  font-family: 'DM Sans', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.smamda-footer .footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 30px;
}

.smamda-footer .footer-col {
  padding: 0 20px;
}

.smamda-footer .footer-col:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.smamda-footer h3 {
  color: white;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.smamda-footer p {
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

.smamda-footer .footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 15px;
}

.smamda-footer a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.smamda-footer a:hover {
  color: white;
}

.smamda-footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  text-align: center;
}

.smamda-footer .footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

@media (max-width: 1024px) {
  nav {
    padding: 0 32px;
  }

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

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .dev-hero .hero-content {
    padding: 0 24px 48px;
  }

  .team-intro,
  .team-section,
  .project-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .team-grid,
  .project-inner {
    grid-template-columns: 1fr;
  }

  .tech-section,
  .dev-cta {
    padding-left: 24px;
    padding-right: 24px;
  }

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

  .hero-scroll-indicator {
    display: none;
  }
}

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