:root{
  --bg:#0b0f18;
  --card:#141922;
  --card2:#10151d;
  --text:#ffffff;
  --muted:rgba(255,255,255,.70);
  --line:rgba(255,255,255,.08);

  --primary:#F72E52;
  --primary-soft:rgba(247,46,82,.15);

  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(900px 500px at 20% -10%, rgba(247,46,82,.25), transparent 60%),
    radial-gradient(700px 500px at 80% 0%, rgba(233,9,50,.18), transparent 55%),
    var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{max-width:1150px;margin:0 auto;padding:0 18px}

.header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: #000000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px}
.brand-badge{
  width:34px;height:34px;border-radius:10px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  box-shadow: 0 10px 25px rgba(79,124,255,.25);
}
.nav{display:flex; gap:18px; align-items:center}
.nav a{color:var(--muted); font-weight:600; font-size:14px}
.nav a:hover{color:var(--text)}

.hero {
  padding: 80px 0 40px;
  background-image: url("https://framerusercontent.com/images/XYQYx5ErKCtcDadXpXc1TSDc.png");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
.h1{
  font-size:44px; line-height:1.05; margin:10px 0 14px;
}
.p{color:var(--muted); font-size:16px; line-height:1.6; margin:0 0 18px}
.bullets{display:grid; gap:10px; margin:18px 0 22px}
.bullet{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--muted);
}
.dot{
  width:10px; height:10px; border-radius:999px;
  margin-top:6px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, #F72E52, #E90932);
  color:white;
  font-weight:800;
  box-shadow: 0 18px 40px rgba(79,124,255,.22);
}
.btn:hover{filter:brightness(1.05)}

.card{
  background: linear-gradient(180deg, rgba(20,25,34,.95), rgba(16,21,29,.95));
  border:1px solid rgba(247,46,82,.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.card-inner{padding:18px}
.card-title{font-weight:800; margin:0 0 6px}
.card-sub{color:var(--muted); font-size:13px; margin:0 0 14px}

.form{display:grid; gap:10px}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
.label{font-size:12px; color:var(--muted); margin:0 0 6px}
.input, .textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  background: rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  outline:none;
}
.input:focus, .textarea:focus{border-color: rgba(79,124,255,.55)}
.textarea{min-height:92px; resize:vertical}
.small{font-size:12px;color:var(--muted); margin-top:6px}
hr.sep{border:none;border-top:1px solid var(--line); margin:14px 0}

.section{padding:26px 0}
.section-title{font-size:24px; margin:0 0 10px}
.section-desc{color:var(--muted); margin:0 0 18px; line-height:1.6}

.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:14px}
.feature{padding:16px}
.feature h4{margin:0 0 6px}
.feature p{margin:0; color:var(--muted); line-height:1.55}

.footer-section{
  background:#000000;
  padding-top:60px;
  position:relative;
}

.footer-section::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:1px;
  background: linear-gradient(90deg, transparent, #F72E52, transparent);
  opacity:.5;
}
@media (max-width: 960px){
  .hero-grid{grid-template-columns:1fr; }
  .h1{font-size:36px}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .row2{grid-template-columns:1fr}
}
/* Premium polish */
@media (prefers-reduced-motion: no-preference) {
  .card, .btn, .input, .textarea, .feature { transition: transform .25s ease, filter .25s ease, box-shadow .25s ease, border-color .25s ease; }
}

.header.is-scrolled{
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  background: rgba(11,15,24,.78);
}

.brand-badge{
  position:relative;
  overflow:hidden;
}
.brand-badge::after{
  content:"";
  position:absolute; inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.25), transparent 55%);
  transform: rotate(25deg);
  opacity:.55;
}

/* Card premium surface */
.card{
  position:relative;
  overflow:hidden;
}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(900px 320px at 20% 0%, rgba(247,46,82,.22), transparent 55%),
              radial-gradient(700px 280px at 90% 30%, rgba(233,9,50,.16), transparent 60%);
  pointer-events:none;
}
.card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.06), transparent 22%);
  pointer-events:none;
  opacity:.65;
}

/* Feature hover lift */
.feature:hover{
  transform: translateY(-3px);
  border-color: rgba(247,46,82,.28);
  box-shadow: 0 22px 70px rgba(0,0,0,.50);
}

/* Inputs premium */
.input, .textarea{
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.input:focus, .textarea:focus{
  border-color: rgba(247,46,82,.55);
  box-shadow: 0 0 0 6px rgba(247,46,82,.12), inset 0 1px 0 rgba(255,255,255,.06);
}

/* Button premium */
.btn{
  position:relative;
  overflow:hidden;
  transform: translateY(0);
}
.btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.03);
}
.btn:active{
  transform: translateY(0);
  filter: brightness(.98);
}
.btn::before{
  content:"";
  position:absolute;
  top:-60%;
  left:-30%;
  width:60%;
  height:220%;
  transform: rotate(20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
  opacity:.0;
}
@media (prefers-reduced-motion: no-preference){
  .btn:hover::before{
    opacity:.9;
    animation: shine .9s ease;
  }
}
@keyframes shine{
  from { transform: translateX(-10%) rotate(20deg); }
  to   { transform: translateX(190%) rotate(20deg); }
}

/* File input nicer */
input[type="file"].input{
  padding:10px 12px;
}
input[type="file"]::file-selector-button{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  padding:10px 12px;
  border-radius:12px;
  margin-right:12px;
  cursor:pointer;
}
input[type="file"]::file-selector-button:hover{
  border-color: rgba(247,46,82,.30);
  background: rgba(247,46,82,.10);
}

/* Reveal on scroll - droši: slēpjam tikai tad, ja JS tiešām strādā */
.reveal{
  opacity: 1;
  transform: none;
}

html.js .reveal{
  opacity: 0;
  transform: translateY(14px);
}

html.js .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference){
  html.js .reveal{ transition: opacity .6s ease, transform .6s ease; }
}
.header.is-scrolled{
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
  background: #000000;
}