*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:linear-gradient(135deg,#020617,#0f172a,#1e1b4b);
  color:white;
  overflow-x:hidden;
}

/* HEADER */

.site-header{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  z-index:999;
  backdrop-filter:blur(15px);
  background:rgba(2,6,23,0.8);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.header-inner{
  width:92%;
  max-width:1450px;
  margin:auto;
  height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

/* LOGO */

.brand{
  display:flex;
  align-items:center;
  gap:15px;
}

.brand img{
  width:70px;
  height:70px;
  border-radius:18px;
  background:#fff;
  padding:5px;
  object-fit:contain;
  box-shadow:0 10px 30px rgba(236,72,153,0.3);
}

.brand-text h1{
  font-size:24px;
  font-weight:700;
}

.brand-text span{
  color:#cbd5e1;
  font-size:13px;
}

/* NAVIGATION */

.nav{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav a,
.dropbtn{
  color:white;
  text-decoration:none;
  border:none;
  background:none;
  padding:12px 18px;
  border-radius:14px;
  font-size:15px;
  cursor:pointer;
  transition:0.3s;
}

.nav a:hover,
.dropbtn:hover{
  background:rgba(255,255,255,0.08);
  color:#facc15;
}

/* DROPDOWN */

.dropdown{
  position:relative;
}

.dropdown-content{
  position:absolute;
  top:58px;
  left:0;
  min-width:240px;
  display:none;
  flex-direction:column;
  background:#0f172a;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,0.45);
}

.dropdown-content a{
  padding:14px 18px;
  color:white;
  text-decoration:none;
}

.dropdown-content a:hover{
  background:rgba(255,255,255,0.08);
}

.dropdown:hover .dropdown-content{
  display:flex;
}

/* MOBILE */

.menu-toggle{
  display:none;
  background:none;
  border:none;
  color:white;
  font-size:30px;
  cursor:pointer;
}

/* MAIN */

.main-section{
  width:92%;
  max-width:1450px;
  margin:auto;
  padding:140px 0 80px;
}

.page-title{
  text-align:center;
  margin-bottom:45px;
}

.page-title h2{
  font-size:52px;
  margin-bottom:15px;
}

.page-title span{
  background:linear-gradient(to right,#facc15,#ec4899);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.page-title p{
  max-width:800px;
  margin:auto;
  color:#cbd5e1;
  line-height:1.8;
}

/* LAYOUT */

.wrap{
  display:grid;
  grid-template-columns:420px 1fr;
  gap:30px;
}

/* CARD */

.card{
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.08);
  backdrop-filter:blur(15px);
  border-radius:28px;
  padding:28px;
  box-shadow:0 20px 50px rgba(0,0,0,0.3);
}

.card h3{
  margin-bottom:20px;
  font-size:24px;
}

label{
  display:block;
  margin:18px 0 8px;
  color:#e2e8f0;
  font-size:14px;
}

input,
select{
  width:100%;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,0.1);
  background:rgba(255,255,255,0.08);
  color:white;
  font-size:14px;
  outline:none;
}

select option{
  background:#0f172a;
  color:white;
}

/* IMPORTANT FIX FOR COPIES LIST */

#copies{
  height:auto;
  min-height:56px;
  overflow-y:auto;
}

/* ROW */

.row{
  display:flex;
  gap:14px;
  margin-top:15px;
}

.row > div{
  flex:1;
}

/* BUTTONS */

button{
  padding:14px 18px;
  border:none;
  border-radius:16px;
  cursor:pointer;
  font-weight:600;
  transition:0.3s;
}

.primary{
  width:100%;
  background:linear-gradient(to right,#facc15,#ec4899);
  color:black;
}

.primary:hover{
  transform:translateY(-2px);
}

.ghost{
  width:100%;
  background:rgba(255,255,255,0.08);
  color:white;
}

.ghost:hover{
  background:rgba(255,255,255,0.15);
}

/* PREVIEW */

.preview-area{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

/* DARK PREVIEW BACKGROUND FIX */

.frame{
  background:#0f172a;
  padding:25px;
  border-radius:24px;
  border:2px solid rgba(255,255,255,0.08);
  box-shadow:0 20px 50px rgba(0,0,0,0.45);
}

canvas{
  border-radius:16px;
  background:white;
  display:block;
}

.preview-text{
  margin-top:20px;
  text-align:center;
  color:#cbd5e1;
  line-height:1.8;
}

/* FOOTER */

.site-footer{
  margin-top:60px;
  background:#020617;
  padding:35px 20px;
  text-align:center;
  color:#94a3b8;
  border-top:1px solid rgba(255,255,255,0.08);
}

/* RESPONSIVE */

@media(max-width:1100px){

.wrap{
  grid-template-columns:1fr;
}

}

@media(max-width:850px){

.menu-toggle{
  display:block;
}

.nav{
  display:none;
  position:absolute;
  top:90px;
  left:0;
  width:100%;
  flex-direction:column;
  background:#0f172a;
  padding:20px;
}

.nav.active{
  display:flex;
}

.page-title h2{
  font-size:38px;
}

}

@media(max-width:600px){

.page-title h2{
  font-size:30px;
}

.frame canvas{
  width:100% !important;
  height:auto !important;
}

.row{
  flex-direction:column;
}

}

