:root {
  --bg: #050812;
  --surface: rgba(12, 17, 34, 0.92);
  --surface-strong: rgba(15, 23, 42, 0.96);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #38bdf8;
  --primary-dark: #0ea5e9;
  --accent: #f97316;
  --accent-soft: rgba(249, 115, 22, 0.16);
  --radius: 24px;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 28%),
              radial-gradient(circle at 85% 10%, rgba(249, 115, 22, 0.16), transparent 28%),
              linear-gradient(180deg, #060b18 0%, #080f1f 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(22px);
  background: rgba(5, 8, 18, 0.92);
  border-bottom: 1px solid rgba(56, 189, 248, 0.12);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
}



.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.brand-link:hover h1 {
  text-shadow: 0 0 24px rgba(56, 189, 248, 0.45);
}

.brand h1 {
  margin: 0;
  font-size: clamp(1.8rem, 2.3vw, 2.8rem);
  letter-spacing: -0.03em;
  text-shadow: 0 0 18px rgba(56, 189, 248, 0.18);
}

.brand p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

.logo {
  height: 50px;
  width: auto;
  margin: 0;
  display: block;
  opacity: 1;
  transition: opacity 0.3s ease;
  background: transparent;
}

.brand-link:hover .logo {
  opacity: 1;
  filter: none;
  transform: scale(1.05);
}

.main-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.main-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
}

.hero {
  padding: 2.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 18%, rgba(56, 189, 248, 0.14), transparent 18%),
              radial-gradient(circle at 82% 50%, rgba(249, 115, 22, 0.12), transparent 18%);
  pointer-events: none;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
  min-height: 620px;
  animation: slideUp 1s ease-out both;
  width: min(100%, 1200px);
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto 0 0;
  text-align: left;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding-bottom: 5rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary);
  font-size: 0.82rem;
}

.hero h2 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.02;
  text-shadow: 0 0 30px rgba(56, 189, 248, 0.14);
}

.hero p {
  max-width: 58ch;
  line-height: 1.8;
  color: var(--muted);
}

.hero-actions {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  z-index: 20;
  opacity: 0;
  animation: fadeIn 1.2s ease-out 0.35s forwards;
}

.hero-dots {
  position: absolute;
  bottom: 3.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  z-index: 15;
}

.hero-dots button {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}

.hero-dots button.active {
  background: #f8fafc;
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: #dbeafe;
  font-size: 0.92rem;
  border: 1px solid rgba(56, 189, 248, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
  box-shadow: 0 0 40px rgba(56, 189, 248, 0.32), 0 18px 60px rgba(56, 189, 248, 0.24);
}

.button:hover {
  transform: translateY(-1px);
}

.primary {
  background: linear-gradient(135deg, #38bdf8 0%, #0ea5e9 100%);
  color: #0b1220;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.48), 0 20px 60px rgba(56, 189, 248, 0.32);
}

.secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.hero-card {
  position: relative;
  min-height: 520px;
  width: min(100%, 1100px);
  margin: 0 auto;
  padding: 0;
  border: none;
  border-radius: 26px;
  background: transparent;
  box-shadow: none;
  transform: none;
  animation: none;
  overflow: visible;
  display: flex;
}

.hero-card::before {
  display: none;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  overflow: hidden;
  background: transparent;
  border-radius: 48px;
  flex: 1;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  border-radius: 48px;
  overflow: hidden;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  display: block;
  transform: none;
  object-fit: contain;
  object-position: center center;
  filter: saturate(1.08) contrast(1.04) brightness(0.94);
  background: linear-gradient(180deg, rgba(10, 19, 29, 0.08), rgba(10, 19, 29, 0.14));
  border-radius: 48px;
}

.hero-card-content {
  display: none;
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
  color: #e2e8f0;
  line-height: 1.5;
}

.hero-card li {
  position: relative;
  padding-left: 1.2rem;
}

.hero-card li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 700;
}

.hero-card li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted);
}

.hero-card li::before {
  content: '•';
  color: var(--primary);
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-card {
    width: 100%;
    margin-top: 0.5rem;
    min-height: 360px;
  }

  .slideshow {
    min-height: 360px;
  }
}

.about,
.services,
.contact {
  padding: 3rem 0;
}

.highlights {
  padding: 3rem 0 2rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-card {
  padding: 1.8rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.14);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.3);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.25);
}

.highlight-card h3 {
  margin-top: 0;
  font-size: 1.2rem;
}

.highlight-card p {
  margin: 1rem 0 0;
  color: var(--muted);
  line-height: 1.9;
}

@media (max-width: 900px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.about h2,
.services h2,
.contact h2 {
  margin-top: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.about p,
.service-card p,
.feature-card p,
.contact p,
.contact-info p {
  color: var(--muted);
  line-height: 1.8;
}

.stats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.stats-list li {
  background: rgba(255, 255, 255, 0.04);
  padding: 1rem 1.2rem;
  border-radius: 16px;
  min-width: 160px;
}

.stats-list strong {
  display: block;
  font-size: 1.4rem;
  color: #fff;
}

.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  background: rgba(10, 15, 30, 0.95);
  border: 1px solid rgba(56, 189, 248, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.16);
}

.feature-card ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.feature-card li::before {
  content: '✓';
  color: var(--primary);
  margin-right: 0.7rem;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  align-items: start;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 1.8rem;
  border-radius: var(--radius);
  background: rgba(10, 15, 30, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transform: translateY(0);
  opacity: 0;
  animation: fadeIn 1.1s ease-out forwards;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(56, 189, 248, 0.32);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
}

.service-card h3 {
  margin-top: 0;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.service-main {
  position: relative;
  z-index: 1;
}

.service-main p {
  margin: 0.95rem 0 0;
  color: rgba(226, 232, 240, 0.82);
  line-height: 1.85;
  font-size: 0.98rem;
}

.service-extra {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, opacity 0.45s ease, padding-top 0.45s ease;
  padding-top: 0;
}

.service-card:hover .service-extra {
  max-height: 420px;
  opacity: 1;
  padding-top: 1.2rem;
}

.service-extra p {
  margin: 0 0 0.95rem;
  color: #f8fafc;
  line-height: 2;
  font-size: 1rem;
  font-weight: 500;
}

.service-divider {
  height: 1px;
  margin: 1.4rem 0 0;
  background: linear-gradient(90deg, rgba(56, 189, 248, 0), rgba(56, 189, 248, 0.45), rgba(56, 189, 248, 0));
}

@media (max-width: 900px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: auto;
  }
}

.contact-grid {
  gap: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.1rem;
  padding: 2.2rem;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(10, 15, 30, 0.98), rgba(10, 15, 30, 0.88));
  border: 1px solid rgba(56, 189, 248, 0.18);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.25);
}

.contact-form label {
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.82);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(56, 189, 248, 0.85);
  box-shadow: 0 0 0 4px rgba(56, 189, 248, 0.12);
}

.contact-info p,
.footer-inner p {
  margin: 0.8rem 0;
}

.site-footer {
  padding: 2rem 0 3rem;
  background: rgba(5, 8, 18, 0.95);
  border-top: 1px solid rgba(56, 189, 248, 0.12);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.contact-info a {
  color: var(--text);
  text-decoration: none;
}

.form-message {
  margin: 0;
  color: var(--primary);
  min-height: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(226, 232, 240, 0.65);
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.floating-card {
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(45px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .hero-content,
  .split-grid,
  .cards-grid,
  .contact-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-content,
  .split-grid {
    display: grid;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero h2 {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


@media (max-width: 600px) {
  .hero {
    padding-bottom: 2rem;
  }

  .hero-content {
    gap: 1rem;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h2 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    line-height: 1.08;
  }

  .hero p {
    line-height: 1.65;
  }

  .hero-visual {
    padding-bottom: 6.8rem;
  }

  .hero-card,
  .slideshow {
    min-height: 300px;
  }

  .slideshow,
  .slide,
  .slide img {
    border-radius: 28px;
  }

  /* Pe telefon, butoanele stau deasupra punctelor de navigare,
     iar ambele sunt coborâte sub imagine pentru un spațiu mai aerisit. */
  .hero-actions {
    bottom: 2.15rem;
    width: 100%;
    gap: 0.65rem;
    padding: 0 0.5rem;
  }

  .hero-actions .button {
    min-height: 46px;
    padding: 0 1.15rem;
    font-size: 0.92rem;
  }

  .hero-dots {
    bottom: 0.35rem;
    gap: 0.55rem;
  }

  .hero-dots button {
    width: 10px;
    height: 10px;
  }

  .hero-badges {
    margin-top: 1.25rem;
    gap: 0.55rem;
  }

  .hero-badges span {
    padding: 0.6rem 0.8rem;
    font-size: 0.82rem;
  }
}
