/* ==========================================================================
   ploch.ai - Brand Design System
   ========================================================================== */

/* --- Custom Properties --- */
:root {
  /* Core backgrounds */
  --bg-primary: #0F0D1A;
  --bg-surface: #1A1730;
  --bg-elevated: #252240;

  /* Text */
  --text-primary: #E8E5F0;
  --text-secondary: #94A3B8;

  /* Gradient stops (indigo -> blue) */
  --accent-start: #818CF8;
  --accent-mid: #6366F1;
  --accent-end: #3B82F6;
  --gradient: linear-gradient(135deg, var(--accent-start), var(--accent-mid), var(--accent-end));

  /* Accent (cyan -> blue) */
  --accent-cyan: #22D3EE;
  --accent-blue: #60A5FA;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
}

/* --- Sections --- */
section {
  padding: 6rem 0;
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
  background-color: transparent;
  transition: background-color 0.3s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  background-color: rgba(15, 13, 26, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(99, 102, 241, 0.1);
}

.navbar-brand img {
  height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s ease;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
  color: var(--text-primary);
}

/* CTA button (gradient border) */
.btn-cta {
  border: 1px solid transparent;
  background: linear-gradient(var(--bg-primary), var(--bg-primary)) padding-box,
              var(--gradient) border-box;
  color: var(--text-primary);
  padding: 0.5rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: var(--gradient);
  color: white;
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 1rem;
}

.lang-toggle a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.lang-toggle a:hover {
  color: var(--text-primary);
}

.lang-toggle a.active {
  color: var(--text-primary);
  background: rgba(99, 102, 241, 0.15);
}

.lang-toggle .separator {
  color: var(--text-secondary);
  opacity: 0.4;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.hero .lead {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-logo {
  max-width: 400px;
  width: 100%;
  margin-bottom: 2rem;
}

/* Primary gradient button */
.btn-primary-gradient {
  background: var(--gradient);
  border: none;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
  color: white;
}

/* ==========================================================================
   Services
   ========================================================================== */
.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.service-card {
  background: var(--bg-surface);
  border: 1px solid rgba(99, 102, 241, 0.1);
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.service-card .icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ==========================================================================
   Results / Stats
   ========================================================================== */
.stats-section {
  background: var(--bg-surface);
}

.big-stat {
  font-size: 5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.process-step p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .process-timeline {
    position: relative;
  }
  .process-timeline::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--gradient);
    opacity: 0.3;
  }
}

/* ==========================================================================
   About
   ========================================================================== */
.about-section {
  background: var(--bg-surface);
}

.about-list {
  list-style: none;
  padding: 0;
}

.about-list li {
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gradient);
}

.about-icon {
  max-width: 250px;
  opacity: 0.6;
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section {
  text-align: center;
  position: relative;
}

.contact-section h2 {
  font-size: 3rem;
  font-weight: 700;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  padding: 2rem 0;
}

footer img {
  height: 30px;
  opacity: 0.7;
}

footer p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.25rem;
  }
  .hero-logo {
    max-width: 280px;
  }
  .big-stat {
    font-size: 3.5rem;
  }
  .section-heading {
    font-size: 2rem;
  }
  .contact-section h2 {
    font-size: 2rem;
  }
  section {
    padding: 4rem 0;
  }
  .stat-number {
    font-size: 2rem;
  }
}
