:root {
  --primary: #6c5ce7;
  --primary-dark: #5849c7;
  --accent: #00cec9;
  --dark: #0f172a;
  --muted: #64748b;
  --light: #f8fafc;
  --gradient: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
  --radius: 16px;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  margin: 0;
  line-height: 1.6;
  background-color: #d9d0ff;
  background-image:
    radial-gradient(ellipse 95% 58% at 100% 0%, rgba(0, 206, 201, 0.78), transparent 60%),
    radial-gradient(ellipse 88% 58% at 0% 6%, rgba(108, 92, 231, 0.72), transparent 58%),
    radial-gradient(ellipse 80% 48% at 90% 100%, rgba(0, 184, 180, 0.55), transparent 54%),
    linear-gradient(165deg, #d4c8ff 0%, #efe8ff 40%, #c9f3f1 100%);
  background-attachment: fixed;
}

a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }

.navbar-azzle {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-azzle .navbar-brand {
  font-weight: 700;
  font-size: 1.35rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.navbar-azzle .nav-link {
  color: var(--dark);
  font-weight: 600;
  margin: 0 0.15rem;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  transition: background .2s, color .2s;
}

.navbar-azzle .nav-link:hover,
.navbar-azzle .nav-link:focus {
  color: var(--primary-dark);
  background: rgba(108, 92, 231, 0.1);
}

.navbar-azzle .nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.42rem 0.85rem 0.42rem 0.7rem;
  background: #fff;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.navbar-azzle .nav-toggle:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.nav-toggle__icon {
  position: relative;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--dark);
  transition: background .2s;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  border-radius: 99px;
  background: var(--dark);
  transition: transform .2s, top .2s;
}

.nav-toggle__icon::before { top: -6px; }
.nav-toggle__icon::after { top: 6px; }

.nav-toggle__label--open { display: none; }

.nav-toggle[aria-expanded="true"] {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon,
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before,
.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  background: #fff;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon { background: transparent; }

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__label--closed { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__label--open { display: inline; }

@media (min-width: 992px) {
  .navbar-azzle .navbar-toggler.nav-toggle { display: none; }
}

@media (max-width: 991.98px) {
  .navbar-azzle .navbar-collapse {
    background: #fff;
    margin-top: 0.85rem;
    padding: 0.45rem;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.14);
  }

  .navbar-azzle .navbar-nav .nav-item {
    margin: 0.12rem 0;
  }

  .navbar-azzle .nav-link {
    border-radius: 14px;
    padding: 0.8rem 0.95rem;
  }

  .navbar-azzle .navbar-nav .btn-primary-azzle {
    display: block;
    text-align: center;
    margin: 0.35rem 0.2rem 0.25rem;
  }
}

.btn-primary-azzle {
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .2s, box-shadow .2s;
}

.btn-primary-azzle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(108, 92, 231, 0.35);
  color: #fff;
}

.btn-outline-azzle {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
}

.hero {
  padding: 5rem 0 4rem;
  background: transparent;
}

section.bg-light {
  background-color: transparent !important;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto 3rem;
}

.feature-card, .pricing-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .25s, box-shadow .25s;
}

.pricing-card,
.row.g-4 > [class*="col"] > .feature-card {
  height: 100%;
}

.feature-card:hover, .pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
}

.pricing-card .price small {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 500;
}

.badge-platform {
  background: rgba(108,92,231,.1);
  color: var(--primary);
  font-size: .75rem;
  padding: .35rem .75rem;
  border-radius: 999px;
  font-weight: 600;
}

.footer-azzle {
  background: var(--dark);
  color: #94a3b8;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
  clear: both;
}

.footer-azzle h5 { color: #fff; }

.footer-logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.footer-logo-row--center {
  justify-content: center;
}

.footer-badge {
  height: 28px;
  max-width: 88px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 3px 6px;
}

.footer-badge--lg {
  height: 40px;
  max-width: 120px;
}

.footer-badge--anpc {
  height: 48px;
  width: auto;
  max-width: 220px;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  object-fit: contain;
}

.footer-logo-link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 2000;
  max-width: 520px;
  margin: 0 auto;
}

.cookie-banner__inner {
  background: rgba(15, 23, 42, 0.96);
  color: #e2e8f0;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.cookie-banner__inner a { color: #67e8f9; }

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.admin-sidebar {
  min-height: 100vh;
  background: var(--dark);
  color: #cbd5e1;
  padding: 1.5rem 0;
}

.admin-sidebar .nav-link {
  color: #94a3b8;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  margin: 0.15rem 0.75rem;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(108,92,231,.2);
  color: #fff;
}

.admin-content {
  background: var(--light);
  min-height: 100vh;
  padding: 2rem;
}

.card-admin {
  background: #fff;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.alert-azzle {
  border-radius: 12px;
  border: none;
}

.portfolio-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid #e2e8f0;
  background: #fff;
  transition: transform .25s, box-shadow .25s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.portfolio-card-img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
  background: #e2e8f0;
}

.portfolio-card-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.portfolio-gallery {
  position: relative;
  max-width: 960px;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f172a;
}

.portfolio-gallery-main {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 280px;
  overflow: hidden;
  background: #0f172a;
}

.portfolio-gallery-main img,
.portfolio-gallery-main video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  z-index: 1;
}

.portfolio-detail-desc {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
}

section.portfolio-detail-section {
  padding-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.gallery-empty-msg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--dark);
  cursor: pointer;
}

.portfolio-gallery-nav.prev { left: 12px; }
.portfolio-gallery-nav.next { right: 12px; }
.portfolio-gallery-nav.hidden { display: none; }

/* —— Planuri showcase (stil card întunecat / preturi) —— */
.plan-showcase {
  position: relative;
  isolation: isolate;
  padding: 4.5rem 0 5rem;
  overflow: hidden;
  color: #f1f5f9;
}

.plan-showcase--compact {
  padding: 4rem 0;
}

.plan-showcase__backdrop {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 206, 201, 0.18), transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 80%, rgba(108, 92, 231, 0.22), transparent 50%),
    linear-gradient(160deg, #0b1220 0%, #151c2e 45%, #0f172a 100%);
}

.plan-showcase__backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.35), rgba(15, 23, 42, 0.55)),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}

.plan-showcase__inner {
  position: relative;
  z-index: 1;
}

.plan-showcase__title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.65rem;
  color: #fff;
}

.plan-showcase__subtitle {
  text-align: center;
  color: #94a3b8;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.plan-showcase__more {
  color: #5eead4;
  font-weight: 600;
}

.plan-showcase__more:hover {
  color: #99f6e4;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.75rem 3.25rem;
  border-radius: 20px;
  background: rgba(22, 28, 42, 0.82);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  border-color: rgba(0, 206, 201, 0.35);
}

.plan-card.is-featured {
  border-color: rgba(244, 114, 182, 0.55);
  box-shadow: 0 24px 50px rgba(244, 114, 182, 0.12), 0 24px 50px rgba(0, 0, 0, 0.35);
}

.plan-card__category {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
}

.plan-card__name {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 3vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #f472b6;
}

.plan-card.is-featured .plan-card__name {
  color: #fb7185;
}

.plan-card__features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  flex: 1 1 auto;
}

.plan-card__features li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.7rem;
  color: #e2e8f0;
  font-size: 0.95rem;
  line-height: 1.45;
}

.plan-card__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: inset 0 0 0 2px rgba(22, 28, 42, 0.9);
  background: radial-gradient(circle at center, #fff 35%, transparent 40%);
}

.plan-card__highlight {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem 0.9rem 1.1rem;
  border-radius: 10px;
  background: rgba(8, 12, 22, 0.72);
  border-left: 4px solid #22d3ee;
}

.plan-card__highlight p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  line-height: 1.5;
}

.plan-card__price-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: #94a3b8;
}

.plan-card__cta {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 45%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.5rem;
  min-height: 7.5rem;
  max-width: calc(100% - 2rem);
  padding: 1rem 1.1rem;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #67e8f9, #06b6d4 55%, #0891b2);
  color: #0f172a !important;
  font-weight: 800;
  font-size: 0.78rem;
  line-height: 1.25;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 28px rgba(6, 182, 212, 0.45);
  transition: transform .2s ease, box-shadow .2s ease;
  z-index: 2;
}

.plan-card__cta:hover {
  color: #0f172a !important;
  transform: translate(-50%, 40%) scale(1.04);
  box-shadow: 0 16px 32px rgba(6, 182, 212, 0.55);
}

.plan-card__details {
  margin-top: 2.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  color: #cbd5e1;
}

.plan-card__details summary {
  cursor: pointer;
  font-weight: 600;
  color: #5eead4;
  list-style: none;
}

.plan-card__details summary::-webkit-details-marker { display: none; }

.plan-card__details summary::before {
  content: "+ ";
  font-weight: 700;
}

.plan-card__details[open] summary::before {
  content: "– ";
}

.plan-card__details ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}

.plan-card__details li {
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.plan-showcase .row > [class*="col"] {
  padding-bottom: 2.5rem;
}

.plan-pricing-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.plan-pricing-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #cbd5e1 !important;
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(15, 23, 42, 0.35);
  transition: background .2s, border-color .2s, color .2s;
}

.plan-pricing-nav__link:hover {
  border-color: rgba(94, 234, 212, 0.55);
  color: #5eead4 !important;
}

.plan-pricing-nav__link.is-active {
  background: rgba(6, 182, 212, 0.2);
  border-color: rgba(34, 211, 238, 0.65);
  color: #67e8f9 !important;
}

@media (max-width: 991px) {
  .hero { padding: 3rem 0 2rem; text-align: center; }
  .hero .lead { margin: 0 auto 1.5rem; }
  .admin-sidebar { min-height: auto; }
}

.saas-form {
  max-width: 760px;
  margin: 2.5rem auto 3rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.saas-form h1 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.saas-form label {
  display: block;
  margin: 0.9rem 0 0.3rem;
  font-weight: 600;
}

.saas-form input,
.saas-form textarea,
.saas-form select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font: inherit;
}

.saas-form button.btn,
.saas-form .btn {
  margin-top: 1rem;
  background: var(--gradient);
  border: none;
  color: #fff;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.saas-note { color: var(--muted); }
.saas-ok { background: #ecfdf5; color: #065f46; padding: 0.75rem 1rem; border-radius: 12px; }
.saas-err { background: #fef2f2; color: #991b1b; padding: 0.75rem 1rem; border-radius: 12px; }

.request-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2rem;
}

.offer-carousel-section {
  padding: 0.25rem 0 3.5rem;
  background: transparent;
}

.offer-carousel {
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(0, 206, 201, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(108, 92, 231, 0.45), transparent 50%),
    linear-gradient(145deg, #0f172a 0%, #1e1b4b 55%, #0f766e 100%);
  box-shadow: var(--shadow);
}

.offer-slide {
  min-height: 300px;
  padding: 3.25rem 5.5rem 4.25rem;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.offer-slide .badge-platform {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.offer-slide h2 {
  color: #fff;
  margin: 1rem 0 0.75rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  max-width: 18em;
}

.offer-slide p {
  margin: 0 0 1.4rem;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
}

.offer-carousel .carousel-indicators {
  margin-bottom: 1.15rem;
}

.offer-carousel .carousel-indicators [data-bs-target] {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, 0.45);
}

.offer-carousel .carousel-indicators .active {
  background-color: #fff;
}

.offer-carousel .carousel-control-prev,
.offer-carousel .carousel-control-next {
  width: 3.25rem;
}

@media (max-width: 767.98px) {
  .offer-slide {
    padding: 2.25rem 3.25rem 3.75rem;
    min-height: 340px;
  }
}
