:root {
  --bg:#050816;
  --bg-soft:#0b1220;
  --card:#020617;
  --accent:#f59e0b;
  --accent-soft:#fb923c;
  --muted:#94a3b8;
  --text:#e6eef8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: radial-gradient(circle at top, #1d263b 0, #020617 45%, #000 100%);
  color: var(--text);
  min-height: 100vh;
  padding: 1.8rem 1.2rem;
}

/* fundal subtil cu gradient / blur */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 0% 0%, rgba(59,130,246,0.25), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(244,114,182,0.25), transparent 55%);
  filter: blur(40px);
  opacity: 0.6;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(15,23,42,0.95), rgba(15,23,42,0.98));
  border-radius: 18px;
  padding: 2.4rem 2.2rem 2rem;
  box-shadow: 0 18px 50px rgba(0,0,0,0.65);
  border: 1px solid rgba(148,163,184,0.18);
}

/* HEADER */

.page-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(15,23,42,0.9);
  border: 1px solid rgba(148,163,184,0.4);
  color: var(--muted);
}

.logo-text::before {
  content: '';
  width: .55rem;
  height: .55rem;
  border-radius: 999px;
  background: radial-gradient(circle, #22c55e, #16a34a);
  box-shadow: 0 0 12px rgba(34,197,94,0.8);
}

h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  margin: 0.7rem 0 0.3rem;
}

.lead {
  margin: 0;
  color: var(--muted);
  max-width: 640px;
  margin-inline: auto;
}

/* Butoane */

.actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  background: transparent;
  border: 1px solid rgba(148,163,184,0.5);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  transition: all .18s ease-out;
}

.btn::after {
  content: "↗";
  font-size: .8rem;
  opacity: .85;
}

.btn:hover {
  background: rgba(15,23,42,0.9);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15,23,42,0.8);
}

/* SECȚIUNI */

.section {
  margin-bottom: 2.4rem;
}

.section-title {
  font-size: 1.25rem;
  margin: 0 0 .4rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding-left: .6rem;
  border-left: 3px solid var(--accent);
}

.section-desc {
  margin: 0 0 1.1rem;
  color: var(--muted);
  max-width: 700px;
}

/* IFRAME WRAPPER (galerie + video) */

.frame-wrapper {
  background: radial-gradient(circle at top left, rgba(245,158,11,0.18), transparent 55%),
              radial-gradient(circle at bottom right, rgba(56,189,248,0.22), transparent 55%),
              var(--card);
  border-radius: 16px;
  padding: 0.8rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.85);
  border: 1px solid rgba(148,163,184,0.35);
  position: relative;
  overflow: hidden;
}

/* mic efect „glow” sus */
.frame-wrapper::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at 10% 0, rgba(250,204,21,0.15), transparent 55%);
  opacity: .7;
  mix-blend-mode: screen;
  pointer-events: none;
}

.frame-wrapper iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 72vh; /* poze mai mari, ocupă mare parte din ecran */
  max-height: 780px;
  min-height: 420px;
  border: 0;
  border-radius: 12px;
}

/* pentru video putem să mai reducem puțin înălțimea */
.video-wrapper iframe {
  height: 420px;
  max-height: 480px;
}

/* FOOTER */

.page-footer {
  border-top: 1px solid rgba(148,163,184,0.2);
  padding-top: 1rem;
  font-size: .9rem;
  color: var(--muted);
  text-align: center;
}

.page-footer a {
  color: inherit;
  text-decoration: underline;
}

/* ANIMAȚII LA SCROLL */

.anim-on-scroll {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity .6s ease-out, transform .6s ease-out;
}

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

/* RESPONSIVE */

@media (max-width: 768px) {
  body {
    padding: 1.2rem .8rem;
  }

  .container {
    padding: 1.6rem 1.2rem 1.4rem;
    border-radius: 16px;
  }

  .actions {
    gap: .6rem;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section-desc {
    font-size: .9rem;
  }

  .frame-wrapper {
    padding: 0.55rem;
    border-radius: 14px;
  }

  .frame-wrapper iframe {
    min-height: 360px;
    height: 65vh;   /* mai mare pe mobil, pozele par mai mari */
    max-height: 620px;
  }

  .video-wrapper iframe {
    height: 260px;
    max-height: 320px;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }

  .logo-text {
    font-size: .78rem;
  }

  .frame-wrapper iframe {
    min-height: 320px;
    height: 60vh;
  }
}

/* CTA SECTION */

.cta-section {
  margin-top: 3rem;
  margin-bottom: 2rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(245,158,11,0.06), rgba(15,23,42,0.4));
  padding: 2rem 1.2rem;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
  border: 1px solid rgba(148,163,184,0.25);
}

.cta-section h2 {
  margin: 0 0 .6rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.cta-section p {
  color: var(--muted);
  margin: 0 0 1.2rem;
  font-size: .95rem;
}

.cta-btn {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  border: 0 !important;
  color: #071025 !important;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: .95rem;
  box-shadow: 0 8px 20px rgba(245,158,11,0.35);
  transition: all .2s ease-out;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(245,158,11,0.45);
}

/* Buton special pentru Google Drive */
.drive-btn {
  margin: 0.6rem 0 1.4rem;
  background: rgba(148,163,184,0.1);
  border: 1px solid rgba(148,163,184,0.25);
  backdrop-filter: blur(6px);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: all .25s ease-out;
}

.drive-btn:hover {
  background: rgba(148,163,184,0.2);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.35);
}
