/* file: public/assets/css/style.css */
/* COMPLETE REPLACE */

:root{
  --bg:#f5f7fb;
  --bg-soft:#eef4ff;
  --surface:#ffffff;
  --surface-2:#f8fbff;
  --text:#0f172a;
  --muted:#64748b;
  --line:#e2e8f0;
  --primary:#2563eb;
  --primary-2:#06b6d4;
  --accent:#7c3aed;
  --success:#10b981;
  --danger:#ef4444;
  --shadow:0 12px 30px rgba(15,23,42,.08);
  --radius:20px;
}

/* ===== HARD RESET FOR BLACK THEME ===== */
html,
body{
  margin:0 !important;
  padding:0 !important;
  background:#f5f7fb !important;
  color:#0f172a !important;
  font-family:Arial, Helvetica, sans-serif !important;
}

body,
body.dark,
body.theme-dark,
body.bg-dark,
html.dark,
html.theme-dark,
.dark,
.dark-theme,
.bg-dark,
[data-theme="dark"]{
  background:#f5f7fb !important;
  color:#0f172a !important;
}

*{
  box-sizing:border-box;
}

body::before,
body::after,
html::before,
html::after{
  content:none !important;
  display:none !important;
  background:none !important;
}

main,
section,
header,
footer,
div,
nav{
  background-image:none;
}

.site-header,
.site-footer,
.hero,
.section,
.cta,
.card,
.hero-card,
.container,
.navbar{
  background-color:transparent !important;
  color:#0f172a !important;
}

/* ===== BASE ===== */
a{
  text-decoration:none;
  color:inherit;
}

img{
  max-width:100%;
  display:block;
}

.container{
  width:min(1180px, 92%);
  margin:0 auto;
}

/* ===== HEADER ===== */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,.88) !important;
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(226,232,240,.9);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}

.logo a{
  font-size:30px;
  font-weight:900;
  letter-spacing:-.5px;
  color:var(--text) !important;
}

.logo span{
  color:var(--primary);
}

.nav-toggle{
  display:none;
  border:none;
  background:#eff6ff;
  color:var(--primary);
  width:46px;
  height:46px;
  border-radius:14px;
  font-size:22px;
  font-weight:700;
  cursor:pointer;
}

.nav-menu{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.nav-menu a{
  color:var(--muted);
  font-size:15px;
  font-weight:700;
  padding:10px 14px;
  border-radius:14px;
  transition:.25s ease;
}

.nav-menu a:hover{
  background:#eef4ff;
  color:var(--primary);
}

.nav-cta{
  background:linear-gradient(135deg,var(--primary),var(--primary-2)) !important;
  color:#fff !important;
  box-shadow:0 10px 20px rgba(37,99,235,.18);
}

.nav-logout{
  background:linear-gradient(135deg,#ef4444,#f97316) !important;
  color:#fff !important;
}

@media (max-width: 900px){
  .navbar{
    flex-wrap:wrap;
  }

  .nav-toggle{
    display:inline-flex;
    align-items:center;
    justify-content:center;
  }

  .nav-menu{
    width:100%;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:8px;
    padding:12px;
    background:#ffffff !important;
    border:1px solid var(--line);
    border-radius:18px;
    box-shadow:var(--shadow);
  }

  .nav-menu.show{
    display:flex;
  }

  .nav-menu a{
    width:100%;
    text-align:left;
  }
}

/* ===== BUTTONS ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:13px 20px;
  border:none;
  border-radius:14px;
  font-weight:800;
  font-size:15px;
  cursor:pointer;
  transition:.25s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:linear-gradient(135deg,var(--primary),var(--primary-2));
  color:#fff;
  box-shadow:0 14px 28px rgba(37,99,235,.18);
}

.btn-outline{
  background:#fff;
  color:var(--text);
  border:1px solid var(--line);
}

.btn-outline:hover{
  border-color:var(--primary);
  color:var(--primary);
}

/* ===== HERO ===== */
.hero{
  padding:44px 0 28px;
}

.hero-wrap{
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:24px;
  align-items:stretch;
}

.hero-content{
  background:linear-gradient(135deg,#ffffff,#f8fbff) !important;
  border:1px solid var(--line);
  border-radius:28px;
  padding:46px;
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero-content::before{
  content:"";
  position:absolute;
  top:-120px;
  right:-100px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(37,99,235,.16), rgba(37,99,235,0));
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background:#eff6ff;
  border:1px solid #dbeafe;
  color:#1d4ed8;
  font-size:13px;
  font-weight:900;
  margin-bottom:16px;
}

.hero h1{
  margin:0 0 14px;
  font-size:56px;
  line-height:1.08;
  letter-spacing:-1px;
  color:#0b1220 !important;
}

.hero p{
  margin:0 0 22px;
  font-size:17px;
  color:var(--muted) !important;
  max-width:680px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.hero-mini{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:20px;
}

.hero-mini-box{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
}

.hero-mini-box strong{
  display:block;
  font-size:22px;
  color:#0f172a;
  margin-bottom:5px;
}

.hero-mini-box span{
  color:var(--muted);
  font-size:13px;
}

.hero-card{
  background:linear-gradient(145deg,#0f172a,#1e293b) !important;
  color:#fff !important;
  border-radius:28px;
  padding:28px;
  box-shadow:0 20px 45px rgba(15,23,42,.18);
  overflow:hidden;
  position:relative;
}

.hero-card::before{
  content:"";
  position:absolute;
  inset:auto -80px -80px auto;
  width:220px;
  height:220px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(255,255,255,.18), rgba(255,255,255,0));
}

.hero-card h3{
  margin:0 0 10px;
  font-size:26px;
  color:#fff !important;
}

.hero-card p{
  color:rgba(255,255,255,.8) !important;
  margin:0 0 18px;
}

.hero-points{
  display:grid;
  gap:12px;
}

.hero-point{
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.1);
  border-radius:18px;
  padding:16px;
}

.hero-point strong{
  display:block;
  font-size:18px;
  color:#fff !important;
  margin-bottom:5px;
}

.hero-point span{
  color:rgba(255,255,255,.76) !important;
  font-size:13px;
}

@media (max-width: 900px){
  .hero-wrap{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:40px;
  }

  .hero-content{
    padding:28px 22px;
  }

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

/* ===== SECTIONS ===== */
.section{
  padding:24px 0 70px;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:24px;
  flex-wrap:wrap;
}

.section-head h2{
  margin:0;
  font-size:36px;
  color:#0f172a !important;
}

.section-head p{
  margin:8px 0 0;
  color:var(--muted) !important;
}

/* ===== FEATURE GRID ===== */
.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.card{
  background:#ffffff !important;
  border:1px solid var(--line);
  border-radius:24px;
  padding:22px;
  box-shadow:var(--shadow);
  transition:.25s ease;
  position:relative;
  overflow:hidden;
}

.card::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:4px;
  background:linear-gradient(90deg,var(--primary),var(--primary-2),var(--accent));
}

.card:hover{
  transform:translateY(-6px);
}

.badge{
  display:inline-block;
  padding:7px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  background:#eef2ff;
  color:#4338ca;
  margin-bottom:12px;
}

.card h3{
  margin:0 0 10px;
  font-size:24px;
  color:#0f172a !important;
}

.card p{
  margin:0 0 16px;
  color:var(--muted) !important;
  min-height:52px;
}

.price{
  margin-bottom:18px;
  font-size:28px;
  font-weight:900;
  color:var(--primary) !important;
}

.card-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

@media (max-width: 991px){
  .grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media (max-width: 680px){
  .grid{
    grid-template-columns:1fr;
  }
}

/* ===== CTA ===== */
.cta{
  padding:10px 0 70px;
}

.cta-box{
  background:linear-gradient(135deg,#2563eb,#06b6d4) !important;
  color:#fff !important;
  border-radius:30px;
  padding:34px;
  box-shadow:0 20px 45px rgba(37,99,235,.24);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

.cta-box h3{
  margin:0 0 10px;
  font-size:32px;
  color:#fff !important;
}

.cta-box p{
  margin:0;
  color:rgba(255,255,255,.88) !important;
  max-width:700px;
}

.cta-box .btn{
  background:#fff;
  color:#1d4ed8;
}

/* ===== FOOTER ===== */
.site-footer{
  background:#ffffff !important;
  border-top:1px solid var(--line);
  padding:24px 0;
  margin-top:20px;
}

.site-footer p{
  margin:0;
  text-align:center;
  color:var(--muted) !important;
  font-size:14px;
}

.nav-lang.active{
  background: linear-gradient(135deg,#2563eb,#06b6d4) !important;
  color:#fff !important;
  border-color: transparent !important;
}

.nav-menu span{
  white-space: nowrap;
}

@media (max-width: 768px){
  .nav-menu.show{
    display:flex !important;
    flex-direction:column;
    gap:10px;
    padding:14px;
    margin-top:12px;
    background:#fff;
    border-radius:16px;
    box-shadow:0 18px 45px rgba(15,23,42,.12);
  }
}