/* =========================================
   DESIGN TOKENS & CSS VARIABLES
========================================= */
:root {
  --bg: #f7fafc;
  --surface: #fff;
  --text: #0f172a;
  /* slate-900 */
  --muted: #64748b;
  /* slate-500/600 */
  --brand: #4dabf7;
  /* friendly amber */
  --brand-ink: #0b3d91;
  --border: #e5e7eb;
  --chip: #f3f4f6;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --radius: 16px;
  --container: 1100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f172a;
    /* slate-900 */
    --surface: #1e293b;
    /* slate-800 */
    --text: #f8fafc;
    /* slate-50 */
    --muted: #94a3b8;
    /* slate-400 */
    --border: #334155;
    /* slate-700 */
    --chip: #334155;
    /* slate-700 */
    --shadow: 0 10px 30px rgba(0, 0, 0, .3);
  }
}

/* =========================================
   BASE & RESET STYLES
========================================= */
* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
  transform: scale(1.02);
  filter: brightness(1.05);
}

a {
  color: inherit;
  transition: all 0.3s ease;
}

:focus-visible {
  outline: 3px solid rgba(255, 182, 72, .35);
  border-radius: 8px;
  transition: outline 0.2s ease;
}

/* =========================================
   ANIMATION KEYFRAMES
========================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: calc(200px + 100%) 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* =========================================
   ANIMATION CLASSES
========================================= */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-left.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-right.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.animate-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-scale.animate-in {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 {
  transition-delay: 0.1s;
}

.stagger-2 {
  transition-delay: 0.2s;
}

.stagger-3 {
  transition-delay: 0.3s;
}

.stagger-4 {
  transition-delay: 0.4s;
}

.stagger-5 {
  transition-delay: 0.5s;
}

.stagger-6 {
  transition-delay: 0.6s;
}

/* =========================================
   LAYOUT COMPONENTS
========================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px
}

.section-head {
  text-align: center;
  margin-bottom: 1.25rem;
  animation: fadeInUp 0.8s ease 0.2s both;
}

.section-head h2 {
  margin: 0 0 .4rem;
  font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  position: relative;
  display: inline-block;
}

.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: linear-gradient(45deg, var(--brand), #60a5fa);
  border-radius: 2px;
  animation: expandLine 1s ease 0.5s both;
}

@keyframes expandLine {
  to {
    width: 60px;
  }
}

.section-head p {
  margin-top:20px;
  color: var(--muted);
  animation: fadeInUp 0.8s ease 0.4s both;
}

/* Grid Systems */
.grid-3 {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  /* mobile default */
}

.grid-3>* {
  animation: fadeInUp 0.8s ease both;
}

.grid-3>*:nth-child(1) {
  animation-delay: 0.1s;
}

.grid-3>*:nth-child(2) {
  animation-delay: 0.2s;
}

.grid-3>*:nth-child(3) {
  animation-delay: 0.3s;
}

/* =========================================
   HEADER & NAVIGATION
========================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--border);
  animation: slideInDown 0.8s ease;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px
}

.brand {
  font-weight: 800;
  text-decoration: none;
  letter-spacing: .2px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, var(--text), var(--brand));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradientShift 3s ease-in-out infinite;
}

.brand::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.4s ease;
}

.brand:hover::after {
  width: 100%;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links a {
  font-weight: 600;
  text-decoration: none;
  padding: .4rem .2rem;
  font-size: 15px;
  position: relative;
  overflow: hidden;
}

.nav-links a:not(.btn)::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.nav-links a:not(.btn):hover::before {
  left: 100%;
}

.nav-links .btn {
  margin-left: .25rem
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  padding: 10px;
  margin-right: -10px;
  cursor: pointer;
  position: relative;
  z-index: 100;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111827;
  border-radius: 2px;
  margin: 5px 0;
  transition: transform .3s ease, opacity .3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* =========================================
   BUTTONS & INTERACTIVE ELEMENTS
========================================= */
.btn {
  display: inline-block;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .9rem 1.15rem;
  font-weight: 700;
  text-decoration: none;
  margin-bottom: 20px;
  background: #fff;
  color: var(--text);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .12);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  color: var(--brand-ink);
  border-color: transparent;
  margin-bottom: auto;
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
}

.btn-primary:hover {
  background-position: 100% 0;
  box-shadow: 0 12px 28px rgba(77, 171, 247, .3);
}

.btn-ghost {
  background: #fff;
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--brand);
}

/* =========================================
   CARDS & CONTENT BLOCKS
========================================= */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(77, 171, 247, 0.05), transparent);
  transition: left 0.8s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 20px 40px rgba(17, 24, 39, .15);
  border-color: rgba(77, 171, 247, .3);
}

.card h3 {
  margin: 0 0 .35rem;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.card:hover h3 {
  color: var(--brand);
}

.card p {
  margin: 0;
  margin-top: 1rem;
  color: var(--muted);
  transition: color 0.3s ease;
}

/* Hero Card */
.hero-card {
  background: linear-gradient(135deg, #fff, #f0faff);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  display: grid;
  gap: .75rem;
  animation: float 6s ease-in-out infinite;
}

/* Contact Card */
.contact-card .divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 1rem 0;
  animation: shimmer 2s linear infinite;
  background-size: 200px 100%;
}

/* =========================================
   CHIPS, BADGES & TAGS
========================================= */
.badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.badges li {
  font-size: .95rem;
  color: var(--muted);
  background: var(--chip);
  border: 1px dashed var(--border);
  border-radius: 999px;
  padding: .5rem .75rem;
  transition: all 0.3s ease;
  cursor: default;
}

.badges li:hover {
  transform: translateY(-2px);
  background: rgba(77, 171, 247, .1);
  border-color: var(--brand);
  color: var(--brand-ink);
}

.tag {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: .35rem .65rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .06);
  transition: all 0.3s ease;
}

.tag:hover {
  transform: scale(1.1);
}

.tag-bad {
  background: linear-gradient(135deg, #ffd1d1, #ffb3b3);
  color: #7a1414;
}

.tag-good {
  background: linear-gradient(135deg, #d1f7d6, #b3e5c7);
  color: #0b5a2a;
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
  padding: clamp(20px, 4vw, 40px) 0;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  /* mobile first */
}

.hero-copy {
  animation: fadeInLeft 1s ease 0.2s both;
}

.hero-copy h1 {
  margin: .25rem 0 .5rem;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: clamp(1.9rem, 1.2rem + 4vw, 3rem);
  line-height: 1.12;
  background: linear-gradient(135deg, var(--text), var(--brand));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 100%;
  animation: gradientShift 4s ease-in-out infinite;
}

.hero-copy p {
  color: var(--muted);
  margin: 0 0 12px;
  animation: fadeInLeft 1s ease 0.4s both;
}

.cta {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin: 10px 0 14px;
  animation: fadeInLeft 1s ease 0.6s both;
}

.hero-card {
  animation: fadeInRight 1s ease 0.4s both;
}

/* =========================================
   STATS & METRICS
========================================= */
.stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.stat:hover {
  transform: translateY(-3px) rotate(1deg);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
}

.stat strong {
  display: block;
  font-size: 1.05rem;
  transition: color 0.3s ease;
}

.stat:hover strong {
  color: var(--brand);
}

.stat span {
  color: var(--muted);
  font-size: .95rem;
}

/* =========================================
   VALUE SECTION
========================================= */
.value {
  padding: 32px 0 16px;
}

.ba-points {
  margin-top: 1rem;
  padding-left: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  list-style: none;
}

.ba-points li {
  position: relative;
  margin: 0.6rem 0;
  padding: 0.6rem 0.8rem 0.6rem 2.2rem;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.ba-points li::before {
  position: absolute;
  left: 0.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  transition: all 0.3s ease;
}

.ba-points li:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.ba-points li:hover::before {
  transform: translateY(-50%) scale(1.1);
}

.bad-points li {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08), rgba(220, 38, 38, 0.05));
  border-left: 3px solid #ef4444;
  color: #7f1d1d;
  animation: fadeInLeft 0.8s ease both;
}

.bad-points li::before {
  content: "✕";
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.bad-points li:hover {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(220, 38, 38, 0.08));
  border-left-color: #dc2626;
}

.good-points li {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(22, 163, 74, 0.05));
  border-left: 3px solid #22c55e;
  color: #14532d;
  animation: fadeInRight 0.8s ease both;
}

.good-points li::before {
  content: "✓";
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 2px 6px rgba(34, 197, 94, 0.3);
}

.good-points li:hover {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(22, 163, 74, 0.08));
  border-left-color: #16a34a;
}

.bad-points li:nth-child(1) {
  animation-delay: 0.1s;
}

.bad-points li:nth-child(2) {
  animation-delay: 0.2s;
}

.bad-points li:nth-child(3) {
  animation-delay: 0.3s;
}

.bad-points li:nth-child(4) {
  animation-delay: 0.4s;
}

.bad-points li:nth-child(5) {
  animation-delay: 0.5s;
}

.bad-points li:nth-child(6) {
  animation-delay: 0.6s;
}

.bad-points li:nth-child(7) {
  animation-delay: 0.7s;
}

.good-points li:nth-child(1) {
  animation-delay: 0.1s;
}

.good-points li:nth-child(2) {
  animation-delay: 0.2s;
}

.good-points li:nth-child(3) {
  animation-delay: 0.3s;
}

.good-points li:nth-child(4) {
  animation-delay: 0.4s;
}

.good-points li:nth-child(5) {
  animation-delay: 0.5s;
}

.good-points li:nth-child(6) {
  animation-delay: 0.6s;
}

.good-points li:nth-child(7) {
  animation-delay: 0.7s;
}

.good-points li:nth-child(8) {
  animation-delay: 0.8s;
}

/* =========================================
   WORK SECTION
========================================= */
.work {
  padding: 32px 0
}

.work-grid {
  display: grid;
  gap: 16px
}

.ba {
  display: grid;
  gap: 12px
}

.ba-col {
  position: relative
}

.ba-notes h3 {
  margin: .1rem 0
}

.ba-notes ul {
  margin: .2rem 0 0 1rem;
  color: var(--muted)
}

.work-cta {
  text-align: center;
  margin-top: .5rem;
  animation: pulse 2s infinite;
}

.work-cta a {
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
  position: relative;
}

.work-cta a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand);
  transition: width 0.4s ease;
}

.work-cta a:hover::after {
  width: 100%;
}

/* Before/After Images */
.ba-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* desktop gets ~66%, mobile ~33% */
  gap: 0.75rem;
  align-items: start;
}

.shot {
  width: 100%;
  height: auto;
  /* keep natural aspect ratio */
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  object-fit: contain;
  /* prevent any stretching */
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shot:hover {
  transform: scale(1.03) rotate(1deg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  border-color: var(--brand);
}

.shot--mobile {
  max-width: 360px;
  justify-self: start;
  /* align the narrow image to the left */
}

.click-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.25rem;
  padding-top: 10px;
  text-align: center;
  animation: pulse 3s infinite;
}

/* =========================================
   PACKAGES SECTION
========================================= */
.packages {
  padding: 28px 0
}

.plan {
  position: relative;
  overflow: hidden;
}

.plan:nth-child(2) {
  transform: scale(1.05);
  border-color: var(--brand);
}

.plan:nth-child(2)::after {
  content: 'Most Popular';
  position: absolute;
  top: 8px;
  right: 16px;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  animation: pulse 2s infinite;
}

.plan .price {
  font-size: 1.7rem;
  margin: .35rem 0 .6rem;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.features {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
  color: var(--muted)
}

.features li {
  margin: .4rem 0;
  padding-left: 1.1rem;
  position: relative;
  animation: fadeInLeft 0.6s ease both;
}

.features li:nth-child(1) {
  animation-delay: 0.1s;
}

.features li:nth-child(2) {
  animation-delay: 0.2s;
}

.features li:nth-child(3) {
  animation-delay: 0.3s;
}

.features li:nth-child(4) {
  animation-delay: 0.4s;
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 900;
  animation: scaleIn 0.5s ease both;
  animation-delay: inherit;
}

.note {
  color: var(--muted);
  display: block;
  margin-top: .4rem;
  font-style: italic;
}

/* =========================================
   PROCESS SECTION
========================================= */
.process {
  padding: 28px 0
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 800px
}

.steps li {
  position: relative;
  margin: .7rem 0;
  padding: .7rem .9rem .7rem 2.6rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.8s ease both;
}

.steps li:nth-child(1) {
  animation-delay: 0.1s;
}

.steps li:nth-child(2) {
  animation-delay: 0.3s;
}

.steps li:nth-child(3) {
  animation-delay: 0.5s;
}

.steps li:nth-child(4) {
  animation-delay: 0.7s;
}

.steps li:hover {
  transform: translateX(10px) scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .1);
  border-color: var(--brand);
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: .6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 25px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), #60a5fa);
  color: var(--brand-ink);
  border-radius: 50%;
  font-weight: 800;
  transition: all 0.3s ease;
}

.steps li:hover::before {
  transform: translateY(-50%) scale(1.2) rotate(360deg);
}

/* =========================================
   CONTACT SECTION
========================================= */
.contact {
  padding: 28px 0 40px
}

.contact-grid {
  display: grid;
  gap: 16px
}

/* Form Elements */
.form {
  animation: fadeInLeft 1s ease 0.2s both;
}

.form label {
  display: grid;
  gap: .35rem;
  margin-bottom: .85rem;
  animation: fadeInUp 0.6s ease both;
}

.form label:nth-child(1) {
  animation-delay: 0.1s;
}

.form label:nth-child(2) {
  animation-delay: 0.2s;
}

.form label:nth-child(3) {
  animation-delay: 0.3s;
}

.form label:nth-child(4) {
  animation-delay: 0.4s;
}

.form label:nth-child(5) {
  animation-delay: 0.5s;
}

input,
textarea {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .9rem .95rem;
  font: inherit;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(77, 171, 247, .25);
  border-color: var(--brand);
  transform: scale(1.02);
  box-shadow: 0 4px 20px rgba(77, 171, 247, .1);
}

.tiny {
  color: var(--muted);
  font-size: .9rem;
  margin-top: 1rem;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.mini-list {
  list-style: none;
  margin: .5rem 0 0;
  margin-top: 20px;
  padding: 0px;
  color: var(--muted)
}

.mini-list li {
  margin: .25rem 0;
  animation: fadeInRight 0.6s ease both;
}

.mini-list li:nth-child(1) {
  animation-delay: 0.1s;
}

.mini-list li:nth-child(2) {
  animation-delay: 0.2s;
}

.mini-list li:nth-child(3) {
  animation-delay: 0.3s;
}

.contact-card {
  animation: fadeInRight 1s ease 0.4s both;
}

/* =========================================
   LIGHTBOX COMPONENT
========================================= */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 95%;
  max-height: 95%;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  background: white;
  animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.3s ease;
}

.lightbox img:hover {
  transform: scale(1.02);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* =========================================
   FOOTER
========================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, #fff, #f8fafc);
  margin-top: 24px;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand), transparent);
  animation: slideInRight 2s ease 0.5s both;
}

@keyframes slideInRight {
  to {
    left: 100%;
  }
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
  /* prevents cramped layout on mid sizes */
  animation: fadeInUp 1s ease 0.2s both;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  /* allow wrapping gracefully */
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 6px 8px;
  /* better tap targets */
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(77, 171, 247, 0.1), transparent);
  transition: left 0.6s ease;
}

.footer-links a:hover::before {
  left: 100%;
}

.footer-links a:hover {
  color: var(--text);
  background: var(--chip);
  transform: translateY(-2px);
}

.copyright {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

/* =========================================
   UTILITY CLASSES
========================================= */
body.no-scroll {
  overflow: hidden
}

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Hover effects for interactive elements */
.interactive-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.interactive-hover:hover {
  transform: translateY(-2px);
}

/* Magnetic button effect */
.magnetic {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.magnetic:hover {
  transform: scale(1.05);
}

/* Glowing effect */
.glow {
  box-shadow: 0 0 20px rgba(77, 171, 247, 0.3);
  animation: glowPulse 2s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  from {
    box-shadow: 0 0 20px rgba(77, 171, 247, 0.3);
  }

  to {
    box-shadow: 0 0 30px rgba(77, 171, 247, 0.6);
  }
}

/* Text typing effect */
.typewriter {
  overflow: hidden;
  border-right: 3px solid var(--brand);
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes blink-caret {

  from,
  to {
    border-color: transparent;
  }

  50% {
    border-color: var(--brand);
  }
}

/* Loading animation */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -200px;
  width: 200px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: loading 2s infinite;
}

@keyframes loading {
  0% {
    left: -200px;
  }

  100% {
    left: 100%;
  }
}

/* =========================================
   RESPONSIVE DESIGN
   Mobile-first → enhance upward
========================================= */

/* Small Mobile Screens */
@media (max-width: 560px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .footer-links {
    justify-content: center;
    gap: 10px 14px;
    /* rows & columns spacing */
  }

  .hero-copy h1 {
    animation: fadeInUp 1s ease 0.2s both;
  }

  .cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    text-align: center;
  }
}

/* Large Phones / Small Tablets (>= 640px) */
@media (min-width: 640px) {
  .hero-inner {
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 24px;
  }

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

  .work-grid {
    grid-template-columns: 1fr
  }

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

/* Small Screens - Before/After Images */
@media (max-width: 700px) {
  .ba-images {
    grid-template-columns: 1fr;
  }

  .shot--mobile {
    max-width: none;
  }

  .ba-points li {
    animation: fadeInUp 0.6s ease both;
  }
}

/* Tablets / Desktop (>= 900px) */
@media (min-width: 900px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr)
  }

  .work-grid {
    grid-template-columns: 1fr 1fr
  }

  .contact-grid {
    grid-template-columns: 1.2fr .8fr
  }

  /* Enhanced hover effects for larger screens */
  .card:hover {
    transform: translateY(-8px) scale(1.02);
  }

  .shot:hover {
    transform: scale(1.05) rotate(2deg);
  }

  .btn:hover {
    transform: translateY(-3px) scale(1.05);
  }
}

/* Large Desktop (>= 1200px) */
@media (min-width: 1200px) {
  .hero-copy h1 {
    font-size: 3.5rem;
  }

  .section-head h2 {
    font-size: 2.5rem;
  }

  /* More dramatic animations on large screens */
  .card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 30px 60px rgba(17, 24, 39, .2);
  }

  .steps li:hover {
    transform: translateX(20px) scale(1.03);
  }
}

/* Mobile Navigation Behavior */
@media (max-width: 900px) {
  .nav-toggle {
    display: block
  }

  .nav-links {
    position: fixed;
    inset: 54px 0 auto 0;
    /* below header */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    transform: translateY(-120%);
    transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px 16px;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: .9rem 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: rgba(77, 171, 247, 0.1);
    transform: translateX(10px);
  }

  .nav-links .btn {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links.open a {
    animation: slideInDown 0.4s ease both;
  }

  .nav-links.open a:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-links.open a:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-links.open a:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-links.open a:nth-child(4) {
    animation-delay: 0.4s;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-card {
    animation: none;
  }

  .typewriter {
    animation: none;
    border-right: none;
  }

  .loading::before {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --border: #000;
    --muted: #333;
  }

  .btn {
    border-width: 2px;
  }

  .card {
    border-width: 2px;
  }
}

/* =========================================
   DARK MODE FIXES & IMPROVEMENTS
   Add these rules to your existing dark mode section
========================================= */

@media (prefers-color-scheme: dark) {

  /* ===== FORM ELEMENTS FIXES ===== */

  /* Form labels - ensure proper text color */
  .form label {
    color: var(--text);
  }

  /* Input and textarea improvements */
  input,
  textarea {
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
  }

  .work-cta {
    color: var(--mu);
  }

  .btn-ghost {
    color: var(--surface);
  }

  /* Placeholder text styling */
  input::placeholder,
  textarea::placeholder {
    color: var(--muted);
    opacity: 0.8;
  }

  /* Focus states for form elements */
  input:focus,
  textarea:focus {
    outline: 3px solid rgba(77, 171, 247, .4);
    border-color: var(--brand);
    background: var(--surface);
    box-shadow: 0 4px 20px rgba(77, 171, 247, .2);
  }

  /* Submit button in forms */
  .form .btn-primary {
    background: linear-gradient(135deg, var(--brand), #60a5fa);
    color: #0f172a;
    /* Keep dark text on bright button */
    border: none;
  }

  /* ===== NAVIGATION FIXES ===== */

  /* Brand text gradient for dark mode */
  .brand {
    background: linear-gradient(45deg, #ffffff, var(--brand), #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
  }

  /* Navigation links */
  .nav-links a {
    color: var(--text);
  }

  /* Mobile navigation background */
  .nav-links {
    backdrop-filter: blur(10px);
  }

  /* Mobile nav link hover states */
  .nav-links a:hover {
    background: rgba(77, 171, 247, 0.15);
    color: var(--brand);
  }

  /* Mobile menu toggle burger lines */
  .nav-toggle {
    background: var(--text);
    background-color: transparent;
  }

  /* ===== COMPONENT BACKGROUND FIXES ===== */

  /* Hero section background gradient adjustment */
  .hero-card {
    background: linear-gradient(135deg, var(--surface), #334155);
    border: 1px solid var(--border);
  }

  /* Stats cards inside hero */
  .hero-card .stat {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid var(--border);
  }

  /* Process steps background */
  .steps li {
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
  }

  /* ===== PACKAGE CARDS FIXES ===== */

  /* Package plan cards */
  .plan {
    background: var(--surface);
    border: 1px solid var(--border);
  }

  /* Package features text */
  .features {
    color: var(--muted);
  }

  /* Package price text */
  .plan .price {
    background: linear-gradient(135deg, var(--brand), #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* Package note text */
  .note {
    color: var(--muted);
  }

  /* ===== TAGS AND BADGES FIXES ===== */

  /* Before/After tags */
  .tag-bad {
    background: linear-gradient(135deg, #dc2626, #991b1b);
    color: #fca5a5;
    border: 1px solid #dc2626;
  }

  .tag-good {
    background: linear-gradient(135deg, #16a34a, #166534);
    color: #86efac;
    border: 1px solid #16a34a;
  }

  /* Badges in hero section */
  .badges li {
    background: var(--chip);
    border: 1px dashed var(--border);
    color: var(--muted);
  }

  .badges li:hover {
    background: rgba(77, 171, 247, .15);
    border-color: var(--brand);
    color: var(--brand);
  }

  /* ===== TEXT AND CONTENT FIXES ===== */

  /* Section headings */
  .section-head h2 {
    color: var(--surface);
  }

  .section-head p {
    margin-top:20px;
    color: var(--muted);
  }

  /* Card headings and text */
  .card h3 {
    color: var(--text);
  }

  .card p {
    color: var(--muted);
  }

  /* Hero copy text */
  .hero-copy h1 {
    background: linear-gradient(135deg, #ffffff, var(--brand), #60a5fa);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 100%;
  }

  .hero-copy p {
    color: var(--muted);
  }

  /* ===== CONTACT SECTION FIXES ===== */

  /* Contact card background */
  .contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
  }

  /* Contact links */
  .contact-card a {
    color: var(--brand);
  }

  .contact-card a:hover {
    color: #60a5fa;
  }

  /* Mini list in contact */
  .mini-list {
    color: var(--muted);
  }

  /* Form status messages */
  .tiny {
    color: var(--muted);
  }

  .tiny a {
    color: var(--brand);
  }

  /* ===== WORK SECTION FIXES ===== */

  /* Before/After points styling improvements */
  .bad-points li {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.2), rgba(153, 27, 27, 0.15));
    border-left: 3px solid #dc2626;
    color: #fca5a5;
  }

  .good-points li {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.2), rgba(22, 101, 52, 0.15));
    border-left: 3px solid #16a34a;
    color: #86efac;
  }

  /* Work CTA link */
  .work-cta a {
    color: var(--brand);
  }

  /* Click hints */
  .click-hint {
    color: var(--muted);
  }

  /* ===== FOOTER FIXES ===== */

  /* Footer background */
  .site-footer {
    background: linear-gradient(135deg, var(--surface), #0f172a);
    border-top: 1px solid var(--border);
  }

  /* Footer text */
  .copyright {
    color: var(--muted);
  }

  /* Footer links */
  .footer-links a {
    color: var(--muted);
  }

  .footer-links a:hover {
    color: var(--text);
    background: var(--chip);
  }

  /* ===== LIGHTBOX IMPROVEMENTS ===== */

  .lightbox {
    background: rgba(0, 0, 0, 0.92);
  }

  .lightbox img {
    background: var(--surface);
    border: 2px solid var(--border);
  }

  /* ===== UTILITY FIXES ===== */

  /* Status messages */
  .status {
    color: var(--text);
  }

  /* Links in general content */
  a:not(.btn):not(.brand) {
    color: var(--brand);
  }

  a:not(.btn):not(.brand):hover {
    color: #60a5fa;
  }

  /* ===== ADDITIONAL CONTRAST IMPROVEMENTS ===== */

  /* Ensure good contrast for all interactive elements */
  button {
    color: var(--text);
  }

  /* Strong/bold text */
  strong {
    color: var(--text);
  }

  /* List items */
  li {
    color: inherit;
  }

  /* Improve visibility of borders and dividers */
  .divider {
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    opacity: 0.8;
  }

  /* ===== SELECTION AND FOCUS IMPROVEMENTS ===== */

  /* Text selection styling for dark mode */
  ::selection {
    background: rgba(77, 171, 247, 0.3);
    color: var(--text);
  }

  /* Focus visible improvements */
  :focus-visible {
    outline: 3px solid rgba(77, 171, 247, .5);
    outline-offset: 2px;
  }
}

/* ===== DARK MODE SPECIFIC ANIMATIONS ===== */
@media (prefers-color-scheme: dark) {

  /* Enhance the gradient animation for dark mode */
  @keyframes gradientShiftDark {
    0% {
      background-position: 0% 50%;
    }

    50% {
      background-position: 100% 50%;
    }

    100% {
      background-position: 0% 50%;
    }
  }

  /* Apply enhanced gradient to brand and headings */
  .brand,
  .hero-copy h1 {
    animation: gradientShiftDark 3s ease-in-out infinite;
  }

  /* Subtle glow effect for interactive elements in dark mode */
  .btn:hover,
  .card:hover {
    box-shadow: 0 8px 32px rgba(77, 171, 247, 0.15);
  }

  /* Enhanced button primary glow */
  .btn-primary:hover {
    box-shadow: 0 12px 40px rgba(77, 171, 247, 0.4);
  }

  @media (max-width: 640px) {
    .brand,
    .hero-copy h1 {
      background-size: 200% 100%;
      animation: gradientShiftDark 2.5s ease-in-out infinite;
    }
  }
}