/* ============================
   DEMOPAN – Landing Page CSS
   ============================ */

:root {
  --orange: #E8620A;
  --orange-glow: rgba(232, 98, 10, 0.35);
  --dark: #1a1a1a;
  --dark2: #232323;
  --mid: #3a3a3a;
  --light: #f5f5f5;
  --white: #ffffff;
  --gray: #888;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--light);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ── Background grid ── */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

.bg-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(232,98,10,.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ── Particles ── */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: float-up linear infinite;
}

@keyframes float-up {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: .6; }
  90%  { opacity: .2; }
  100% { transform: translateY(-10vh) scale(1.2); opacity: 0; }
}

/* ── Main container ── */
.container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  width: 90%;
  padding: 2rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
  animation: fade-in .8s ease both;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Logo ── */
.logo-wrap {
  animation: fade-in .7s .1s ease both;
}

.logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  border-radius: 28px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08),
              0 8px 40px rgba(0,0,0,.5),
              0 0 60px var(--orange-glow);
  transition: transform .3s ease, box-shadow .3s ease;
}

.logo:hover {
  transform: scale(1.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12),
              0 12px 50px rgba(0,0,0,.6),
              0 0 80px var(--orange-glow);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(232,98,10,.12);
  border: 1px solid rgba(232,98,10,.3);
  color: var(--orange);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
  animation: fade-in .7s .2s ease both;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-dot 1.4s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,98,10,.7); }
  50%       { box-shadow: 0 0 0 5px rgba(232,98,10,0); }
}

/* ── Headline ── */
.headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--white);
  animation: fade-in .7s .3s ease both;
}

.accent {
  color: var(--orange);
  position: relative;
  display: inline-block;
}

.accent::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  animation: underline-in .6s .9s ease forwards;
}

@keyframes underline-in {
  to { transform: scaleX(1); }
}

/* ── Subtitle ── */
.subtitle {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #aaa;
  max-width: 520px;
  animation: fade-in .7s .4s ease both;
}

/* ── Progress bar ── */
.progress-wrap {
  width: 100%;
  max-width: 420px;
  animation: fade-in .7s .5s ease both;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: .5rem;
}

.progress-pct { color: var(--orange); font-weight: 600; }

.progress-track {
  height: 4px;
  background: rgba(255,255,255,.07);
  border-radius: 99px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange), #ff9a4a);
  border-radius: 99px;
  animation: fill-bar 1.4s .9s cubic-bezier(.22,1,.36,1) forwards;
  box-shadow: 0 0 12px var(--orange-glow);
}

@keyframes fill-bar {
  to { width: 75%; }
}

/* ── Contact block ── */
.contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  animation: fade-in .7s .55s ease both;
}

.contact-label {
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray);
  font-family: var(--font-display);
}

/* Phone link */
.phone-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}

.phone-link:hover { color: var(--orange); }

.phone-link svg { flex-shrink: 0; color: var(--orange); }

/* WhatsApp button */
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .75rem 1.8rem;
  background: #25D366;
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(37,211,102,.25);
  transition: transform .2s ease, box-shadow .2s ease, background .2s;
  position: relative;
  overflow: hidden;
}

.whatsapp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.0);
  transition: background .2s;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(37,211,102,.4);
  background: #1ebe5d;
}

.whatsapp-btn:active { transform: translateY(0); }

/* ── Address ── */
.address {
  font-size: .8rem;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: wrap;
  animation: fade-in .7s .65s ease both;
}

.address svg { color: var(--orange); flex-shrink: 0; }

.address a {
  color: #888;
  text-decoration: none;
  transition: color .2s;
}
.address a:hover { color: var(--orange); }

/* ── Responsive ── */
@media (max-width: 480px) {
  .headline { font-size: 2.2rem; }
  .subtitle { font-size: .92rem; }
  .phone-link { font-size: 1.4rem; }
  .hide-mobile { display: none; }
  .logo { width: 110px; height: 110px; }
}
