:root{
  --bg:#020617;
  --bg-soft:#0b1026;
  --fg:#e5e7eb;
  --muted:#94a3b8;
  --accent:#7c3aed;
  --accent2:#38bdf8;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family:Inter,system-ui,sans-serif;
  color:var(--fg);
  background:var(--bg);
  line-height:1.7;
}

/* ===== COSMIC CANVAS ===== */
#cosmic{
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
}
body>*{
  position:relative;
  z-index:1;
}

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

/* ===== HEADER ===== */
header{
  position:sticky;
  top:0;
  z-index:9999;
  backdrop-filter:blur(14px);
  background:rgba(2,6,23,.65);
  border-bottom:1px solid rgba(255,255,255,.05);
}

.nav{
  max-width:1200px;
  margin:auto;
  padding:14px 20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{font-weight:600}

.nav a{margin-left:24px;font-size:14px;opacity:.85}
.nav a:hover{opacity:1}

/* ===== MOBILE MENU ===== */
.menu-toggle{
  display:none;
  width:32px;height:32px;
  position:relative;
  cursor:pointer;
}
.menu-toggle span{
  position:absolute;left:0;right:0;
  height:2px;background:#e5e7eb;
  transition:.3s;
}
.menu-toggle span:nth-child(1){top:8px}
.menu-toggle span:nth-child(2){top:15px}
.menu-toggle span:nth-child(3){top:22px}

.mobile-nav{
  position:fixed;
  inset:0;
  background:rgba(2,6,23,.96);
  backdrop-filter:blur(14px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:28px;
  opacity:0;
  pointer-events:none;
  transition:.35s;
  z-index:9998;
}
.mobile-nav a{
  font-size:22px;
  font-weight:500;
}
.mobile-nav.active{
  opacity:1;
  pointer-events:auto;
}

@media(max-width:768px){
  .nav nav{display:none}
  .menu-toggle{display:block}
}

/* ===== HERO ===== */
.hero{
  padding:120px 20px 90px;
  text-align:center;
}
.hero h1{
  font-size:clamp(36px,7vw,56px);
  font-weight:700;
  letter-spacing:-.02em;
  text-shadow:
    0 0 30px rgba(124,58,237,.35),
    0 0 80px rgba(124,58,237,.15);
}
.hero .role{
  margin-top:12px;
  font-size:18px;
  color:var(--muted);
}
.hero .desc{
  margin:28px auto 0;
  max-width:720px;
  color:#cbd5f5;
}

/* ===== CTA ===== */
.cta{
  display:inline-block;
  margin-top:40px;
  padding:16px 44px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--accent),var(--accent2));
  color:#020617;
  font-weight:600;
  box-shadow:0 0 60px rgba(124,58,237,.55);
  position:relative;
  overflow:hidden;
}
.cta::after{
  content:"";
  position:absolute;
  inset:-50%;
  background:radial-gradient(circle,rgba(255,255,255,.35),transparent 60%);
  opacity:.4;
  animation:pulse 4s infinite linear;
}
@keyframes pulse{
  from{transform:rotate(0deg)}
  to{transform:rotate(360deg)}
}

/* ===== CONTENT ===== */
section{
  max-width:1000px;
  margin:auto;
  padding:80px 20px;
}
.section-title{
  font-size:22px;
  margin-bottom:32px;
}
.block{
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  border-radius:20px;
  padding:28px 28px;
  margin-bottom:24px;
  transition:transform .4s ease, box-shadow .4s ease;
}
@media(min-width:900px){
  .block:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 60px rgba(124,58,237,.25);
  }
}

/* ===== FOOTER ===== */
footer{
  text-align:center;
  padding:48px 20px;
  font-size:13px;
  color:var(--muted);
}

/* ===== MOBILE TUNING ===== */
@media(max-width:768px){
  #cosmic{opacity:.55}
  .hero{
    padding:96px 18px 72px;
  }
  .hero h1{
    font-size:36px;
    line-height:1.1;
  }
  .hero .desc{
    font-size:15px;
  }
  section{
    padding:64px 18px;
  }
}

/* ===== MOBILE COSMIC VISIBILITY ===== */
@media(max-width:768px){
  #cosmic{
    opacity:.75;
  }
}

/* ===== SOCIAL BUTTONS ===== */
.social-buttons{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:12px;
}

.social-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:12px 20px;
  border-radius:999px;
  font-size:14px;
  font-weight:500;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  transition:.3s;
}

.social-btn:hover{
  background:rgba(124,58,237,.15);
  box-shadow:0 0 30px rgba(124,58,237,.35);
}

.social-btn svg{
  width:18px;
  height:18px;
  fill:#e5e7eb;
}

/* ===== CONTACT BUTTONS ===== */
.contact-buttons{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin-top:12px;
}

.contact-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 22px;
  border-radius:999px;
  font-size:14px;
  font-weight:500;
  background:linear-gradient(
    135deg,
    rgba(124,58,237,.25),
    rgba(56,189,248,.25)
  );
  border:1px solid rgba(124,58,237,.45);
  box-shadow:0 0 30px rgba(124,58,237,.25);
  transition:.3s;
}

.contact-btn:hover{
  box-shadow:0 0 50px rgba(124,58,237,.55);
  transform:translateY(-2px);
}

.contact-btn svg{
  width:18px;
  height:18px;
  fill:#e5e7eb;
}

@media(max-width:480px){
  .contact-btn{
    width:100%;
    justify-content:center;
  }
}

.brand-face {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px 10px 20px;
}

.brand-container {
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.brand-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  transition: transform 0.4s ease;
}

.brand-image:hover {
  transform: translateY(-8px);
}

.page-hero {
  text-align: center;
  padding: 60px 20px;
}

.content-section {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

.cta-section {
  text-align: center;
  padding: 60px 20px;
}

.cta {
  display: inline-block;
  padding: 12px 30px;
  background: #4f46e5;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
}

.brand-face {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.brand-container {
  max-width: 520px;
  width: 100%;
}

.brand-image {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}
