:root {
  --bg: #f7f8ff;
  --white: #ffffff;
  --ink: #11121a;
  --muted: #616678;
  --line: rgba(17,18,26,0.12);
  --card: rgba(255,255,255,0.86);
  --blue: #3157ff;
  --purple: #7b2cff;
  --pink: #ff2f92;
  --orange: #ff8a00;
  --cyan: #00b8ff;
  --shadow: 0 22px 60px rgba(30,40,90,0.13);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  color: var(--ink);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  background:
    radial-gradient(circle at 8% 10%, rgba(49,87,255,0.12), transparent 28%),
    radial-gradient(circle at 90% 16%, rgba(255,47,146,0.11), transparent 30%),
    radial-gradient(circle at 45% 95%, rgba(0,184,255,0.13), transparent 32%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(17,18,26,0.032) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17,18,26,0.032) 1px, transparent 1px);
  background-size: 44px 44px;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  max-width: 1280px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -1.4px;
}

.logo span {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  box-shadow: 0 12px 35px rgba(49,87,255,0.28);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 800;
  color: #2d3040;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--blue);
}

.nav-cta {
  background: var(--ink);
  color: #fff !important;
  padding: 12px 20px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--ink);
  border: 0;
  font-size: 32px;
  cursor: pointer;
}

.hero {
  max-width: 1280px;
  min-height: calc(100vh - 78px);
  margin: auto;
  padding: 90px 24px 80px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-content::before {
  content: "Creative • Viral • Strategic";
  display: inline-flex;
  margin-bottom: 18px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  font-size: 13px;
  font-weight: 900;
  color: var(--blue);
}

.eyebrow {
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.88;
  letter-spacing: -6px;
  font-weight: 900;
  max-width: 900px;
}

.hero h1::after {
  content: "";
  display: block;
  width: 180px;
  height: 12px;
  margin-top: 28px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--orange));
}

.hero-text {
  margin-top: 28px;
  max-width: 650px;
  font-size: 19px;
  line-height: 1.8;
  color: var(--muted);
}

.hero-buttons {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-4px);
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  box-shadow: 0 20px 55px rgba(49,87,255,0.25);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
  box-shadow: 0 12px 35px rgba(30,40,90,0.08);
}

.hero-card {
  min-height: 420px;
  border-radius: 42px;
  padding: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.65)),
    radial-gradient(circle at 20% 20%, rgba(49,87,255,0.2), transparent 35%),
    radial-gradient(circle at 85% 80%, rgba(255,47,146,0.18), transparent 35%);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  animation: floatCard 4s ease-in-out infinite;
}

.hero-card::before {
  content: "MIRAA";
  position: absolute;
  right: -24px;
  bottom: -12px;
  font-size: 100px;
  font-weight: 900;
  color: rgba(17,18,26,0.05);
  letter-spacing: -6px;
}

.hero-card h3 {
  font-size: 34px;
  letter-spacing: -1px;
  margin-bottom: 26px;
}

.hero-card li {
  list-style: none;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 800;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.stats {
  max-width: 1280px;
  margin: auto;
  padding: 20px 24px 90px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.stats div {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.75);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.stats h2 {
  font-size: 54px;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -3px;
}

.stats p {
  margin-top: 12px;
  color: var(--muted);
  font-weight: 700;
}

.section {
  max-width: 1280px;
  margin: auto;
  padding: 100px 24px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 60px;
}

.section-heading h2 {
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -5px;
  font-weight: 900;
}

.section-heading p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.service-grid,
.portfolio-grid,
.testimonial-grid,
.instagram-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card,
.testimonial-card,
.portfolio-card,
.instagram-preview-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: 0.3s ease;
}

.service-card,
.testimonial-card {
  padding: 32px;
  min-height: 250px;
  position: relative;
}

.service-card::after,
.testimonial-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  opacity: 0.14;
  filter: blur(8px);
}

.service-card:hover,
.testimonial-card:hover,
.portfolio-card:hover,
.instagram-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 75px rgba(49,87,255,0.18);
}

.service-card span {
  color: var(--blue);
  font-weight: 900;
  font-size: 15px;
}

.service-card h3 {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 24px 0 14px;
}

.service-card p,
.testimonial-card p {
  color: var(--muted);
  font-size: 16px;
}

.dark-section {
  max-width: 1220px;
  border-radius: 52px;
  background:
    radial-gradient(circle at 20% 20%, rgba(49,87,255,0.14), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(255,47,146,0.12), transparent 30%),
    rgba(255,255,255,0.58);
  border: 1px solid rgba(255,255,255,0.75);
  box-shadow: var(--shadow);
}

.portfolio-card {
  padding: 18px;
}

.portfolio-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  border-radius: 24px;
  margin-bottom: 16px;
}

.portfolio-card h3 {
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.6px;
  margin: 8px 0 8px;
  color: var(--ink);
}

.portfolio-card p {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.instagram-preview-card {
  padding: 18px;
}

.instagram-preview-card blockquote {
  margin: 0 auto !important;
  min-width: 100% !important;
  max-width: 100% !important;
}

.client-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

.client-strip span {
  border: 1px solid var(--line);
  background: var(--ink);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
}

.testimonial-card {
  min-height: 260px;
}

.testimonial-card h4 {
  margin-top: 26px;
  font-size: 20px;
}

.testimonial-card span {
  color: var(--blue);
  font-weight: 800;
}

.cta-section {
  max-width: 1180px;
  margin: 60px auto;
  padding: 90px 28px;
  border-radius: 54px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff, #eaf0ff);
  color: var(--ink);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
}

.cta-section h2 {
  font-size: clamp(44px, 6vw, 86px);
  line-height: 0.95;
  letter-spacing: -5px;
  font-weight: 900;
}

.cta-section p {
  margin: 18px 0 34px;
  font-size: 20px;
  font-weight: 700;
  color: var(--muted);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.contact-wrapper h2 {
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.95;
  letter-spacing: -4px;
}

.contact-wrapper p {
  color: var(--muted);
  margin-top: 18px;
  font-size: 17px;
}

.contact-info,
.contact-form {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: var(--shadow);
}

.contact-info {
  margin-top: 34px;
  padding: 28px;
  border-radius: 30px;
}

.contact-form {
  padding: 34px;
  border-radius: 36px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(49,87,255,0.09);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.form-msg {
  color: var(--blue) !important;
  font-weight: 800;
}

.footer {
  padding: 44px 24px;
  text-align: center;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer h3 {
  font-size: 30px;
  letter-spacing: -1px;
}

.footer p {
  color: var(--muted);
  margin-top: 10px;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 998;
  padding: 15px 22px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 18px 60px rgba(37,211,102,0.38);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink), var(--orange));
  z-index: 10000;
}

.cursor-glow {
  position: fixed;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  background: radial-gradient(circle, rgba(49,87,255,0.35), transparent 70%);
  transform: translate(-50%, -50%);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.miraa-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  min-height: 100dvh;
  background:
    radial-gradient(circle at 25% 20%, rgba(49,87,255,0.18), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(255,47,146,0.16), transparent 34%),
    #f7f8ff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.miraa-loader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-box {
  width: min(92vw, 380px);
  padding: 34px 24px;
  border-radius: 34px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.9);
  box-shadow: var(--shadow);
  text-align: center;
  backdrop-filter: blur(18px);
}

.loader-logo {
  width: 78px;
  height: 78px;
  margin: 0 auto;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  box-shadow: 0 22px 55px rgba(49,87,255,0.28);
  animation: loaderFloat 1.8s ease-in-out infinite;
}

.loader-logo span {
  color: #fff;
  font-size: 40px;
  font-weight: 900;
}

.miraa-loader h2 {
  margin-top: 20px;
  font-size: clamp(32px, 9vw, 46px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -2px;
  color: var(--ink);
}

.miraa-loader p {
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.loader-line {
  width: 100%;
  max-width: 230px;
  height: 6px;
  margin: 24px auto 0;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(17,18,26,0.08);
}

.loader-line::before {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--pink));
  animation: loadingLine 1.05s ease-in-out infinite;
}

@keyframes loaderFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.04); }
}

@keyframes loadingLine {
  0% { transform: translateX(-130%); }
  100% { transform: translateX(250%); }
}

/* MOBILE FIX */
@media (max-width: 950px) {
  html,
  body {
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100%;
    touch-action: pan-y;
  }

  body {
    background:
      radial-gradient(circle at 10% 5%, rgba(49,87,255,0.12), transparent 28%),
      radial-gradient(circle at 90% 30%, rgba(255,47,146,0.10), transparent 30%),
      #f7f8ff;
  }

  body::after {
    background-size: 34px 34px;
  }

  .site-header {
    position: sticky;
    background: rgba(255,255,255,0.95);
  }

  .navbar {
    padding: 14px 16px;
  }

  .logo {
    font-size: 24px;
  }

  .logo span {
    width: 38px;
    height: 38px;
  }

  .menu-toggle {
    display: block;
    font-size: 30px;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 18px;
    max-height: calc(100dvh - 90px);
    overflow-y: auto;
    border-radius: 24px;
    background: rgba(255,255,255,0.98);
    border: 1px solid rgba(17,18,26,0.10);
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    background: rgba(49,87,255,0.04);
  }

  .nav-cta {
    text-align: center;
    margin-top: 6px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 48px 16px 48px;
    gap: 26px;
  }

  .hero-content::before {
    font-size: 12px;
    padding: 9px 13px;
  }

  .hero h1 {
    font-size: clamp(40px, 13vw, 62px);
    line-height: 0.96;
    letter-spacing: -2.4px;
  }

  .hero h1::after {
    width: 120px;
    height: 8px;
    margin-top: 20px;
  }

  .hero-text {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-buttons {
    margin-top: 26px;
    gap: 12px;
  }

  .btn {
    width: 100%;
    padding: 15px 20px;
    font-size: 14px;
  }

  .hero-card {
    min-height: auto;
    padding: 24px;
    border-radius: 28px;
    animation: none;
  }

  .hero-card::before {
    font-size: 58px;
    right: -12px;
    bottom: -8px;
  }

  .hero-card h3 {
    font-size: 26px;
    margin-bottom: 16px;
  }

  .hero-card li {
    font-size: 15px;
    padding: 13px 0;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    padding: 10px 16px 50px;
    gap: 14px;
  }

  .stats div {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .stats h2 {
    font-size: 36px;
    letter-spacing: -1.5px;
  }

  .stats p {
    font-size: 13px;
    line-height: 1.35;
  }

  .section {
    padding: 64px 16px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading h2 {
    font-size: clamp(34px, 11vw, 50px);
    line-height: 1;
    letter-spacing: -2px;
  }

  .section-heading p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .service-grid,
  .portfolio-grid,
  .testimonial-grid,
  .instagram-preview-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .service-card,
  .portfolio-card,
  .testimonial-card,
  .instagram-preview-card {
    padding: 22px;
    border-radius: 26px;
    min-height: auto;
    transform: none !important;
  }

  .service-card:hover,
  .portfolio-card:hover,
  .testimonial-card:hover,
  .instagram-preview-card:hover {
    transform: none !important;
  }

  .service-card h3,
  .portfolio-card h3 {
    font-size: 22px;
    margin: 14px 0 8px;
  }

  .service-card p,
  .portfolio-card p,
  .testimonial-card p {
    font-size: 15px;
    line-height: 1.55;
  }

  .dark-section {
    border-radius: 32px;
    padding: 58px 16px;
  }

  .portfolio-img {
    height: 178px;
    border-radius: 20px;
  }

  .instagram-preview-card {
    padding: 12px;
  }

  .instagram-preview-card blockquote {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .client-strip {
    gap: 10px;
    margin-bottom: 28px;
  }

  .client-strip span {
    font-size: 13px;
    padding: 10px 14px;
  }

  .testimonial-card h4 {
    margin-top: 18px;
    font-size: 18px;
  }

  .cta-section {
    margin: 28px 16px;
    padding: 52px 20px;
    border-radius: 32px;
  }

  .cta-section h2 {
    font-size: clamp(34px, 11vw, 50px);
    line-height: 1;
    letter-spacing: -2px;
  }

  .cta-section p {
    font-size: 16px;
    line-height: 1.5;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .contact-wrapper h2 {
    font-size: clamp(34px, 11vw, 50px);
    line-height: 1;
    letter-spacing: -2px;
  }

  .contact-wrapper p {
    font-size: 15.5px;
    line-height: 1.6;
  }

  .contact-info,
  .contact-form {
    padding: 22px;
    border-radius: 24px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 15px 16px;
    border-radius: 16px;
    font-size: 14px;
  }

  .footer {
    padding: 34px 18px;
  }

  .footer h3 {
    font-size: 24px;
  }

  .footer p {
    font-size: 14px;
    line-height: 1.5;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
    font-size: 13px;
  }

  .cursor-glow {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 420px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 40px;
  }

  .portfolio-img {
    height: 158px;
  }

  .section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .loader-box {
    width: 100%;
    padding: 32px 20px;
    border-radius: 30px;
  }

  .loader-logo {
    width: 70px;
    height: 70px;
    border-radius: 22px;
  }

  .loader-logo span {
    font-size: 36px;
  }
}