/* --- Variables (Digital Twilight) --- */
:root {
  --bg: #0D0D0D;
  --bg-card: rgba(255, 255, 255, 0.05);
  --cyan: #00E8FF;
  --violet: #8A00FF;
  --text: #FFFFFF;
  --text-muted: #B0B0B0;
  --gradient-cta: linear-gradient(135deg, #00E8FF 0%, #8A00FF 100%);
  --gradient-subtle: linear-gradient(180deg, rgba(0,232,255,0.03) 0%, transparent 50%, rgba(138,0,255,0.03) 100%);
  --font: 'Montserrat', system-ui, sans-serif;
  --max-w: 72rem;
  --nav-h: 5rem;
  --touch-min: 44px;
}

/* --- Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }

/* Skip link for accessibility & SEO */
.skip-link {
  position: absolute;
  top: -3rem;
  left: 0;
  padding: 0.5rem 1rem;
  background: var(--cyan);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  z-index: 100;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

.page { min-height: 100vh; min-height: 100dvh; overflow-x: hidden; width: 100%; }

/* Grid pattern */
.bg-grid-pattern {
  background-image:
    linear-gradient(rgba(0, 232, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 232, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .container { padding: 0 2rem; } }

.narrow { max-width: 48rem; margin-left: auto; margin-right: auto; }

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}
@media (min-width: 640px) { .nav-inner { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 2rem; } }
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  min-height: var(--touch-min);
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.logo-sx { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.05em; }
.logo-media { font-weight: 700; font-size: 1.125rem; color: var(--text); }
@media (max-width: 639px) { .logo-media { display: none; } }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: var(--touch-min);
  min-width: var(--touch-min);
  height: var(--touch-min);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
}
.nav-toggle:hover { color: var(--cyan); }
.nav-toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
@media (min-width: 768px) { .nav-toggle { display: none; } }

.nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  gap: 0;
  padding: 1rem 0;
  background: rgba(13, 13, 13, 0.98);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  max-height: calc(100vh - var(--nav-h));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-menu.is-open { display: flex; }
@media (min-width: 768px) {
  .nav-links-wrap { position: relative; }
  .nav-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
    background: transparent;
    border: none;
  }
}
.nav-link {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--cyan); }
@media (min-width: 768px) { .nav-link { padding: 0; } }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  min-height: var(--touch-min);
  border-radius: 0.5rem;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.875rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  text-align: center;
}
.btn-cta {
  background: var(--gradient-cta);
  color: #0D0D0D;
}
.btn-cta:hover { box-shadow: 0 0 30px rgba(0, 232, 255, 0.3); }
.btn-cta-outline {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}
.btn-cta-outline:hover { background: rgba(0, 232, 255, 0.1); box-shadow: 0 0 20px rgba(0, 232, 255, 0.2); }
.btn-lg { padding: 1rem 1.5rem; font-size: 1rem; }
@media (min-width: 480px) { .btn-lg { padding: 1rem 2rem; font-size: 1.125rem; } }
.btn-block { width: 100%; text-align: center; padding: 1rem; }
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 36rem;
  margin: 0 auto;
}
.hero-ctas .btn { margin: 0; }
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
}
@media (min-width: 768px) { .nav-menu .btn-cta { margin: 0; } }
@media (max-width: 767px) { .nav-menu .btn-cta { margin: 0 1rem; } }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 1rem 3rem;
  overflow: hidden;
}
@media (min-width: 480px) { .hero { padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem; } }
@media (min-width: 768px) { .hero { padding: calc(var(--nav-h) + 4rem) 2rem 4rem; } }
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
  width: 100%;
  padding: 0 0.5rem;
}
@media (min-width: 640px) { .hero-content { padding: 0; } }
.logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(0, 232, 255, 0.3);
  animation: float 6s ease-in-out infinite;
}
@media (min-width: 480px) { .logo-box { width: 8rem; height: 8rem; margin-bottom: 2rem; } }
@media (min-width: 768px) { .logo-box { width: 10rem; height: 10rem; } }
.logo-box-sx { font-size: 3rem; font-weight: 900; }
@media (min-width: 768px) { .logo-box-sx { font-size: 3.75rem; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: 1.625rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
  word-wrap: break-word;
}
@media (min-width: 480px) { .hero-title { font-size: 1.875rem; } }
@media (min-width: 640px) { .hero-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 3.75rem; } }
.hero-sub {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
  padding: 0 0.25rem;
}
@media (min-width: 480px) { .hero-sub { font-size: 1.125rem; padding: 0; } }
@media (min-width: 768px) { .hero-sub { font-size: 1.25rem; } }
.hero-tagline {
  color: var(--text);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 2.5rem;
}
@media (min-width: 768px) { .hero-tagline { font-size: 1.5rem; } }

/* --- Stats --- */
.stats { padding: 2.5rem 0; border-top: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 768px) { .stats { padding: 4rem 0; } }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  text-align: center;
  align-items: stretch;
}
@media (min-width: 480px) { .stats-grid { gap: 1.5rem; } }
@media (min-width: 640px) { .stats-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.stats-card {
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  border-color: rgba(0, 232, 255, 0.2);
  min-width: 0;
}
@media (min-width: 480px) { .stats-card { padding: 1.5rem; } }
@media (min-width: 768px) { .stats-card { padding: 2rem; } }
.stats-card:nth-child(2) { border-color: rgba(138, 0, 255, 0.2); }
.stat-value { font-size: 1.5rem; font-weight: 900; margin: 0; }
@media (min-width: 480px) { .stat-value { font-size: 1.875rem; } }
@media (min-width: 768px) { .stat-value { font-size: 2.25rem; } }
.stat-label { color: var(--text-muted); font-weight: 500; margin: 0.25rem 0 0; font-size: 0.875rem; }
@media (min-width: 768px) { .stat-label { font-size: 0.9375rem; } }

/* --- Why --- */
.why { padding: 2.5rem 1rem; }
@media (min-width: 640px) { .why { padding: 4rem 1.5rem; } }
@media (min-width: 768px) { .why { padding: 6rem 1rem; } }
.why-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  padding: 0 0.25rem;
}
@media (min-width: 480px) { .why-text { padding: 0; font-size: 1.125rem; } }
@media (min-width: 768px) { .why-text { font-size: 1.25rem; } }

/* --- How it works --- */
.how-section { padding: 2.5rem 1rem; }
@media (min-width: 768px) { .how-section { padding: 6rem 1rem; } }
.how-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  min-width: 0;
}
@media (min-width: 640px) { .how-grid { gap: 1.5rem; } }
@media (min-width: 768px) { .how-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
.how-card {
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  border-color: rgba(0, 232, 255, 0.15);
  min-width: 0;
}
@media (min-width: 768px) { .how-card { padding: 2rem; } }
.how-card:nth-child(2) { border-color: rgba(138, 0, 255, 0.15); }
.how-card-title { font-size: 1.125rem; font-weight: 800; color: var(--text); margin: 0 0 0.25rem; }
@media (min-width: 480px) { .how-card-title { font-size: 1.25rem; } }
.how-card-sub { color: var(--text-muted); font-size: 0.875rem; margin: 0 0 1rem; }
@media (min-width: 480px) { .how-card-sub { font-size: 0.9375rem; margin-bottom: 1.25rem; } }
.how-steps {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}
@media (min-width: 480px) { .how-steps { font-size: 0.9375rem; margin-bottom: 1.5rem; } }
.how-steps li { margin-bottom: 0.75rem; }
.how-steps li:last-child { margin-bottom: 0; }
.how-steps strong { color: var(--text); }
.how-card .btn { min-height: var(--touch-min); }

/* --- Sections --- */
.section { padding: 2.5rem 1rem; }
@media (min-width: 640px) { .section { padding: 4rem 1.5rem; } }
@media (min-width: 768px) { .section { padding: 6rem 1rem; } }
.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  text-align: center;
  margin: 0 0 0.75rem;
  line-height: 1.25;
  word-wrap: break-word;
}
@media (min-width: 480px) { .section-title { font-size: 1.875rem; margin-bottom: 1rem; } }
@media (min-width: 768px) { .section-title { font-size: 2.25rem; } }
.section-desc {
  color: var(--text-muted);
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
  font-size: 0.9375rem;
  padding: 0 0.25rem;
}
@media (min-width: 480px) { .section-desc { padding: 0; font-size: 1rem; margin-bottom: 2.5rem; } }
@media (min-width: 768px) { .section-desc { margin-bottom: 3rem; } }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  min-width: 0;
}
@media (min-width: 640px) { .services-grid { gap: 1.5rem; } }
@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}
.service-card {
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  transition: border-color 0.2s;
  min-width: 0;
}
@media (min-width: 768px) { .service-card { padding: 2rem; } }
.service-card:hover { border-color: rgba(0, 232, 255, 0.3); }
.service-icon { font-size: 2rem; display: block; margin-bottom: 0.75rem; }
@media (min-width: 480px) { .service-icon { font-size: 2.25rem; margin-bottom: 1rem; } }
.service-title { font-size: 1.125rem; font-weight: 700; color: var(--text); margin: 0 0 0.5rem; }
@media (min-width: 480px) { .service-title { font-size: 1.25rem; } }
.service-desc { color: var(--text-muted); margin: 0; font-size: 0.9375rem; line-height: 1.5; }
@media (min-width: 480px) { .service-desc { font-size: 1rem; } }

/* Portfolio / Case studies */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  min-width: 0;
}
@media (min-width: 480px) { .portfolio-grid { gap: 1.5rem; } }
@media (min-width: 640px) { .portfolio-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .portfolio-grid { grid-template-columns: repeat(3, 1fr); } }
.case-card {
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  border-color: rgba(138, 0, 255, 0.2);
  transition: border-color 0.2s;
  min-width: 0;
}
@media (min-width: 768px) { .case-card { padding: 1.5rem; } }
.case-card:hover { border-color: rgba(138, 0, 255, 0.4); }
.case-tag { font-size: 0.75rem; font-weight: 700; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.05em; }
.case-title { font-size: 1rem; font-weight: 700; color: var(--text); margin: 0.5rem 0 0.75rem; line-height: 1.3; }
@media (min-width: 480px) { .case-title { font-size: 1.125rem; margin-bottom: 1rem; } }
.case-metrics { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; font-size: 0.8125rem; }
@media (min-width: 480px) { .case-metrics { font-size: 0.875rem; } }
.highlight-cyan { color: var(--cyan); font-weight: 600; }
.case-roi { color: var(--violet); font-weight: 700; }

/* CTA strip */
.cta-strip {
  padding: 2.5rem 1rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (min-width: 768px) { .cta-strip { padding: 4rem 1rem; } }
.cta-title { font-size: 1.375rem; font-weight: 900; color: var(--text); margin: 0 0 0.25rem; }
@media (min-width: 480px) { .cta-title { font-size: 1.5rem; } }
@media (min-width: 768px) { .cta-title { font-size: 1.875rem; } }
.cta-sub { color: var(--text-muted); font-size: 0.9375rem; margin: 0 0 1rem; padding: 0 0.25rem; }
.cta-strip-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  align-items: center;
}
.cta-strip-btns .btn { margin: 0; min-height: var(--touch-min); }
@media (max-width: 480px) {
  .cta-strip-btns { flex-direction: column; width: 100%; }
  .cta-strip-btns .btn { width: 100%; }
}

/* Contact form + dual (brands / creators) */
.contact-dual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 56rem;
  margin: 0 auto;
  min-width: 0;
}
@media (min-width: 640px) { .contact-dual { gap: 2rem; } }
@media (min-width: 768px) { .contact-dual { grid-template-columns: 1fr 1fr; } }
.contact-form-wrap {
  border-radius: 1rem;
  padding: 1.25rem 1rem;
  border-color: rgba(255, 255, 255, 0.1);
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 480px) { .contact-form-wrap { padding: 1.5rem; } }
@media (min-width: 768px) { .contact-form-wrap { padding: 2rem; } }
.contact-form-wrap.highlight { border-color: var(--cyan); box-shadow: 0 0 24px rgba(0, 232, 255, 0.15); }
.contact-form-heading { font-size: 1.0625rem; font-weight: 800; color: var(--text); margin: 0 0 0.25rem; }
@media (min-width: 480px) { .contact-form-heading { font-size: 1.125rem; } }
.contact-form-sub { color: var(--text-muted); font-size: 0.8125rem; margin: 0 0 1rem; line-height: 1.5; }
@media (min-width: 480px) { .contact-form-sub { font-size: 0.875rem; margin-bottom: 1.25rem; } }
.contact-form-wrap .btn-block { min-height: var(--touch-min); margin-top: 0.5rem; }

/* Footer */
.footer { padding: 1.5rem 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
@media (min-width: 640px) { .footer { padding: 2rem 1.5rem; } }
@media (min-width: 1024px) { .footer { padding: 2rem 2rem; } }
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: center;
  width: 100%;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; text-align: left; }
}
.footer-logo { font-weight: 700; }
.footer-copy { color: var(--text-muted); font-size: 0.8125rem; margin: 0; line-height: 1.5; }
@media (min-width: 480px) { .footer-copy { font-size: 0.875rem; } }

/* Card helper */
.card { box-sizing: border-box; }

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: max(1rem, env(safe-area-inset-bottom));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 50;
  width: var(--touch-min);
  height: var(--touch-min);
  min-width: var(--touch-min);
  min-height: var(--touch-min);
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.2s;
  text-decoration: none;
}
@media (min-width: 480px) {
  .whatsapp-float {
    bottom: max(1.5rem, env(safe-area-inset-bottom));
    right: max(1.5rem, env(safe-area-inset-right));
  }
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float:active { transform: scale(0.98); }
.whatsapp-icon { width: 1.75rem; height: 1.75rem; }
@media (min-width: 480px) { .whatsapp-icon { width: 2rem; height: 2rem; } }

.text-center { text-align: center; }
