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

:root {
  --purple-deep: #1a0a3c;
  --purple-mid: #3d1a6e;
  --purple-bright: #6b35cc;
  --gold: #c9a96e;
  --gold-light: #e8cc99;
  --gold-dim: #8a6a3a;
  --blue-accent: #4dc8e8;
  --white: #f8f4ef;
  --off-white: #ede8e0;
  --text-muted: #9a8a7a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--purple-deep);
  color: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 5%;
  background: rgba(26, 10, 60, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

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

.nav-logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(77, 200, 232, 0.4);
}

.nav-logo-text {
  font-family: 'Space Mono', monospace;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--off-white);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--gold);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--purple-deep) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 500 !important;
  opacity: 1 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(201, 169, 110, 0.4);
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 7rem 5% 5rem;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(107, 53, 204, 0.35) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 15% 80%, rgba(77, 200, 232, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 90% 10%, rgba(201, 169, 110, 0.08) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(rgba(201, 169, 110, 0.8) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 169, 110, 0.8) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1.5px;
  background: var(--blue-accent);
}

.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-headline em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(248, 244, 239, 0.7);
  max-width: 500px;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #a07830);
  color: var(--purple-deep);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201, 169, 110, 0.45);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  border: 1px solid rgba(248, 244, 239, 0.25);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
  letter-spacing: 0.04em;
}

.btn-secondary:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}

.hero-stats {
  margin-top: 5rem;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.hero-logo-float {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.hero-logo-float img {
  width: clamp(240px, 28vw, 420px);
  filter: drop-shadow(0 0 80px rgba(107, 53, 204, 0.6))
          drop-shadow(0 0 30px rgba(201, 169, 110, 0.2));
  opacity: 0.92;
}


/* ─── MARQUEE ─── */
.marquee-section {
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
  padding: 1.1rem 0;
  background: rgba(107, 53, 204, 0.08);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee-item {
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.marquee-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue-accent);
  flex-shrink: 0;
}

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

/* ─── SHARED SECTION STYLES ─── */
section {
  padding: 6rem 5%;
}

.section-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--blue-accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--blue-accent);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

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

/* ─── SERVICES ─── */
#services {
  background: rgba(61, 26, 110, 0.15);
}

.services-intro {
  max-width: 560px;
  margin-bottom: 4rem;
}

.services-intro p {
  color: rgba(248, 244, 239, 0.65);
  font-size: 1.05rem;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5px;
  background: rgba(201, 169, 110, 0.12);
  border: 1.5px solid rgba(201, 169, 110, 0.12);
  border-radius: 16px;
  overflow: hidden;
}

.service-card {
  background: rgba(26, 10, 60, 0.9);
  padding: 2.5rem 2rem;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover {
  background: rgba(61, 26, 110, 0.8);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.05));
  border: 1px solid rgba(201, 169, 110, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--white);
}

.service-card p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(248, 244, 239, 0.55);
}

.service-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  padding: 0.3rem 0.75rem;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 100px;
}

/* ─── PROCESS ─── */
#process {
  position: relative;
}

.process-header {
  max-width: 500px;
  margin-bottom: 4rem;
}

.process-header p {
  color: rgba(248, 244, 239, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  position: relative;
  padding: 2rem 1.5rem;
  border-left: 2px solid rgba(201, 169, 110, 0.2);
  transition: border-left-color 0.3s;
}

.process-step:hover {
  border-left-color: var(--gold);
}

.step-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.process-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.process-step p {
  font-size: 0.85rem;
  color: rgba(248, 244, 239, 0.55);
  line-height: 1.6;
}

/* ─── PORTFOLIO ─── */
#portfolio {
  background: rgba(26, 10, 60, 0.5);
}

.portfolio-header {
  margin-bottom: 3rem;
}

.portfolio-header p {
  color: rgba(248, 244, 239, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin-top: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 12px;
}

.port-item {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: var(--purple-mid);
  border: 1px solid rgba(201, 169, 110, 0.12);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
}

.port-item:hover {
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.port-item:nth-child(1) { grid-column: span 5; }
.port-item:nth-child(2) { grid-column: span 4; }
.port-item:nth-child(3) { grid-column: span 3; }
.port-item:nth-child(4) { grid-column: span 3; }
.port-item:nth-child(5) { grid-column: span 5; }
.port-item:nth-child(6) { grid-column: span 4; }

.port-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 10, 60, 0.95) 0%, rgba(26, 10, 60, 0.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

.port-type {
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.port-title {
  font-size: 0.95rem;
  font-weight: 500;
}

.port-pattern-1 { background: linear-gradient(135deg, #2d1060 0%, #5a20a0 50%, #8b40d0 100%); }
.port-pattern-2 { background: linear-gradient(225deg, #1a0a3c 0%, #3d1a6e 60%, #0a2060 100%); }
.port-pattern-3 { background: linear-gradient(45deg,  #0a1a3c 0%, #1a3a6e 100%); }
.port-pattern-4 { background: linear-gradient(315deg, #3d1a0a 0%, #6e2a10 60%, #3d1a6e 100%); }
.port-pattern-5 { background: linear-gradient(135deg, #0a2040 0%, #204080 50%, #1a1060 100%); }
.port-pattern-6 { background: linear-gradient(225deg, #1a1060 0%, #4040a0 60%, #2a0a40 100%); }

.port-deco {
  position: absolute;
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  font-style: italic;
  color: rgba(201, 169, 110, 0.08);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}

/* ─── PRICING ─── */
.pricing-header {
  max-width: 500px;
  margin-bottom: 3.5rem;
}

.pricing-header p {
  color: rgba(248, 244, 239, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 1rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
}

.price-card {
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  background: rgba(61, 26, 110, 0.2);
  transition: border-color 0.3s;
}

.price-card:hover {
  border-color: rgba(201, 169, 110, 0.4);
}

.price-card.featured {
  background: linear-gradient(160deg, rgba(107, 53, 204, 0.35) 0%, rgba(61, 26, 110, 0.45) 100%);
  border-color: rgba(201, 169, 110, 0.45);
}

.price-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: var(--purple-deep);
  font-family: 'Space Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.price-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.price-desc {
  font-size: 0.85rem;
  color: rgba(248, 244, 239, 0.5);
  margin-bottom: 2rem;
  line-height: 1.5;
}

.price-amount {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.price-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-muted);
}

.price-divider {
  height: 1px;
  background: rgba(201, 169, 110, 0.15);
  margin: 1.75rem 0;
}

.price-features {
  list-style: none;
}

.price-features li {
  font-size: 0.87rem;
  color: rgba(248, 244, 239, 0.75);
  padding: 0.45rem 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.price-features li::before {
  content: '✓';
  color: var(--gold);
  font-size: 0.8rem;
  flex-shrink: 0;
}

.price-cta {
  display: block;
  width: 100%;
  margin-top: 2rem;
  padding: 0.85rem;
  border-radius: 100px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.price-cta.outline {
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.35);
  color: var(--white);
}

.price-cta.outline:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.08);
}

.price-cta.solid {
  background: linear-gradient(135deg, var(--gold), #9a6828);
  border: none;
  color: var(--purple-deep);
}

.price-cta.solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.4);
}

/* ─── CONTACT ─── */
#contact {
  background: rgba(61, 26, 110, 0.12);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  max-width: 960px;
}

.contact-left .section-title {
  margin-bottom: 1.25rem;
}

.contact-left > p {
  color: rgba(248, 244, 239, 0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(201, 169, 110, 0.1);
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-text {
  font-size: 0.9rem;
  color: rgba(248, 244, 239, 0.7);
}

.contact-info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(61, 26, 110, 0.3);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201, 169, 110, 0.5);
}

.form-group select {
  cursor: pointer;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(248, 244, 239, 0.25);
}

.form-group select option {
  background: #2a0f50;
}

.form-submit {
  background: linear-gradient(135deg, var(--gold), #9a6828);
  color: var(--purple-deep);
  padding: 1rem;
  border-radius: 100px;
  border: none;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.04em;
  margin-top: 0.5rem;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201, 169, 110, 0.4);
}

/* ─── FOOTER ─── */
footer {
  padding: 3rem 5% 2rem;
  border-top: 1px solid rgba(201, 169, 110, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.footer-brand-text {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-logo-float {
    display: none;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .portfolio-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .port-item:nth-child(n) {
    grid-column: span 1;
  }

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

  footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
