/* /public/css/site.css */

:root{
  --bg0: #070a12;
  --bg1: #0b1020;
  --card: rgba(255,255,255,.06);
  --border: rgba(255,255,255,.12);

  --text: #ffffff;
  --muted: rgba(255,255,255,.72);

  --accent: #ff7a18;
  --accent2: #9b7bff;

  --shadow: 0 30px 80px rgba(0,0,0,.55);
  --radius: 22px;
  --danger: #ff4d4d;

  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ min-height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg0);
  background-attachment: fixed;
}
body::before{
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px 700px at 15% 20%, rgba(155,123,255,.18), transparent 60%),
    radial-gradient(900px 600px at 85% 30%, rgba(255,122,24,.14), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

/* ================================
   ANIMATIONS
   ================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.anim-fade-up { animation: fadeUp 0.6s ease-out forwards; opacity: 0; }
.anim-fade-in { animation: fadeIn 0.5s ease-out forwards; opacity: 0; }
.anim-scale-in { animation: scaleIn 0.5s ease-out forwards; opacity: 0; }
.anim-slide-right { animation: slideInRight 0.5s ease-out forwards; opacity: 0; }
.anim-delay-1 { animation-delay: 0.1s; }
.anim-delay-2 { animation-delay: 0.2s; }
.anim-delay-3 { animation-delay: 0.3s; }
.anim-delay-4 { animation-delay: 0.4s; }
.anim-delay-5 { animation-delay: 0.5s; }
.anim-delay-6 { animation-delay: 0.6s; }
.anim-delay-7 { animation-delay: 0.7s; }
.anim-delay-8 { animation-delay: 0.8s; }
.anim-delay-9 { animation-delay: 0.9s; }
.anim-delay-10 { animation-delay: 1.0s; }
.anim-delay-11 { animation-delay: 1.1s; }
.anim-delay-12 { animation-delay: 1.2s; }
.anim-delay-13 { animation-delay: 1.3s; }
.anim-delay-14 { animation-delay: 1.4s; }
.anim-delay-15 { animation-delay: 1.5s; }

/* ================================
   SITE HEADER
   ================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.site-header-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}
.site-logo-icon{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 8px 24px rgba(155, 123, 255, 0.25);
}
.site-logo-text{
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop Navigation */
.site-nav{
  display: flex;
  align-items: center;
  gap: 6px;
}

a.sitelink{
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
a.sitelink:visited {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
}
a.sitelink:hover{
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
a.sitelink:active{
  color: var(--text);
  background: rgba(255,255,255,0.08);
}
.site-nav a{
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.2s, background 0.2s;
}
.site-nav a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.site-nav a.is-active{
  color: var(--text);
  background: rgba(255,255,255,0.08);
}
.site-nav .nav-cta{
  margin-left: 8px;
  padding: 10px 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
}
.site-nav .nav-cta:hover{
  filter: brightness(1.1);
  background: linear-gradient(135deg, var(--accent), var(--accent2));
}

/* Hamburger Menu Button */
.site-menu-btn{
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
  transition: background 0.2s;
}
.site-menu-btn:hover{
  background: rgba(255,255,255,0.08);
}
.site-menu-btn .bar{
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55), opacity 0.2s, width 0.3s;
}
.site-menu-btn .bar:nth-child(2){
  margin: 5px 0;
  width: 16px;
}
.site-menu-btn.is-open .bar:nth-child(1){
  transform: translateY(7px) rotate(45deg);
}
.site-menu-btn.is-open .bar:nth-child(2){
  opacity: 0;
  width: 0;
}
.site-menu-btn.is-open .bar:nth-child(3){
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Overlay */
.site-mobile-nav{
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(7, 10, 18, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.site-mobile-nav.is-open{
  opacity: 1;
  visibility: visible;
}
.site-mobile-nav a{
  font-size: 20px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  text-decoration: none;
  min-width: 220px;
  text-align: center;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.site-mobile-nav a:hover{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: scale(1.02);
}
.site-mobile-nav a.nav-cta{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-color: transparent;
}
.site-mobile-close{
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.site-mobile-close:hover{
  background: rgba(255,255,255,0.12);
  transform: rotate(90deg);
}
.site-mobile-close::before,
.site-mobile-close::after{
  content: '';
  position: absolute;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}
.site-mobile-close::before{ transform: rotate(45deg); }
.site-mobile-close::after{ transform: rotate(-45deg); }

/* Responsive Navigation */
@media (max-width: 768px){
  .site-nav{ display: none; }
  .site-menu-btn{ display: flex; }
}
@media (min-width: 769px){
  .site-mobile-nav{ display: none !important; }
}

/* ================================
   SITE FOOTER
   ================================ */
.site-footer{
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.2);
  padding: 48px 24px 32px;
}
.site-footer-inner{
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer-grid{
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-brand .site-logo{
  display: inline-flex;
}
.footer-tagline{
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  max-width: 280px;
}
.footer-col h4{
  margin: 0 0 16px 0;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.footer-col ul{
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col a{
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover{
  color: var(--text);
}
.footer-bottom{
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-copy{
  color: var(--muted);
  font-size: 13px;
}
.footer-legal{
  display: flex;
  gap: 20px;
}
.footer-legal a{
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover{
  color: var(--text);
}

@media (max-width: 768px){
  .site-footer-grid{
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-brand{
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px){
  .site-footer-grid{
    grid-template-columns: 1fr;
  }
  .footer-bottom{
    flex-direction: column;
    text-align: center;
  }
}

/* ================================
   MAIN CONTENT WRAPPER
   ================================ */
.site-main{
  min-height: calc(100vh - 200px);
}
.site-wrap{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.site-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
}
.site-container-sm{
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* ================================
   PAGE HERO SECTIONS
   ================================ */
.page-hero{
  text-align: center;
  padding: 60px 0 40px;
}
.page-hero h1{
  margin: 0 0 16px 0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-hero .gradient-text{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p{
  margin: 0 auto;
  max-width: 600px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

/* ================================
   HOMEPAGE HERO (Special)
   ================================ */
.home-hero{
  padding: 80px 0 60px;
  text-align: center;
}
.home-hero h1{
  margin: 0 0 20px 0;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.home-hero .tagline{
  margin: 0 auto 12px;
  font-size: 18px;
  color: var(--accent2);
  font-weight: 600;
}
.home-hero p{
  margin: 0 auto 32px;
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}
.home-hero .hero-buttons{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.home-hero .hero-badges{
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   CARDS & SECTIONS
   ================================ */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover{
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.card-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.section{
  padding: 80px 0;
}
.section-header{
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2{
  margin: 0 0 12px 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
  letter-spacing: -0.02em;
}
.section-header p{
  margin: 0 auto;
  max-width: 600px;
  color: var(--muted);
  font-size: 16px;
}

/* ================================
   FEATURE CARDS
   ================================ */
.feature-card{
  text-align: center;
  padding: 32px 24px;
}
.feature-icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(155,123,255,0.2), rgba(255,122,24,0.15));
  border: 1px solid rgba(155,123,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}
.feature-card h3{
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 800;
}
.feature-card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ================================
   STEP CARDS (How It Works)
   ================================ */
.steps-grid{
  display: grid;
  gap: 32px;
}
.step-card{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}
.step-card:nth-child(even){
  direction: rtl;
}
.step-card:nth-child(even) > *{
  direction: ltr;
}
.step-content{
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.step-number{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(155,123,255,0.25);
}
.step-content h3{
  margin: 0;
  font-size: 24px;
  font-weight: 800;
}
.step-content p{
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}
.step-image{
  aspect-ratio: 1/1;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.step-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.step-image .placeholder{
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  padding: 0px;
}

@media (max-width: 768px){
  .step-card{
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 28px;
  }
  .step-card:nth-child(even){
    direction: ltr;
  }
}

/* ================================
   FAQ ACCORDION
   ================================ */
.faq-list{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item:hover{
  border-color: rgba(255,255,255,0.18);
}
.faq-question{
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: inherit;
}
.faq-question::after{
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.3s;
}
.faq-item.is-open .faq-question::after{
  transform: rotate(45deg);
}
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}
.faq-item.is-open .faq-answer{
  max-height: 900px;
}
.faq-answer-inner{
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-answer-inner p{
  margin: 0 0 12px 0;
}
.faq-answer-inner p:last-child{
  margin-bottom: 0;
}
.faq-answer-inner ul{
  margin: 0 0 12px 0;
  padding-left: 20px;
}
.faq-answer-inner li{
  margin-bottom: 6px;
}

/* ================================
   CONTACT FORM
   ================================ */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info{
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-item{
  display: flex;
  gap: 16px;
}
.contact-icon{
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(155,123,255,0.15);
  border: 1px solid rgba(155,123,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.contact-details h4{
  margin: 0 0 4px 0;
  font-size: 15px;
  font-weight: 800;
}
.contact-details p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.contact-form-card{
  padding: 32px;
}
.contact-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-field{
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label{
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.form-field input,
.form-field textarea,
.form-field select{
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-field input::placeholder,
.form-field textarea::placeholder{
  color: rgba(255,255,255,0.4);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus{
  border-color: rgba(155,123,255,0.6);
  box-shadow: 0 0 0 4px rgba(155,123,255,0.15);
}
.form-field textarea{
  min-height: 140px;
  resize: vertical;
}

@media (max-width: 768px){
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row{
    grid-template-columns: 1fr;
  }
}

/* Desktop select dropdown fix */
.form-field select{
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: rgba(255,255,255,0.06);
}

/* The dropdown list items (the panel) */
.form-field select option{
  background-color: #0b0f1a; /* match your dark UI */
  color: rgba(255,255,255,0.92);
}

/* Placeholder option */
.form-field select option[value=""]{
  color: rgba(255,255,255,0.55);
}

.form-field select{
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%),
    linear-gradient(to right, rgba(255,255,255,0.12), rgba(255,255,255,0.12));
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 13px) 52%,
    calc(100% - 42px) 50%;
  background-size:
    5px 5px,
    5px 5px,
    1px 22px;
  background-repeat: no-repeat;
}
.form-field select{
  color-scheme: dark;
}


/* ================================
   ABOUT PAGE
   ================================ */
.about-hero{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}
.about-content h1{
  margin: 0 0 20px 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.about-content p{
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  margin: 0 0 16px 0;
}
.about-image{
  aspect-ratio: 1;
  border-radius: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vision-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vision-card{
  text-align: center;
  padding: 32px 24px;
}
.vision-card h3{
  margin: 0 0 12px 0;
  font-size: 20px;
  font-weight: 800;
}
.vision-card p{
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.founder-section{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px;
}
.founder-photo{
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(155,123,255,0.2), rgba(255,122,24,0.15));
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  overflow: hidden;
}
.founder-photo img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-info h3{
  margin: 0 0 8px 0;
  font-size: 24px;
  font-weight: 800;
}
.founder-info .role{
  color: var(--accent2);
  font-weight: 600;
  margin-bottom: 16px;
}
.founder-info p{
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px){
  .about-hero{
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .about-image{
    max-width: 300px;
    margin: 0 auto;
  }
  .vision-grid{
    grid-template-columns: 1fr;
  }
  .founder-section{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 24px;
  }
  .founder-photo{
    margin: 0 auto;
  }
}

/* ================================
   TERMS PAGE
   ================================ */
.legal-content{
  padding: 40px 0;
}
.legal-content h2{
  margin: 48px 0 16px 0;
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
}
.legal-content h2:first-child{
  margin-top: 0;
}
.legal-content h3{
  margin: 32px 0 12px 0;
  font-size: 18px;
  font-weight: 700;
}
.legal-content p{
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 16px 0;
}
.legal-content ul,
.legal-content ol{
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 16px 0;
  padding-left: 24px;
}
.legal-content li{
  margin-bottom: 8px;
}
.legal-content strong{
  color: var(--text);
}
.legal-meta{
  padding: 20px 24px;
  background: rgba(155,123,255,0.1);
  border: 1px solid rgba(155,123,255,0.2);
  border-radius: 12px;
  margin-bottom: 32px;
}
.legal-meta p{
  margin: 0;
  font-size: 14px;
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section{
  text-align: center;
  padding: 80px 40px;
  margin: 60px 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(155,123,255,0.15), rgba(255,122,24,0.1));
  border: 1px solid rgba(155,123,255,0.25);
}
.cta-section h2{
  margin: 0 0 16px 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 900;
}
.cta-section p{
  margin: 0 auto 28px;
  max-width: 500px;
  color: var(--muted);
  font-size: 16px;
}
.cta-buttons{
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   BUTTONS
   ================================ */
.btn{
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s, filter 0.2s, box-shadow 0.2s;
}
.btn:hover{
  transform: translateY(-2px);
}
.btn:active{
  transform: translateY(0);
}
.btn-primary{
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 12px 30px rgba(155,123,255,0.25);
}
.btn-primary:hover{
  filter: brightness(1.1);
  box-shadow: 0 16px 40px rgba(155,123,255,0.3);
}
.btn-secondary{
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-secondary:hover{
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.2);
}
.btn-lg{
  padding: 18px 32px;
  font-size: 16px;
  border-radius: 14px;
}

/* ================================
   BADGES
   ================================ */
.badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.86);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .02em;
}
.badge-row{
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ================================
   ORIGINAL COMING SOON HERO
   ================================ */
.hero{
  width: min(980px, 100%);
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-inner{
  padding: 34px 30px;
  text-align: center;
}
.logo{
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.logo-img{
  width: 300px;
  max-width: 65vw;
  height: auto;
  display: block;
}
.title{
  margin: 10px 0 10px 0;
  font-size: clamp(28px, 4.2vw, 44px);
  letter-spacing: -0.03em;
  font-weight: 900;
}
.subtitle{
  margin: 0 auto;
  max-width: 820px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.55;
}
.subtitle strong{
  color: rgba(255,255,255,.92);
}
.divider{
  width: 110px;
  height: 1px;
  background: rgba(255,255,255,.18);
  margin: 22px auto;
}
.small{
  margin: 0 auto;
  max-width: 760px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
  font-size: 15px;
}

/* ================================
   AUTH SCREENS
   ================================ */
.auth-wrap{
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}
.auth-card{
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.auth-header h1{
  margin: 0 0 6px 0;
  font-size: 26px;
  letter-spacing: -0.03em;
  font-weight: 900;
}
.auth-header p{
  margin: 0 0 20px 0;
  color: var(--muted);
  font-size: 15px;
}
.form{
  display: grid;
  gap: 14px;
}
.field-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 480px) {
  .field-row{
    grid-template-columns: 1fr;
  }
}
.field{
  display: grid;
  gap: 6px;
}
.field > span{
  font-size: 13px;
  color: var(--muted);
}
.field input{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 13px;
  font-size: 15px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  outline: none;
}
.field input::placeholder{
  color: rgba(255,255,255,.45);
}
.field input:focus{
  border-color: rgba(255,122,24,.7);
  box-shadow: 0 0 0 4px rgba(255,122,24,.18);
}

/* Alerts */
.alert{
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--text);
}
.alert-error{
  border-color: rgba(255,77,77,.45);
  background: rgba(255,77,77,.12);
  color: var(--danger);
}
.alert-success{
  border-color: rgba(34,197,94,.45);
  background: rgba(34,197,94,.12);
  color: #22c55e;
}
.alert ul{
  margin: 0;
  padding-left: 18px;
}
.alert li{
  margin: 4px 0;
}
.auth-footer{
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}
.auth-footer a{
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}
.auth-footer a:hover{
  text-decoration: underline;
}

/* Password reveal toggle */
.pw-field {
  position: relative;
  display: block;
}

.pw-field input {
  padding-right: 52px;
}

.pw-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent !important;
  box-shadow: none !important;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: rgba(255,255,255,0.65);
  z-index: 2;
}

.pw-toggle:hover {
  opacity: 1;
}

.pw-ico {
  display: none;
  line-height: 0;
}

.pw-toggle .pw-ico-eye {
  display: inline-block;
}

.pw-toggle.is-revealed .pw-ico-eye {
  display: none;
}

.pw-toggle.is-revealed .pw-ico-eyeoff {
  display: inline-block;
}

.pw-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}

/* When input is filled or focused (light background) */
.pw-field input:not(:placeholder-shown) + .pw-toggle,
.pw-field input:focus + .pw-toggle {
  color: rgba(0,0,0,0.55);
}

.pw-toggle:hover {
  color: rgba(255,255,255,0.9);
}

.pw-field input:not(:placeholder-shown) + .pw-toggle:hover,
.pw-field input:focus + .pw-toggle:hover {
  color: rgba(0,0,0,0.8);
}

/* ================================
   TEMPLATE PICKER (Dashboard)
   ================================ */
.tpl-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.tpl-picked{display:flex;align-items:center;gap:8px;background:rgba(255,255,255,0.06);border:1px solid rgba(255,255,255,0.12);padding:8px 10px;border-radius:999px;}
.tpl-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 12px;
}
.tpl-card{
  position:relative;
  display:block;
  text-align:left;
  padding:0;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,0.14);
  background:rgba(255,255,255,0.06);
  transition:transform .12s ease, border-color .12s ease, box-shadow .12s ease;
}
.tpl-card:hover{transform:translateY(-1px);border-color:rgba(255,255,255,0.22);box-shadow:0 10px 30px rgba(0,0,0,0.35);}
.tpl-card:focus{outline:2px solid rgba(255,255,255,0.35);outline-offset:2px;}
.tpl-thumb{position:relative;aspect-ratio: 16 / 9;overflow:hidden;background:rgba(0,0,0,0.12);}
.tpl-thumb img{width:100%;height:100%;object-fit:cover;display:block;filter:saturate(1.08) contrast(1.02);}
.tpl-hover{
  position:absolute;inset:0;
  display:flex;align-items:center;justify-content:center;
  background:linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.55));
  opacity:0;
  transition:opacity .12s ease;
}
.tpl-hover span{
  display:inline-flex;align-items:center;gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.18);
  color:rgba(255,255,255,0.92);
  font-weight:700;
}
.tpl-card:hover .tpl-hover{opacity:1;}
.tpl-meta{padding:12px 12px 14px 12px;}
.tpl-row{display:flex;align-items:center;justify-content:space-between;gap:10px;}
.tpl-name{font-size:15px;color:#ccc;}
.tpl-tag{font-size:12px;padding:4px 8px;border-radius:999px;background:rgba(255,255,255,0.10);border:1px solid rgba(255,255,255,0.14);color:#ccc;}
.tpl-desc{margin:8px 0 0 0;font-size:13px;line-height:1.35;color:rgba(255,255,255,0.72);}
.tpl-card.is-selected{border-color:rgba(155,123,255,0.85);box-shadow:0 12px 38px rgba(155,123,255,0.18);}
.tpl-card.is-selected::after{
  content:"";
  position:absolute;
  top:10px;right:10px;
  width:34px;height:34px;
  display:flex;align-items:center;justify-content:center;
  border-radius:999px;
  background:rgba(155,123,255,0.95);
  color:#fff;
  font-weight:900;
  box-shadow:0 12px 24px rgba(0,0,0,0.35);
}
.tpl-preview-modal::backdrop{background:rgba(0,0,0,0.70);}
.tpl-preview-modal{border:0;padding:0;max-width:min(980px, 92vw);width:92vw;background:transparent;}
.tpl-preview-card{border-radius:18px;overflow:hidden;background:#0b1020;border:1px solid rgba(255,255,255,0.14);box-shadow:0 24px 80px rgba(0,0,0,0.55);}
.tpl-preview-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:rgba(255,255,255,0.06);border-bottom:1px solid rgba(255,255,255,0.10);}
.tpl-preview-title{display:flex;flex-direction:column;gap:2px;}
.tpl-preview-body{padding:0;background:#000;}
.tpl-preview-body img{display:block;width:100%;height:auto;max-height:70vh;object-fit:contain;}
