/* ============================================================
   POETIC ADS — Design System
   Dark Orange · Glassmorphism · Poetic Serif
   ============================================================ */

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

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange:       #FF8C00;
  --orange-glow:  rgba(255, 140, 0, 0.30);
  --orange-dim:   rgba(255, 140, 0, 0.12);
  --bg:           #080808;
  --bg-2:         #0f0f0f;
  --bg-3:         #141414;
  --glass-bg:     rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --text:         #f0ede8;
  --text-muted:   rgba(240, 237, 232, 0.55);
  --text-faint:   rgba(240, 237, 232, 0.30);
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Inter', system-ui, sans-serif;
  --radius:       16px;
  --radius-sm:    10px;
  --transition:   0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ── Typography ── */
.serif { font-family: var(--serif); }

h1, h2, h3, h4 { font-family: var(--serif); line-height: 1.2; }

.section-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin-top: 1rem;
  line-height: 1.75;
}

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section { padding: 7rem 0; }

/* ── Glass Card ── */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.glass:hover {
  border-color: rgba(255, 140, 0, 0.25);
  box-shadow: 0 0 30px var(--orange-glow);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--orange);
  color: #080808;
  font-weight: 600;
}
.btn-primary:hover {
  background: #ffa030;
  box-shadow: 0 0 30px var(--orange-glow);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--glass-border);
  color: var(--text);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 8, 8, 0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(8, 8, 8, 0.9);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

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

.nav-logo {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}
.nav-logo span { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--orange);
  transition: width 0.3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  background: var(--orange);
  color: #080808 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: var(--transition) !important;
}
.nav-cta:hover {
  background: #ffa030 !important;
  box-shadow: 0 0 20px var(--orange-glow);
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}

/* ── Footer ── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 0.75rem;
  max-width: 280px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.2rem;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--text-faint);
}

/* ── Divider / Ornament ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.ornament::before,
.ornament::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(to right, transparent, var(--orange-dim));
}
.ornament::after {
  background: linear-gradient(to left, transparent, var(--orange-dim));
}
.ornament-icon { color: var(--orange); font-size: 0.9rem; }

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Background Glow Orbs ── */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.orb-orange { background: radial-gradient(circle, rgba(255,140,0,0.18) 0%, transparent 70%); }
.orb-dim    { background: radial-gradient(circle, rgba(255,100,0,0.10) 0%, transparent 70%); }

/* ── Tag chip ── */
.tag {
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,140,0,0.25);
  color: var(--orange);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: rgba(8,8,8,0.97); padding: 1.5rem 2rem; gap: 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  section { padding: 5rem 0; }
}

@media (max-width: 600px) {
  .container { padding: 0 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ── Scroll Progress Bar ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #ffd080);
  z-index: 9999;
  transition: width 0.1s linear;
  box-shadow: 0 0 10px var(--orange-glow);
}

/* ── Floating WhatsApp Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 9998;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.4);
  animation: waPulse 2.5s ease-in-out infinite;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  color: #fff;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 32px rgba(37,211,102,0.6), 0 0 0 0 rgba(37,211,102,0.2);
  animation: none;
}
.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #fff;
  display: block;
}
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a1a;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s 0.1s;
  border: 1px solid rgba(255,255,255,0.08);
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%; top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a1a;
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

@keyframes waPulse {
  0%   { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0.35); }
  70%  { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 4px 24px rgba(37,211,102,0.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ── Glass Card Shimmer ── */
.glass {
  position: relative;
  overflow: hidden;
}
.glass::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.04) 50%, transparent 80%);
  transform: skewX(-15deg);
  transition: left 0.6s ease;
  pointer-events: none;
  border-radius: 0;
}
.glass:hover::after { left: 130%; }

/* ── Counter Number ── */
.stat-num.counting { color: var(--orange); text-shadow: 0 0 20px var(--orange-glow); }

/* ── Page Transition ── */
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
body { animation: pageFadeIn 0.5s ease forwards; }

/* ── Icon accent styles ── */
.icon-accent {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--orange-dim);
  border: 1px solid rgba(255,140,0,0.25);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.icon-accent svg { width: 20px; height: 20px; fill: var(--orange); }
.glass:hover .icon-accent { background: rgba(255,140,0,0.2); box-shadow: 0 0 16px var(--orange-glow); }
