*{
  box-sizing:border-box;
}

:root{
  --bg:#09090d;
  --bg-2:#0d1018;
  --panel:#11131a;
  --panel-2:#171a24;
  --line:#2b3040;
  --text:#f5f7ff;
  --muted:#b7bdd3;

  --accent:#6fd3ff;
  --accent-2:#b86cff;
  --accent-3:#7dff9b;

  --gold-1:#ffd95e;
  --gold-2:#ffb347;

  --danger:#ff5f7a;
  --danger-2:#ff7a92;

  --shadow:0 16px 44px rgba(0,0,0,0.36);
  --shadow-soft:0 8px 28px rgba(0,0,0,0.25);
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Arial, sans-serif;
  background:
    radial-gradient(circle at top, rgba(184,108,255,0.14), transparent 28%),
    radial-gradient(circle at right top, rgba(111,211,255,0.10), transparent 24%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  color:var(--text);
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

/* =========================
   HEADER
========================= */

.site-header{
  position:sticky;
  top:0;
  z-index:20;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:18px 32px;
  background:rgba(9,10,16,0.82);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.brand-wrap{
  display:flex;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:16px;
}

.brand-logo{
  width:76px;
  height:76px;
  object-fit:contain;
  border-radius:18px;
  box-shadow:0 0 26px rgba(184,108,255,0.18);
  flex-shrink:0;
}

.brand-text{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.brand-title{
  font-size:44px;
  font-weight:800;
  line-height:1;
  margin:0;
  background:linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 28%, #ffffff 54%, #9fe8ff 78%, #d28cff 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
}

.brand-sub{
  font-size:15px;
  color:#f1f3fb;
  opacity:0.96;
  margin-top:6px;
  text-shadow:0 0 14px rgba(255,255,255,0.08);
}

.site-nav{
  display:flex;
  gap:18px;
  flex-wrap:wrap;
  align-items:center;
}

.site-nav a{
  color:#eef2ff;
  opacity:0.92;
  transition:0.2s ease;
  font-weight:600;
}

.site-nav a:hover{
  color:var(--accent);
}

/* =========================
   MAIN / FOOTER
========================= */

.site-main{
  width:min(1200px, calc(100% - 32px));
  margin:0 auto;
  padding:32px 0 64px;
}

.site-footer{
  margin-top:48px;
  padding:24px 18px 36px;
  text-align:center;
  color:var(--muted);
}

.footer-links{
  display:flex;
  justify-content:center;
  gap:16px;
  flex-wrap:wrap;
  margin-top:10px;
}

.footer-links a:hover{
  color:var(--accent-2);
}

/* =========================
   HERO
========================= */

.hero{
  border-radius:24px;
  overflow:hidden;
  box-shadow:var(--shadow);
  margin-bottom:32px;
}

.hero-image{
  background:url("/img/viewpulse-banner.png") center/cover no-repeat;
  min-height:540px;
  position:relative;
  border:1px solid rgba(255,255,255,0.06);
}

.hero-overlay{
  min-height:540px;
  display:flex;
  align-items:center;
  background:
    linear-gradient(90deg, rgba(8,10,18,0.90) 0%, rgba(8,10,18,0.72) 42%, rgba(8,10,18,0.38) 100%);
}

.hero-content{
  max-width:760px;
  padding:48px;
}

.hero-badge{
  display:inline-block;
  margin-bottom:16px;
  padding:8px 14px;
  border:1px solid rgba(184,108,255,0.35);
  border-radius:999px;
  background:rgba(184,108,255,0.12);
  color:#dcb8ff;
  font-size:14px;
  font-weight:700;
  letter-spacing:0.2px;
}

.hero h1{
  font-size:68px;
  line-height:1;
  margin:0 0 18px;
  color:#fff7dc;
  text-shadow:0 2px 18px rgba(184,108,255,0.18);
}

.hero p{
  max-width:680px;
  font-size:19px;
  line-height:1.75;
  color:#eeeeee;
  margin:0;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin-top:28px;
  flex-wrap:wrap;
}

/* =========================
   BUTTONS
========================= */

.danger-btn{
  min-width:180px;
  padding:14px 20px;
  font-size:15px;
}

.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 22px;
  border-radius:12px;
  font-weight:700;
  transition:0.2s ease;
}

.cta.primary{
  background:linear-gradient(135deg, #7dff9b, #59d88d);
  color:#0e1118;
  box-shadow:0 10px 26px rgba(89,216,141,0.24);
}

.cta.primary:hover{
  transform:translateY(-2px);
}

.cta.secondary{
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.04);
  color:#fff;
}

.cta.secondary:hover{
  border-color:rgba(184,108,255,0.45);
  color:#dcb8ff;
}

.twitch-btn{
  background:linear-gradient(135deg, #9147ff, #a970ff) !important;
  color:#fff !important;
}

/* =========================
   SECTIONS / FEATURES
========================= */

.feature-section,
.promo-section{
  margin-top:28px;
}

.section-head{
  margin-bottom:22px;
}

.section-head h2{
  margin:0 0 10px;
  font-size:34px;
  color:#fff3df;
}

.section-head p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
}

.feature-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
  gap:18px;
}

.feature-card{
  background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
  border:1px solid rgba(255,255,255,0.06);
  border-radius:18px;
  padding:24px;
  box-shadow:var(--shadow);
  transition:0.2s ease;
}

.feature-card:hover{
  transform:translateY(-4px);
  border-color:rgba(184,108,255,0.34);
}

.feature-card h3{
  margin:0 0 12px;
  color:#d6bcff;
  font-size:22px;
}

.feature-card p{
  margin:0;
  color:#e3e3e3;
  line-height:1.7;
}

/* =========================
   PROMO
========================= */

.promo-card{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:30px;
  align-items:center;
  padding:30px;
  border-radius:24px;
  background:linear-gradient(180deg, rgba(16,18,28,0.96), rgba(12,14,22,0.96));
  border:1px solid rgba(255,255,255,0.06);
  box-shadow:var(--shadow);
}

.promo-text h2{
  margin-top:0;
  margin-bottom:12px;
  font-size:34px;
  color:#fff7dc;
}

.promo-text p{
  color:var(--muted);
  line-height:1.8;
  margin-bottom:20px;
}

.promo-visual{
  display:flex;
  justify-content:center;
  align-items:center;
}

.promo-visual img{
  width:min(100%, 760px);
  height:auto;
  display:block;
  border-radius:20px;
  filter:drop-shadow(0 0 34px rgba(184,108,255,0.20));
}

/* =========================
   PANELS / CARDS
========================= */

.hero-small + .content-box{
  margin-top:14px;
  margin-bottom:26px;
}

.content-box,
.dashboard-card,
.price-card,
.login-card,
.hero-panel{
  background:linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.018));
  border:1px solid rgba(255,255,255,0.065);
  border-radius:18px;
  box-shadow:var(--shadow);
}

.content-box{
  padding:24px 26px;
  line-height:1.75;
  background:linear-gradient(180deg, rgba(20,24,36,0.96), rgba(16,20,30,0.96));
}

.content-box pre{
  white-space:pre-wrap;
  word-break:break-word;
  margin:0;
  font-family:inherit;
}

.content-box ul{
  padding-left:20px;
}

.dashboard-grid,
.pricing-grid,
.login-benefits{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:18px;
  margin-top:24px;
  margin-bottom:28px;
}

.dashboard-card,
.price-card,
.login-card{
  padding:24px;
}

.dashboard-card h3,
.price-card h3,
.login-card h3{
  margin-top:0;
  color:#d6bcff;
}

.dashboard-card p,
.price-card p,
.login-card p{
  line-height:1.8;
  color:#e8e8e8;
}

.price{
  font-size:28px;
  font-weight:700;
  color:#fff;
}

.featured{
  border-color:rgba(184,108,255,0.42);
}

/* =========================
   LOGIN SMALL HERO
========================= */

.hero-small{
  min-height:auto;
  background:none;
  border:none;
  box-shadow:none;
  margin-bottom:12px;
}

.hero-panel{
  padding:28px;
  border-radius:20px;
}

.hero-panel h2{
  margin:10px 0 14px;
  font-size:38px;
  color:#fff3df;
}

.hero-panel p{
  margin:0;
  max-width:800px;
  color:var(--muted);
  line-height:1.8;
}

/* =========================
   FORMS / BLOCKLIST
========================= */

form{
  margin:0;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select{
  width:100%;
  padding:14px 16px;
  min-height:52px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.08);
  background:#0c0e14;
  color:#fff;
  outline:none;
  font-size:15px;
}

input::placeholder,
textarea::placeholder{
  color:#9aa1b8;
}

button{
  padding:10px 14px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color:#111;
  font-weight:700;
  cursor:pointer;
}

button:hover{
  opacity:0.96;
}

.block-form{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  margin:18px 0 20px;
  align-items:center;
}

.block-form input{
  width:100%;
  min-width:0;
}

.block-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  margin-bottom:24;
  padding:16px 0;
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.block-item form{
  margin:0;
}

.block-item span{
  color:var(--text);
  font-weight:600;
}

.content-box p{
  color:var(--muted);
}

.block-form button,
.block-item button{
  min-width:150px;
  padding:12px 18px;
  border:none;
  border-radius:14px;
  background:linear-gradient(135deg, var(--gold-1), var(--gold-2));
  color:#111;
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(255,179,71,0.22);
  transition:0.2s ease;
}

.block-form button:hover,
.block-item button:hover{
  transform:translateY(-1px);
}

.danger-btn{
  background:linear-gradient(135deg, var(--danger), var(--danger-2));
  color:#fff;
  box-shadow:0 8px 24px rgba(255,95,122,0.22);
}

/* =========================
   LISTS
========================= */

.price-card ul,
.dashboard-card ul{
  padding-left:20px;
}

.price-card li{
  list-style:none;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.05);
}

.price-card li:last-child{
  border-bottom:none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px){
  .block-form{
    grid-template-columns:1fr;
  }

  .block-form button,
  .block-item button{
    width:100%;
  }

  .block-item{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 900px){
  .promo-card{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:48px;
  }

  .brand-title{
    font-size:36px;
  }
}

@media (max-width: 768px){
  .site-header{
    flex-direction:column;
    align-items:flex-start;
    padding:18px;
  }

  .brand-logo{
    width:64px;
    height:64px;
  }

  .brand-title{
    font-size:34px;
  }

  .brand-sub{
    font-size:14px;
  }

  .site-nav{
    gap:14px;
  }

  .hero-overlay{
    min-height:480px;
  }

  .hero-content{
    padding:28px;
  }

  .hero h1{
    font-size:40px;
  }

  .hero p{
    font-size:17px;
  }

  .hero-small{
    min-height:auto;
    background:none;
    border:none;
    box-shadow:none;
    margin-bottom:12px;
  }

  .hero-panel{
  padding:32px;
  border-radius:22px;
}

  .hero-panel h2{
    font-size:32px;
  }

  .hero-panel p{
    max-width:800px;
  }
}