/* ===========================
   Premia Homepage Theme
   Hero-focused dark + magenta (#a92473) + purple (#181027)
   =========================== */

:root{
  --pr-bg: #181027;                 /* deep purple */
  --pr-bg-2: #10081f;               /* darker purple */
  --pr-surface: rgba(255,255,255,.06);
  --pr-surface-2: rgba(255,255,255,.08);

  --pr-text: #f5f2ff;
  --pr-muted: rgba(245,242,255,.72);

  --pr-accent: #a92473;             /* magenta */
  --pr-accent-2: #d43b93;           /* softer highlight (less neon) */

  --pr-border: rgba(255,255,255,.12);
  --pr-shadow: 0 28px 70px rgba(0,0,0,.55);
  --pr-radius: 28px;
}

/* ===========================
   Global frontend base
   =========================== */

.frontend-body{
  margin:0;
  min-height:120vh;
  font-family:-apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;

  /* Site background: dark purple with subtle magenta presence */
  background:
    radial-gradient(circle at 14% 10%, rgba(169,36,115,.16) 0%, rgba(24,16,39,0) 55%),
    radial-gradient(circle at 90% 0%, rgba(120,78,255,.10) 0%, rgba(24,16,39,0) 55%),
    radial-gradient(circle at 50% 120%, rgba(169,36,115,.10) 0%, rgba(24,16,39,0) 60%),
    linear-gradient(180deg, var(--pr-bg-2), var(--pr-bg));
  color:var(--pr-text);
}

.frontend-main{
  min-height:calc(100vh - 64px);
}

/* ===========================
   Header
   =========================== */

.pr-header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(18px);

  background:
    linear-gradient(to right,
      rgba(24,16,39,.88),
      rgba(16,8,31,.92)
    );
  border-bottom:1px solid rgba(255,255,255,.10);
}

.pr-header-inner{
  max-width:1120px;
  margin:0 auto;
  padding:12px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

/* Logo */

.pr-logo-link{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.pr-logo-mark{
  width:40px;
  height:40px;
  border-radius:12px;
  overflow:hidden;

  background:
    radial-gradient(circle at 20% 15%,
      rgba(255,255,255,.16) 0%,
      rgba(255,255,255,0) 42%
    ),
    linear-gradient(135deg, rgba(169,36,115,1), rgba(212,59,147,.92));
  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 12px 28px rgba(169,36,115,.24);
  border:1px solid rgba(255,255,255,.12);
}

.pr-logo-img{
  width:32px;
  height:32px;
  object-fit:contain;
  display:block;
}

.pr-logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.pr-logo-text-primary{
  font-size:17px;
  font-weight:800;
  letter-spacing:.4px;
  color:var(--pr-text);
}

.pr-logo-text-accent{
  font-size:15px;
  font-weight:700;
  color:rgba(245,242,255,.70);
}

/* Nav */

.pr-nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-size:14px;
}

.pr-nav-link{
  color:rgba(245,242,255,.88);
  text-decoration:none;
  opacity:.88;
  position:relative;
}

.pr-nav-link::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:2px;
  background:linear-gradient(90deg, var(--pr-accent), var(--pr-accent-2));
  border-radius:999px;
  transition:width .18s ease;
}

.pr-nav-link:hover{ opacity:1; }
.pr-nav-link:hover::after{ width:100%; }

/* Header CTAs */

.pr-header-cta{
  display:flex;
  align-items:center;
  gap:10px;
}

/* ===========================
   Buttons
   =========================== */

.pr-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  border:1px solid transparent;
  padding:7px 14px;
  font-size:14px;
  font-weight:650;
  text-decoration:none;
  cursor:pointer;
  transition:all .18s ease;
  white-space:nowrap;
}

.pr-btn-lg{
  padding:11px 22px;
  font-size:15px;
}

.pr-btn-primary{
  background:linear-gradient(135deg, var(--pr-accent), var(--pr-accent-2));
  color:#fff;
  box-shadow:0 16px 38px rgba(169,36,115,.34);
}

.pr-btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 24px 58px rgba(169,36,115,.50);
  filter:saturate(1.05);
}

.pr-btn-outline{
  background:transparent;
  border-color:rgba(245,242,255,.30);
  color:rgba(245,242,255,.92);
}

.pr-btn-outline:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(245,242,255,.42);
}

.pr-btn-outline2{
  background:transparent;
  border-color:rgba(245,242,255,.30);
  color:rgba(245,242,255,.92);
}

.pr-btn-outline2:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(245,242,255,.42);
}

.pr-btn-ghost{
  background:rgba(255,255,255,.06);
  border-color:rgba(169,36,115,.55);
  color:rgba(245,242,255,.92);
}

.pr-btn-ghost:hover{
  background:rgba(255,255,255,.085);
  border-color:rgba(212,59,147,.75);
}

.pr-btn-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* ===========================
   HERO (darker, magenta + purple gradient)
   =========================== */

.pr-hero{
  padding:70px 15px 64px;
  position:relative;

  /* Make hero darker than page with subtle magenta/purple gradient */
  background:
    radial-gradient(circle at 18% 24%, rgba(169,36,115,.18) 0%, rgba(24,16,39,0) 52%),
    radial-gradient(circle at 78% 18%, rgba(120,78,255,.12) 0%, rgba(24,16,39,0) 56%),
    linear-gradient(180deg, rgba(16,8,31,1) 0%, rgba(24,16,39,1) 70%, rgba(24,16,39,0) 100%);
}

/* Cinematic vignette overlay */
.pr-hero::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 50% 35%, rgba(0,0,0,.0) 0%, rgba(0,0,0,.58) 72%),
    linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.58));
  opacity:.62;
}

/* Soft “glow dust” overlay */
.pr-hero::after{
  content:"";
  position:absolute;
  inset:-120px -60px auto -60px;
  height:440px;
  pointer-events:none;
  background:
    radial-gradient(circle at 22% 48%, rgba(169,36,115,.22) 0%, rgba(24,16,39,0) 62%),
    radial-gradient(circle at 70% 28%, rgba(212,59,147,.12) 0%, rgba(24,16,39,0) 60%);
  opacity:.8;
}

/* Layout */
.pr-hero-inner{
  max-width:1120px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1.15fr);
  align-items:center;
  gap:40px;
  position:relative;
  z-index:1;
}

/* Right visual */
.pr-hero-visual{
  display:flex;
  justify-content:center;
  width:100%;
}

/* Glass card */
.pr-hero-card{
  width:100%;
  max-width:640px;
  padding:0;
  border-radius:var(--pr-radius);

  background:
    radial-gradient(circle at 10% 0%, rgba(255,255,255,.08) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  box-shadow:0 30px 80px rgba(0,0,0,.62);
  border:1px solid rgba(255,255,255,.10);
  overflow:hidden;
  position:relative;
}

.pr-hero-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(120deg, rgba(169,36,115,.24), rgba(24,16,39,0) 58%);
  opacity:.45;
}

.pr-hero-illustration{
  width:100%;
  height:auto;
  display:block;
  position:relative;
  z-index:1;
}

/* Left copy */
.pr-hero-copy{
  max-width:560px;
}

.pr-hero-kicker{
  font-size:12px;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:rgba(245,242,255,.62);
  margin:0 0 10px;
}

.pr-hero-title{
  margin:0 0 14px;
  font-size:40px;
  line-height:1.06;
  color:var(--pr-text);
}

.pr-hero-title-highlight{
  color:var(--pr-accent-2);
  text-shadow:0 18px 60px rgba(169,36,115,.22);
}

.pr-hero-subtitle{
  margin:0 0 22px;
  font-size:15px;
  line-height:1.7;
  color:rgba(245,242,255,.70);
  max-width:52ch;
}

.pr-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-bottom:18px;
}

.pr-hero-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  font-size:12px;
  color:rgba(245,242,255,.58);
}

/* ===========================
   Dynamic word animation helpers
   =========================== */

.pr-hero-dynamic-wrapper{
  display:inline-flex;
  align-items:center;
  gap:6px;
}

.pr-hero-dynamic-prefix{
  opacity:.75;
  font-weight:650;
  color:rgba(245,242,255,.60);
}

.pr-hero-dynamic-word{
  display:inline-block;
  min-width:98px;
  color:var(--pr-text);
}

.pr-hero-cursor{
  display:inline-block;
  width:2px;
  height:1.1em;
  background:var(--pr-accent);
  margin-left:2px;
  transform:translateY(2px);
}

.pr-hero-cursor.is-hidden{
  opacity:0;
}

/* ===========================
   Generic sections
   =========================== */

.pr-section{
  padding:32px 20px 40px;
}

.pr-section-inner{
  max-width:960px;
  margin:0 auto;
}

.pr-section-inner h2{
  font-size:24px;
  margin:0 0 10px;
  color:var(--pr-text);
}

.pr-section-inner p{
  margin:0;
  color:rgba(245,242,255,.62);
  font-size:14px;
}

/* ===========================
   Footer
   =========================== */

.pr-footer{
  border-top:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(16,8,31,.85), rgba(24,16,39,1));
  padding:14px 20px;
}

.pr-footer-inner{
  max-width:1120px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  gap:10px 18px;
  align-items:center;
  justify-content:space-between;
  font-size:13px;
  color:rgba(245,242,255,.58);
}

.pr-footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
}

.pr-footer-nav a{
  color:rgba(245,242,255,.58);
  text-decoration:none;
  font-size:13px;
}

.pr-footer-nav a:hover{
  color:rgba(245,242,255,.86);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 900px){
  .pr-header-inner{
    gap:14px;
  }
  .pr-nav{
    display:none;
  }
  .pr-hero-inner{
    grid-template-columns:minmax(0,1fr);
    gap:32px;
  }
  .pr-hero{
    padding-top:70px;
    padding-bottom:60px;
  }
  .pr-hero-title{
    font-size:32px;
  }
  .pr-hero-card{
    max-width:560px;
    border-radius:24px;
  }
}

@media (max-width: 600px){
  .pr-header-inner{
    padding-inline:14px;
  }
  .pr-hero-card{
    max-width:440px;
    border-radius:20px;
  }
  .pr-hero-actions{
    flex-direction:column;
    align-items:flex-start;
  }
  .pr-hero{
    padding-top:70px;
    padding-bottom:50px;
  }
}
























