@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --bg: #0c0f14;
  --bg-card: #13161d;
  --bg-elevated: #1a1e27;
  --bg-hover: #1f2430;
  --accent: #4a8eff;
  --accent-soft: rgba(74, 142, 255, 0.1);
  --accent-hover: #3a7ae8;
  --gold: #c8a45e;
  --gold-soft: rgba(200, 164, 94, 0.1);
  --text: #e8eaed;
  --text-secondary: #8b919e;
  --text-muted: #555b68;
  --border: #1e222c;
  --border-hover: #2a303d;
  --whatsapp: #25d366;
  --whatsapp-hover: #1eba59;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- NAV ---- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 15, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

nav.scrolled { border-bottom-color: var(--border); }

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

.logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--bg) !important;
  padding: 9px 22px !important;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background 0.2s !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  color: var(--bg) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 4px;
  transition: 0.3s;
}

/* ---- HERO ---- */
.hero {
  padding: 150px 0 110px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 560px;
}

/* ---- HERO VISUAL (animated) ---- */
.hero-visual {
  position: relative;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-glow {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 142, 255, 0.22) 0%, rgba(74, 142, 255, 0) 68%);
  filter: blur(8px);
  animation: glowPulse 6s ease-in-out infinite;
}

.browser-mock {
  position: relative;
  z-index: 2;
  width: 320px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-hover);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: floatMock 7s ease-in-out infinite;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border);
}

.browser-bar .dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-hover);
}

.browser-bar .dot:nth-child(1) { background: #ef5f5f; }
.browser-bar .dot:nth-child(2) { background: #f0b429; }
.browser-bar .dot:nth-child(3) { background: #3ecf6e; }

.browser-url {
  margin-left: 10px;
  flex: 1;
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg);
  border-radius: 6px;
  padding: 5px 10px;
  text-align: center;
}

.browser-body {
  padding: 22px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 12px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--bg-hover) 0%, var(--border-hover) 50%, var(--bg-hover) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
}

.skeleton-line.w-90 { width: 90%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-50 { width: 50%; }

.skeleton-block {
  height: 80px;
  border-radius: 10px;
  background: linear-gradient(90deg, var(--accent-soft) 0%, rgba(74,142,255,0.18) 50%, var(--accent-soft) 100%);
  background-size: 200% 100%;
  animation: shimmer 2.4s linear infinite;
  margin: 4px 0;
}

.float-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: rgba(19, 22, 29, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hover);
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

.float-chip svg { width: 16px; height: 16px; }

.float-chip.fc-1 { top: 24px; right: 4px; animation: floatChip 5s ease-in-out infinite; }
.float-chip.fc-2 { bottom: 70px; left: -6px; animation: floatChip 6s ease-in-out infinite 0.6s; }
.float-chip.fc-3 { bottom: 8px; right: 30px; animation: floatChip 5.5s ease-in-out infinite 1.1s; }

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.12); opacity: 1; }
}

@keyframes floatMock {
  0%, 100% { transform: translateY(0) rotate(-0.4deg); }
  50% { transform: translateY(-14px) rotate(0.4deg); }
}

@keyframes floatChip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

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

/* ---- HERO LOAD REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: revealUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal[data-reveal="1"] { animation-delay: 0.05s; }
.reveal[data-reveal="2"] { animation-delay: 0.18s; }
.reveal[data-reveal="3"] { animation-delay: 0.32s; }
.reveal[data-reveal="4"] { animation-delay: 0.46s; }

.hero-visual {
  opacity: 0;
  animation: revealUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards;
}

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

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 6px 14px;
  background: var(--accent-soft);
  border-radius: 20px;
}

.hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.75;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.2px;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(74, 142, 255, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-hover);
}

.btn-outline:hover {
  border-color: var(--text-muted);
  background: var(--bg-card);
}

/* ---- SERVICES ---- */
.services {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  margin-bottom: 56px;
}

.section-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 460px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.service-card {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s;
}

.service-card:hover .service-icon {
  transform: scale(1.12) rotate(-6deg);
  background: rgba(74, 142, 255, 0.18);
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---- ABOUT ---- */
.about {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-photo-single {
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
  max-width: 360px;
}

.about-photo-single img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.75;
}

.about-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

/* ---- BENEFITS ---- */
.benefits {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.benefits-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.benefits-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.benefit-marker {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: var(--accent-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.benefit-marker svg {
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.benefit-text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.65;
}

.stats-box {
  background: var(--bg-elevated);
  border-radius: 16px;
  padding: 36px;
  border: 1px solid var(--border);
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stat {
  padding: 20px 16px;
  background: var(--bg-card);
  border-radius: 12px;
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- CTA ---- */
.cta { padding: 100px 0; }

.cta-box {
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 64px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 40%, rgba(74, 142, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-box h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
  position: relative;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 420px;
  margin: 0 auto 32px;
  position: relative;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* ---- FOOTER ---- */
footer {
  padding: 36px 0;
  border-top: 1px solid var(--border);
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* stagger cards within a grid as they enter */
.services-grid .fade-up:nth-child(2) { transition-delay: 0.08s; }
.services-grid .fade-up:nth-child(3) { transition-delay: 0.16s; }
.services-grid .fade-up:nth-child(4) { transition-delay: 0.24s; }
.benefits-list .fade-up:nth-child(2) { transition-delay: 0.08s; }
.benefits-list .fade-up:nth-child(3) { transition-delay: 0.16s; }
.benefits-list .fade-up:nth-child(4) { transition-delay: 0.24s; }

/* count-up numbers pop slightly when they land */
.stat-number.counted {
  animation: numberPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes numberPop {
  0% { transform: scale(0.8); }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal, .hero-visual, .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(12, 15, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }

  .hero { padding: 116px 0 64px; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    height: 320px;
    order: -1;
  }

  .browser-mock { width: 280px; }

  .services-grid { grid-template-columns: 1fr; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-photo-single {
    max-width: 280px;
    margin: 0 auto;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .cta-box { padding: 48px 24px; }

  footer .container {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg { width: 26px; height: 26px; }
}

@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 30px; }

  .about-photo-single {
    max-width: 240px;
  }

  .hero-visual { height: 280px; }
  .browser-mock { width: 240px; }
  .float-chip { font-size: 12px; padding: 8px 12px; }
  .float-chip.fc-1 { right: -4px; }
  .float-chip.fc-2 { left: -4px; }
}
