/* ============================================
   PR Digital Group AG — B2B Ad Scale
   ============================================ */

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

:root {
  --bg: #080b12;
  --bg-card: #0f1420;
  --bg-card-hover: #141a28;
  --bg-alt: #0b0f18;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-glow: rgba(59, 130, 246, 0.15);
  --accent-orange: #f59e0b;
  --text: #e2e8f0;
  --text-secondary: #8892a4;
  --text-muted: #4a5568;
  --border: rgba(59, 130, 246, 0.1);
  --border-light: rgba(255, 255, 255, 0.06);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --max-width: 1200px;
  --section-pad: 120px 0;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #fff; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 3px; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 32px; }

/* --- Nav --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  transition: all 0.35s;
}
.nav.scrolled {
  background: rgba(8, 11, 18, 0.95);
  backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--max-width); margin: 0 auto; padding: 0 32px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark {
  width: 36px; height: 36px; border: 2px solid var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--accent);
  letter-spacing: -0.5px;
}
.logo-text-group { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-heading); font-size: 16px; font-weight: 700;
  color: var(--text); letter-spacing: -0.3px;
}
.logo-sub {
  font-size: 10px; font-weight: 500; color: var(--text-muted);
  letter-spacing: 1.5px; text-transform: uppercase;
}
.nav-links { display: flex; list-style: none; gap: 32px; }
.nav-links a {
  color: var(--text-secondary); text-decoration: none;
  font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
  transition: color 0.3s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px; background: var(--accent); transition: width 0.3s;
}
.nav-links a:hover { color: var(--accent-light); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  padding: 9px 22px; background: var(--accent); color: #fff;
  font-size: 13px; font-weight: 600; border-radius: 6px;
  text-decoration: none; transition: all 0.3s; border: none; cursor: pointer;
}
.nav-cta:hover { background: var(--accent-light); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-secondary); transition: all 0.3s; }

/* --- Hero --- */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 120px 0 80px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 70% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(245, 158, 11, 0.04) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0; opacity: 0.03;
  background-image:
    linear-gradient(var(--accent) 1px, transparent 1px),
    linear-gradient(90deg, var(--accent) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; background: var(--accent-glow);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 12px; font-weight: 600; color: var(--accent-light);
  letter-spacing: 0.5px; margin-bottom: 28px;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; } 50% { opacity: 0.3; }
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -2px; margin-bottom: 24px;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .accent-orange { color: var(--accent-orange); }
.hero-sub {
  font-size: 18px; line-height: 1.75; color: var(--text-secondary);
  max-width: 560px; margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; border-radius: 6px;
  text-decoration: none; transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text-secondary); border: 1px solid var(--border-light); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-light); }

.hero-stats {
  display: flex; gap: 48px; margin-top: 64px;
  padding-top: 40px; border-top: 1px solid var(--border-light);
}
.hero-stat-num {
  font-family: var(--font-heading); font-size: 36px; font-weight: 700;
  color: var(--text); letter-spacing: -1px; line-height: 1;
}
.hero-stat-num .unit { font-size: 20px; color: var(--accent); }
.hero-stat-label {
  font-size: 13px; color: var(--text-muted); margin-top: 4px;
  letter-spacing: 0.3px;
}

/* --- Sections --- */
.section { padding: var(--section-pad); position: relative; }
.section-alt { background: var(--bg-alt); }
.section-header { max-width: 600px; margin-bottom: 64px; }
.section-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-tag::before {
  content: ''; width: 20px; height: 1.5px; background: var(--accent);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.5vw, 44px);
  font-weight: 700; line-height: 1.15; letter-spacing: -1px;
  margin-bottom: 18px;
}
.section-intro { font-size: 17px; line-height: 1.75; color: var(--text-secondary); }

/* --- Platforms --- */
.platforms-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.platform-card {
  padding: 32px 24px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 10px;
  transition: all 0.35s; text-align: center;
}
.platform-card:hover {
  border-color: var(--accent); transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent);
}
.platform-icon {
  width: 52px; height: 52px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-glow); border-radius: 12px;
  font-size: 24px;
}
.platform-card h3 {
  font-family: var(--font-heading); font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}
.platform-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* --- Services --- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  padding: 36px 28px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 10px;
  transition: all 0.35s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 2px; background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.service-card:hover { border-color: rgba(59, 130, 246, 0.2); }
.service-card:hover::before { opacity: 1; }
.service-num {
  font-family: var(--font-heading); font-size: 48px; font-weight: 700;
  color: rgba(59, 130, 246, 0.08); line-height: 1; margin-bottom: 16px;
}
.service-card h3 {
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  margin-bottom: 12px;
}
.service-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* --- Results --- */
.results-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.result-card {
  padding: 36px 24px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 10px; text-align: center;
}
.result-num {
  font-family: var(--font-heading); font-size: 44px; font-weight: 700;
  color: var(--accent); letter-spacing: -2px; line-height: 1;
}
.result-label {
  font-size: 14px; color: var(--text-secondary); margin-top: 8px; line-height: 1.4;
}

/* --- Process --- */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process-step {
  padding: 32px 24px; position: relative; text-align: center;
}
.process-step::after {
  content: ''; position: absolute; top: 42px; right: -10px;
  width: 20px; height: 2px; background: var(--border);
}
.process-step:last-child::after { display: none; }
.process-num {
  width: 48px; height: 48px; margin: 0 auto 20px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--accent); border-radius: 50%;
  font-family: var(--font-heading); font-size: 18px; font-weight: 700;
  color: var(--accent);
}
.process-step h3 {
  font-family: var(--font-heading); font-size: 16px; font-weight: 700;
  margin-bottom: 8px;
}
.process-step p { font-size: 13px; color: var(--text-secondary); line-height: 1.6; }

/* --- About --- */
.about-content {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-text p { font-size: 16px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 16px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-fact {
  padding: 24px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 8px;
}
.about-fact-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.about-fact-value { font-size: 15px; font-weight: 600; }

/* --- Contact --- */
.contact-grid {
  display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 12px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 6px;
  color: var(--text); font-family: var(--font-body); font-size: 15px;
  transition: border-color 0.3s; outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234a5568' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}
.form-group select option { background: var(--bg-card); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 110px; }
.btn-submit { align-self: flex-start; margin-top: 4px; }

.contact-info {
  padding: 36px; background: var(--bg-card);
  border: 1px solid var(--border-light); border-radius: 10px;
}
.contact-info h3 {
  font-family: var(--font-heading); font-size: 20px; font-weight: 700;
  margin-bottom: 28px;
}
.contact-item { margin-bottom: 24px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item-label {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 6px;
}
.contact-item-value { font-size: 15px; color: var(--text-secondary); line-height: 1.6; }
.contact-item-value a { color: var(--text); text-decoration: none; transition: color 0.3s; }
.contact-item-value a:hover { color: var(--accent); }

.form-status {
  padding: 12px 18px; border-radius: 6px; font-size: 14px; display: none;
}
.form-status.success {
  display: block; background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.2); color: #68d391;
}

/* --- Footer --- */
.footer {
  padding: 48px 0; border-top: 1px solid var(--border-light); background: var(--bg);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center;
}
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.footer-links a {
  font-size: 13px; color: var(--text-muted); text-decoration: none;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--accent); }
.footer-legal { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.footer-disclaimer {
  font-size: 12px; color: var(--text-muted); opacity: 0.6;
  max-width: 600px; line-height: 1.5;
}

/* --- Animations --- */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: 0.1s; }
.fade-in-d2 { transition-delay: 0.2s; }
.fade-in-d3 { transition-delay: 0.3s; }
.fade-in-d4 { transition-delay: 0.35s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .results-strip { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step::after { display: none; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 80px 0; }
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }

  .nav-links, .nav-cta-wrap {
    display: none; position: fixed; inset: 0;
    background: rgba(8, 11, 18, 0.98); backdrop-filter: blur(16px);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 18px; }
  .nav-toggle { display: flex; z-index: 1001; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero h1 { letter-spacing: -1px; }
  .hero-stats { flex-direction: column; gap: 24px; }
  .hero-ctas { flex-direction: column; }
  .btn { justify-content: center; text-align: center; }

  .platforms-grid,
  .services-grid,
  .results-strip,
  .process-grid,
  .about-facts { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
