/* ==========================================================================
   BuildWithAniket - Design System & Modern Portfolio Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Theme Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Deep Navy & Cyan Accents */
  --bg-main: #060a14;
  --bg-surface: #0a1122;
  --bg-card: rgba(13, 22, 44, 0.75);
  --bg-card-hover: rgba(18, 30, 60, 0.9);
  --bg-glass: rgba(10, 18, 36, 0.65);
  --bg-input: rgba(7, 13, 26, 0.85);

  /* Cyan & Electric Blue Accents */
  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-sky: #38bdf8;
  --accent-glow: rgba(0, 242, 254, 0.18);
  --accent-glow-strong: rgba(0, 242, 254, 0.35);
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --accent-gradient-text: linear-gradient(135deg, #38bdf8 0%, #00f2fe 50%, #93c5fd 100%);
  
  /* Text Colors */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-dark: #070d18;

  /* Borders & Dividers */
  --border-subtle: rgba(56, 189, 248, 0.12);
  --border-focus: rgba(0, 242, 254, 0.5);
  --border-card: rgba(148, 163, 184, 0.1);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.22);
  --shadow-glow-button: 0 4px 20px rgba(0, 242, 254, 0.35);

  /* Layout & Transitions */
  --container-max: 1200px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

::selection {
  background: rgba(0, 242, 254, 0.25);
  color: #ffffff;
}

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

ul {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* --------------------------------------------------------------------------
   Ambient Background Glows
   -------------------------------------------------------------------------- */
.ambient-glow {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(120px);
  opacity: 0.12;
}

.glow-top-left {
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.glow-bottom-right {
  bottom: -200px;
  right: -200px;
  background: radial-gradient(circle, var(--accent-blue) 0%, transparent 70%);
}

/* --------------------------------------------------------------------------
   Layout Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   Typography Utilities
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section {
  padding: 6.5rem 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.85rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* --------------------------------------------------------------------------
   Buttons & Interactive Elements
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.65rem;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: var(--text-dark);
  box-shadow: var(--shadow-glow-button);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.45);
  color: var(--text-dark);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(56, 189, 248, 0.1);
  border-color: var(--accent-sky);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.88rem;
}

.btn-block {
  width: 100%;
}

.btn-disabled {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid rgba(255, 255, 255, 0.05);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-icon {
  transition: transform var(--transition-fast);
}

.btn:hover .btn-icon {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   Header & Sticky Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  background: rgba(6, 10, 20, 0.75);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.site-header.scrolled {
  background: rgba(6, 10, 20, 0.92);
  border-bottom-color: rgba(56, 189, 248, 0.2);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-symbol {
  font-family: monospace;
  font-size: 1.1rem;
  color: var(--accent-cyan);
  padding: 0.2rem 0.55rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.brand-logo .highlight {
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-gradient);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-cta-mobile {
  display: none;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  flex-shrink: 0;
}

.hamburger-bar {
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
  margin: 2px auto;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5.5rem;
  position: relative;
  z-index: 1;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-container > *,
.about-grid > *,
.about-pillars > *,
.services-grid > *,
.projects-grid > *,
.skills-grid > *,
.process-steps > *,
.contact-wrapper > * {
  min-width: 0;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.status-text {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--accent-sky);
}

.hero-title {
  font-size: clamp(2.15rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.35rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-subtitle {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 560px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.highlight-check {
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Code Card Mockup */
.hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
  width: 100%;
}

.code-card {
  width: 100%;
  max-width: 460px;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card), 0 0 30px rgba(0, 242, 254, 0.08);
  overflow: hidden;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.code-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.2rem;
  background: rgba(6, 12, 24, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.window-controls {
  display: flex;
  gap: 6px;
}

.control {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.control.close { background: #ff5f56; }
.control.minimize { background: #ffbd2e; }
.control.expand { background: #27c93f; }

.card-title {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-body {
  padding: 1.5rem;
  font-family: 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.88rem;
  line-height: 1.7;
  overflow-x: auto;
  max-width: 100%;
}

.card-body pre {
  margin: 0;
  max-width: 100%;
  overflow-x: auto;
}

.code-keyword { color: #f43f5e; font-weight: 600; }
.code-variable { color: #38bdf8; }
.code-property { color: #a5b4fc; }
.code-string { color: #34d399; }

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.about-card.intro-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  font-size: 1.55rem;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.about-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.about-card p:last-child {
  margin-bottom: 0;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all var(--transition-fast);
  backdrop-filter: blur(12px);
}

.pillar-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
  margin-bottom: 1rem;
}

.pillar-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.pillar-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   Services Section
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-gradient);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-focus);
  background: var(--bg-card-hover);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.95rem;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-features {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.25rem;
}

.service-features li {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.25rem;
}

.service-features li:last-child {
  margin-bottom: 0;
}

.service-features li::before {
  content: '•';
  color: var(--accent-cyan);
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
  top: -1px;
}

/* --------------------------------------------------------------------------
   Projects Section (Placeholders)
   -------------------------------------------------------------------------- */
.placeholder-notice-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.5rem;
  background: rgba(0, 242, 254, 0.05);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 2.5rem;
}

.notice-icon {
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.notice-content {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.notice-content strong {
  color: var(--accent-sky);
}

.project-category-block {
  margin-bottom: 4.5rem;
}

.project-category-block:last-child {
  margin-bottom: 0;
}

.category-header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.category-title-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.category-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  border: 1px solid rgba(0, 242, 254, 0.25);
  display: inline-flex;
  align-items: center;
}

.category-badge.category-badge-demos {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent-sky);
  border-color: rgba(56, 189, 248, 0.25);
}

.category-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.01em;
}

.category-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin: 0;
  max-width: 820px;
  line-height: 1.55;
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: var(--shadow-card);
}

.project-preview-mockup {
  height: 200px;
  background: rgba(6, 12, 24, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.preview-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.12);
  color: var(--accent-cyan);
  border: 1px solid var(--border-subtle);
}

/* Project card browser frame */
.project-browser-frame {
  width: 92%;
  background: rgba(10, 18, 36, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast);
}

.project-card:hover .project-browser-frame {
  border-color: rgba(0, 242, 254, 0.35);
}

.browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(6, 12, 24, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.browser-url-pill {
  font-family: 'Fira Code', monospace;
  font-size: 0.74rem;
  color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.08);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.15);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.browser-content-preview {
  padding: 1.15rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(14, 25, 48, 0.7) 0%, rgba(8, 14, 28, 0.9) 100%);
}

.preview-site-identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-icon-box {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--accent-cyan);
}

.site-name-sub {
  font-size: 0.86rem;
  font-weight: 600;
  color: #ffffff;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.role-icon {
  font-size: 0.8rem;
}

.role-tag-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-project {
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  gap: 0.45rem;
}

.project-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
}

.tag {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--accent-sky);
  background: rgba(56, 189, 248, 0.08);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.15);
}

.project-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.project-description {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.15rem;
}

.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: var(--accent-cyan);
}

.chip-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 6px var(--accent-cyan);
}

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

.skill-category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(12px);
  transition: all var(--transition-fast);
}

.skill-category-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.category-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--accent-cyan);
}

.category-header h3 {
  font-size: 1.25rem;
}

.skill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.skill-pill {
  font-size: 0.86rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-fast);
}

.skill-pill:hover {
  background: rgba(0, 242, 254, 0.08);
  border-color: var(--border-subtle);
  color: #ffffff;
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Work Process Section
   -------------------------------------------------------------------------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  backdrop-filter: blur(12px);
  position: relative;
  transition: all var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-subtle);
  background: var(--bg-card-hover);
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.25);
  line-height: 1;
  margin-bottom: 1.25rem;
  transition: color var(--transition-fast);
}

.step-card:hover .step-number {
  color: var(--accent-cyan);
}

.step-content h3 {
  font-size: 1.18rem;
  margin-bottom: 0.75rem;
}

.step-content p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  backdrop-filter: blur(12px);
}

.panel-header h3 {
  font-size: 1.65rem;
  margin-bottom: 0.85rem;
}

.panel-header p {
  color: var(--text-secondary);
  font-size: 0.98rem;
  margin-bottom: 2.25rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.channel-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.channel-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.channel-value {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Contact Form */
.contact-form-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.45rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.required-mark {
  color: var(--accent-cyan);
}

.form-input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg2+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

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

.form-error {
  display: none;
  font-size: 0.82rem;
  color: #f87171;
  margin-top: 0.35rem;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error .form-input {
  border-color: #f87171;
}

.form-notification {
  margin-top: 1.25rem;
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.92rem;
  display: none;
  line-height: 1.5;
}

.form-notification.success {
  display: block;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-notification.error {
  display: block;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: #04070e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 4.5rem 0 2.5rem 0;
  position: relative;
  z-index: 1;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 380px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 0.95rem;
  line-height: 1.6;
}

.footer-nav-title {
  font-size: 0.95rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer-links a:hover {
  color: var(--accent-cyan);
}

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

.copyright-text {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-size: 0.84rem;
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  background: rgba(0, 242, 254, 0.1);
  color: #ffffff;
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Scroll Animations & Reveal States
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 3rem;
  }

  .hero-visual {
    justify-content: flex-start;
  }

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

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

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

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

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .section {
    padding: 4.5rem 0;
  }

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

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

  .nav-cta-desktop {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: rgba(6, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 3rem 1.5rem;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

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

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

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

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .nav-link {
    font-size: 1.2rem;
  }

  .nav-cta-mobile {
    display: block;
    margin-top: 1.5rem;
  }

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

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

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

  .process-steps {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo {
    font-size: 1.05rem;
  }

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

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .card-body {
    padding: 1.15rem 1rem;
    font-size: 0.82rem;
  }

  .about-card.intro-card,
  .contact-info-panel,
  .contact-form-panel {
    padding: 1.75rem 1.25rem;
  }
}
