/* =============================================================
   ProDaddy Agency – main stylesheet
   -------------------------------------------------------------
   How this file is organised (top to bottom):
     1. Brand colours and basic settings
     2. Reusable pieces (buttons, headings, section spacing)
     3. One block per page section, in the same order as index.html
     4. Animations
   To change a brand colour, edit it once in section 1.
   ============================================================= */


/* ---------- 1. BRAND COLOURS & BASICS ---------- */
:root {
  --bg:        #0b0a14;   /* page background (near black, violet tint) */
  --bg-alt:    #120f22;   /* background for every other section */
  --card:      #16132a;   /* cards and boxes */
  --line:      rgba(255, 255, 255, .08);  /* thin borders */
  --text:      #f4f2fb;   /* main text */
  --muted:     #a9a3c2;   /* secondary text */
  --violet:    #6c34ff;   /* brand colour 1 */
  --pink:      #ff2e7a;   /* brand colour 2 */
  --gold:      #ffc23d;   /* highlight colour */
  --gradient:  linear-gradient(120deg, var(--violet), var(--pink));
  --radius:    24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }

/* Fine film grain over the whole page for a premium feel */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 100;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* ---------- 2. REUSABLE PIECES ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; }
.section-alt { background: var(--bg-alt); }

.eyebrow {                       /* small gold label above headings */
  display: inline-block;
  font-size: 13px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
h1, h2, h3 { line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 18px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--gradient); box-shadow: 0 10px 30px -10px rgba(255, 46, 122, .6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255, 46, 122, .75); }
.btn-outline { border: 1px solid rgba(255, 255, 255, .2); }
.btn-outline:hover { background: rgba(255, 255, 255, .06); }
.btn-white { background: #fff; color: #1a0b2e; }
.btn-white:hover { transform: translateY(-2px); }
.button-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* Cards light up where the mouse is (position set by main.js) */
.glow-card { position: relative; overflow: hidden; }
.glow-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, -500px) var(--my, -500px), rgba(255, 46, 122, .13), transparent 45%);
  pointer-events: none;
  border-radius: inherit;
}


/* ---------- 3a. NAVIGATION BAR ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.scrolled { background: rgba(11, 10, 20, .82); backdrop-filter: blur(14px); border-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; }
.logo img { width: 38px; height: 38px; }
.logo small { display: block; margin-top: -4px; font-size: 9px; font-weight: 600; letter-spacing: 3.5px; color: var(--gold); }
.nav-links { display: flex; gap: 34px; font-size: 15px; color: var(--muted); }
.nav-links a:hover { color: #fff; }
.nav .btn { padding: 10px 20px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }


/* ---------- 3b. HERO (first screen) ---------- */
.hero { position: relative; padding: 150px 0 80px; overflow: hidden; }
.hero::before, .hero::after {    /* two soft colour glows in the background */
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before { width: 900px; height: 900px; right: -300px; top: -350px; background: radial-gradient(circle, rgba(255, 46, 122, .28), transparent 60%); }
.hero::after  { width: 800px; height: 800px; left: -350px; bottom: -400px; background: radial-gradient(circle, rgba(108, 52, 255, .3), transparent 60%); }
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }

.status-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; margin-bottom: 26px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255, 255, 255, .04);
  font-size: 13px; color: var(--muted);
}
.status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #2ee59d; animation: pulse 2s infinite; }

.hero h1 { font-size: clamp(34px, 4.6vw, 58px); font-weight: 800; margin-bottom: 22px; }
.rotating-word { display: inline-block; white-space: nowrap; transition: opacity .35s, transform .35s; }
.rotating-word.out { opacity: 0; transform: translateY(16px); }
.hero .lead { margin-bottom: 34px; }
.hero-countries { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }

/* three phones showing reels */
.phones { position: relative; height: 600px; }
.phone {
  position: absolute; width: 250px; aspect-ratio: 9 / 16;
  padding: 9px; border-radius: 34px;
  background: #05050a; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .8);
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; background: #111; }
.phone-left   { left: 2%; top: 70px; transform: rotate(-7deg); animation: float 7s ease-in-out infinite; }
.phone-center { left: 31%; top: 0; width: 270px; z-index: 2; animation: float 7s ease-in-out -2s infinite; }
.phone-right  { right: 0; top: 90px; transform: rotate(7deg); animation: float 7s ease-in-out -4s infinite; }

/* small labels floating next to the phones */
.badge-float {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border-radius: 14px;
  background: rgba(22, 19, 42, .85); backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 16px 40px -10px rgba(0, 0, 0, .6);
}
.badge-float span { font-size: 18px; }
.badge-1 { left: -4%; top: 40px; animation: float 6s ease-in-out infinite; }
.badge-2 { right: -2%; top: 300px; animation: float 6s ease-in-out -3s infinite; }
.badge-3 { left: 18%; bottom: 10px; animation: float 6s ease-in-out -1.5s infinite; }

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .phones { height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
  .phone { width: 180px; }
  .phone-center { width: 200px; left: calc(50% - 100px); }
  .badge-1 { left: 0; } .badge-2 { right: 0; top: 230px; }
}


/* ---------- 3c. INDUSTRIES STRIP (endless scrolling text) ---------- */
.marquee { border-block: 1px solid var(--line); background: var(--bg-alt); padding: 22px 0; overflow: hidden; }
.marquee-track { display: flex; gap: 50px; width: max-content; animation: scroll-left 40s linear infinite; }
.marquee-track span { font-size: 20px; font-weight: 700; color: rgba(255, 255, 255, .55); white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--gold); }


/* ---------- 3d. NUMBERS ---------- */
.stats { padding: 70px 0 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats b { display: block; font-size: clamp(34px, 4.5vw, 52px); font-weight: 800; }
.stats span { color: var(--muted); font-size: 14px; }
@media (max-width: 700px) { .stats .container { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } }


/* ---------- 3e. SERVICES ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.card {
  padding: 34px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 46, 122, .4); }
.icon { width: 54px; height: 54px; margin-bottom: 22px; border-radius: 16px; background: var(--gradient); display: grid; place-items: center; }
.icon svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; margin-bottom: 18px; }
.tick-list { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.tick-list li::before { content: "✓"; margin-right: 10px; color: var(--gold); font-weight: 700; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }


/* ---------- 3f. SAMPLE WORK (reels grid) ---------- */
.work-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.reels-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; margin-top: 50px; }
.reel {
  position: relative; aspect-ratio: 9 / 16;
  border-radius: 20px; overflow: hidden; cursor: pointer;
  background: #000; border: 1px solid var(--line);
  transition: transform .3s, box-shadow .3s;
}
.reel:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -16px rgba(255, 46, 122, .45); }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel-label { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 14px 14px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }
.reel-label b { display: block; font-size: 14px; }
.reel-label span { font-size: 12px; color: #cfc9e6; }
.reel-play { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(0, 0, 0, .5); backdrop-filter: blur(6px); }
.small-note { margin-top: 22px; color: var(--muted); font-size: 13px; }
@media (max-width: 1000px) { .reels-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .reels-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }


/* ---------- 3g. WHY US + TIME ZONE CLOCKS ---------- */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why-list { display: grid; gap: 16px; margin-top: 30px; }
.why-item { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.why-item i { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-style: normal; background: rgba(255, 194, 61, .12); }
.why-item h4 { font-size: 16px; margin-bottom: 3px; }
.why-item p { color: var(--muted); font-size: 14px; }
.clock-box { padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); }
.clock-box h3 { font-size: 20px; margin-bottom: 6px; }
.clock-box > p { color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.clock-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.clock-row b { font-size: 15px; }
.clock-row span { display: block; color: var(--muted); font-size: 13px; }
.clock-row em { font-style: normal; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.clock-row.home em { color: var(--gold); }
@media (max-width: 900px) { .why { grid-template-columns: 1fr; gap: 40px; } }


/* ---------- 3h. PROCESS (4 steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 56px; counter-reset: step; }
.step { padding: 30px 26px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.step::before {                  /* automatic 01, 02, 03, 04 numbers */
  counter-increment: step; content: "0" counter(step);
  display: block; margin-bottom: 18px;
  font-size: 46px; font-weight: 800; line-height: 1;
  background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.step h4 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }


/* ---------- 3i. PRICING ---------- */
.currency-switch { display: inline-flex; gap: 4px; margin-top: 30px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); }
.currency-switch button { border: 0; background: none; color: var(--muted); font: 600 14px "Poppins", sans-serif; padding: 9px 20px; border-radius: 999px; cursor: pointer; }
.currency-switch button.active { background: var(--gradient); color: #fff; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px; border-radius: 26px; background: var(--card); border: 1px solid var(--line); }
/* pricing cards must not clip the "MOST POPULAR" badge that sticks out above the card */
.plan.glow-card { overflow: visible; }
.plan.popular { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--gradient) border-box; transform: translateY(-10px); }
.plan-badge { position: absolute; top: -13px; left: 32px; padding: 5px 14px; border-radius: 999px; background: var(--gold); color: #2a0b1e; font-size: 12px; font-weight: 700; }
.plan h3 { font-size: 20px; }
.plan-sub { margin: 4px 0 22px; color: var(--muted); font-size: 14px; }
.price { font-size: 46px; font-weight: 800; line-height: 1; }
.price small { margin-left: 4px; font-size: 15px; font-weight: 500; color: var(--muted); }
.plan .tick-list { flex: 1; margin: 26px 0 30px; }
.pricing-note { margin-top: 34px; text-align: center; color: var(--muted); font-size: 14px; }
.pricing-note a { color: var(--gold); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; row-gap: 30px; } .plan.popular { transform: none; } }


/* ---------- 3j. FAQ ---------- */
.faq { max-width: 820px; margin: 50px auto 0; }
.faq details { padding: 22px 0; border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 12px; color: var(--muted); font-size: 15px; }


/* ---------- 3k. FINAL CALL-TO-ACTION BOX ---------- */
.final-cta { padding: 0 0 110px; }
.cta-box { position: relative; overflow: hidden; padding: 80px 40px; border-radius: 32px; text-align: center; background: var(--gradient); }
.cta-box::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 0, rgba(255, 255, 255, .25), transparent 50%); }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(30px, 4.5vw, 52px); }
.cta-box p { max-width: 560px; margin: 0 auto 34px; font-size: 18px; opacity: .9; }
.cta-box .button-row { justify-content: center; }
.cta-box .btn-outline { border-color: rgba(255, 255, 255, .5); }


/* ---------- 3l. FOOTER ---------- */
.footer { padding: 60px 0 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo { margin-bottom: 14px; color: #fff; }
.footer h5 { margin-bottom: 14px; color: #fff; font-size: 15px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* floating WhatsApp button (bottom right) */
.whatsapp-btn { position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: transform .2s; }
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 30px; height: 30px; fill: #fff; }


/* ---------- 4. ANIMATIONS ---------- */
/* Elements with class "reveal" fade up when they scroll into view (main.js adds "visible") */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -12px; }
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(46, 229, 157, .5); }
  100% { box-shadow: 0 0 0 10px rgba(46, 229, 157, 0); }
}
@keyframes scroll-left {
  to { transform: translateX(-50%); }
}

/* Respect visitors who turn off motion in their device settings */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}


/* ---------- 5. LEGAL PAGES (privacy.html, terms.html) ---------- */
.legal { padding: 150px 0 90px; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 50px); font-weight: 800; margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: #cfc9e6; font-size: 16px; }
.legal ul { padding-left: 22px; display: grid; gap: 6px; margin-top: 8px; }
.legal a { color: var(--gold); }
