/* ===== Design system — Neural Luxe ===== */
:root {
  --color-bg: #070b12;
  --color-bg-deep: #04070d;
  --color-surface: rgba(255, 255, 255, 0.045);
  --color-surface-solid: #111827;
  --color-surface-elevated: rgba(255, 255, 255, 0.075);
  --color-white: #f0f4fa;
  --color-navy: #e8edf5;
  --color-navy-light: #94a3b8;
  --color-text: #c5cdd9;
  --color-text-muted: #6b7a90;
  --color-gold: #e8b04a;
  --color-gold-hover: #f5c85a;
  --color-accent-cyan: #38bdf8;
  --color-accent-violet: #a78bfa;
  --color-accent-emerald: #34d399;
  --color-accent-rose: #fb7185;
  --color-accent-amber: #fbbf24;
  --color-border: rgba(255, 255, 255, 0.08);

  --font-heading: 'Instrument Serif', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --heading-xl: clamp(2.5rem, 4.5vw, 3.75rem);
  --heading-lg: clamp(2rem, 3vw, 2.625rem);
  --heading-md: clamp(1.3125rem, 1.8vw, 1.5rem);
  --heading-sm: 1.1875rem;

  --radius-card: 18px;
  --shadow-card: 0 4px 32px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  --shadow-card-hover: 0 12px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);

  --container: 1040px;
  --header-height: 80px;
  --section-gap: 120px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 60% at 10% -5%, rgba(56, 189, 248, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 5%, rgba(167, 139, 250, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse 60% 55% at 50% 105%, rgba(232, 176, 74, 0.08) 0%, transparent 55%),
    linear-gradient(180deg, var(--color-bg-deep) 0%, var(--color-bg) 40%, #0a1019 100%);
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 75%);
  pointer-events: none;
}

h1, h2, h3, h4,
.section__title,
.hero__title,
.hero__name,
.help-card h3,
.step__content h3,
.service-card h3,
.about__name,
.heading-sm,
.faq-item summary,
.portfolio-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--color-navy);
}

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

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}

ul, ol {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-gap) 0;
}

.section--alt {
  background-color: transparent;
}

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

.section__title {
  font-size: var(--heading-lg);
  margin-bottom: 48px;
  max-width: 20ch;
}

.section__title::after {
  content: '';
  display: block;
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent-cyan));
  margin-top: 24px;
  border-radius: 2px;
}

.section__title--wide {
  max-width: none;
}

.section__title--light {
  color: var(--color-white);
}

.section__title--light::after {
  background: var(--color-gold);
}

.section-header .section__title {
  margin-bottom: 16px;
}

.section-header .section__title::after {
  margin-top: 20px;
}

.section__subtitle {
  font-family: var(--font-heading);
  font-size: var(--heading-sm);
  font-weight: 500;
  font-style: italic;
  color: var(--color-text-muted);
}

.section__lead {
  font-size: 1.0625rem;
  margin-bottom: 48px;
  color: var(--color-text-muted);
  max-width: 52ch;
}

.section__cta {
  margin-top: 56px;
  text-align: center;
}

.heading-sm {
  font-size: var(--heading-sm);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9375rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, box-shadow 0.25s, color 0.25s;
  text-decoration: none;
  white-space: nowrap;
}

.btn--sm {
  padding: 11px 24px;
  font-size: 0.875rem;
}

.btn--lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-gold) 0%, #d4952e 100%);
  color: var(--color-bg-deep);
  box-shadow: 0 4px 24px rgba(232, 176, 74, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-gold-hover) 0%, var(--color-gold) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 176, 74, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  color: var(--color-bg-deep);
}

.btn--outline {
  background: transparent;
  color: var(--color-navy);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-accent-cyan);
  color: var(--color-accent-cyan);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(7, 11, 18, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: var(--color-text);
}

.logo__name {
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  background: linear-gradient(135deg, var(--color-white) 0%, var(--color-accent-cyan) 120%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo__tagline {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.logo:hover .logo__name {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-accent-cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.nav {
  display: flex;
  gap: 8px;
}

.nav a {
  position: relative;
  color: var(--color-text-muted);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.3s var(--ease-out);
}

.nav a:nth-child(1)::before { background: var(--color-accent-cyan); }
.nav a:nth-child(2)::before { background: var(--color-accent-violet); }
.nav a:nth-child(3)::before { background: var(--color-accent-emerald); }
.nav a:nth-child(4)::before { background: var(--color-accent-amber); }
.nav a:nth-child(5)::before { background: var(--color-accent-rose); }

.nav a:nth-child(1):hover,
.nav a:nth-child(1):focus-visible {
  color: var(--color-accent-cyan);
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.12);
}

.nav a:nth-child(2):hover,
.nav a:nth-child(2):focus-visible {
  color: var(--color-accent-violet);
  background: rgba(167, 139, 250, 0.08);
  border-color: rgba(167, 139, 250, 0.2);
  box-shadow: 0 0 20px rgba(167, 139, 250, 0.12);
}

.nav a:nth-child(3):hover,
.nav a:nth-child(3):focus-visible {
  color: var(--color-accent-emerald);
  background: rgba(52, 211, 153, 0.08);
  border-color: rgba(52, 211, 153, 0.2);
  box-shadow: 0 0 20px rgba(52, 211, 153, 0.12);
}

.nav a:nth-child(4):hover,
.nav a:nth-child(4):focus-visible {
  color: var(--color-accent-amber);
  background: rgba(251, 191, 36, 0.08);
  border-color: rgba(251, 191, 36, 0.2);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.12);
}

.nav a:nth-child(5):hover,
.nav a:nth-child(5):focus-visible {
  color: var(--color-accent-rose);
  background: rgba(251, 113, 133, 0.08);
  border-color: rgba(251, 113, 133, 0.2);
  box-shadow: 0 0 20px rgba(251, 113, 133, 0.12);
}

.nav a:hover::before {
  width: 60%;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
  padding: calc(var(--header-height) + 80px) 0 var(--section-gap);
  background: transparent;
  position: relative;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero__content > * {
  animation: fadeUp 0.8s var(--ease-out) backwards;
}

.hero__content > *:nth-child(1) { animation-delay: 0.05s; }
.hero__content > *:nth-child(2) { animation-delay: 0.1s; }
.hero__content > *:nth-child(3) { animation-delay: 0.15s; }
.hero__content > *:nth-child(4) { animation-delay: 0.2s; }
.hero__content > *:nth-child(5) { animation-delay: 0.26s; }
.hero__content > *:nth-child(6) { animation-delay: 0.32s; }
.hero__content > *:nth-child(7) { animation-delay: 0.38s; }
.hero__content > *:nth-child(8) { animation-delay: 0.44s; }
.hero__content > *:nth-child(9) { animation-delay: 0.5s; }

.hero__content > .hero__title {
  animation: none;
}

.hero__name {
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  margin-bottom: 8px;
}

.hero__tagline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: 32px;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.hero__title {
  font-size: var(--heading-xl);
  line-height: 1.1;
  margin-bottom: 32px;
}

.hero__title.blur-text {
  animation: none;
}

.blur-text__line {
  display: block;
}

.blur-text__segment {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  color: inherit;
}

.hero__text {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  max-width: 480px;
}

.hero__note {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: 40px;
  padding-left: 20px;
  border-left: 2px solid transparent;
  border-image: linear-gradient(180deg, var(--color-gold), var(--color-accent-violet)) 1;
  letter-spacing: 0;
  line-height: 1.5;
}

.hero__hint {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  max-width: 440px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeUp 0.9s var(--ease-out) 0.15s backwards;
}

.hero__photo-wrap {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover), 0 0 60px rgba(56, 189, 248, 0.08);
  max-width: 380px;
  width: 100%;
  background: var(--color-surface-solid);
  border: 1px solid var(--color-border);
  position: relative;
  z-index: 2;
}

.hero__photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 280px;
  height: 280px;
  top: -10%;
  right: -5%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.35) 0%, transparent 70%);
}

.hero__orb--2 {
  width: 220px;
  height: 220px;
  bottom: 5%;
  left: -10%;
  background: radial-gradient(circle, rgba(167, 139, 250, 0.3) 0%, transparent 70%);
  animation-delay: -4s;
}

.hero__card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: absolute;
  bottom: 8%;
  right: -8%;
  z-index: 3;
  max-width: 200px;
  padding: 18px 20px;
  background: rgba(7, 11, 18, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  font-size: 0.8125rem;
  color: var(--color-text);
  line-height: 1.45;
}

.hero__card-icon {
  color: var(--color-gold);
  font-size: 1rem;
  flex-shrink: 0;
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(12px, -16px) scale(1.06); }
}

/* ===== Check Grid ===== */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.check-grid--2 {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.check-grid li {
  position: relative;
  padding: 22px 22px 22px 52px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.check-grid li:hover {
  border-color: rgba(56, 189, 248, 0.2);
  box-shadow: var(--shadow-card-hover);
}

.check-grid li::before {
  content: '✓';
  position: absolute;
  left: 22px;
  top: 22px;
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ===== Help Cards ===== */
.help-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.help-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.help-card:hover {
  border-color: rgba(167, 139, 250, 0.25);
  transform: translateY(-2px);
}

.help-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-violet), var(--color-accent-cyan));
}

.help-card h3 {
  font-size: var(--heading-md);
  margin-bottom: 12px;
}

.help-card__arrow {
  color: var(--color-navy-light);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 12px;
  line-height: 1;
}

.help-card p:last-child {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ===== Bullet List ===== */
.bullet-list li {
  position: relative;
  padding: 12px 0 12px 24px;
  color: var(--color-text-muted);
}

.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.25em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-gold);
}

.bullet-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: 40px;
}

.bullet-list--inline li {
  padding-left: 16px;
}

/* ===== Steps ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.step {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step__num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(167, 139, 250, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--color-accent-cyan);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  border-radius: 50%;
}

.step__content h3 {
  font-size: var(--heading-md);
  margin-bottom: 12px;
}

.step__content p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ===== Services ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px 32px 32px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-accent-emerald));
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: rgba(232, 176, 74, 0.25);
}

.service-card h3 {
  font-size: var(--heading-md);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  flex-grow: 1;
}

.service-card__price {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-family: var(--font-mono);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-gold);
  letter-spacing: 0.02em;
}

/* ===== Vibecode ===== */
.vibecode {
  padding-top: 0;
}

.vibecode__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px 64px;
  align-items: start;
  padding: 56px 64px;
  background: var(--color-surface);
  border: 1px solid rgba(167, 139, 250, 0.2);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card), 0 0 80px rgba(167, 139, 250, 0.06);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
}

.vibecode__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-violet), var(--color-accent-cyan), var(--color-gold));
}

.vibecode__intro .section__title {
  margin-bottom: 24px;
}

.vibecode__text {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  max-width: 44ch;
}

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

.vibecode__list li {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  box-shadow: none;
}

/* ===== About ===== */
.about {
  background: transparent;
}

.about .section__title {
  margin-bottom: 64px;
}

.about__inner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: start;
}

.about__frame {
  margin: 0;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card-hover);
  aspect-ratio: 4 / 5;
  max-width: 420px;
}

.about__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about__name {
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  margin-bottom: 8px;
  color: var(--color-navy);
}

.about__tagline {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-violet);
  margin-bottom: 40px;
}

.about__highlights {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  padding: 32px 36px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  border-left: 3px solid transparent;
  border-image: linear-gradient(180deg, var(--color-gold), var(--color-accent-cyan)) 1;
  backdrop-filter: blur(8px);
}

.about__highlights li {
  font-size: 1.0625rem;
  color: var(--color-text);
  line-height: 1.5;
}

.about__highlights strong {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1875rem;
  color: var(--color-gold);
}

.about__content p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.about__quote {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-text) !important;
  padding: 28px 0 0;
  margin-top: 12px;
  border-top: 1px solid var(--color-border);
  line-height: 1.45;
  letter-spacing: -0.01em;
}

/* ===== Portfolio ===== */
.portfolio-showcase {
  margin-top: 3rem;
}

.portfolio-subsection {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--color-border);
}

.portfolio-subsection__title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.portfolio-subsection__lead {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.65;
}

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

.portfolio-grid--bots {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 420px;
}

.portfolio-card__desc {
  display: block;
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 1.5rem;
  margin-top: -0.5rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.portfolio-card:hover .portfolio-card__desc {
  opacity: 0;
}

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

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 280px;
  padding: 0;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: box-shadow 0.35s var(--ease-out), transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out);
}

.portfolio-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-bottom: 1px solid var(--color-border);
}

.portfolio-card__image--table {
  height: 240px;
  object-fit: contain;
  object-position: top center;
  background: #ffffff;
  padding: 0.5rem;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-emerald), var(--color-accent-cyan));
}

.portfolio-card:nth-child(4),
.portfolio-card:nth-child(5) {
  grid-column: span 1;
}

.portfolio-card__title {
  font-size: var(--heading-md);
  color: var(--color-navy);
  position: relative;
  z-index: 1;
  padding: 1.25rem 1.5rem 1.5rem;
  margin-top: auto;
  transition: opacity 0.3s, transform 0.3s var(--ease-out);
}

.portfolio-card__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 7, 13, 0.88);
  backdrop-filter: blur(4px);
  color: var(--color-accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.portfolio-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.portfolio-card:hover .portfolio-card__hover {
  opacity: 1;
}

.portfolio-card:hover .portfolio-card__title {
  opacity: 0;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(8px);
}

.price-item__name {
  font-size: 0.9375rem;
  color: var(--color-text);
}

.price-item__value {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--color-gold);
  white-space: nowrap;
}

.pricing-note {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ===== Reviews ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}

.review-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent-rose), var(--color-accent-violet));
}

.review-card p {
  font-size: 0.9375rem;
  margin-bottom: 14px;
  color: var(--color-text-muted);
}

.review-card strong {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-navy);
}

.review-card__after {
  color: var(--color-text) !important;
}

.review-card__author {
  margin-top: 20px;
  margin-bottom: 0 !important;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.9375rem !important;
  color: var(--color-navy) !important;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition: border-color 0.3s var(--ease-out);
}

.faq-item[open] {
  border-color: rgba(56, 189, 248, 0.2);
}

.faq-item summary {
  padding: 24px 32px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: var(--heading-sm);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 32px 28px;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* ===== Contact ===== */
.contact {
  background:
    radial-gradient(ellipse 80% 60% at 20% 100%, rgba(56, 189, 248, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 0%, rgba(232, 176, 74, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #0a1019 0%, #050810 100%);
  color: var(--color-white);
  border-top: 1px solid var(--color-border);
  position: relative;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__content p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.contact__promises {
  margin: 32px 0 40px;
}

.contact__promises li {
  font-family: var(--font-heading);
  font-size: 1.3125rem;
  font-weight: 500;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 0;
}

.contact__info {
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-card);
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__info h3 {
  color: var(--color-white);
  margin-bottom: 32px;
}

.contact__info ul li {
  margin-bottom: 24px;
}

.contact__label {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 6px;
}

.contact__info a {
  color: var(--color-white);
  font-weight: 500;
}

.contact__info a:hover {
  color: var(--color-gold);
}

/* ===== Footer ===== */
.footer {
  padding: 32px 0;
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  text-align: center;
}

/* ===== Animations ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  :root {
    --section-gap: 88px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__photo-wrap {
    max-width: 320px;
    margin: 0 auto;
  }

  .hero__card {
    right: 0;
    bottom: -5%;
    max-width: 180px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__visual {
    order: -1;
  }

  .about__frame {
    max-width: 360px;
    margin: 0 auto;
  }

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

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

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .vibecode__panel {
    grid-template-columns: 1fr;
    padding: 40px 32px;
    gap: 40px;
  }

  .nav {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(7, 11, 18, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px 32px 32px;
    gap: 8px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-card-hover);
  }

  .nav--open { display: flex; }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
  }
  .burger { display: flex; }
  .header .btn--sm { display: none; }
  .logo__tagline { display: none; }
}

@media (max-width: 600px) {
  :root {
    --section-gap: 72px;
  }

  .container {
    padding: 0 20px;
  }

  .help-cards,
  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  .price-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .section__title {
    max-width: none;
  }

  .portfolio-card {
    min-height: 180px;
  }

  .hero__card {
    display: none;
  }
}
