/* ========================================
   Dariusz Pezowicz — Architekt Technologii | DEV7
   Static HTML/CSS Version
   ======================================== */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=JetBrains+Mono:wght@400;500&family=Syne:wght@400;500;600;700;800&display=swap');

/* --- CSS Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: #242424;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background-color: #0A0A0A;
  color: #E8E8E8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

/* --- CSS Variables --- */
:root {
  --gold: #C9A84C;
  --tech-blue: #2E86C1;
  --bg-primary: #0A0A0A;
  --bg-card: #111111;
  --bg-elevated: #1A1A2E;
  --text-primary: #E8E8E8;
  --text-secondary: #A0A0A0;
  --text-muted: #707070;
  --text-dimmed: #888888;
  --success-green: #27AE60;
  --alert-red: #E74C3C;
  --border: #242424;
  --radius: 0.75rem;
  --font-display: 'Syne', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-sans: 'DM Sans', sans-serif;
}

/* --- Selection --- */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: #E8E8E8;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #0A0A0A;
}
::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* --- Noise Overlay --- */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
}

/* --- Gold Separator --- */
.gold-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.25), rgba(201, 168, 76, 0.5), rgba(201, 168, 76, 0.25), transparent);
}

/* --- Container --- */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --- Section Base --- */
.section {
  position: relative;
  padding: 6rem 1.5rem;
}
.section__inner {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Section Label --- */
.section-label {
  display: inline-block;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}

/* --- Typography --- */
.font-display { font-family: var(--font-display); }
.font-mono { font-family: var(--font-mono); }
.font-sans { font-family: var(--font-sans); }

h2.section-heading {
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 3rem;
}

/* --- Reveal Animation (JS-driven) --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Staggered children --- */
.stagger-children .reveal {
  transition-delay: calc(var(--stagger-index, 0) * 0.1s);
}


/* ========================================
   NAVIGATION
   ======================================== */
.nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 40;
  transition: all 0.5s ease;
  transform: translateY(-100%);
  animation: navSlideDown 0.6s 1.5s ease forwards;
}
.nav--scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.3s;
}
.nav__logo:hover {
  opacity: 0.8;
}
.nav__logo-img {
  height: 60px;
  width: auto;
}
.nav__links {
  display: none;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  position: relative;
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-dimmed);
  cursor: pointer;
  transition: color 0.3s;
  text-decoration: none;
  padding: 0;
}
.nav__link:hover {
  color: var(--text-primary);
}
.nav__link--active {
  color: var(--gold);
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}
.nav__lang {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}
.nav__lang-link {
  text-decoration: none;
  color: var(--text-dimmed);
  transition: color 0.3s;
  padding: 0.2rem 0.1rem;
}
.nav__lang-link:hover {
  color: var(--text-primary);
}
.nav__lang-link--active {
  color: var(--gold);
}
.nav__lang-sep {
  color: var(--border);
  user-select: none;
}
.nav__hamburger {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
}
.nav__hamburger svg {
  width: 24px;
  height: 24px;
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.mobile-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-overlay__link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.3s;
}
.mobile-overlay__link:hover {
  color: var(--gold);
}

@keyframes navSlideDown {
  to { transform: translateY(0); }
}


/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: var(--bg-primary);
}
.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__mesh {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, rgba(201, 168, 76, 0.05), transparent, rgba(26, 26, 46, 0.3));
  background-size: 400% 400%;
  animation: meshMove 15s ease infinite;
}
.hero__mesh--blue {
  background: linear-gradient(to top left, rgba(46, 134, 193, 0.05), transparent, transparent);
  animation-delay: -7s;
}
.hero__hex-grid {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50%;
  opacity: 0.06;
}
.hero__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.4);
  animation: particlePulse var(--dur) ease-in-out infinite;
  animation-delay: var(--del);
}
.hero__content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 8rem 1.5rem;
}
.hero__content-inner {
  max-width: 48rem;
}

/* Hero label */
.hero__label {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s 0.2s ease forwards;
}

/* Hero name */
.hero__name {
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1.05;
}
.hero__word {
  display: inline-block;
  white-space: nowrap;
}
.hero__name span {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 0.4s ease forwards;
}
.hero__word {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Hero tagline */
.hero__tagline {
  margin-bottom: 2.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-dimmed);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s 1.0s ease forwards;
}

/* Hero CTA */
.hero__cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.6s 1.3s ease forwards;
}
.hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  padding: 0.875rem 2rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}
.hero__btn--primary {
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
}
.hero__btn--primary:hover {
  background: var(--gold);
  color: var(--bg-primary);
}
.hero__btn--secondary {
  border: 1px solid rgba(136, 136, 136, 0.3);
  color: var(--text-primary);
  background: transparent;
}
.hero__btn--secondary:hover {
  border-color: var(--text-primary);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: fadeIn 1s 2s ease forwards;
}
.hero__scroll-text {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--text-dimmed);
  writing-mode: vertical-rl;
}
.hero__scroll-icon {
  animation: scrollBounce 2s ease-in-out infinite;
  color: var(--text-dimmed);
}

/* Hero bottom gradient */
.hero__gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8rem;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

@keyframes meshMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes particlePulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.5); }
}
@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}


/* ========================================
   ABOUT SECTION
   ======================================== */
.about__dot-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
}
.about__layout {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.about__text {
  flex: 1;
}
.about__heading {
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.about__paragraphs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}
.about__paragraphs .highlight {
  color: var(--text-primary);
}
.about__stats {
  flex: 1;
}
.about__stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stat-card:hover {
  transform: scale(1.02);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.08);
}
.stat-card__value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold);
}
.stat-card__label {
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-dimmed);
}


/* ========================================
   COMPETENCIES SECTION
   ======================================== */
.competencies__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.comp-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
  border-top: 3px solid rgba(201, 168, 76, 0.6);
  transition: all 0.3s ease;
}
.comp-card:hover {
  transform: translateY(-4px);
  border-top-color: var(--gold);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.1);
}
.comp-card__icon {
  margin-bottom: 1rem;
  color: var(--gold);
  transition: transform 0.3s ease;
}
.comp-card:hover .comp-card__icon {
  transform: scale(1.1);
}
.comp-card__title {
  margin-bottom: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}
.comp-card__desc {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}

/* Tech Stack Ticker */
.ticker {
  margin-top: 4rem;
  overflow: hidden;
}
.ticker__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
}
.ticker__track:hover {
  animation-duration: 15s;
}
.ticker__item {
  margin: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: rgba(136, 136, 136, 0.4);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.project-card {
  overflow: hidden;
  border-radius: 0.75rem;
  background: var(--bg-card);
}
.project-card__inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}
.project-card__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-card__label {
  margin-bottom: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.project-card__title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}
.project-card__desc {
  margin-bottom: 1.5rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}
.project-card__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: rgba(26, 26, 46, 0.5);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(201, 168, 76, 0.8);
}
.project-card__visual {
  flex-shrink: 0;
}
.project-visual {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, rgba(26, 26, 46, 0.5), var(--bg-card));
  padding: 2rem;
}
.project-visual svg {
  width: 100%;
  height: 100%;
}


/* ========================================
   SECURITY SECTION
   ======================================== */
.security {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
}
.security__bg {
  position: absolute;
  inset: 0;
}
.security__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--bg-primary), rgba(26, 26, 46, 0.4), var(--bg-primary));
}
.security__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top left, rgba(231, 76, 60, 0.05), transparent, rgba(201, 168, 76, 0.05));
}
.security__pulse-border {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0.5rem;
  right: 0.5rem;
  border-radius: 1rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  animation: pulseGlow 3s ease-in-out infinite;
}
.security__inner {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
}
.security__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.sec-card {
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.sec-card__icon {
  margin-bottom: 1rem;
  color: var(--gold);
}
.sec-card__title {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}
.sec-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.sec-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}
.sec-card__dot {
  margin-top: 0.375rem;
  width: 4px;
  height: 4px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.6);
}

/* Trust badges */
.trust-badges {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.trust-badge {
  padding: 0.375rem 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(201, 168, 76, 0.2);
  background: var(--bg-card);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-dimmed);
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.1); }
  50% { box-shadow: 0 0 40px rgba(201, 168, 76, 0.25); }
}


/* ========================================
   CERTIFICATIONS SECTION
   ======================================== */
.certs__group {
  margin-bottom: 3rem;
}
.certs__group:last-child {
  margin-bottom: 0;
}
.certs__group-label {
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.certs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.cert-card {
  padding: 1.25rem;
  border-radius: 0.75rem;
  background: var(--bg-card);
}
.cert-card__icon {
  margin-bottom: 0.75rem;
  color: var(--gold);
}
.cert-card__title {
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}
.cert-card__desc {
  font-size: 0.75rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}


/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  position: relative;
  overflow: hidden;
  padding: 6rem 1.5rem;
}
.contact__bg {
  position: absolute;
  inset: 0;
}
.contact__bg-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg-primary), rgba(17, 17, 17, 0.3), var(--bg-primary));
}
.contact__spotlight {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.05);
  filter: blur(120px);
}
.contact__inner {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  margin: 0 auto;
}
.contact__layout {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.contact__cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact__heading {
  margin-bottom: 1.5rem;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.contact__desc {
  margin-bottom: 2rem;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}
.contact__signal {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-dimmed);
}
.contact__signal svg {
  color: var(--gold);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(201, 168, 76, 0.1);
  background: rgba(17, 17, 17, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.form-group__label {
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dimmed);
}
.form-group__input,
.form-group__select,
.form-group__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: border-color 0.3s ease;
  outline: none;
}
.form-group__input::placeholder,
.form-group__textarea::placeholder {
  color: rgba(136, 136, 136, 0.5);
}
.form-group__input:focus,
.form-group__select:focus,
.form-group__textarea:focus {
  border-color: var(--gold);
}
.form-group__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888888' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form-group__select option {
  background: var(--bg-primary);
  color: var(--text-primary);
}
.form-group__textarea {
  resize: none;
}
.contact-form__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  border: none;
  background: var(--gold);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--bg-primary);
  cursor: pointer;
  transition: all 0.3s ease;
}
.contact-form__submit:hover {
  background: rgba(201, 168, 76, 0.9);
}
.contact-form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}


/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: #050505;
  padding: 4rem 1.5rem;
}
.footer__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
.footer__logo-img {
  display: block;
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
}
.footer__motto {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}
.footer__quote {
  margin-top: 1.5rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: 0.875rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.footer__dev7-link {
  display: inline-block;
  margin-bottom: 1rem;
  transition: opacity 0.3s;
}
.footer__dev7-link:hover {
  opacity: 0.8;
}
.footer__dev7-img {
  height: 100px;
  width: auto;
}
.footer__dev7-desc {
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--text-dimmed);
}
.footer__nav-title {
  margin-bottom: 1rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
}
.footer__nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__nav-link {
  font-size: 0.875rem;
  color: var(--text-dimmed);
  text-decoration: none;
  transition: color 0.3s;
}
.footer__nav-link:hover {
  color: var(--text-primary);
}
.footer__social-links {
  display: flex;
  gap: 1rem;
}
.footer__social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-dimmed);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer__social-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.footer__social-btn svg {
  width: 18px;
  height: 18px;
}
.footer__bottom {
  max-width: 1400px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__copyright {
  font-size: 0.75rem;
  color: var(--text-dimmed);
}
.footer__privacy-link {
  font-size: 0.75rem;
  color: var(--text-dimmed);
  text-decoration: none;
  transition: color 0.3s;
}
.footer__privacy-link:hover {
  color: var(--gold);
}
.footer__bottom-motto {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(201, 168, 76, 0.6);
}


/* ========================================
   RESPONSIVE — TABLET+
   ======================================== */
@media (min-width: 768px) {
  .section { padding: 6rem 3rem; }
  .nav__inner { padding: 0.5rem 3rem; }
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
  .hero__content { padding: 8rem 3rem; }
  .hero__tagline { font-size: 1.25rem; }
  .hero__cta { flex-direction: row; }

  h2.section-heading { font-size: 2.25rem; }
  .about__heading { font-size: 2.25rem; }
  .stat-card__value { font-size: 3rem; }

  .competencies__grid { grid-template-columns: repeat(2, 1fr); }
  .project-card__title { font-size: 1.875rem; }

  .security { padding: 6rem 3rem; }
  .security__pulse-border { left: 1.5rem; right: 1.5rem; }
  .security__grid { grid-template-columns: repeat(2, 1fr); }

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

  .contact { padding: 6rem 3rem; }

  .footer { padding: 4rem 3rem; }
  .footer__grid { grid-template-columns: repeat(4, 1fr); }
  .footer__bottom { flex-direction: row; }
}

/* ========================================
   RESPONSIVE — DESKTOP
   ======================================== */
@media (min-width: 1024px) {
  .section { padding: 6rem 5rem; }
  .nav__inner { padding: 0.5rem 5rem; }
  .hero__content { padding: 8rem 5rem; }

  .about__layout { flex-direction: row; gap: 3rem; }
  .about__text { width: 55%; flex: none; }
  .about__stats { width: 45%; flex: none; }

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

  .project-card__inner { flex-direction: row; padding: 2.5rem; }
  .project-card--reverse .project-card__inner { flex-direction: row-reverse; }
  .project-card__visual { width: 40%; }

  .security { padding: 6rem 5rem; }
  .security__pulse-border { left: 3rem; right: 3rem; }
  .security__grid { grid-template-columns: repeat(3, 1fr); }

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

  .contact { padding: 6rem 5rem; }
  .contact__layout { flex-direction: row; gap: 5rem; }
  .contact__cta { width: 50%; flex: none; }
  .contact-form { width: 48%; flex: none; }
  .contact__heading { font-size: 3rem; }

  .footer { padding: 4rem 5rem; }
}

/* ========================================
   PRIVACY POLICY PAGE
   ======================================== */
.privacy__heading {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.privacy__updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 3rem;
}

.privacy__content {
  max-width: 800px;
}

.privacy__content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.privacy__content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.privacy__content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1rem;
}

.privacy__content li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.privacy__content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.privacy__content a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.privacy__content a:hover {
  opacity: 0.8;
}

.privacy__content strong {
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .privacy__heading { font-size: 3rem; }
}

/* ========================================
   COOKIE BANNER
   ======================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.98), rgba(18, 18, 18, 0.95));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(200, 170, 110, 0.15);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.cookie-banner__text {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.cookie-banner__text a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}

.cookie-banner__text a:hover {
  opacity: 0.8;
}

.cookie-banner__btn {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0A0A0A;
  background: var(--gold);
  border: none;
  padding: 0.6rem 1.8rem;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  opacity: 0.85;
}

@media (min-width: 768px) {
  .cookie-banner { padding: 1.25rem 3rem; }
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
