/* ============================================
   Digital Pro Creators — Shared Stylesheet
   Theme: Minimal White & Blue
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --blue-50:  #eff6ff;
  --blue-100: #dbeafe;
  --blue-400: #60a5fa;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --blue-900: #1e3a8a;
  --white:    #ffffff;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-700: #334155;
  --gray-900: #0f172a;

  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(37,99,235,.10);
  --shadow-lg: 0 16px 48px rgba(37,99,235,.15);

  --transition: .3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────── */
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); font-weight: 700; line-height: 1.2; letter-spacing: -.015em; }
h3 { font-size: 1.25rem; font-weight: 600; line-height: 1.3; }
h4 { font-size: 1rem;    font-weight: 600; }
p  { color: var(--gray-500); }

.text-blue   { color: var(--blue-600); }
.text-center { text-align: center; }
.text-muted  { color: var(--gray-400); font-size: .875rem; }

/* ── Layout ─────────────────────────────────── */
.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 64px 0; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  color: var(--blue-600);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-header {
  max-width: 560px;
  margin-bottom: 64px;
}
.section-header.centered {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-header p {
  margin-top: 12px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.35);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,99,235,.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue-600);
  border: 2px solid var(--blue-200, #bfdbfe);
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--blue-600);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn svg { width: 18px; height: 18px; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* ── Navigation ──────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all var(--transition);
  overflow-x: hidden;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.logo {
  flex-shrink: 0;
}

.navbar.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  min-width: 0;
}

.logo-icon {
  width: 36px; height: 36px;
  background: var(--blue-600);
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.logo-icon svg { width: 20px; height: 20px; fill: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 1;
  flex-wrap: nowrap;
  min-width: 0;
  overflow: hidden;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-600);
  background: var(--blue-50);
}

.nav-cta { margin-left: 12px; }

.mobile-menu { display: none; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }



/* ── Page Hero (inner pages) ─────────────────── */
.page-hero {
  padding: 160px 0 60px;
  background: linear-gradient(135deg, var(--blue-50) 0%, var(--white) 60%);
  overflow: hidden;
}

.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-hero p  { margin-top: 16px; font-size: 1.1rem; max-width: 520px; }

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand .logo { color: var(--white); margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: .9rem;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--blue-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .85rem;
}

.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.06);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  transition: all var(--transition);
}
.social-links a:hover { background: var(--blue-600); color: var(--white); }
.social-links svg { width: 16px; height: 16px; }

/* ── CTA Banner ──────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--blue-600) 0%, var(--blue-900) 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 500px; height: 500px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -40%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-banner .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,.75); font-size: 1.05rem; margin-bottom: 36px; }
.cta-banner .btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Team Component ──────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  text-align: center;
  transition: all var(--transition);
}
.team-card:hover { transform: translateY(-6px); }

.team-avatar {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
}
.av-1::before { background: linear-gradient(135deg, #dbeafe, #eff6ff); }
.av-2::before { background: linear-gradient(135deg, #dcfce7, #f0fdf4); }
.av-3::before { background: linear-gradient(135deg, #fae8ff, #fdf4ff); }
.av-4::before { background: linear-gradient(135deg, #fed7aa, #fff7ed); }

.team-avatar span, .team-avatar img { position: relative; z-index: 1; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; color: var(--gray-900); }
.team-card .role { font-size: .8rem; color: var(--blue-600); font-weight: 600; margin-bottom: 8px; display: block; }
.team-card p { font-size: .8rem; color: var(--gray-500); }

/* ── Cards ───────────────────────────────────── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--blue-100, #dbeafe);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-icon {
  width: 52px; height: 52px;
  background: var(--blue-50);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--blue-600); fill: none; stroke-width: 1.75; }

/* ── Grid Layouts ────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ── Divider ──────────────────────────────────  */
.divider {
  height: 1px;
  background: var(--gray-100);
  margin: 0;
}

/* ── Scroll Animations ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(.92);
  transition: opacity .65s cubic-bezier(.4,0,.2,1),
              transform .65s cubic-bezier(.4,0,.2,1);
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger > * { transition-delay: calc(var(--i, 0) * 80ms); }
.stagger > *:nth-child(1) { --i: 0; }
.stagger > *:nth-child(2) { --i: 1; }
.stagger > *:nth-child(3) { --i: 2; }
.stagger > *:nth-child(4) { --i: 3; }
.stagger > *:nth-child(5) { --i: 4; }
.stagger > *:nth-child(6) { --i: 5; }

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }

  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; flex-shrink: 0; }

  .logo img { height: 50px; }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--white);
    padding: 24px;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    z-index: 999;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    padding: 14px 16px;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
  }
  .mobile-menu a:hover { color: var(--blue-600); background: var(--blue-50); }
  .mobile-menu .btn { margin-top: 8px; justify-content: center; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr !important; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

/* ── New Utilities ─────────────────────────── */

/* Scroll to Top */
#scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  background: var(--blue-600);
  color: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
}
#scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}
#scroll-to-top:hover {
  background: var(--blue-700);
  transform: translateY(-4px);
}

/* Mandatory Field */
.mandatory { color: #ef4444; margin-left: 2px; font-weight: bold; }

/* FAQ Dark Charcoal Background */
.faq-dark {
  background: #1a1a1a !important;
  color: #ffffff;
}
.faq-dark h2, .faq-dark .section-label { color: var(--1a1a1a); }
.faq-dark .faq-item { border-color: rgba(255,255,255,.1); }
.faq-dark .faq-q { background: #262626; color: var(--white); }
.faq-dark .faq-q:hover { background: #333333; }
.faq-dark .faq-a { background: #262626; color: rgba(255,255,255,.7); }

/* Pricing Hidden */
.pricing-content {
  display: block;
}
.pricing-content.hidden {
  display: none;
}

.pricing-toggle-container {
  text-align: center;
  margin-bottom: 48px;
}

/* Available Badge */
.available-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-600);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.dot {
  width: 8px; height: 8px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse { 
  0%,100% { transform: scale(1); opacity: 1; } 
  50% { transform: scale(1.4); opacity: .6; } 
}

/* Grid Variations */
.grid-services {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* ── Floating Contact Buttons ────────────────── */
.floating-contact-wrap {
  position: fixed;
  right: 30px;
  bottom: 110px; /* Above scroll-to-top (30px) + its height (48px) + gap */
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 998;
  animation: slideInRight 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  animation-delay: 0.5s;
}

.floating-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
  cursor: pointer;
}

.floating-btn:hover {
  transform: scale(1.1) translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,.2);
}

.whatsapp-btn {
  background: #25D366;
}

.call-btn {
  background: var(--blue-600);
}

.whatsapp-btn:hover { background: #20ba5a; }
.call-btn:hover { background: var(--blue-700); }

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 600px) {
  .floating-contact-wrap {
    right: 20px;
    bottom: 90px;
    gap: 10px;
  }
  .floating-btn {
    width: 48px;
    height: 48px;
  }
  .floating-btn svg {
    transform: scale(0.9);
  }
}

@media (max-width: 600px) {
  #scroll-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; }
  section { padding: 48px 0; }
}
