/* Razex Solutions — Modern Landing (no frameworks) */
html, body{
  width: 100%;
  overflow-x: hidden;
}

:root{
  /* default = DARK */
  --bg: #070B14;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.08);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.12);

  --brand: #6EE7FF;
  --brand2: #7C5CFF;

  --ok: #39ff88;
  --shadow: 0 18px 55px rgba(0,0,0,.45);
  --radius: 20px;
  --radius2: 28px;
  --max: 1150px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

/* LIGHT THEME (applies when html has data-theme="light") */
html[data-theme="light"]{
  --bg: #F6F7FB;
  --panel: rgba(0,0,0,.04);
  --panel2: rgba(0,0,0,.06);
  --text: rgba(10,14,22,.92);
  --muted: rgba(10,14,22,.62);
  --line: rgba(10,14,22,.12);

  --shadow: 0 18px 55px rgba(10,14,22,.14);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--font);
  background:
    radial-gradient(1200px 800px at 10% 0%, rgba(124,92,255,.18), transparent 60%),
    radial-gradient(900px 650px at 90% 10%, rgba(110,231,255,.14), transparent 55%),
    var(--bg);
  color:var(--text);
  line-height:1.6;
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
img{max-width:100%; width:auto; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(12,18,34,.75);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
html[data-theme="light"] .topbar{
  background: rgba(246,247,251,.75);
}

.topbar__inner{
  display:flex; align-items:center; gap:12px;
  padding:10px 0;
}
.topbar__badge{
  font-size:12px; padding:4px 10px; border:1px solid var(--line);
  border-radius:999px; background: rgba(255,255,255,.05)
}
html[data-theme="light"] .topbar__badge{
  background: rgba(0,0,0,.03);
}

.topbar__text{color:var(--muted); font-size:13px; flex:1}
.topbar__link{
  font-size:13px; color:#08101f;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  padding:7px 12px; border-radius:999px; font-weight:700;
}

.header{
  position:sticky; top:42px; z-index:40;
  background: rgba(7,11,20,.55);
  backdrop-filter: blur(14px);
  border-bottom:1px solid var(--line);
}
html[data-theme="light"] .header{
  background: rgba(246,247,251,.65);
}

.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{display:flex; gap:10px; align-items:center}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand__tag{font-size:12px; color:var(--muted); margin-top:2px}

.nav{display:flex; align-items:center; gap:18px}
.nav a{color:var(--muted); font-weight:600; font-size:14px}
.nav a:hover{color:var(--text)}
.nav .btn{margin-left:6px}

.nav-toggle{
  display:none;
  width:44px; height:40px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  border-radius:12px;
  cursor:pointer;
}
html[data-theme="light"] .nav-toggle{
  background: rgba(0,0,0,.03);
}
.nav-toggle span{
  display:block; height:2px; width:20px; margin:5px auto;
  background:rgba(255,255,255,.85); border-radius:2px;
}
html[data-theme="light"] .nav-toggle span{
  background: rgba(10,14,22,.80);
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-weight:800;
  letter-spacing:.2px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
html[data-theme="light"] .btn{
  background: rgba(0,0,0,.03);
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18)}
html[data-theme="light"] .btn:hover{
  background: rgba(0,0,0,.05);
  border-color: rgba(10,14,22,.18);
}

.btn--primary{
  border:none;
  color:#08101f;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  box-shadow: 0 12px 34px rgba(124,92,255,.25);
}
.btn--ghost{background: transparent}
.btn--sm{padding:9px 12px; border-radius:12px; font-size:13px}

/* Theme toggle button */
.theme-toggle{
  display:inline-flex;
  gap:10px;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--text);
  font-weight:800;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
/* By default hide the nav version (desktop) */
.theme-toggle--nav{ display:none; }

/* Topbar version aligns nicely */
.theme-toggle--topbar{
  margin-left: 8px;
  padding: 8px 10px;
  border-radius: 999px;
}

/* On phone:
   - hide topbar theme (topbar is tight)
   - show theme inside hamburger dropdown
*/
@media (max-width: 520px){
  .theme-toggle--topbar{ display:none; }
  .theme-toggle--nav{
    display:inline-flex;
    width:100%;
    justify-content:flex-start;
  }
  .nav.is-open .theme-toggle--nav{
    margin-top: 6px;
  }
}

.theme-toggle:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
html[data-theme="light"] .theme-toggle{
  background: rgba(0,0,0,.03);
}
html[data-theme="light"] .theme-toggle:hover{
  background: rgba(0,0,0,.05);
  border-color: rgba(10,14,22,.18);
}
.theme-toggle i{opacity:.9}
.theme-toggle span{font-size:13px; color:var(--muted)}

.hero{
  position:relative;
  padding:64px 0 24px;
}
.hero__bg{
  position:absolute; inset:-40px -20px auto -20px;
  height:460px;
  background: radial-gradient(600px 400px at 50% 0%, rgba(110,231,255,.22), transparent 60%),
              radial-gradient(600px 400px at 20% 40%, rgba(124,92,255,.22), transparent 60%);
  filter: blur(12px);
  z-index:-2;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:28px;
  align-items:center;
}
.hero__content{padding:10px 0}
.hero__title{
  font-size: clamp(34px, 3.4vw, 56px);
  line-height:1.08;
  margin:14px 0 12px;
  letter-spacing:-.6px;
}
.hero__subtitle{
  color:var(--muted);
  font-size: 16px;
  margin:0 0 18px;
  max-width: 58ch;
}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap; margin: 10px 0 18px}

.chip{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px; border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-weight:700;
  font-size:13px;
}
html[data-theme="light"] .chip{
  background: rgba(0,0,0,.03);
}
.chip__dot{
  width:9px; height:9px; border-radius:999px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  box-shadow: 0 0 0 4px rgba(110,231,255,.12);
}

.grad{
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;
}
.muted{color:var(--muted)}

.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.stat{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius:16px;
  padding:12px;
}
html[data-theme="light"] .stat{
  background: rgba(0,0,0,.03);
}
.stat__k{font-weight:900; font-size:18px}
.stat__v{color:var(--muted); font-size:12.5px}

.hero__visual{position:relative; min-height:420px}
.hero__card{
  position:absolute;
  border-radius: var(--radius2);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  overflow:hidden;
}
html[data-theme="light"] .hero__card{
  background: rgba(0,0,0,.03);
}
.hero__card--one{
  inset: 0 0 76px 12%;
  transform: rotate(1.2deg);
}
.hero__card--two{
  inset: auto 12% 0 0;
  padding:14px;
  transform: rotate(-1.2deg);
}
.glow{
  position:absolute;
  inset: 18% 12% 18% 18%;
  background: radial-gradient(closest-side, rgba(110,231,255,.22), transparent 65%);
  filter: blur(10px);
  z-index:-1;
}

.mini__row{display:flex; gap:8px; flex-wrap:wrap; margin-bottom:10px}
.mini__pill{
  font-size:12px; font-weight:800; color: rgba(255,255,255,.85);
  padding:6px 10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
}
html[data-theme="light"] .mini__pill{
  color: rgba(10,14,22,.88);
  background: rgba(0,0,0,.03);
  border-color: rgba(10,14,22,.12);
}

.mini__bar{
  height:10px; border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  overflow:hidden;
  margin:12px 0 10px;
}
html[data-theme="light"] .mini__bar{
  background: rgba(0,0,0,.03);
  border-color: rgba(10,14,22,.12);
}
.mini__bar span{
  display:block; height:100%;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
}
.mini__text{color:var(--muted); font-size:12.5px; margin:0}

.trust{padding:18px 0 36px}
.trust__inner{
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius2);
  padding:16px 18px;
}
html[data-theme="light"] .trust__inner{
  background: rgba(0,0,0,.02);
}
.trust__label{margin:0 0 10px; color:var(--muted); font-weight:700; font-size:13px}
.trust__grid{display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:10px}
.trust__item{
  display:flex; align-items:center; gap:10px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius:14px;
  padding:10px 12px;
  font-weight:800;
  color:rgba(255,255,255,.86);
  font-size:13px;
}
html[data-theme="light"] .trust__item{
  border-color: rgba(10,14,22,.10);
  background: rgba(0,0,0,.02);
  color: rgba(10,14,22,.86);
}

.section{padding:64px 0}
.section--alt{
  background: radial-gradient(900px 600px at 10% 10%, rgba(124,92,255,.12), transparent 60%),
              radial-gradient(900px 600px at 90% 20%, rgba(110,231,255,.10), transparent 60%);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section--contact{
  background: radial-gradient(900px 600px at 30% 0%, rgba(110,231,255,.14), transparent 60%),
              radial-gradient(900px 600px at 80% 20%, rgba(124,92,255,.14), transparent 60%);
}

.section__head{max-width: 70ch; margin-bottom:22px}
.section__head--left{margin-bottom:16px}
.section__head h2{
  margin:0 0 8px;
  font-size: clamp(24px, 2.2vw, 34px);
  letter-spacing:-.3px;
}
.section__head p{margin:0; color:var(--muted)}

.cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: 0 14px 42px rgba(0,0,0,.22);
}
html[data-theme="light"] .card{
  background: rgba(0,0,0,.02);
}
.card__icon{
  width:52px; height:52px; border-radius:16px;
  display:grid; place-items:center;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  margin-bottom:10px;
}
html[data-theme="light"] .card__icon{
  background: rgba(0,0,0,.03);
  border-color: rgba(10,14,22,.12);
}

.card h3{margin:8px 0 6px; letter-spacing:-.2px}
.card p{margin:0 0 12px; color:var(--muted)}

.list{margin:0; padding-left:18px; color: rgba(255,255,255,.84)}
html[data-theme="light"] .list{
  color: rgba(10,14,22,.84);
}
.list li{margin:6px 0}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:center;
}
.img-card{
  border-radius: var(--radius2);
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}
html[data-theme="light"] .img-card{
  background: rgba(0,0,0,.02);
}
.split__cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}

.accordion{
  border:1px solid var(--line);
  border-radius: var(--radius2);
  overflow:hidden;
  background: rgba(255,255,255,.04);
}
html[data-theme="light"] .accordion{
  background: rgba(0,0,0,.02);
}
.accordion__btn{
  width:100%;
  background: transparent;
  border:none;
  color: var(--text);
  padding:14px 16px;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  gap:10px;
  font-weight:900;
  letter-spacing:.1px;
  border-top:1px solid rgba(255,255,255,.10);
}
html[data-theme="light"] .accordion__btn{
  border-top-color: rgba(10,14,22,.10);
}
.accordion__btn:first-child{border-top:none}
.accordion__meta{color: var(--muted); font-weight:700; font-size:12px}
.accordion__panel{
  padding:0 16px 14px;
  color: var(--muted);
  display:none;
}
.accordion__panel[data-open]{display:block}
.pillgrid{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.pill{
  font-size:12px; font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.88);
}
html[data-theme="light"] .pill{
  border-color: rgba(10,14,22,.12);
  background: rgba(0,0,0,.03);
  color: rgba(10,14,22,.86);
}

.steps{
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap:12px;
}
.step{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius2);
  padding:16px;
}
html[data-theme="light"] .step{
  background: rgba(0,0,0,.02);
}
.step__num{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius:12px;
  background: linear-gradient(90deg, var(--brand), var(--brand2));
  color:#08101f;
  font-weight:900;
  margin-bottom:10px;
}
.step h3{margin:0 0 6px}
.step p{margin:0; color:var(--muted); font-size:13.5px}

.work{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:16px;
}
.work__card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius2);
  overflow:hidden;
  box-shadow: 0 14px 42px rgba(0,0,0,.22);
}
html[data-theme="light"] .work__card{
  background: rgba(0,0,0,.02);
}
.work__thumb{background: rgba(0,0,0,.18)}
html[data-theme="light"] .work__thumb{
  background: rgba(0,0,0,.03);
}
.work__body{padding:16px}
.work__body h3{margin:0 0 6px}
.work__body p{margin:0 0 10px; color:var(--muted)}
.tags{display:flex; flex-wrap:wrap; gap:8px}
.tag{
  font-size:12px; font-weight:900;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.86);
}
html[data-theme="light"] .tag{
  border-color: rgba(10,14,22,.12);
  background: rgba(0,0,0,.03);
  color: rgba(10,14,22,.86);
}

.about{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:18px;
  align-items:center;
}
.about__grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.about__item{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  padding:14px;
}
html[data-theme="light"] .about__item{
  border-color: rgba(10,14,22,.10);
  background: rgba(0,0,0,.02);
}
.about__item h3{margin:0 0 6px}
.about__item p{margin:0; color:var(--muted)}
.about__cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:14px}

.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:18px;
  align-items:start;
}
.contact__info h2{margin:0 0 8px; font-size: clamp(26px, 2.4vw, 36px)}
.contact__info p{margin:0 0 16px; color:var(--muted)}
.contact__cards{display:grid; gap:10px; margin:14px 0}
.contact__card{
  display:flex; gap:12px; align-items:center;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  border-radius: 18px;
  padding:12px 14px;
}
html[data-theme="light"] .contact__card{
  border-color: rgba(10,14,22,.10);
  background: rgba(0,0,0,.02);
}
.contact__icon{font-size:18px}
.contact__label{font-size:12px; color:var(--muted); font-weight:800}
.contact__value{font-weight:900}

.note{
  border:1px dashed rgba(255,255,255,.18);
  background: rgba(0,0,0,.12);
  border-radius: 18px;
  padding:12px 14px;
  color: rgba(255,255,255,.80);
  font-size:13px;
}
html[data-theme="light"] .note{
  border-color: rgba(10,14,22,.18);
  background: rgba(0,0,0,.02);
  color: rgba(10,14,22,.78);
}

.form{
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  border-radius: var(--radius2);
  padding:18px;
  box-shadow: var(--shadow);
}
html[data-theme="light"] .form{
  background: rgba(0,0,0,.02);
}
.form label{display:block; margin-bottom:12px}
.form span{display:block; font-size:12px; color:var(--muted); font-weight:800; margin-bottom:6px}
.form input,.form select,.form textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
html[data-theme="light"] .form input,
html[data-theme="light"] .form select,
html[data-theme="light"] .form textarea{
  border-color: rgba(10,14,22,.12);
  background: rgba(0,0,0,.03);
}
.form input::placeholder,.form textarea::placeholder{color: rgba(255,255,255,.45)}
html[data-theme="light"] .form input::placeholder,
html[data-theme="light"] .form textarea::placeholder{
  color: rgba(10,14,22,.45);
}
.form input:focus,.form select:focus,.form textarea:focus{
  border-color: rgba(110,231,255,.45);
  box-shadow: 0 0 0 4px rgba(110,231,255,.10);
}
.form__row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.form__actions{display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:10px}
.form__hint{margin:0; color:var(--muted); font-size:12px}
.form__success{
  margin-top:12px;
  padding:12px 14px;
  border-radius: 16px;
  border:1px solid rgba(57,255,136,.25);
  background: rgba(57,255,136,.08);
  color: rgba(255,255,255,.88);
  font-weight:800;
}
html[data-theme="light"] .form__success{
  color: rgba(10,14,22,.86);
}

.footer{
  border-top:1px solid var(--line);
  padding:22px 0;
  background: rgba(0,0,0,.12);
}
html[data-theme="light"] .footer{
  background: rgba(0,0,0,.02);
}
.footer__inner{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.footer__left{display:flex; align-items:center; gap:10px}
.footer__brand{font-weight:900}
.footer__small{font-size:12.5px; color:var(--muted)}
.footer__links{display:flex; gap:14px}
.footer__links a{font-size:13px; color: var(--muted); font-weight:800}
.footer__links a:hover{color: var(--text)}

.footer__social{
  margin-top:10px;
  display:flex;
  gap:12px;
}
.footer__social a{
  width:36px;
  height:36px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  transition: transform .18s ease, background .18s ease;
}
.footer__social a:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
}
html[data-theme="light"] .footer__social a{
  background: rgba(0,0,0,.02);
}
html[data-theme="light"] .footer__social a:hover{
  background: rgba(0,0,0,.05);
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr; gap:18px}
  .hero__visual{min-height:360px}
  .hero__card--one{inset: 0 0 76px 0}
  .hero__card--two{inset:auto 0 0 0}
  .trust__grid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .cards{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr; gap:10px}
  .work{grid-template-columns:1fr}
  .about{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
}

@media (max-width: 520px){
  .topbar__text{display:none}
  .nav{display:none}
  .nav-toggle{display:inline-grid; place-items:center}

  .nav.is-open{
    display:flex;
    position:absolute;
    top:58px; right:20px;
    flex-direction:column;
    padding:14px;
    background: rgba(7,11,20,.95);
    border:1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    min-width: 210px;
  }
  html[data-theme="light"] .nav.is-open{
    background: rgba(246,247,251,.95);
  }

  .form__row{grid-template-columns:1fr}
}
