/* =========================
   ROOT · THEME (DASHBOARD)
   ========================= */
:root{
  --bg: #071a2b;
  --bg2: #050f1a;
  --panel: #0b2c4a;
  --panel-soft: rgba(255,255,255,0.04);
  --text: #e8eef5;
  --muted: #b7c4d1;
  --gold: #d4af37;
  --line: rgba(255,255,255,0.10);
  --shadow-soft: 0 12px 28px rgba(0,0,0,0.28);
}

/* =========================
   GLOBAL
   ========================= */
*{ box-sizing: border-box; }

body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.6;
}

a{ color: inherit; }
.text-muted{ color: var(--muted); }

/* =========================
   BRAND + BUTTONS
   ========================= */
.brand{
  display:flex; align-items:center; gap:10px;
  text-decoration:none; color: var(--text);
}
.brand-mark{
  width:34px; height:34px; border-radius:10px;
  display:grid; place-items:center;
  background: rgba(212,175,55,0.18);
  border: 1px solid rgba(212,175,55,0.35);
  color: var(--gold); font-weight: 800;
}
.brand-sub{ color: var(--gold); margin-left:6px; font-weight:700; }

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--line);
  text-decoration:none;
  color: var(--text);
  background: transparent;
}
.btn-ghost{ background: transparent; }
.btn-gold{
  background: rgba(212,175,55,0.18);
  border-color: rgba(212,175,55,0.45);
}

/* =========================
   HEADER
   ========================= */
.site-header{
  position: sticky; top:0; z-index:20;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 26px;
  background: rgba(7,26,43,0.78);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.site-nav{ display:flex; align-items:center; gap:10px; }
.nav-note{ color: var(--muted); margin-right:8px; }

/* =========================
   HERO (INDEX)
   ========================= */
.hero{ padding:56px 20px 28px; }
.hero-inner{ max-width:1100px; margin:0 auto; }

.hero-badge{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(212,175,55,0.35);
  background: rgba(212,175,55,0.10);
  margin-bottom:14px;
}

.hero h1{
  font-size:46px;
  margin:0 0 10px;
  line-height:1.08;
}
.hero-lead{
  font-size:18px;
  color: var(--muted);
  max-width:800px;
}

.hero-cta{
  display:flex; gap:12px; flex-wrap:wrap;
  margin:18px 0 14px;
}

.hero-note{ font-size:14px; color: var(--muted); }

/* carduri SUB text */
.hero-cards{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.mini-card{
  padding:16px;
  border-radius:16px;
  border:1px solid var(--line);
  background: var(--panel-soft);
}
.mini-card h3{ margin:0 0 6px; }

/* =========================
   SECTIONS
   ========================= */
.section{ padding:40px 20px; }
.section-inner{ max-width:1100px; margin:0 auto; }

.quote{
  margin-top:14px;
  padding:16px;
  border-radius:16px;
  border:1px solid rgba(212,175,55,0.25);
  background: rgba(212,175,55,0.08);
}
.quote span{ display:block; margin-top:8px; color: var(--muted); }

/* =========================
   CONTACT
   ========================= */
.contact-box{
  display:flex; justify-content:space-between; gap:16px;
  align-items:center; flex-wrap:wrap;
  padding:16px;
  border-radius:16px;
  border:1px solid var(--line);
  background: var(--panel-soft);
}
.label{ font-size:12px; color: var(--muted); }
.contact-link{
  text-decoration:none;
  border-bottom:1px dashed rgba(212,175,55,0.45);
}
.contact-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* =========================
   FOOTER
   ========================= */
.site-footer{
  border-top:1px solid var(--line);
  background: rgba(0,0,0,0.22);
  padding:22px 20px;
}
.footer-inner{
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:1fr auto auto;
  gap:16px; align-items:center;
}
.footer-links{ display:flex; gap:12px; }
.footer-links a{ color: var(--muted); text-decoration:none; }
.footer-copy{ color: var(--muted); }

/* =========================
   DASHBOARD / APP
   ========================= */
.app-header{
  position: sticky; top:0; z-index:25;
  display:flex; justify-content:space-between; align-items:center;
  padding:14px 20px;
  background: rgba(7,26,43,0.82);
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
}
.app-nav{ display:flex; gap:12px; flex-wrap:wrap; }
.app-nav a{
  color: var(--muted);
  text-decoration:none;
  padding:8px 10px;
  border-radius:10px;
}
.app-nav a:hover{ color: var(--text); border:1px solid var(--line); }

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

.app-main{
  max-width:1100px;
  margin:0 auto;
  padding:26px 20px 40px;
}
.panel{
  margin-bottom:14px;
  padding:18px;
  border-radius:18px;
  border:1px solid var(--line);
  background: var(--panel-soft);
}

/* =========================
   LANDING / LOGIN OVERRIDE
   ========================= */
body.landing{
  --panel-soft: rgba(255,255,255,0.92);
  --text: #0b1220;
  --muted: #506375;
  background:
    radial-gradient(900px 420px at 18% 10%, rgba(212,175,55,0.18), transparent 60%),
    linear-gradient(180deg, #071a2b, #050f1a);
}

body.landing .site-header{
  background: rgba(7,26,43,0.82);
}

body.landing .hero-lead,
body.landing .hero-note{ color: rgba(255,255,255,0.78); }

body.landing .mini-card{
  background: rgba(255,255,255,0.92);
  color:#0b1220;
  box-shadow: var(--shadow-soft);
}
body.landing .mini-card p{ color:#55697d; }

/* =========================
   AUTH (LOGIN)
   ========================= */
.auth-wrap{ padding:64px 20px 56px; }
.auth-grid{
  max-width:1080px;
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:22px;
}
.auth-card{
  padding:18px;
  border-radius:18px;
  background: var(--panel-soft);
  border:1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.auth-form{ display:grid; gap:10px; margin-top:12px; }
.auth-form input{
  height:44px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
}
.auth-msg{ min-height:22px; margin-top:12px; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 920px){
  .hero h1{ font-size:36px; }
  .hero-cards{ grid-template-columns:1fr; }
  .footer-inner{ grid-template-columns:1fr; }
  .auth-grid{ grid-template-columns:1fr; }
}
/* =========================
   AUTH PAGE (login) – clean, centered
   ========================= */
body.auth-page{
  background:
    radial-gradient(900px 420px at 18% 10%, rgba(212,175,55,0.14), transparent 60%),
    linear-gradient(180deg, #071a2b, #050f1a);
  color: var(--text);
}

.auth-center{
  min-height: calc(100vh - 72px);
  display: grid;
  place-items: center;
  padding: 56px 20px;
}

.auth-shell{
  width: 100%;
  max-width: 520px;
}

.auth-brand{
  justify-content: center;
  margin-bottom: 14px;
}

.auth-card{
  background: rgba(255,255,255,0.94);
  color: #0b1220;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.35);
  padding: 18px;
}

.auth-card .text-muted{ color: #5a6b7d; }

.auth-form{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.auth-form input{
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(15,23,42,0.12);
  padding: 10px 12px;
  background: #fff;
}

.auth-form input:focus{
  outline: none;
  border-color: rgba(212,175,55,0.55);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.18);
}

.gdpr-line{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #5a6b7d;
  margin-top: 4px;
}

.gdpr-line input{ margin-top: 3px; }

.gdpr-line a{
  color: #0b1220;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-msg{
  margin-top: 10px;
  min-height: 20px;
}

.auth-help{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(15,23,42,0.10);
  font-size: 13px;
  line-height: 1.45;
}
 /* =========================
   LANDING (index + privacy) — light, warm, airy
   ========================= */
body.landing{
  background:
    radial-gradient(900px 420px at 18% 10%, rgba(212,175,55,0.16), transparent 60%),
    radial-gradient(760px 360px at 80% 18%, rgba(7,26,43,0.08), transparent 55%),
    radial-gradient(900px 520px at 50% 40%, rgba(7,26,43,0.06), transparent 60%),
    linear-gradient(180deg, #f2f5fa, #e9eef6);
}


/* header landing: alb translucid + accent bleumarin */
body.landing .site-header{
  background: rgba(255,255,255,0.72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
body.landing .nav-note{ color: rgba(11,18,32,0.55); }
body.landing .brand-text strong{ color: rgba(11,18,32,0.92); }
body.landing .brand-sub{ color: var(--gold); }

/* butoane landing */
body.landing .btn{
  color: rgba(11,18,32,0.86);
  border-color: var(--line);
}
body.landing .btn-ghost{
  background: rgba(255,255,255,0.55);
}
body.landing .btn-gold{
  background: rgba(212,175,55,0.18);
  border-color: rgba(212,175,55,0.45);
}

/* hero text */
body.landing .hero-lead,
body.landing .hero-note,
body.landing .text-muted{
  color: rgba(11,18,32,0.65);
}

/* cardurile (sub hero) – albe, curate */
body.landing .mini-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 14px 40px rgba(2,6,23,0.10);
  color: rgba(11,18,32,0.92);
}
body.landing .mini-card p{ color: rgba(11,18,32,0.62); }

/* quote/contact pe landing */
body.landing .quote{
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(212,175,55,0.22);
}
body.landing .quote span{ color: rgba(11,18,32,0.60); }

body.landing .contact-box{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
}
body.landing .contact-box .label{ color: rgba(11,18,32,0.55); }

/* footer landing */
body.landing .site-footer{
  background: rgba(255,255,255,0.55);
  border-top: 1px solid var(--line);
}
body.landing .footer-links a,
body.landing .footer-copy{
  color: rgba(11,18,32,0.55);
}
body.landing .hero{
  background: radial-gradient(900px 360px at 40% 40%, rgba(255,255,255,0.55), transparent 60%);
}
body.landing .mini-card{
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 18px 50px rgba(2,6,23,0.10);
}
body.landing .site-header{
  background: rgba(255,255,255,0.62);
}
/* LOGIN – buton clar pe fundal dark */
.auth-card{
  background: rgba(255,255,255,0.95);
  color: #0b1220;
}

.auth-card h2,
.auth-card p,
.auth-card label{
  color: #0b1220;
}

/* buton TRIMITE LINK */
.auth-card .btn-gold{
  background: #d4af37;        /* auriu plin */
  border-color: #d4af37;
  color: #0b1220;             /* text închis */
  font-weight: 700;
}

.auth-card .btn-gold:hover{
  background: #e6c453;
}

/* stare dezactivată */
.auth-card .btn-gold:disabled{
  opacity: 0.6;
  cursor: not-allowed;
}
