
/* Pasilix — clean multi-page UI (light/dark + i18n + shared header/footer) */

:root{
  --page-bg:#ffffff;
  --surface:#ffffff;
  --surface2:#f8fafc;

  --text:#0f172a;
  --muted:#475569;

  --border:rgba(15,23,42,.12);

  --brand:#0b3a66;
  --brand2:#ff6600;
  --accent:#0ea5e9;

  --ring:rgba(14,165,233,.25);
  --shadow:0 10px 30px rgba(2,6,23,.08);
  --shadow2:0 14px 45px rgba(2,6,23,.12);

  --radius:16px;
}

[data-theme="dark"]{
  --page-bg:#0b1220;
  --surface:#0f1930;
  --surface2:#0b162a;

  --text:#e5e7eb;
  --muted:#b6c0cf;

  --border:rgba(148,163,184,.22);

  --brand:#6ee7ff;
  --brand2:#ff8a3d;
  --accent:#38bdf8;

  --ring:rgba(56,189,248,.28);
  --shadow:0 14px 40px rgba(0,0,0,.40);
  --shadow2:0 16px 55px rgba(0,0,0,.52);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial;
  background:var(--page-bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit}
img{max-width:100%; height:auto}

.container{max-width:1100px; margin:0 auto; padding:0 18px;}
.h1{font-size:clamp(28px,4vw,44px); line-height:1.1; margin:0 0 12px}
.h2{font-size:clamp(22px,3vw,30px); margin:0 0 10px}
.h3{font-size:18px; margin:0 0 8px}
.lead{font-size:18px; color:var(--muted); margin:0 0 18px}
.muted{color:var(--muted)}
.tiny{font-size:12px}
.divider{height:1px; background:var(--border); margin:14px 0}

.section{padding:56px 0}
.section--alt{background:var(--surface2); border-top:1px solid var(--border); border-bottom:1px solid var(--border)}
.section__head{margin-bottom:18px}

/* Topbar */
.topbar{
  background:linear-gradient(90deg, rgba(11,58,102,.92), rgba(14,165,233,.86));
  color:#fff;
}
[data-theme="dark"] .topbar{
  background:linear-gradient(90deg, rgba(15,25,48,.96), rgba(56,189,248,.22));
  color:var(--text);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:10px 0}
.topbar__left{display:flex; align-items:center; flex-wrap:wrap; gap:10px}
.topbar__right{display:flex; align-items:center; gap:10px; flex-wrap:nowrap}
.topbar__sep{opacity:.7}
.topbar__link{display:inline-flex; align-items:center; gap:8px; text-decoration:none; opacity:.95}
.topbar__link i{opacity:.9}

/* Language dropdown */
.lang{position:relative}
.lang__btn{
  display:inline-flex; align-items:center; gap:8px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:inherit;
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
}
[data-theme="dark"] .lang__btn{
  border-color:var(--border);
  background:rgba(15,25,48,.55);
}
.lang__menu{
  position:absolute; right:0; top:calc(100% + 10px);
  min-width:180px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:6px;
  margin:0;
  list-style:none;
  display:none;
  z-index:50;
}
.lang__menu.is-open{display:block}
.lang__item{
  width:100%;
  display:flex; align-items:center; gap:10px;
  border:0; background:transparent;
  color:var(--text);
  padding:10px 10px;
  border-radius:10px;
  cursor:pointer;
  text-align:left;
}
.lang__item:hover{background:rgba(14,165,233,.10)}
.lang__flagimg{
  width:18px;
  height:12px;
  border-radius:3px;
  box-shadow:0 0 0 1px rgba(0,0,0,.10);
  flex:0 0 auto;
}
.lang__code{font-weight:700; letter-spacing:.5px}

/* Icon button */
.iconbtn{
  width:40px; height:40px;
  display:grid; place-items:center;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.12);
  color:inherit;
  cursor:pointer;
}
[data-theme="dark"] .iconbtn{
  border-color:var(--border);
  background:rgba(15,25,48,.55);
}

/* Header / Nav */
.header{
  position:sticky; top:0; z-index:40;
  background:rgba(255,255,255,.78);
  backdrop-filter:saturate(180%) blur(14px);
  border-bottom:1px solid var(--border);
}
[data-theme="dark"] .header{background:rgba(11,18,32,.76)}
.header__inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0}

.brand{display:flex; align-items:baseline; gap:2px; font-weight:900; text-decoration:none}
.brand__mark{font-size:20px; letter-spacing:1px}
.brand__mark--accent{color:var(--brand2)}
.brand--footer .brand__mark{font-size:18px}

.nav{display:flex; align-items:center; gap:12px}
.nav__toggle{display:none}
.nav__list{
  display:flex; align-items:center; gap:10px;
  list-style:none; margin:0; padding:0;
}
.nav__link{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  background:transparent;
  border:0;
  cursor:pointer;
  font:inherit;
}
.nav__link:hover{background:rgba(14,165,233,.10)}
.nav__dropdown{position:relative}
.nav__dropdown-menu{
  position:absolute; left:0; top:calc(100% + 10px);
  min-width:240px;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  padding:8px;
  list-style:none;
  margin:0;
  display:none;
}
.nav__dropdown-menu.is-open{display:block}
.nav__dropdown-menu a{
  display:flex; align-items:center; gap:10px;
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
}
.nav__dropdown-menu a i{width:18px; opacity:.9}
.nav__dropdown-menu a:hover{background:rgba(14,165,233,.10)}

.header__cta{display:flex; align-items:center; gap:10px}

/* Hide mobile CTA buttons on desktop */
.nav__mobile-cta{display:none}

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--border);
  text-decoration:none;
  cursor:pointer;
  font-weight:700;
}
.btn--primary{
  border-color:transparent;
  background:linear-gradient(90deg, var(--brand), var(--accent));
  color:#fff;
}
[data-theme="dark"] .btn--primary{color:#06111f}
.btn--secondary{background:transparent}
.btn--ghost{background:transparent}
.btn--block{width:100%}

/* Hero */
.hero{padding:56px 0 40px}
.hero__inner{display:grid; grid-template-columns:1.2fr .8fr; gap:22px; align-items:start}
.hero__bullets{list-style:none; margin:0 0 18px; padding:0; display:grid; gap:8px}
.hero__bullets i{color:var(--accent)}
.hero__actions{display:flex; flex-wrap:wrap; gap:10px; margin:14px 0}
.trust{display:flex; flex-wrap:wrap; gap:10px; margin-top:10px}
.trust__item{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 10px;
  border:1px solid var(--border);
  border-radius:999px;
  background:var(--surface);
}
.trust__item i{color:var(--accent)}

/* Offer card */
.hero__card .offer{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.offer__badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,102,0,.14);
  border:1px solid rgba(255,102,0,.25);
  color:var(--text);
  font-weight:800;
  margin-bottom:10px;
}
.offer__grid{display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:14px 0 16px}
.mini{
  display:flex; align-items:center; gap:10px;
  padding:10px 10px;
  border:1px solid var(--border);
  border-radius:14px;
  background:var(--surface2);
}
.mini i{color:var(--accent)}

/* Cards / grids */
.cards{display:grid; gap:14px}
.cards--3{grid-template-columns:repeat(3,1fr)}
.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow);
}
.card--soft{box-shadow:none; background:var(--surface2)}
.card__icon{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:14px;
  background:rgba(14,165,233,.12);
  border:1px solid rgba(14,165,233,.20);
  margin-bottom:10px;
}
.card__icon i{color:var(--accent)}
.link{color:var(--accent); text-decoration:none; font-weight:800}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns:repeat(3,1fr)}
.feature{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
}
.feature i{color:var(--accent); font-size:20px; margin-bottom:8px}

/* Domain form */
.domain{display:flex; flex-wrap:wrap; gap:10px; align-items:center}
.domain__input{
  flex:1;
  min-width:240px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  outline:none;
}
.domain__input:focus{box-shadow:0 0 0 4px var(--ring); border-color:rgba(14,165,233,.45)}

/* FAQ */
.faq{display:grid; gap:10px}
.faq__item{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:10px 14px;
}
.faq__item summary{cursor:pointer; font-weight:800}
.faq__item p{margin:10px 0 0}

/* Contact */
.contact{display:grid; grid-template-columns:1.1fr .9fr; gap:14px; align-items:start}
.form{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:16px; box-shadow:var(--shadow)}
.form__row{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.label{display:grid; gap:6px; font-weight:700}
.input{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--surface);
  color:var(--text);
  outline:none;
}
.input:focus{box-shadow:0 0 0 4px var(--ring); border-color:rgba(14,165,233,.45)}
textarea.input{resize:vertical}

/* Page hero + prose */
.pagehero{padding:38px 0 18px; background:var(--surface2); border-bottom:1px solid var(--border)}
.breadcrumb{margin:0 0 10px; color:var(--muted); font-size:14px}
.breadcrumb a{text-decoration:none; color:var(--accent); font-weight:800}
.prose{max-width:820px}
.prose ul{padding-left:18px}

/* Footer */
.footer{border-top:1px solid var(--border); padding:26px 0 18px; background:var(--surface2)}
.footer__inner{display:grid; gap:14px}
.footer__top{display:flex; align-items:flex-start; justify-content:space-between; gap:14px; flex-wrap:wrap}
.footer__brand{max-width:420px}
.footer__tag{margin:10px 0 0}
.footer__right{display:flex; flex-direction:column; align-items:flex-end; gap:12px; max-width:620px}
.footer__social{display:flex; gap:10px}
.footer__social a{
  width:42px; height:42px;
  display:grid; place-items:center;
  border-radius:999px;
  border:1px solid var(--border);
  background:var(--surface);
  text-decoration:none;
}
.footer__social a:hover{box-shadow:0 0 0 4px var(--ring)}
.footer__payments{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.footer__payments img{
  width:92px; height:auto;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.92);
  opacity:1;
}
/* On dark theme keep logos clearly visible */
[data-theme="dark"] .footer__payments img{
  background:rgba(255,255,255,.98);
  border-color:rgba(255,255,255,.28);
  box-shadow:0 6px 18px rgba(0,0,0,.25);
}

/* Cookie consent */
.cookie{
  position:fixed;
  left:16px;
  right:16px;
  bottom:16px;
  z-index:90;
  display:none;
}
.cookie.is-open{display:block}
.cookie__card{
  max-width:920px;
  margin:0 auto;
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:14px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.cookie__text{min-width:220px}
.cookie__actions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.cookieModal{
  position:fixed;
  inset:0;
  display:none;
  z-index:100;
}
.cookieModal.is-open{display:grid; place-items:center}
.cookieModal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
}
.cookieModal__panel{
  width:min(640px, calc(100% - 32px));
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:20px;
  box-shadow:var(--shadow);
  overflow:hidden;
  position:relative;
}
.cookieModal__head{padding:16px 16px 10px; border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:10px}
.cookieModal__body{padding:14px 16px; display:grid; gap:12px}
.cookieOpt{display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px; border:1px solid var(--border); border-radius:14px; background:var(--surface2)}
.cookieOpt input{width:18px; height:18px}
.cookieModal__foot{padding:14px 16px; border-top:1px solid var(--border); display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap}
.pill{display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; border:1px solid var(--border); background:var(--surface); font-weight:800; font-size:12px}
.footer__legal{display:flex; gap:14px; flex-wrap:wrap; justify-content:flex-end}
.footer__legal a{text-decoration:none; color:var(--muted); font-weight:800}
.footer__legal a:hover{color:var(--accent)}
.footer__bottom{
  padding-top:12px;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:13px;
}



/* Responsive */
@media (max-width: 920px){
  .hero__inner{grid-template-columns:1fr}
  .cards--3{grid-template-columns:1fr 1fr}
  .grid--3{grid-template-columns:1fr 1fr}
  .contact{grid-template-columns:1fr}
  .footer__right{align-items:flex-start}
  .footer__payments,.footer__legal{justify-content:flex-start}
  
  /* Header adjustments for tablet */
  .header__cta{display:none}
  .topbar__left{font-size:14px}
  .topbar__right{gap:8px}
}
@media (max-width: 640px){
  .cards--3{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .form__row{grid-template-columns:1fr}

  /* Navigation improvements */
  .nav__toggle{
    display:inline-flex;
    width:44px; height:44px;
    border-radius:12px;
    border:1px solid var(--border);
    background:var(--surface);
    cursor:pointer;
    align-items:center; justify-content:center;
    z-index:61;
    position:relative;
  }
  .nav__list{
    position:fixed;
    top:0;
    right:-100%;
    width:80%;
    max-width:320px;
    height:100vh;
    background:var(--surface);
    border-left:1px solid var(--border);
    box-shadow:var(--shadow);
    padding:20px;
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    transition:right 0.3s ease;
    z-index:60;
    overflow-y:auto;
  }
  .nav__list--open{
    right:0;
  }
  .nav__dropdown-menu{
    position:static;
    box-shadow:none;
    border-radius:14px;
    margin-top:6px;
    margin-left:10px;
    background:var(--surface2);
  }
  
  /* Mobile CTA buttons in nav */
  .nav__mobile-cta{
    display:block;
    margin-top:16px;
    padding-top:16px;
    border-top:1px solid var(--border);
  }
  .nav__mobile-cta .btn{
    margin-bottom:8px;
  }
  .nav__mobile-cta:last-child .btn{
    margin-bottom:0;
  }
  
  /* Header CTA - hide on mobile since it's in nav */
  .header__cta{
    display:none;
  }
  
  /* Topbar mobile improvements */
  .topbar__inner{
    flex-direction:column;
    gap:8px;
    padding:8px 0;
  }
  .topbar__left,
  .topbar__right{
    width:100%;
    justify-content:center;
    flex-wrap:wrap;
  }
  .topbar__link{
    font-size:13px;
  }
  
  /* Hero mobile improvements */
  .hero{
    padding:40px 0 30px;
  }
  .hero__actions{
    flex-direction:column;
    gap:12px;
  }
  .hero__actions .btn{
    width:100%;
    justify-content:center;
    min-height:48px;
  }
  .trust{
    justify-content:center;
  }
  .trust__item{
    font-size:13px;
    padding:6px 10px;
  }
  
  /* Cards mobile improvements */
  .card{
    padding:20px;
  }
  .card__icon{
    width:48px;
    height:48px;
  }
  
  /* Form mobile improvements */
  .input{
    min-height:48px;
    font-size:16px; /* Prevents zoom on iOS */
  }
  textarea.input{
    min-height:120px;
  }
  
  /* Domain form mobile */
  .domain{
    flex-direction:column;
  }
  .domain__input{
    min-width:100%;
    min-height:48px;
    font-size:16px;
  }
  .domain .btn{
    width:100%;
    min-height:48px;
  }
  
  /* Section spacing mobile */
  .section{
    padding:40px 0;
  }
  .section--alt{
    padding:40px 0;
  }
  
  /* Cookie modal mobile */
  .cookie__card{
    flex-direction:column;
    gap:12px;
  }
  .cookie__actions{
    width:100%;
    justify-content:stretch;
  }
  .cookie__actions .btn{
    flex:1;
    min-height:44px;
  }
  
  /* FAQ mobile */
  .faq__item{
    padding:14px;
  }
  
  /* Feature items mobile */
  .feature{
    padding:20px;
    text-align:center;
  }
  
  /* Offer card mobile */
  .offer{
    padding:20px;
  }
  .offer__grid{
    grid-template-columns:1fr;
    gap:8px;
  }
  .mini{
    padding:12px;
  }
  
  /* Container padding mobile */
  .container{
    padding:0 16px;
  }
  
  /* Better touch targets */
  .btn{
    min-height:44px;
    padding:12px 16px;
  }
  .nav__link{
    min-height:44px;
    padding:12px 16px;
  }
  
  /* Mobile menu overlay */
  .nav__list::before{
    content:'';
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,0.5);
    z-index:-1;
    opacity:0;
    transition:opacity 0.3s ease;
  }
  .nav__list--open::before{
    opacity:1;
  }
}


