/* ============================================
   ROLLAD.SI — Global Stylesheet
   Vozi. Zasluži. Oglasuj.
   ============================================ */

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

/* ── CSS Variables ── */
:root {
  --orange: #F26522;
  --orange-light: #FF8C42;
  --orange-dark: #D4541A;
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #222222;
  --dark-4: #2C2C2C;
  --grey: #888888;
  --grey-light: #BBBBBB;
  --white: #FFFFFF;
  --white-10: rgba(255,255,255,0.10);
  --white-20: rgba(255,255,255,0.20);
  --orange-10: rgba(242,101,34,0.10);
  --orange-20: rgba(242,101,34,0.20);

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --radius: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  --shadow: 0 4px 24px rgba(0,0,0,0.3);
  --shadow-orange: 0 8px 32px rgba(242,101,34,0.3);

  --nav-h: 72px;
  --section-pad: 96px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  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, h2, h3, h4, h5 {
  font-family: var(--font-display);
  line-height: 1.1;
  font-weight: 800;
}
.label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
}
.section-title span { color: var(--orange); }
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1.05rem;
  color: var(--grey);
  margin-top: 0.75rem;
  max-width: 560px;
}
.section-sub.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-pad) 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(242,101,34,0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: var(--white-10);
  transform: translateY(-2px);
}
.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--dark-4);
}
.btn-outline-dark:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}
.btn svg { width: 18px; height: 18px; }

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--white-10);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo img { height: 36px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
}
.nav-logo-text span { color: var(--orange); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-light);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
  border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  padding: 32px 24px;
  gap: 0;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid var(--white-10);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .mobile-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-menu .mobile-cta .btn { justify-content: center; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--black);
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
/* Animated road/speed lines */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(242,101,34,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 100% 50%, rgba(242,101,34,0.06) 0%, transparent 60%);
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0;
}
.hero-text { }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange-10);
  border: 1px solid var(--orange-20);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  margin-bottom: 24px;
}
.hero-eyebrow span { font-size: 0.8rem; font-weight: 600; color: var(--orange); letter-spacing: 0.1em; text-transform: uppercase; }
.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 12px;
}
.hero h1 .orange { color: var(--orange); }
.hero-sub {
  font-size: 1.05rem;
  color: var(--grey-light);
  margin: 20px 0 36px;
  max-width: 440px;
  line-height: 1.7;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-car-scene {
  position: relative;
  width: 100%;
  max-width: 560px;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--dark-2);
  border-top: 1px solid var(--white-10);
  border-bottom: 1px solid var(--white-10);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 32px;
  border-right: 1px solid var(--white-10);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  width: 44px; height: 44px;
  background: var(--orange-10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stat-icon svg { width: 22px; height: 22px; color: var(--orange); }
.stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  color: var(--grey);
  margin-top: 2px;
}

/* ── BENEFITS SECTION ── */
.benefits { background: var(--white); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 56px;
}
.benefit-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  border: 1px solid #F0F0F0;
  transition: all 0.3s ease;
}
.benefit-card:hover {
  border-color: var(--orange-20);
  box-shadow: 0 8px 32px rgba(242,101,34,0.08);
  transform: translateY(-4px);
}
.benefit-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.benefit-icon svg { width: 28px; height: 28px; color: var(--orange); }
.benefit-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.benefit-card p { font-size: 0.88rem; color: var(--grey); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.how-it-works { background: var(--dark); }
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 56px;
}
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--white-10);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.step-info h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.step-info p { font-size: 0.88rem; color: var(--grey-light); }

/* App mock */
.app-mock {
  background: var(--dark-3);
  border-radius: 24px;
  border: 1px solid var(--white-10);
  padding: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
}
.app-mock-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--white-10);
}
.app-mock-logo {
  background: var(--orange);
  border-radius: 8px;
  padding: 6px 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--white);
}
.app-mock-title { font-weight: 600; color: var(--white); font-size: 0.9rem; }
.app-earn-label { font-size: 0.75rem; color: var(--grey); }
.app-earn-value {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
}
.app-earn-value span { color: var(--orange); }
.app-stat-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 20px;
}
.app-stat {
  background: var(--dark-4);
  border-radius: 10px;
  padding: 16px;
}
.app-stat-l { font-size: 0.72rem; color: var(--grey); margin-bottom: 4px; }
.app-stat-v { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--white); }
.app-campaign {
  margin-top: 16px;
  background: var(--orange-10);
  border: 1px solid var(--orange-20);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.app-campaign-name { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.app-campaign-badge {
  background: var(--orange);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.app-stores {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--dark-4);
  border: 1px solid var(--white-10);
  border-radius: 10px;
  padding: 10px 16px;
  flex: 1;
  transition: border-color 0.2s;
  cursor: pointer;
}
.store-badge:hover { border-color: var(--orange); }
.store-badge svg { width: 20px; height: 20px; color: var(--white); flex-shrink: 0; }
.store-badge-text { }
.store-badge-sub { font-size: 0.62rem; color: var(--grey); }
.store-badge-name { font-size: 0.82rem; font-weight: 600; color: var(--white); line-height: 1.1; }

/* ── ADVERTISER CTA ── */
.advertiser-section { background: #F8F8F8; }
.advertiser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.advertiser-mockup {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid #E8E8E8;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mockup-header {
  background: var(--dark);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mockup-header-logo { font-family: var(--font-display); font-weight: 900; font-size: 1rem; color: var(--white); }
.mockup-header-logo span { color: var(--orange); }
.mockup-nav-dots { display: flex; gap: 6px; }
.mockup-nav-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--white-20); }
.mockup-body { padding: 24px; }
.mockup-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.mockup-stat {
  background: #F8F8F8;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
}
.mockup-stat-val {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--dark);
}
.mockup-stat-l { font-size: 0.65rem; color: var(--grey); }
.mockup-chart-area {
  background: #F8F8F8;
  border-radius: 8px;
  padding: 16px;
  height: 100px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
}
.mockup-bar {
  flex: 1;
  background: var(--orange);
  border-radius: 4px 4px 0 0;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.mockup-bar:hover { opacity: 1; }

.adv-checks { display: flex; flex-direction: column; gap: 14px; margin: 28px 0 36px; }
.adv-check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
}
.adv-check-icon {
  width: 24px; height: 24px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.adv-check-icon svg { width: 12px; height: 12px; color: white; }

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--white-10);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--white-10);
}
.footer-brand-text {
  font-size: 0.85rem;
  color: var(--grey);
  margin: 12px 0 24px;
  line-height: 1.7;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--orange); }
.footer-social svg { width: 16px; height: 16px; color: var(--white); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--grey);
  padding: 5px 0;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 5px 0;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.footer-contact-item span { font-size: 0.85rem; color: var(--grey); line-height: 1.5; }
.footer-stores { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.footer-store {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white-10);
  border-radius: 8px;
  padding: 10px 14px;
  transition: background 0.2s;
}
.footer-store:hover { background: var(--orange); }
.footer-store svg { width: 18px; height: 18px; color: var(--white); flex-shrink: 0; }
.footer-store-text { }
.footer-store-sub { font-size: 0.6rem; color: rgba(255,255,255,0.6); }
.footer-store-name { font-size: 0.8rem; font-weight: 600; color: var(--white); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.8rem; color: var(--grey); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.8rem; color: var(--grey); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--orange); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--black);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(242,101,34,0.15), transparent 70%);
}
.cta-band .container { position: relative; z-index: 1; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3.2rem); color: var(--white); margin-bottom: 12px; }
.cta-band h2 span { color: var(--orange); }
.cta-band p { color: var(--grey-light); max-width: 520px; margin: 0 auto 36px; }
.cta-band-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── HERO SVG SCENE ── */
.car-svg-scene {
  width: 100%;
  max-width: 520px;
  position: relative;
}

/* ── FAQ ── */
.faq { background: var(--white); }
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 48px;
}
.faq-item {
  border-bottom: 1px solid #E8E8E8;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  gap: 16px;
}
.faq-q svg {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--orange);
}
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a {
  display: none;
  font-size: 0.88rem;
  color: var(--grey);
  padding-bottom: 20px;
  line-height: 1.7;
}
.faq-item.open .faq-a { display: block; }

/* ── Scroll animations ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 60px; }

  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .hero-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero h1 { font-size: clamp(2.5rem, 8vw, 4rem); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-visual { display: none; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat-item { padding: 20px 16px; border-right: none; border-bottom: 1px solid var(--white-10); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--white-10); }
  .stat-item:nth-child(3), .stat-item:nth-child(4) { border-bottom: none; }

  .benefits-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 48px; }
  .advertiser-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-links { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--white-10); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .app-stores { flex-direction: column; }
}
