:root{
  --bg:#060707;
  --panel:#0d0f0f;
  --panel2:#131514;
  --text:#f5f1e7;
  --muted:#aaa69c;
  --gold:#d6b56a;
  --gold2:#9f7b38;
  --line:rgba(214,181,106,.22);
  --max:1180px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  background:
    radial-gradient(circle at 75% 8%,rgba(214,181,106,.10),transparent 25%),
    radial-gradient(circle at 15% 32%,rgba(91,105,91,.09),transparent 30%),
    var(--bg);
  color:var(--text);
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  line-height:1.55;
}

a{color:inherit;text-decoration:none}

.top{
  position:sticky;
  top:0;
  z-index:50;
  height:72px;
  padding:0 max(24px,calc((100vw - var(--max))/2));
  display:flex;
  align-items:center;
  justify-content:space-between;
  background:rgba(5,6,6,.82);
  backdrop-filter:blur(18px);
  border-bottom:1px solid rgba(214,181,106,.12);
}

.logo{
  color:var(--gold);
  font-size:25px;
  font-weight:850;
  letter-spacing:.14em;
}

nav{
  display:flex;
  align-items:center;
  gap:28px;
  font-size:13px;
  color:#d0ccc2;
}

nav a:hover{color:var(--gold)}

.login{
  border:1px solid var(--line);
  border-radius:999px;
  padding:9px 16px;
}

.hero{
  min-height:720px;
  display:flex;
  align-items:center;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid rgba(214,181,106,.12);
}

.hero:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,#060707 5%,rgba(6,7,7,.92) 38%,rgba(6,7,7,.48) 70%,#060707 100%),
    radial-gradient(circle at 70% 45%,rgba(214,181,106,.13),transparent 27%);
}

.heroGlow{
  position:absolute;
  width:500px;
  height:500px;
  right:10%;
  border-radius:50%;
  background:rgba(214,181,106,.09);
  filter:blur(90px);
}

.heroContent{
  position:relative;
  z-index:2;
  width:min(var(--max),calc(100% - 48px));
  margin:auto;
}

.heroContent>*{max-width:730px}

.kicker{
  display:block;
  margin-bottom:15px;
  color:var(--gold);
  font-size:11px;
  font-weight:850;
  letter-spacing:.22em;
}

h1,h2,h3,p{margin-top:0}

h1{
  margin-bottom:23px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(45px,6vw,78px);
  line-height:1.01;
  letter-spacing:-.045em;
  font-weight:500;
}

.hero p{
  max-width:680px;
  color:#c4c0b6;
  font-size:18px;
}

.heroActions{
  display:flex;
  gap:11px;
  flex-wrap:wrap;
  margin-top:32px;
}

.primary,.secondary,.priceGrid a{
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:48px;
  padding:0 22px;
  border-radius:999px;
  font-weight:800;
  font-size:13px;
}

.primary{
  background:linear-gradient(135deg,#e2c47c,#ad8743);
  color:#111;
  box-shadow:0 10px 35px rgba(214,181,106,.16);
}

.secondary{
  border:1px solid var(--line);
  background:rgba(255,255,255,.025);
}

.story,.features,.pricing,.start{
  width:min(var(--max),calc(100% - 48px));
  margin:auto;
  padding:110px 0;
}

.storyIntro,.sectionHead{
  max-width:780px;
}

h2{
  margin-bottom:20px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(35px,5vw,57px);
  line-height:1.05;
  font-weight:500;
  letter-spacing:-.035em;
}

.storyIntro p,.sectionHead p{
  color:var(--muted);
  font-size:17px;
}

.journey{
  display:grid;
  grid-template-columns:1fr 100px 1fr;
  align-items:center;
  gap:20px;
  margin-top:58px;
}

.journeyCard{
  min-height:370px;
  padding:34px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border:1px solid var(--line);
  border-radius:28px;
  overflow:hidden;
  position:relative;
  background:
    radial-gradient(circle at 60% 10%,rgba(214,181,106,.10),transparent 34%),
    linear-gradient(160deg,#151817,#090a0a);
}

.journeyCard:before{
  content:"";
  position:absolute;
  inset:0;
  opacity:.5;
  background:
    linear-gradient(145deg,transparent 20%,rgba(214,181,106,.07)),
    radial-gradient(circle at 80% 25%,rgba(255,255,255,.05),transparent 24%);
}

.journeyCard>*{position:relative}

.journeyCard>span{
  color:var(--gold);
  font-size:11px;
  font-weight:800;
  letter-spacing:.18em;
}

.journeyCard h3{
  margin:9px 0;
  font-size:27px;
}

.journeyCard p{
  color:#b8b4aa;
  margin-bottom:0;
}

.journeyMark{
  text-align:center;
  color:var(--gold);
  font-size:18px;
  font-weight:900;
  letter-spacing:.12em;
}

blockquote{
  max-width:850px;
  margin:80px auto 0;
  padding:0;
  border:0;
  text-align:center;
  font-family:Georgia,"Times New Roman",serif;
  color:#e2d5b5;
  font-size:clamp(27px,4vw,43px);
  line-height:1.2;
}

.features{
  border-top:1px solid rgba(214,181,106,.11);
}

.featureGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:48px;
}

.featureGrid article{
  min-height:210px;
  padding:27px;
  background:linear-gradient(145deg,rgba(18,20,19,.92),rgba(9,10,10,.92));
  border:1px solid rgba(214,181,106,.17);
  border-radius:22px;
}

.icon{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  margin-bottom:28px;
  border:1px solid var(--line);
  border-radius:12px;
  color:var(--gold);
  font-weight:800;
}

.featureGrid h3{margin-bottom:8px}
.featureGrid p{color:var(--muted);font-size:14px;margin:0}

.boundary{
  margin:24px 0 0;
  padding:16px 20px;
  border-left:2px solid var(--gold2);
  color:#8f8b82;
  font-size:12px;
}

.pricing{
  border-top:1px solid rgba(214,181,106,.11);
}

.priceGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:48px;
}

.priceGrid article{
  min-height:330px;
  padding:30px;
  display:flex;
  flex-direction:column;
  border:1px solid rgba(214,181,106,.18);
  border-radius:25px;
  background:#0d0f0f;
}

.priceGrid .featured{
  border-color:rgba(214,181,106,.58);
  transform:translateY(-10px);
  box-shadow:0 20px 70px rgba(0,0,0,.34);
}

.plan{
  color:var(--gold);
  font-size:12px;
  font-weight:850;
  letter-spacing:.15em;
}

.popular{
  align-self:flex-start;
  margin-bottom:20px;
  padding:5px 9px;
  border-radius:999px;
  background:rgba(214,181,106,.12);
  color:var(--gold);
  font-size:9px;
  font-weight:900;
  letter-spacing:.15em;
}

.priceGrid h3{
  margin:18px 0 12px;
  font-size:25px;
}

.priceGrid p{
  color:var(--muted);
  flex:1;
}

.priceGrid a{
  border:1px solid var(--line);
  color:#e8d39d;
}

.start{
  text-align:center;
  max-width:800px;
}

.start p{
  color:var(--muted);
  font-size:18px;
}

.start .primary{margin-top:18px}

.start small{
  display:block;
  margin-top:14px;
  color:#77746d;
}

footer{
  width:min(var(--max),calc(100% - 48px));
  margin:auto;
  padding:45px 0 60px;
  border-top:1px solid rgba(214,181,106,.14);
  text-align:center;
  color:#77746d;
  font-size:12px;
}

footer p{margin:14px 0 5px}

@media(max-width:820px){
  .top{
    height:62px;
    padding:0 16px;
  }

  nav>a:not(.login){display:none}

  .hero{
    min-height:680px;
  }

  .heroContent{
    width:calc(100% - 32px);
  }

  h1{
    font-size:44px;
  }

  .hero p{
    font-size:16px;
  }

  .story,.features,.pricing,.start{
    width:calc(100% - 32px);
    padding:76px 0;
  }

  .journey{
    grid-template-columns:1fr;
    gap:12px;
  }

  .journeyMark{
    padding:5px 0;
  }

  .journeyCard{
    min-height:285px;
  }

  .featureGrid{
    grid-template-columns:1fr 1fr;
  }

  .priceGrid{
    grid-template-columns:1fr;
  }

  .priceGrid .featured{
    transform:none;
  }
}

@media(max-width:520px){
  h1{font-size:39px}
  h2{font-size:35px}

  .hero{
    min-height:650px;
    align-items:flex-end;
    padding-bottom:70px;
  }

  .heroActions{
    display:grid;
  }

  .primary,.secondary{
    width:100%;
  }

  .featureGrid{
    grid-template-columns:1fr;
  }

  .journeyCard{
    min-height:250px;
    padding:24px;
  }

  blockquote{
    margin-top:58px;
    font-size:29px;
  }
}


/* NOVA MASTER LOGO — COMPACT */
.logo{
  display:flex;
  align-items:center;
  height:32px;
  text-decoration:none;
}
.logo img{
  display:block;
  width:auto;
  height:30px;
  max-width:150px;
  object-fit:contain;
}
footer .logo{
  justify-content:center;
  height:30px;
}
footer .logo img{
  height:27px;
}
@media(max-width:820px){
  .logo{
    height:29px;
  }
  .logo img{
    height:27px;
    max-width:135px;
  }
}

/* NOVA COMPACT PUBLIC LAYOUT */
.top{
  height:58px;
  padding:0 28px;
}

nav{
  gap:22px;
  font-size:12px;
}

.login{
  padding:7px 14px;
}

.hero{
  min-height:520px;
}

.heroContent{
  width:min(1120px,calc(100% - 64px));
}

.heroContent>*{
  max-width:620px;
}

h1{
  font-size:clamp(40px,4.5vw,58px);
  line-height:1.02;
  margin-bottom:18px;
}

.hero p{
  max-width:590px;
  font-size:16px;
  line-height:1.55;
}

.heroActions{
  margin-top:24px;
}

.primary,.secondary,.priceGrid a{
  min-height:42px;
  padding:0 18px;
  font-size:12px;
}

@media(max-width:820px){
  .top{
    height:56px;
    padding:0 16px;
  }

  .hero{
    min-height:520px;
  }

  .heroContent{
    width:calc(100% - 32px);
  }

  h1{
    font-size:clamp(36px,9vw,46px);
  }
}

/* NOVA CINEMATIC HERO — SINGLE BACKGROUND */
.hero{
  position:relative;
  min-height:520px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    linear-gradient(90deg,
      rgba(4,5,5,.94) 0%,
      rgba(4,5,5,.82) 34%,
      rgba(4,5,5,.42) 62%,
      rgba(4,5,5,.12) 100%),
    url("/static/images/nova/hero-light.webp") center 42% / cover no-repeat;
}

.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.30));
  pointer-events:none;
}

.heroContent{
  position:relative;
  z-index:2;
}

@media(max-width:820px){
  .hero{
    min-height:500px;
    background:
      linear-gradient(90deg,
        rgba(4,5,5,.92) 0%,
        rgba(4,5,5,.70) 58%,
        rgba(4,5,5,.32) 100%),
      url("/static/images/nova/hero-light.webp") 62% center / cover no-repeat;
  }
}

/* NOVA COMPACT FEATURE VISUALS */
.featureVisual{
  width:100%;
  height:118px;
  margin:0 0 18px;
  border-radius:14px;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  border:1px solid rgba(214,181,106,.10);
}

.featureVisualMail{
  background-image:
    linear-gradient(180deg,rgba(5,6,6,.05),rgba(5,6,6,.34)),
    url("/static/images/nova/kirjad.webp");
}

.featureVisualMoney{
  background-image:
    linear-gradient(180deg,rgba(5,6,6,.05),rgba(5,6,6,.34)),
    url("/static/images/nova/raha.webp");
}

.featureVisualHistory{
  background-image:
    linear-gradient(180deg,rgba(5,6,6,.05),rgba(5,6,6,.34)),
    url("/static/images/nova/ajalugu.webp");
}

.featureVisualAssistant{
  background-image:
    linear-gradient(180deg,rgba(5,6,6,.05),rgba(5,6,6,.34)),
    url("/static/images/nova/assistant.webp");
}

.featureGrid article{
  padding:18px;
}

.featureGrid article h3{
  margin-bottom:8px;
}

.featureGrid article p{
  margin-bottom:0;
}

@media(max-width:820px){
  .featureVisual{
    height:105px;
    margin-bottom:14px;
  }

  .featureGrid article{
    padding:15px;
  }
}

/* NOVA JOURNEY VISUALS */
.journeyCard{
  min-height:290px;
  padding:22px;
  justify-content:flex-end;
}

.journeyImage{
  position:absolute !important;
  inset:0;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.journeyCard.struggle .journeyImage{
  background-image:
    linear-gradient(180deg,rgba(5,6,6,.08) 20%,rgba(5,6,6,.88) 88%),
    url("/static/images/nova/hero-struggle.webp");
}

.journeyCard.light .journeyImage{
  background-image:
    linear-gradient(180deg,rgba(5,6,6,.05) 20%,rgba(5,6,6,.82) 88%),
    url("/static/images/nova/hero-light.webp");
}

.journeyCard>span,
.journeyCard>h3,
.journeyCard>p{
  position:relative;
  z-index:2;
}

.journeyCard h3{
  font-size:23px;
}

blockquote{
  margin-top:55px;
  font-size:clamp(25px,3vw,36px);
}

@media(max-width:820px){
  .journeyCard{
    min-height:250px;
    padding:18px;
  }

  .journeyCard h3{
    font-size:21px;
  }

  blockquote{
    margin-top:42px;
  }
}

/* NOVA country / language selector */
.localePicker{
  display:flex;
  align-items:center;
}

.localePicker select{
  appearance:none;
  -webkit-appearance:none;
  min-width:72px;
  padding:9px 25px 9px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:#0b0c0c;
  color:#e8d39d;
  font:inherit;
  cursor:pointer;
  outline:none;
  background-image:linear-gradient(45deg,transparent 50%,#d6b56a 50%),linear-gradient(135deg,#d6b56a 50%,transparent 50%);
  background-position:calc(100% - 13px) 50%,calc(100% - 9px) 50%;
  background-size:4px 4px,4px 4px;
  background-repeat:no-repeat;
}

.localePicker select:focus{
  border-color:#d6b56a;
}

@media(max-width:820px){
  nav{gap:10px}
  .localePicker select{
    min-width:66px;
    padding:8px 23px 8px 10px;
  }
}
