:root {
  --bg:#1E1E1E;              
  --bg-2:#151515;
  --card:#232323;
  --border:#2b2b2b;
  --purple:#5A2D82;           
  --cyan:#00FFFF;             
  --text:#EAEAEA;
  --muted:#B9B9B9;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
  --radius:16px;
  --radius-sm:12px;
  --maxw:1100px;
  --g:20px;
}

* { box-sizing:border-box }
html,body {
  margin:0;
  padding:0;
  background:linear-gradient(120deg, #18181c 0%, #23232a 100%);
  color:#f5f5f7;
  min-height:100vh;
  position:relative;
  font-family:'Inter', 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 80px; 
}
img { max-width:100%; display:block }
a { color:inherit; text-decoration:none }
.container { max-width:var(--maxw); margin:0 auto; padding:0 20px }

/* Background texture + animated gradient film */
body::before {
  content:"";
  position:fixed; inset:0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(90,45,130,.18), transparent 55%),
    radial-gradient(800px 400px at -10% 60%, rgba(255,0,255,.1), transparent 60%),
    linear-gradient(135deg, rgba(255,255,255,.02) 0%, rgba(0,0,0,.02) 100%);
  pointer-events:none; z-index:-1;
  animation:floatGrad 18s ease-in-out infinite alternate;
}
@keyframes floatGrad {
  0% { transform:translateY(0) }
  100% { transform:translateY(-20px) }
}
.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.07;
  background: url('https://www.transparenttextures.com/patterns/noise.png');
  mix-blend-mode: overlay;
}
/* Base animation states */
.fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left {
  transform: translateX(-30px);
}

.fade-in-right {
  transform: translateX(30px);
}

/* When visible */
.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* HEADER: sticky, sleek, blurred */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(24,24,28,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
}

/* NAV CONTAINER: flex for desktop, column for mobile */
.container.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7em 1.5em;
  max-width: 1200px;
  margin: 0 auto;
}

/* Brand block: logo, name, slogan */
.brand {
  display: flex;
  align-items: center;
  gap: 1em;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #00ffe1;
  margin: 0;
  font-size: 2em;
  letter-spacing: 0.02em;
}

.brand-slogan {
  font-size: 1.1em;
  color: #a855f7;
  margin: 0;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

/* Logo gradient glow */
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  position: relative;
  background: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0;
}
.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 1;
  filter:
    drop-shadow(0 0 8px #00ffe1)
    drop-shadow(0 0 16px #a855f7);
}
.logo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at 60% 40%, #00ffe1 0%, #a855f7 80%, transparent 100%);
  opacity: 0.35;
  filter: blur(8px);
}

/* NAV LIST: horizontal desktop, vertical mobile */
nav ul#navlist {
  display: flex;
  gap: 2em;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav ul#navlist li a {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 600;
  font-size: 1.05em;
  color: #00ffe1;
  text-decoration: none;
  padding: 0.5em 1em;
  border-radius: 0.7em;
  transition: background 0.2s, color 0.2s;
}

nav ul#navlist li a:hover,
nav ul#navlist li a:focus {
  background: #23232a;
  color: #a855f7;
}

/* Hamburger button: only mobile */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
  position: relative;
}
.burger span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: #00ffe1;
  border-radius: 2px;
  transition: all 0.4s cubic-bezier(.4,2,.3,1);
}
.burger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* MOBILE HEADER & NAV */
@media (max-width: 900px) {
  .container.nav {
    flex-direction: column;
    align-items: stretch;
    padding: 0.7em 1em;
  }
  .brand {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7em;
    width: 100%;
    margin-bottom: 0.3em;
  }
  .brand-title {
    font-size: 1.3em;
  }
  .brand-slogan {
    font-size: 1em;
  }
  nav {
    width: 100%;
    position: relative;
  }
  .burger {
    display: inline-flex;
    margin-left: 1em;
    z-index: 102;
  }
  nav ul#navlist {
    flex-direction: column;
    gap: 1.2em;
    align-items: center;
    padding: 2em 1.5em 2em 1.5em;
    background: rgba(35,35,42,0.98);
    box-shadow: 0 8px 32px rgba(0,255,225,0.08);
    position: fixed;
    left: 0;
    top: 54px; 
    width: 100vw;
    z-index: 101;
    border-radius: 0 0 1.5em 1.5em;
    backdrop-filter: blur(8px);
    display: none;
  }
  nav ul#navlist.open {
    display: flex;
  }
  nav ul#navlist li {
    margin: 0;
  }
  nav ul#navlist li a {
    font-size: 1.15em;
    font-weight: 600;
    padding: 0.7em 1.2em;
    color: #00ffe1;
    background: none;
    border-radius: 0.7em;
    transition: background 0.2s, color 0.2s;
  }
  nav ul#navlist li a:hover,
  nav ul#navlist li a:focus {
    background: #23232a;
    color: #a855f7;
  }
}

/* Prevent nav covering content */
@media (max-width: 900px) {
  header {
    min-height: 54px;
  }
  .container.nav {
    min-height: 54px;
  }
}

/* Hero */
.hero { padding:80px 0 }
.hero-inner { display:grid; grid-template-columns:1.1fr .9fr; gap:40px; align-items:center }
.eyebrow { color:var(--muted); font-size:.9rem; letter-spacing:.12em; text-transform:uppercase }
.glitch {
  font-family:Montserrat,Inter,sans-serif;
  font-weight:800; line-height:1.1; margin:.2em 0;
  font-size: clamp(2rem, 3.6vw, 3rem);
  position:relative;
  text-shadow:0 0 0 transparent, 0 0 16px rgba(90,45,130,.35), 0 0 28px rgba(0,255,255,.15);
}
.glitch::after, .glitch::before {
  content:attr(data-text); position:absolute; left:0; top:0; clip-path:inset(0 0 0 0);
  color:#fff; opacity:.08;
}
.glitch::before { transform:translate(2px,0); color:var(--cyan) }
.glitch::after { transform:translate(-2px,0); color:var(--magenta) }
.sub { color:#DCDCDC; max-width:52ch; margin-bottom:18px }
.cta-row { display:flex; gap:14px; flex-wrap:wrap }
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:12px 18px; border-radius:12px; border:1px solid #6c36a0;
  background:var(--purple); color:#fff;
  box-shadow:0 0 20px rgba(90,45,130,.45);
  transition:transform .15s ease, box-shadow .2s ease;
}
.btn:hover { transform:translateY(-1px); box-shadow:0 0 28px rgba(90,45,130,.7), 0 0 10px rgba(0,255,255,.25) }
.btn-ghost { background:transparent; border:1px solid var(--border); color:#eaeaea }
.btn-ghost:hover { border-color:#3a3a3a; box-shadow:0 0 16px rgba(255,0,255,.25) }
.hero-card {
  background:linear-gradient(180deg, rgba(35,35,35,.85), rgba(21,21,21,.85));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:22px;
  box-shadow:var(--shadow);
}
.hero-grid { display:grid; gap:12px; grid-template-columns:repeat(6,1fr) }
.hg {
  background:linear-gradient(160deg, #252525, #1a1a1a);
  border:1px solid #2a2a2a; border-radius:14px; height:90px; position:relative; overflow:hidden;
}

.hg::after {
  content:""; position:absolute; inset:-40% -40% auto auto; height:140%;
  background:radial-gradient(300px 140px at 10% 10%, rgba(0,255,255,.15), transparent 55%),
             radial-gradient(220px 120px at 90% 80%, rgba(255,0,255,.1), transparent 60%);
  mix-blend-mode:screen; opacity:.8;
}
#rotating-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  line-height: 1.4;
  color: #00ffe1;
}

.typed-line {
  white-space: nowrap;
  opacity: 1;
  transition: opacity 1s ease;
}

.fade-out {
  opacity: 0;
}

/* --- HERO ENHANCEMENTS --- */
.hero {
  position: relative;
  background: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, #00ffe1 0%, transparent 70%);
  filter: blur(8px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--muted);
  min-height: 1.5em;
}

.hero-ctas {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #0b0b0f;
}

.btn-ghost {
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,255,255,0.25);
}


/* ===== About Section ===== */
.about-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #0a0f12 0%, #0f2f36 100%);
  color: #fff;
}

.about-section .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3rem;
}

.about-text {
  flex: 1 1 400px;
}

.about-text h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #00ffe1;
  margin-bottom: 1.5rem;
  position: relative;
}

.about-text h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #00ffe1;
  border-radius: 2px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #d6f5f2;
  margin-bottom: 1rem;
}

/* ===== About Images ===== */
.about-section {
  padding: 5rem 1rem;
  background: none; 
  color: #fff;
}

.about-section .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 3rem;
   grid-template-rows: 1fr 0.85fr;
    gap: 0.75rem;
  
}

.about-text {
  flex: 1 1 400px;
}

.about-images {
  flex: 1 1 350px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); 
  gap: 0.5rem; 
  
}

.img-box {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 225, 0.25);
  box-shadow: 0 2px 12px rgba(0, 255, 225, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Image styling */
.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) contrast(1.1);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.img-box:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 225, 0.5);
  box-shadow: 0 8px 20px rgba(0, 255, 225, 0.2);
}

.img-box:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.1);
}
/* Top row boxes (portraits) keep border */
.img-box:nth-child(1),
.img-box:nth-child(2) {
  border: 1px solid rgba(0, 255, 225, 0.25);
}

/* Bottom row boxes (badge + flag) no border */
.img-box:nth-child(3),
.img-box:nth-child(4) {
  border: none;
  box-shadow: none;
  margin-top: 0.2rem;
}
/* Responsive: keep perfect fit on mobile */
@media (max-width: 768px) {
  .about-images {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    justify-content: center;
  }

  /* Top two images stay the same */
  .about-images .img-box:nth-child(1),
  .about-images .img-box:nth-child(2) {
    width: 140px;
    height: 140px;
  }

  /* Bottom two images smaller */
  .about-images .img-box:nth-child(3),
  .about-images .img-box:nth-child(4) {
    width: 110px;
    height: 110px;
  }
}
/* Animation base */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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



/* --- BUTTON MICRO-INTERACTIONS --- */
.btn {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0,255,255,0.25), 0 0 10px rgba(90,45,130,0.4);
}

/* --- CARD HOVER --- */
.card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px rgba(0,255,255,0.08);
}

/* --- PORTFOLIO ITEM HOVER --- */
.work {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.work:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.work .thumb {
  position: relative;
  overflow: hidden;
}
.work .thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.work:hover .thumb::after {
  opacity: 1;
}

/* --- SCROLL REVEAL BASE STATE --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* Sections */
section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background: none;
  scroll-snap-align: start;
  min-height: 100vh;
  display: flex;
  align-items: center;
  transition: box-shadow 0.4s, background 0.4s;
  box-shadow: 0 0 0 transparent;
}

section:target, section:focus-within {
  box-shadow: 0 8px 32px rgba(0,255,225,0.08);
  background: rgba(24,24,28,0.98);
}

section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.12;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, #00ffe1 0%, transparent 70%);
}

section { padding:60px 0; border-top:1px solid var(--border) }
.section-title {
  font-family:Montserrat,Inter,sans-serif; font-size:1.6rem; margin:0 0 16px; font-weight:800;
}
.lead { color:#d7d7d7; max-width:70ch; margin:0 0 26px }

/* Services + Pricing */
.pricing-grid { display:grid; gap:20px; grid-template-columns:repeat(3,1fr) }
.card {
  background:linear-gradient(180deg, #232323, #191919);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  position:relative;
  overflow:hidden;
}
.card::before {
  content:"";
  position:absolute;
  inset:0;
  border-radius:inherit;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(0,255,255,.06),
             inset 0 0 60px rgba(90,45,130,.08);
}
.card h3 { margin:6px 0 6px; font-weight:700 }
.price { font-weight:800; font-size:1.25rem; color:#fff }
.include { color:#cfcfcf; font-size:.95rem; margin:12px 0 16px }
.pill {
  display:inline-block;
  font-size:.75rem;
  color:#9ad;
  border:1px solid #334;
  padding:4px 8px;
  border-radius:999px;
  margin-right:8px;
  background:#1a1f26;
}
.card .btn { width:100% }

/* Portfolio */
.portfolio {
  display:grid;
  gap:20px;
  grid-template-columns:repeat(3,1fr);
}
.work {
   background: rgba(255, 255, 255, 0.03);;
  border:1px solid var(--border);
  border-radius:var(--radius-sm);
  overflow:hidden;
}
.work .thumb {
  height:160px;
  background:#262626;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#777;
  font-size:.9rem;
}
.work .meta { padding:14px }
.work .meta h4 { margin:0 0 6px }
.badge {
  display:inline-block;
  font-size:.75rem;
  color:#bfb;
  border:1px solid #354;
  padding:3px 8px;
  border-radius:999px;
  background:#182418;
  margin-top:4px;
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column; 
  gap: 2rem;            
}

.testimonial {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 225, 0.15);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 255, 225, 0.15);
  border-color: rgba(0, 255, 225, 0.4);
}

.testimonial p {
  font-size: 1rem;
  line-height: 1.6;
  color: #d6f5f2;
  margin-bottom: 1rem;
}

.author .info strong {
  font-size: 1rem;
  font-weight: 600;
  color: #00ffe1;
}

/* Fade-in animations */
.fade-in-left {
  animation: fadeInLeft 0.8s ease forwards;
}
.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}
.fade-in-right {
  animation: fadeInRight 0.8s ease forwards;
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .testimonials-section .section-title {
    font-size: 1.8rem;
  }
  .testimonial {
    padding: 1.5rem;
  }
}


/* Contact */
.contact-card {
  background: linear-gradient(180deg, #1a1a1a, #151515);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  font-size: 0.95rem;
  color: var(--muted);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.contact-card p {
  margin: 0;
  line-height: 1.5;
}

.contact-card strong {
  color: var(--cyan);
  font-weight: 600;
}

.contact-card .social {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.contact-card .social a {
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 8px;
  background: #2a2a2a;
  border: 1px solid var(--border);
  color: var(--text);
  transition: background 0.2s ease;
}

.contact-card .social a:hover {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 10px rgba(90, 45, 130, 0.4);
}

.quote-summary {
  margin: 20px 0;
  font-size: 1.1rem;
  color: var(--cyan);
}
fieldset {
  border: none;
  margin-bottom: 16px;
}
fieldset label {
  display: block;
  margin-bottom: 8px;
}
/* Unified form styling */
form {
  background: linear-gradient(180deg, #1a1a1a, #151515);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.05);
}

/* Labels */
form label {
  display: block;
  font-weight: 600;
  margin: 18px 0 6px;
  color: var(--text);
}

/* Inputs and Textareas */
form input[type="text"],
form input[type="email"],
form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #121212;
  color: var(--text);
  font-size: 0.95rem;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

form input:focus,
form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 10px rgba(90, 45, 130, 0.4);
  outline: none;
}

/* Select dropdowns */
form select {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #333;
  background: #121212;
  color: var(--text);
  font-size: 0.95rem;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg fill='white' viewBox='0 0 20 20'%3E%3Cpath d='M5.25 7.5L10 12.25L14.75 7.5H5.25Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
}

form select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 10px rgba(90, 45, 130, 0.4);
  outline: none;
}

/* Fieldset and checkboxes */
fieldset {
  border: none;
  margin: 20px 0;
}

fieldset legend {
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}

fieldset label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--muted);
}

fieldset input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--purple);
  border-radius: 4px;
}

/* Quote summary */
.quote-summary {
  margin: 24px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cyan);
  background: #1e1e1e;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: inset 0 0 10px rgba(0,255,255,0.05);
}

/* Submit button */
form button[type="submit"] {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  background: var(--purple);
  color: white;
  border: 1px solid #6c36a0;
  box-shadow: 0 0 20px rgba(90, 45, 130, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

form button[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 28px rgba(90, 45, 130, 0.7), 0 0 10px rgba(0, 255, 255, 0.25);
}


/* Footer */
footer {
  background: linear-gradient(120deg, #18181c 0%, #23232a 100%);
  border-top: 1px solid #23232a;
  box-shadow: 0 -2px 24px rgba(0,255,225,0.08);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.footer-accent {
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 80vw; height: 60px;
  background: radial-gradient(ellipse 60% 40% at 50% 0, #00ffe1 0%, transparent 80%);
  opacity: 0.13;
  pointer-events: none;
  z-index: 0;
}

.footer-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #00ffe1 0%, #a855f7 100%);
  border-radius: 2px;
  margin: 0.7em 0 0.2em 0;
  opacity: 0.18;
}

.footer .logo img {
  filter: drop-shadow(0 2px 8px #00ffe1aa);
}

.footer-bg-icon {
  position: absolute;
  bottom: -20px; right: 10vw;
  width: 80px; height: 80px;
  background: url('logo.png') center/contain no-repeat;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
}

.footer .brand-title, .footer h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #00ffe1;
  margin: 0;
  font-size: 2em;
  letter-spacing: 0.02em;
}

.footer .tagline, .footer .brand-slogan {
  font-size: 1.1em;
  color: #a855f7;
  margin: 0;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.footer .copyright {
  font-size: 0.95em;
  color: #888;
  z-index: 1;
}

/* Footer base styles (desktop) */
.footer .container.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7em;
  padding: 2em 0;
  position: relative;
  max-width: 100vw;
  box-sizing: border-box;
}

/* Responsive */
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-links nav {
    justify-content: center;
  }
  .social-row {
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .footer .container.footer-brand {
    padding: 1.2em 1em;
    gap: 0.5em;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .footer .logo img {
    width: 36px;
    height: 36px;
  }
  .footer .brand-title,
  .footer .tagline,
  .footer .brand-slogan,
  .footer .copyright {
    font-size: 1em;
    text-align: center;
    max-width: 95vw;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-divider {
    width: 40px;
    margin: 0.5em auto 0.2em auto;
  }
  .footer-bg-icon {
    width: 60px;
    height: 60px;
    right: 5vw;
    bottom: -10px;
  }
}

/* Pricing */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(24,24,28,0.85);
  transition: opacity 0.3s;
}

.modal.open {
  display: flex;
}

.modal-dialog {
  max-height: 80vh;
  overflow-y: auto;
  background: #23232a;
  border-radius: 1.2em;
  box-shadow: 0 8px 32px rgba(0,255,225,0.08);
  padding: 2em;
  width: 100%;
  max-width: 480px;
  position: relative;
}

/* Lock body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

.tier {
  background:#1b1b1b;
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
}
.tier h4 { margin:0 0 6px }
.tier .price { font-size:1.1rem }
.tier ul { margin:10px 0 0 18px }
.close {
  background:transparent;
  border:1px solid #444;
  color:#ddd;
  border-radius:10px;
  padding:8px 10px;
  cursor:pointer;
}
.close:hover { box-shadow:0 0 12px rgba(255,0,255,.25) }
.accent { color:var(--cyan) }
.accent-2 { color:var(--magenta) }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns:1fr }
  .pricing-grid { grid-template-columns:1fr }
  .portfolio { grid-template-columns:1fr 1fr }
  .testimonials { grid-template-columns:1fr }
  .contact-grid { grid-template-columns:1fr }
  .tiers { grid-template-columns:1fr }
}
@media (max-width: 760px) {
  nav ul {
    display:none;
    position:absolute;
    left:0; right:0; top:64px;
    background:#161616;
    border-bottom:1px solid var(--border);
    padding:10px;
  }
  nav ul.open { display:flex; flex-direction:column }
  .burger { display:flex }
  .footer-grid { grid-template-columns:1fr }
}

/* ===== GLOBAL BACKGROUND & TEXTURE ===== */
.page-section {
  position: relative;
  background: radial-gradient(800px 400px at 80% 10%, rgba(0,255,255,0.05), transparent 60%),
              radial-gradient(600px 300px at 20% 80%, rgba(255,0,255,0.04), transparent 60%),
              var(--bg);
  overflow: hidden;
}
.page-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/grid.svg') repeat;
  opacity: 0.03;
  pointer-events: none;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px rgba(0,255,255,0.08);
}
.service-card h3 {
  margin-top: 0;
  font-family: 'Space Grotesk', sans-serif;
}

/* ===== PORTFOLIO GRID ===== */
.portfolio-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}
.portfolio-item img {
  transition: transform 0.4s ease;
}
.portfolio-item:hover img {
  transform: scale(1.05);
}
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

/* ===== ABOUT TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--accent);
}
.timeline-item {
  margin-bottom: 40px;
  position: relative;
}
.timeline-dot {
  position: absolute;
  left: -2px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== FORM ENHANCEMENTS ===== */
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  transition: all 0.2s ease;
}
.progress-bar {
  height: 4px;
  background: var(--accent);
  width: 0;
  transition: width 0.3s ease;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.card {
  position: relative;
  background: #23232a;
  border-radius: 1.2em;
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(120deg, #00ffe1 0%, #a855f7 100%);
  opacity: 0.18;
  animation: borderGlow 4s linear infinite;
}

@keyframes borderGlow {
  0% { opacity: 0.18; }
  50% { opacity: 0.28; }
  100% { opacity: 0.18; }
}

/* About section layout for desktop */
.about-section .container {
  display: flex;
  gap: 2em;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 800px) {
  .about-section .container {
    flex-direction: column;
    gap: 1.5em;
    align-items: stretch;
  }
  .about-text, .about-images {
    width: 100%;
    text-align: center;
  }
  .about-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
  }
  .about-images .img-box {
    flex: 1 1 40%;
    min-width: 120px;
    max-width: 160px;
  }
  .about-images img {
    width: 100%;
    height: auto;
    border-radius: 1em;
  }
}

.brand-title, .footer .brand-title, .footer h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: #00ffe1;
  margin: 0;
  font-size: 2em;
  letter-spacing: 0.02em;
}

.brand-slogan, .footer .tagline {
  font-size: 1.1em;
  color: #a855f7;
  margin: 0;
  letter-spacing: 0.04em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

@media (max-width: 700px) {
  .container.nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 0.7em 1em;
    position: relative;
  }
  .brand {
    display: flex;
    align-items: center;
    gap: 0.7em;
    flex-direction: row;
    margin-bottom: 0;
  }
  .brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-width: 0;
  }
  .brand-title {
    font-size: 1em;
    margin-bottom: 0.1em;
    letter-spacing: 0.01em;
    white-space: nowrap;
  }
  .brand-slogan {
    font-size: 0.8em;
    margin-bottom: 0;
    letter-spacing: 0.03em;
    color: #a855f7;
    white-space: nowrap;
  }
  nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: auto;
    position: relative;
    flex: 1;
  }
  .burger {
    display: inline-flex;
    margin-left: auto;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 102;
  }
}

/* Responsive footer for mobile */
@media (max-width: 700px) {
  .footer .container.footer-brand {
    padding: 1.2em 1em;
    gap: 0.5em;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .footer .logo img {
    width: 36px;
    height: 36px;
  }
  .footer .brand-title,
  .footer .tagline,
  .footer .brand-slogan,
  .footer .copyright {
    font-size: 1em;
    text-align: center;
    max-width: 95vw;
    word-break: break-word;
    overflow-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
  }
  .footer-divider {
    width: 40px;
    margin: 0.5em auto 0.2em auto;
  }
  .footer-bg-icon {
    width: 60px;
    height: 60px;
    right: 5vw;
    bottom: -10px;
  }
}

.portfolio-tabs {
  margin-bottom: 2em;
  display: flex;
  gap: 1em;
  justify-content: center;
  flex-wrap: wrap;
}
.tab-btn {
  background: #23232a;
  color: #00ffe1;
  border: none;
  border-radius: 1.2em;
  padding: 0.7em 1.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1em;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,255,225,0.08);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(90deg, #00ffe1 0%, #a855f7 100%);
  color: #23232a;
  box-shadow: 0 4px 24px rgba(0,255,225,0.18);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2em;
  width: 100%;
  margin-top: 2em;
}
@media (min-width: 700px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2em;
  }
}
.card {
  background: #23232a;
  border-radius: 1em;
  box-shadow: 0 2px 24px rgba(0,255,225,0.08);
  padding: 1.5em 1.2em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 32px rgba(0,255,225,0.18);
  transform: translateY(-4px) scale(1.03);
}
.pill {
  background: #a855f7;
  color: #fff;
  border-radius: 0.7em;
  padding: 0.2em 0.8em;
  font-size: 0.9em;
  margin-bottom: 0.7em;
}
.price {
  color: #00ffe1;
  font-weight: 700;
  font-size: 1.1em;
  margin-bottom: 0.5em;
}
.btn {
  background: #00ffe1;
  color: #23232a;
  border: none;
  border-radius: 0.7em;
  padding: 0.7em 1.5em;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1em;
  cursor: pointer;
  margin-top: 1em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: #a855f7;
  color: #fff;
}

/* Grid layout */
.portfolio-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

/* Card styling */
.portfolio-preview {
  background: #0f2f36; 
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding: 0;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
}

/* Hover effect */
.portfolio-preview:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
}

/* Images */
.portfolio-preview img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Titles */
.preview-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  padding: 1rem;
  background: rgba(0, 184, 184, 0.1);
  border-top: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease;
}

/* Hover title glow */
.portfolio-preview:hover .preview-title {
  background: rgba(0, 184, 184, 0.2);
}

.portfolio-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1em;
  width: 100%;
  margin-top: 1em;
}
.portfolio-item {
  background: #23232a;
  border-radius: 1em;
  box-shadow: 0 2px 16px rgba(0,255,225,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.portfolio-item img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-bottom: 1px solid #18181c;
  background: #18181c;
}
.item-title {
  color: #a855f7;
  font-weight: 700;
  font-size: 1em;
  padding: 0.7em 0.5em;
  text-align: center;
  width: 100%;
  background: none;
  letter-spacing: 0.03em;
  word-break: break-word;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  border-top: 2px solid #00FFFF;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
  box-shadow: 0 -2px 10px #00FFFF;
  animation: slideUp 0.5s ease-out;
}

#cookie-banner p {
  margin: 0 0 0.5rem;
  text-align: center;
  font-size: 0.95rem;
  color: #ccc;
}

#cookie-banner button {
  background: linear-gradient(90deg, #a855f7, #00FFFF);
  border: none;
  color: #0a0a0a;
  padding: 0.5rem 1rem;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

#cookie-banner button:hover {
  transform: scale(1.05);
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* Fieldset reset for cleaner look */
#addonsFieldset {
  border: none;
  padding: 0;
  margin: 0;
}

/* Each add-on row */
.addon-item {
  display: grid;
  grid-template-columns: auto 1fr auto; /* checkbox | name | price */
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.25s ease, transform 0.25s ease;
}

/* Hover effect for desktop */
.addon-item:hover {
  background: rgba(0, 255, 225, 0.05);
  transform: translateY(-1px);
}

/* Name styling */
.addon-name {
  font-size: 0.95rem;
  color: var(--text, #fff);
  line-height: 1.4;
}

/* Price styling */
.addon-price {
  color: #00ffe1;
  font-weight: 600;
  white-space: nowrap;
  text-align: right;
  font-size: 0.95rem;
}

/* Checkbox styling (optional custom look) */
.addon-item input[type="checkbox"] {
  accent-color: #00ffe1; /* modern browsers */
  transform: scale(1.1);
}

/* Responsive: stack name & price on mobile */
@media (max-width: 600px) {
  .addon-item {
    grid-template-columns: auto 1fr; /* checkbox | content */
    grid-template-rows: auto auto;   /* name on first row, price on second */
  }

  .addon-name {
    grid-column: 2 / 3;
  }

  .addon-price {
    grid-column: 2 / 3;
    justify-self: start;
    font-size: 0.9rem;
    opacity: 0.85;
  }
}
