/* Core Reset & Lenis Structural Requirements */
html.lenis, html.lenis-scrolling {
  scroll-behavior: auto !important;
}

.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis-stopped {
  overflow: hidden;
}

.lenis-scrolling iframe {
  pointer-events: none;
}

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

body {
  background-color: #050505;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  overflow-x: hidden;
}

.spotlight {
  position: fixed;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(0,0,0,0) 70%);
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  will-change: transform;
}

/* Navigation Architecture */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 8%;
  background: rgba(5, 5, 5, 0.75);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 10;
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 3px;
}

.nav-links a {
  color: #a3a3a3;
  text-decoration: none;
  margin: 0 25px;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-btn {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 12px 26px;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: white;
  color: black;
}

/* Hero Layout */
.hero-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 0 8%;
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 1000px;
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 6px;
  color: #818cf8; 
  display: inline-block;
  margin-bottom: 32px;
}

.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin-bottom: 36px;
}

.gradient-text {
  background: linear-gradient(to right, #ffffff, #c7d2fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #a3a3a3;
  line-height: 1.8;
  letter-spacing: 0.5px;
  max-width: 700px;
  margin: 0 auto 48px auto;
  font-weight: 300;
}

.primary-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 20px 42px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
  transition: transform 0.2s, box-shadow 0.3s;
}

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

/* Trust Ticker */
.trust-ticker-container {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding: 24px 0;
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.ticker-wrapper {
  display: flex;
  white-space: nowrap;
  animation: marqueeLoop 25s linear infinite;
}

.ticker-item {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: rgba(255, 255, 255, 0.4);
  padding: 0 40px;
  display: flex;
  align-items: center;
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* About Section */
.about-section {
  padding: 160px 8%;
  background-color: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 2;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  color: #818cf8;
  display: block;
  margin-bottom: 24px;
}

.about-manifesto {
  font-family: 'Syne', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
}

.about-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-description {
  font-size: 1.15rem;
  color: #a3a3a3;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 32px;
  letter-spacing: 0.3px;
}

.about-stats {
  display: flex;
  gap: 60px;
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  color: #737373;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Process Section */
.process-section {
  padding: 160px 8%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 60px;
}

.process-step {
  display: flex;
  flex-direction: column;
}

.step-line {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  margin-bottom: 32px;
  position: relative;
}

.step-line::after {
  content: '';
  position: absolute;
  left: 0;
  top: -1px;
  width: 24px;
  height: 3px;
  background: #818cf8;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: #818cf8;
  margin-bottom: 20px;
}

.process-step h4 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.process-step p {
  color: #8c8c8c;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

/* Services Bento Grid */
.services-section {
  padding: 160px 8%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services-header {
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bento-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 56px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, background-color 0.4s, transform 0.4s;
}

.card-wide {
  grid-column: span 2;
}

.card-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: luminosity;
  transition: transform 0.6s ease, opacity 0.4s ease;
  z-index: 1;
}

.img-social { background-image: url('https://images.unsplash.com/photo-1618005182384-a83a8bd57fbe?q=80&w=800&auto=format&fit=crop'); }
.img-seo { background-image: url('https://images.unsplash.com/photo-1634017839464-5c339ebe3cb4?q=80&w=800&auto=format&fit=crop'); }
.img-ppc { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=800&auto=format&fit=crop'); }
.img-video { background-image: url('https://images.unsplash.com/photo-1601506521937-0121a7fc2a6b?q=80&w=800&auto=format&fit=crop'); }

.bento-card:hover {
  border-color: rgba(129, 140, 248, 0.4);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.bento-card:hover .card-img-bg {
  opacity: 0.35;
  transform: scale(1.04);
}

.card-content {
  position: relative;
  z-index: 2;
}

.card-num {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  color: #818cf8;
  display: block;
  margin-bottom: 24px;
  font-weight: 700;
  opacity: 0.7;
}

.bento-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.bento-card p {
  color: #a3a3a3;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 300;
  max-width: 600px;
}

/* Blog Architecture */
.blog-section {
  padding: 160px 8%;
  background-color: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 2;
}

.blog-header {
  margin-bottom: 60px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.blog-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.blog-img-wrapper {
  width: 100%;
  height: 240px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  margin-bottom: 28px;
  position: relative;
}

.blog-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: grayscale(100%) brightness(0.7);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease;
}

/* În style.css, adaugă/înlocuiește liniile de mai jos în zona Blog Architecture */
.img-article1 { background-image: url('https://images.unsplash.com/photo-1614741118887-7a4ee193a5fa?q=80&w=600&auto=format&fit=crop'); }
.img-article2 { background-image: url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=600&auto=format&fit=crop'); }
.img-article3 { background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?q=80&w=600&auto=format&fit=crop'); }

.blog-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: #818cf8;
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}

.blog-meta span:nth-child(2),
.blog-meta span:nth-child(3) {
  color: #525252;
}

.blog-card-title {
  font-family: 'Syne', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 16px;
  transition: color 0.3s;
}

.blog-card-excerpt {
  color: #a3a3a3;
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 24px;
}

.blog-link {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  transition: color 0.3s;
}

.blog-link .arrow {
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(0.8);
}

.blog-card:hover .blog-card-title {
  color: #a5b4fc;
}

.blog-card:hover .blog-link .arrow {
  transform: translateX(6px);
}

/* Contact Layout */
.contact-section {
  padding: 160px 8%;
  background-color: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 2;
}

.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
}

.contact-title {
  font-family: 'Syne', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1.5px;
  margin-bottom: 28px;
}

.contact-lead {
  font-size: 1.2rem;
  color: #a3a3a3;
  line-height: 1.7;
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 56px;
}

.contact-coordinates {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 40px;
}

.coord-item {
  display: flex;
  flex-direction: column;
}

.coord-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #525252;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.coord-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 400;
}

.premium-form {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.form-row {
  display: flex;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.premium-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #a3a3a3;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.premium-form input,
.premium-form textarea,
.premium-form select {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 18px 24px;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 300;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
  width: 100%;
}

.premium-form input:focus,
.premium-form textarea:focus {
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.08);
}

.form-submit-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  padding: 22px 40px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  transition: transform 0.2s, box-shadow 0.3s, background-color 0.3s;
}

.form-submit-btn:hover {
  background: #f3f4f6;
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.1);
}

/* Stiluri specifice pentru funcționalitatea elementelor noi din formular */
.premium-form select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23a3a3a3'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 24px center;
  background-size: 16px;
  
  /* Proprietatea magică: obligă browserul să randeze interfața nativă în Dark Mode */
  color-scheme: dark; 
}

.premium-form select option {
  background-color: #050505 !important; /* Forțează fundalul închis pe browserele desktop */
  color: #ffffff !important;            /* Forțează textul alb */
  padding: 14px;
}

.premium-form textarea {
  resize: vertical; /* Permite redimensionarea doar pe verticală pentru a nu strica layout-ul */
}

.premium-form select:focus,
.premium-form textarea:focus {
  border-color: rgba(129, 140, 248, 0.5);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 20px rgba(129, 140, 248, 0.08);
}

/* Footer layout */
.footer-section {
  padding: 100px 8% 40px 8%;
  background-color: #020202;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 2;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.footer-tagline {
  color: #636363;
  font-size: 1rem;
  font-weight: 300;
  max-width: 360px;
  line-height: 1.7;
}

.footer-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #525252;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: block;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  color: #a3a3a3;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #404040;
  font-size: 0.85rem;
}

/* Hamburger Base Style (Buton curat, fără chenar nativ) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 105; /* Peste overlay-ul de nav-links */
  background: none;
  border: none;
  padding: 0;
  outline: none;
}

.hamburger span {
  width: 30px;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

/* ==========================================================================
   Global Responsive Optimization (Fără Overflow și Proporții Premium)
   ========================================================================== */
@media (max-width: 1024px) {
  .hamburger {
    display: flex;
  }
  
  .nav-btn {
    display: none; 
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%; 
    width: 100vw;
    height: 100vh;
    background: #050505; /* Fundal complet solid anti-transparență text groasă */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: 99;
  }

  .nav-links.active {
    right: 0; 
  }

  .nav-links a {
    margin: 0;
    font-size: 1.5rem;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
  }

  .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .about-container, .contact-container { grid-template-columns: 1fr; gap: 48px; }
  .about-manifesto, .contact-title { font-size: 2.5rem; }
  .bento-grid, .blog-grid, .footer-container, .process-grid { grid-template-columns: 1fr; }
  .card-wide { grid-column: span 1; }
  .hero-title { font-size: 3.2rem; }
  .form-row { flex-direction: column; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}

@media (max-width: 768px) {
  .navbar { 
    padding: 16px 6% !important; 
  }
  
  /* Ascundem linia br forțată din cod pe mobile pentru scurgere naturală text */
  .hero-title br {
    display: none !important;
  }
  
  .hero-container {
    padding: 0 6% !important;
  }

  /* Calibrare precisă tipografie anti-strivire pe telefoane */
  .hero-title { 
    font-size: 2.1rem !important; 
    line-height: 1.25 !important;
  }
  
  .hero-subtitle { 
    font-size: 1rem !important; 
    line-height: 1.6 !important;
    margin-bottom: 36px !important;
  }
  
  /* Reducere padding-uri uriașe din desktop */
  .about-section, .process-section, .services-section, .blog-section, .contact-section {
    padding: 80px 6% !important;
  }
  
  .about-manifesto, .contact-title, .section-title { 
    font-size: 1.85rem !important; 
    line-height: 1.3 !important;
    letter-spacing: -0.5px !important;
  }
  
  .bento-card {
    padding: 32px !important;
  }
  
  .about-stats {
    gap: 30px !important;
    flex-direction: column !important;
  }
}