:root{
  --bg:#0b1220;
  --card:#0f1a33;
  --text:#e9eefc;
  --muted:#b7c3e6;
  --brand:#2ea6ff;
  --brand2:#7c5cff;
  --line:rgba(233,238,252,.12);
  --shadow:0 14px 40px rgba(0,0,0,.35);
  --radius:18px;
  --max:1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 500px at 10% 0%, rgba(46,166,255,.18), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(124,92,255,.16), transparent 55%),
    linear-gradient(180deg, #070b14 0%, #0b1220 40%, #070b14 100%);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto}
.container{width:100%; max-width:var(--max); margin:0 auto; padding:0 18px}

/* Alternate wrapper used in some pages */
.wrap{width:100%; max-width:var(--max); margin:0 auto; padding:0 18px}

/* Typography helpers */
h1{font-size:34px; line-height:1.12; margin:14px 0 10px}
h2{font-size:22px; margin:0 0 10px}
h3{font-size:16px; margin:0 0 8px}
.h1{font-size:34px; line-height:1.12; margin:14px 0 10px}
.h2{font-size:22px; margin:0 0 10px}
.h3{font-size:16px; margin:0 0 8px}
.p{margin:0; color:var(--muted); line-height:1.7; font-size:14px}
.lead{color:var(--muted); font-size:15.5px; line-height:1.7; margin:0 0 16px}
.sub{margin:6px 0 0; color:var(--muted); max-width:62ch; font-size:14px; line-height:1.6}
.sublead{margin:6px 0 0; color:var(--muted); max-width:70ch; font-size:14.5px; line-height:1.7}
.muted{color:var(--muted)}
.small{font-size:12.5px; color:rgba(183,195,230,.75); line-height:1.6; margin:10px 0 0}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(7,11,20,.65);
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(140%) blur(10px);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}
.brand{display:flex; align-items:center; gap:12px}
.brand img{width:44px; height:44px; object-fit:contain; border-radius:12px; background:transparent; border:none; padding:0}
.brand span{font-weight:900; letter-spacing:.2px}
.brand .name{font-weight:900; letter-spacing:.2px}
.brand .tag{font-size:12px; color:var(--muted)}
.nav{display:flex; align-items:center; gap:10px}
/* Mobile nav should never appear on desktop */
.nav.mobile{display:none}
.nav a{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:600;
  font-size:13px;
  border:1px solid transparent;
}
.nav a:hover{color:var(--text); border-color:var(--line); background:rgba(255,255,255,.03)}
.nav a.active{color:var(--text); border-color:rgba(46,166,255,.45); background:rgba(46,166,255,.10)}

.actions{display:flex; align-items:center; gap:10px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:8px;
  padding:11px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  font-weight:800;
  font-size:13px;
  letter-spacing:.2px;
}
.btn:hover{background:rgba(255,255,255,.06)}
.btn.primary{border-color:rgba(46,166,255,.55); background:linear-gradient(135deg, rgba(46,166,255,.22), rgba(124,92,255,.18))}
.btn.primary:hover{filter:brightness(1.06)}

.burger{display:none; width:42px; height:42px; border-radius:12px; border:1px solid var(--line); background:rgba(255,255,255,.03); color:var(--text)}
.burger:active{transform:translateY(1px)}

/* Collapsible menu container (used on mobile)
   - hidden by default
   - becomes visible when data-open="true" (toggled by JS)
*/
.header [data-menu]{display:none}
.header [data-menu][data-open="true"]{display:block}
.header [data-menu] .nav.mobile{margin-top:8px}

/* Hero */
.hero{padding:44px 0 26px}
.hero-grid{display:grid; grid-template-columns: 1.1fr .9fr; gap:24px; align-items:stretch}
.hero-grid > div{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow);
  padding:22px;
}
.hero-card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.hero-card .content{padding:22px}
.kicker{display:inline-flex; align-items:center; gap:8px; padding:7px 10px; border-radius:999px; border:1px solid var(--line); background:rgba(255,255,255,.03); color:var(--muted); font-weight:700; font-size:12px}
.cta-row,.hero-actions,.cta-actions{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.hero-badges,.badges{display:flex; gap:8px; flex-wrap:wrap; margin-top:10px}
.hero-figure{
  height:100%;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  background:rgba(255,255,255,.02);
}
.hero-figure img{width:100%; height:100%; object-fit:cover}



/* Hero splash (homepage) */
.hero-splash{
  position: relative;
  padding: 64px 18px 30px;
  max-width: var(--max);
  margin: 20px auto 0;
  background:
    linear-gradient(90deg, rgba(7,11,20,.94) 0%, rgba(7,11,20,.82) 48%, rgba(7,11,20,.46) 100%),
    radial-gradient(800px 420px at 20% 10%, rgba(46,166,255,.18), transparent 60%),
    url("../assets/img/banner.png") center/cover no-repeat;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius);
}
.hero-splash-inner{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:22px;
  align-items:stretch;
}
.hero-copy{padding:6px 0}
.hero-aside{padding:0; overflow:hidden}
.hero-aside .gallery img{height:150px}

/* Call-to-action band */
.cta{
  border:1px solid rgba(46,166,255,.35);
  background:linear-gradient(135deg, rgba(46,166,255,.16), rgba(124,92,255,.12));
  border-radius:var(--radius);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* Button variants */
.btn.secondary{border-color:var(--line); background:rgba(255,255,255,.03)}
.btn.ghost,.btn.btn-ghost{border-color:transparent; background:transparent}
.btn.ghost:hover,.btn.btn-ghost:hover{border-color:var(--line); background:rgba(255,255,255,.03)}


/* Steps */
.steps{display:grid; gap:10px; margin:0; padding:0; list-style:none}
.step{display:flex; gap:10px; align-items:flex-start; padding:12px; border-radius:14px; border:1px solid var(--line); background:rgba(255,255,255,.02)}
.step .dot{width:28px; height:28px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; font-weight:900; border:1px solid rgba(46,166,255,.45); background:rgba(46,166,255,.12)}

/* Media helpers */
.img{width:100%; height:auto; border-radius:14px; border:1px solid var(--line)}
.spacer{height:12px}
.stat{display:flex; gap:10px; align-items:center; border:1px solid var(--line); background:rgba(255,255,255,.02); border-radius:14px; padding:12px}
.stat .num{font-weight:900}
.stat .cap{color:var(--muted); font-weight:700; font-size:13px; line-height:1.4}

/* Sections */
.section{padding:26px 0}
.section-head{display:flex; justify-content:space-between; gap:16px; align-items:flex-end; margin-bottom:14px}
.section-head h2{margin:0; font-size:22px}
.section-head p{margin:0; color:var(--muted); max-width:62ch; font-size:14px; line-height:1.6}

.grid{display:grid; gap:14px}
.grid.cols-3{grid-template-columns:repeat(3, minmax(0, 1fr))}
.grid.cols-2{grid-template-columns:repeat(2, minmax(0, 1fr))}
.card{
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:rgba(255,255,255,.03);
  box-shadow:0 10px 30px rgba(0,0,0,.22);
  overflow:hidden;
  padding:18px;
}
.card-body{padding:18px}
.card.pad{padding:18px}
.card.pad{padding:18px}
.card h3{margin:0 0 8px; font-size:16px}
.card p{margin:0; color:var(--muted); line-height:1.7; font-size:14px}
.card ul{margin:12px 0 0; padding-left:18px; color:var(--muted); line-height:1.8; font-size:14px}

.badge{font-size:12px; color:var(--muted); border:1px solid var(--line); background:rgba(255,255,255,.02); padding:6px 10px; border-radius:999px}

.section-title{margin-bottom:14px}
.section-title .h2{margin:0}
.section-title .sub{margin-top:6px}

.list{margin:12px 0 0; padding-left:18px; color:var(--muted); line-height:1.8; font-size:14px}
.bullets{margin:12px 0 0; padding-left:18px; color:var(--muted); line-height:1.8; font-size:14px}

.pill{
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  border-radius:14px;
  padding:10px 12px;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}

.gallery{display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px}
.gallery img{width:100%; height:160px; object-fit:cover; border-radius:14px; border:1px solid var(--line)}

.split{display:grid; grid-template-columns:1fr 1fr; gap:14px; align-items:stretch}
.media{min-height:240px}
.media img{width:100%; height:100%; object-fit:cover}

.callout{
  border:1px solid rgba(46,166,255,.35);
  background:linear-gradient(135deg, rgba(46,166,255,.16), rgba(124,92,255,.12));
  border-radius:var(--radius);
  padding:18px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
}

/* FAQ accordion + quick form (homepage) */
.faq-layout{display:grid; grid-template-columns:1fr; gap:14px}
.accordion{display:grid; gap:10px}
.accordion details{border:1px solid var(--line); background:rgba(255,255,255,.03); border-radius:16px; padding:12px 14px}
.accordion summary{cursor:pointer; list-style:none; font-weight:900; color:var(--text); font-size:14px; display:flex; align-items:center; justify-content:space-between; gap:10px}
.accordion summary::-webkit-details-marker{display:none}
.accordion summary:after{content:"▾"; color:rgba(233,238,252,.75); font-size:16px; line-height:1}
.accordion details[open] summary:after{content:"▴"}
.accordion .chev{display:none}
.accordion .acc-body{margin-top:10px; color:var(--muted); font-size:14px; line-height:1.7}

.quick-form{display:grid; gap:10px}
.form-grid{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.form-grid .full{grid-column:1 / -1}
.hint{font-size:12px; color:rgba(183,195,230,.75); line-height:1.5; margin-top:-2px}

.page-hero{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:
    linear-gradient(90deg, rgba(7,11,20,.88) 0%, rgba(7,11,20,.72) 48%, rgba(7,11,20,.38) 100%),
    url("../assets/img/banner.png") center/cover no-repeat;
  box-shadow:var(--shadow);
}
.page-hero h1{margin:8px 0 10px}

/* Tables */
.table-wrap{overflow:auto; border-radius:var(--radius); border:1px solid var(--line); background:rgba(255,255,255,.02)}
table{width:100%; border-collapse:collapse; min-width:720px}
th,td{padding:14px 14px; text-align:left; border-bottom:1px solid var(--line); font-size:14px}
th{color:var(--text); font-weight:900; background:rgba(255,255,255,.03)}
td{color:var(--muted)}
tr:hover td{background:rgba(255,255,255,.02)}

.table{width:100%; border-collapse:collapse}
.table th,.table td{padding:14px 14px; text-align:left; border-bottom:1px solid var(--line); font-size:14px}
.table th{color:var(--text); font-weight:900; background:rgba(255,255,255,.03)}
.table td{color:var(--muted)}

/* Forms */
form{display:grid; gap:10px}
label{font-size:13px; color:var(--muted); font-weight:700}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
textarea{min-height:120px; resize:vertical}
input::placeholder, textarea::placeholder{color:rgba(183,195,230,.65)}

.notice{padding:12px 14px; border-radius:14px; border:1px dashed rgba(233,238,252,.25); color:var(--muted); font-size:13px; line-height:1.6}

/* Accessibility */
.skip{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden}
.skip:focus{left:18px; top:18px; width:auto; height:auto; padding:10px 12px; border-radius:12px; background:rgba(255,255,255,.06); border:1px solid var(--line); z-index:999}

/* Footer */

/* Pre-FAQ block (Homepage) */
.pre-faq .pre-faq-card{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  padding:18px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.03);
}
.pre-faq .pre-faq-points{display:grid; gap:12px}
.pre-faq .point{display:grid; grid-template-columns: 28px 1fr; gap:10px; align-items:start}
.pre-faq .dot{
  width:28px; height:28px; border-radius:10px;
  display:grid; place-items:center;
  border:1px solid var(--line);
  background: rgba(46,166,255,.08);
  color: var(--text);
  font-weight:900;
}
.pre-faq strong{display:block; margin-bottom:2px}
.pre-faq .small{margin:0}

/* Footer (Business) */
.footer{margin-top:30px; border-top:1px solid var(--line); background:rgba(7,11,20,.65)}
.footer-pro .footer-top{
  padding:26px 0 18px;
  display:grid;
  grid-template-columns: 1.25fr .9fr .7fr .95fr;
  gap:18px;
  align-items:start;
}
.footer-pro .footer-desc{color:rgba(183,195,230,.78); line-height:1.7; margin:0 0 14px}
.footer-pro h4{
  margin: 6px 0 12px;
  font-size: 13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(255,255,255,.82);
}
.footer-pro .footer-list{display:grid; gap:8px; color:rgba(183,195,230,.78); line-height:1.6}
.footer-pro .footer-links{display:grid; gap:10px}
.footer-pro .footer-links a{
  display:inline-flex;
  padding:8px 10px;
  border-radius:12px;
  border:1px solid transparent;
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}
.footer-pro .footer-links a:hover{border-color:var(--line); background:rgba(255,255,255,.03); color:var(--text)}
.footer-pro .footer-cta{display:flex; gap:10px; flex-wrap:wrap}
.footer-pro .btn{font-weight:800}

.footer-pro .footer-bottom{
  border-top:1px solid var(--line);
  padding:14px 0 18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}
.footer-pro .footer-legal{display:flex; align-items:center; gap:10px}
.footer-pro .footer-legal a{color:rgba(183,195,230,.85); font-weight:800}
.footer-pro .footer-legal a:hover{color:var(--text)}
.footer-pro .sep{opacity:.55}

/* Responsive footer */
@media (max-width: 920px){
  /* Mobile header fixes: keep phone visible but prevent overflow */
  .header .actions{display:flex;align-items:center;gap:10px;margin-left:auto;}
  .header .actions .btn{display:none;}
  .header .actions .btn.secondary{display:inline-flex;padding:8px 10px;font-size:14px;white-space:nowrap;}
  .header .actions .phone2{display:none !important;}
  .header .logo-mark{max-width:140px;height:auto;}
  .header .burger{flex:0 0 auto;}
  .header-inner{min-width:0;}

  .pre-faq .pre-faq-card{grid-template-columns:1fr}
  .footer-pro .footer-top{grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .footer-pro .footer-top{grid-template-columns:1fr;}
  .footer-pro .footer-bottom{flex-direction:column; align-items:flex-start}
}

/* Responsive */
@media (max-width: 920px){
  .hero-splash-inner{grid-template-columns:1fr;}
  .faq-layout{display:grid; grid-template-columns:1fr; gap:14px}

  .hero-grid{grid-template-columns:1fr;}
  .hero-splash-inner{grid-template-columns:1fr;}

  .hero-figure{min-height:240px}
  .grid.cols-3{grid-template-columns:1fr}
  .grid.cols-2{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1fr}
  .faq-layout{display:grid; grid-template-columns:1fr; gap:14px}
  .form-grid{grid-template-columns:1fr}
  .nav{display:none}
  /* Header mobile fixes: prevent overflow so burger is fully visible */
  .actions{display:none}
  .brand{min-width:0}
  .brand .logo-mark{width:min(160px, 60vw); height:auto}
  .burger{flex:0 0 auto}
  .burger{display:inline-flex; align-items:center; justify-content:center}
  .nav.mobile{
    display:flex; flex-direction:column; align-items:stretch;
    gap:6px;
    padding:10px 0 14px;
  }
  .nav.mobile a{border-radius:14px}
}


/* Homepage intro text */
.home-intro-text{
  max-width: 100%;
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(183,195,230,.85);
}

/* Logo mark + brand */
.brand{display:flex; align-items:center; gap:10px}
.brand .logo-mark{width:160px; height:40px; display:block}
.brand span{display:none}


/* Homepage intro (business) */
.home-intro .kicker{opacity:.9}
.home-intro-lines p{margin:0 0 12px; color:rgba(183,195,230,.88); line-height:1.85; font-size:15px}
.home-intro-lines p:last-child{margin-bottom:0}


/* Terms page */
.terms-content{max-width: 920px}
.terms-content ul{margin:8px 0 14px 18px; color:rgba(183,195,230,.88); line-height:1.85}
.terms-content li{margin:6px 0}


/* Footer centered bottom */
.footer-center{
  justify-content: center;
  text-align: center;
}


/* Force footer copyright center */
.footer-bottom.footer-center{
  display:flex !important;
  justify-content:center !important;
  align-items:center !important;
}
.footer-bottom.footer-center .footer-copy{
  width:100%;
  text-align:center;
}

/* Fix meniu pe un singur rand */
.header .nav {
  white-space: nowrap;
  flex-wrap: nowrap;
}
.header .nav a {
  padding: 0 10px;
}

/* Logo text */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-text {
  line-height: 1.1;
  font-size: 14px;
}
.brand-text span {
  font-size: 12px;
  opacity: 0.8;
}


/* Mobile menu usability improvement */
@media (max-width: 768px) {
  .nav.mobile a {
    font-size: 18px;
    padding: 14px 0;
  }
}


/* Fix footer to bottom on desktop */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}
