:root {
  --bg: transparent;
  --bg-card: rgba(15, 17, 23, 0.6);
  --bg-dark: rgba(10, 12, 18, 0.8);
  --text: #f0f0f5;
  --text-secondary: #a0a0c0;
  --text-light: #7878a0;
  --accent: #6366f1;
  --accent-hover: #818cf8;
  --accent-light: rgba(99, 102, 241, 0.15);
  --border: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(255, 255, 255, 0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
  --transition: 0.25s ease;
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #050510;
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== NAVBAR ===================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 12, 18, 0.6);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 12, 18, 0.85);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: baseline;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
}

.logo-dot {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--text);
  background: var(--accent-light);
}

.nav-link.nav-cta {
  background: var(--accent);
  color: white;
  margin-left: 8px;
}

.nav-link.nav-cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===================== BUTTONS ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-full {
  width: 100%;
}

/* ===================== SECTION HEADER ===================== */

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

.section-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===================== SHADER BACKGROUND ===================== */

.shader-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.shader-bg canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* ===================== HERO ===================== */

.hero {
  padding: 140px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero.hero-with-shader {
  position: relative;
  z-index: 1;
}

.hero-with-shader .hero-greeting,
.hero-with-shader .hero-name,
.hero-with-shader .hero-title,
.hero-with-shader .hero-description,
.hero-with-shader .stat-number,
.hero-with-shader .stat-plus,
.hero-with-shader .stat-label {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero-with-shader .hero-title {
  color: rgba(255, 255, 255, 0.8);
}

.hero-with-shader .hero-description {
  color: rgba(255, 255, 255, 0.75);
}

.hero-with-shader .stat-label {
  color: rgba(255, 255, 255, 0.6);
}

.hero-with-shader .hero-card {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-greeting {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 8px;
}

.hero-name {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 8px;
}

.hero-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
}

.stat-plus {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Hero Code Card */
.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 0;
  width: 100%;
  max-width: 420px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.card-window-dots {
  display: flex;
  gap: 6px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.card-window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-window-dots span:nth-child(1) {
  background: #ff5f57;
}

.card-window-dots span:nth-child(2) {
  background: #ffbd2e;
}

.card-window-dots span:nth-child(3) {
  background: #28c840;
}

.card-code {
  padding: 20px 24px 28px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #c9d1d9;
}

.code-keyword {
  color: #ff7b72;
}

.code-var {
  color: #79c0ff;
}

.code-string {
  color: #a5d6ff;
}

.code-bool {
  color: #7ee787;
}

/* ===================== SERVICES ===================== */

.services {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: rgba(10, 12, 18, 0.4);
}

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

.service-card {
  background: rgba(15, 17, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 30px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  color: var(--accent);
  margin-bottom: 20px;
  font-size: 28px;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

.service-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.service-tags li {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  color: var(--text-secondary);
}

/* ===================== PROJECTS ===================== */

.projects {
  padding: 100px 0;
  background: rgba(5, 5, 16, 0.5);
  position: relative;
  z-index: 1;
}

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

.project-card {
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: var(--transition);
  background: rgba(15, 17, 23, 0.65);
  backdrop-filter: blur(10px);
}

.project-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 30px rgba(99, 102, 241, 0.1);
  transform: translateY(-3px);
}

.project-image {
  aspect-ratio: 16 / 10;
  background: rgba(99, 102, 241, 0.1);
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-info {
  padding: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.project-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.project-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.project-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--accent);
  transition: var(--transition);
}

.project-card:hover .project-link {
  letter-spacing: 0.5px;
}

/* ===================== CONTACT ===================== */

.contact {
  padding: 100px 0;
  position: relative;
  z-index: 1;
  background: rgba(10, 12, 18, 0.4);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

.contact-form {
  background: rgba(15, 17, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(10px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-light);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(15, 17, 23, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.info-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.1);
}

.info-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  font-size: 22px;
}

.info-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.info-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.form-result {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  display: none;
}

.form-result.form-success,
.form-result.form-error {
  display: block;
  animation: fadeIn 0.3s ease;
}

.form-result.form-success {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-result.form-error {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

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

/* ===================== FOOTER ===================== */

.footer {
  background: rgba(5, 5, 16, 0.85);
  padding: 60px 0 30px;
  color: #94a3b8;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo .logo-text {
  color: #fff;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 4px;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
}

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

.social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #94a3b8;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  font-size: 20px;
}

.social-link:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #475569;
}

/* ===================== BOTTOM TAB BAR ===================== */

.bottom-tabs {
  display: none;
}

@media (max-width: 768px) {
  .bottom-tabs {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 12, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 0;
    padding-bottom: env(safe-area-inset-bottom, 6px);
    transition: transform 0.3s ease;
  }

  .bottom-tabs.hidden {
    transform: translateY(100%);
  }

  .bottom-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 0;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.68rem;
    font-weight: 500;
    transition: color 0.2s ease;
  }

  .bottom-tab i {
    font-size: 22px;
    transition: color 0.2s ease;
  }

  .bottom-tab.active,
  .bottom-tab:hover {
    color: var(--accent);
  }

  body {
    padding-bottom: 65px;
  }

  .footer {
    padding-bottom: 30px;
  }
}

/* ===================== ANIMATIONS ===================== */

.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== AUTHENTICITY BANNER ===================== */

.authenticity-banner {
  padding: 16px 0;
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
}

.authenticity-content {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  color: #166534;
}

.authenticity-content svg {
  flex-shrink: 0;
}

.authenticity-content p {
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.5;
}

/* ===================== ABOUT TEASER (HOME) ===================== */

.about-teaser {
  padding: 100px 0;
  background: rgba(5, 5, 16, 0.5);
  position: relative;
  z-index: 1;
}

.about-teaser-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-teaser-text .section-label {
  text-align: left;
}

.about-teaser-text .section-title {
  text-align: left;
}

.about-teaser-description {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.quote-card {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}

.quote-icon {
  color: var(--accent);
  opacity: 0.4;
  margin-bottom: 16px;
}

.quote-text {
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.7;
  font-style: italic;
}

/* ===================== ABOUT PAGE ===================== */

.about-hero {
  padding: 140px 0 60px;
  text-align: center;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 16px;
}

.about-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.7;
}

.authenticity-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 40px;
  color: #166534;
  font-size: 0.82rem;
  font-weight: 500;
}

.about-story {
  padding: 40px 0 100px;
}

.about-story .container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

.story-content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.story-chapter {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.story-chapter:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.chapter-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.story-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.9;
}

.story-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 94px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.facts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.facts-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.facts-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.fact-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.fact-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 5px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
}

.sidebar-cta {
  background: var(--bg-dark);
  border-color: transparent;
}

.sidebar-cta .sidebar-title {
  color: #fff;
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ===================== PROJECT DETAIL PAGE ===================== */

.back-link {
  display: inline-flex;
  align-items: center;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 32px;
  transition: var(--transition);
}

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

.project-hero {
  padding: 120px 0 80px;
}

.project-hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.project-hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.project-hero-tags span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.project-hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.15;
}

.project-hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.project-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.arch-preview {
  background: var(--bg-dark);
  border-radius: var(--radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.arch-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 500;
  color: #e2e8f0;
}

.arch-gateway {
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(79, 70, 229, 0.4);
  width: 100%;
  max-width: 200px;
}

.arch-icon {
  font-size: 1.2rem;
}

.arch-tech {
  font-size: 0.65rem;
  color: #94a3b8;
}

.arch-connector {
  width: 2px;
  height: 20px;
  background: rgba(255, 255, 255, 0.15);
}

.arch-services-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.arch-service {
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.25);
  min-width: 80px;
}

.arch-infra {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  min-width: 100px;
}

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

.project-section-alt {
  background: var(--bg-card);
}

.project-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.project-section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 40px;
}

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

.tech-category h3 {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.tech-items {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-pill {
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  color: var(--text);
  transition: var(--transition);
}

.tech-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.services-breakdown {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.service-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.service-block:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.service-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.service-emoji {
  font-size: 1.5rem;
}

.service-block-header h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.service-block p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-owns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-owns span {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
}

.flow-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.flow-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.flow-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.flow-steps {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-steps li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.flow-steps li::marker {
  color: var(--accent);
  font-weight: 600;
}

.flow-steps code {
  font-size: 0.82rem;
  padding: 2px 8px;
  background: var(--accent-light);
  border-radius: 4px;
  color: var(--accent);
  font-family: 'Courier New', monospace;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.client-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.client-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.client-card h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.client-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 12px;
}

.client-tech {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  background: var(--accent-light);
  color: var(--accent);
  border-radius: 20px;
}

.decisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.decision-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}

.decision-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.decision-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.decision-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.diagrams-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  color: var(--text-light);
  gap: 12px;
}

.diagrams-placeholder p {
  font-size: 0.9rem;
}

.project-cta {
  padding: 80px 0;
  background: var(--bg-dark);
  text-align: center;
  color: #fff;
}

.project-cta h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.project-cta p {
  font-size: 1rem;
  color: #94a3b8;
  margin-bottom: 28px;
}

.project-cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.project-hero-actions {
  margin-top: 24px;
}

.project-github-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cicd-pipeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.pipeline-stage {
  flex: 1;
  min-width: 180px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.pipeline-stage:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.pipeline-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pipeline-stage h3 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.pipeline-stage p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.pipeline-arrow {
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 1.5rem;
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 40px;
}

.cicd-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.cicd-detail-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.cicd-detail-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 14px;
}

.cicd-detail-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cicd-detail-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  padding-left: 18px;
  position: relative;
}

.cicd-detail-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 360px;
  }

  .hero-name {
    font-size: 3rem;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

  .about-teaser-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-teaser-text .section-label,
  .about-teaser-text .section-title {
    text-align: center;
  }

  .about-teaser-description {
    text-align: center;
  }

  .about-teaser-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .about-story .container {
    grid-template-columns: 1fr;
  }

  .story-sidebar {
    position: static;
  }

  .project-hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    gap: 4px;
    z-index: 999;
    visibility: hidden;
  }

  .nav-links.active {
    transform: translateY(0);
    visibility: visible;
  }

  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }

  .nav-link.nav-cta {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.active .toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding: 120px 0 60px;
    min-height: auto;
  }

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

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

  .hero-actions {
    flex-direction: column;
  }

  .hero-stats {
    gap: 24px;
  }

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

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

  .section-title {
    font-size: 1.8rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .services,
  .projects,
  .contact,
  .about-teaser {
    padding: 70px 0;
  }

  .about-hero {
    padding: 120px 0 40px;
  }

  .about-hero-title {
    font-size: 2.2rem;
  }

  .authenticity-content {
    flex-direction: column;
    text-align: center;
  }

  .project-hero-title {
    font-size: 2rem;
  }

  .project-hero {
    padding: 110px 0 60px;
  }

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

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

  .services-breakdown {
    grid-template-columns: 1fr;
  }

  .flow-cards {
    grid-template-columns: 1fr;
  }

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

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

  .project-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cicd-pipeline {
    flex-direction: column;
    align-items: stretch;
  }

  .pipeline-arrow {
    justify-content: center;
    margin-top: 0;
    padding: 8px 0;
    transform: rotate(90deg);
  }

  .pipeline-stage {
    min-width: auto;
  }

  .cicd-details {
    grid-template-columns: 1fr;
  }
}