/* Cutskills landing — external CSS (polished)
   - Better vertical rhythm
   - Improved text readability
   - Stronger nav separation
   - Premium hover/lift interactions
   - Better focus styles
   - Mobile density tuned down
*/

:root{
  --bg: #0b1020;
  --panel: rgba(255,255,255,0.06);
  --panel2: rgba(255,255,255,0.08);
  --text: rgba(255,255,255,0.92);
  --muted: rgba(255,255,255,0.76);     /* slightly brighter for readability */
  --muted2: rgba(255,255,255,0.60);    /* slightly brighter for readability */
  --border: rgba(255,255,255,0.13);    /* slightly stronger border */
  --border2: rgba(255,255,255,0.18);
  --brand: #7c5cff;
  --brand2:#38bdf8;
  --ok: #22c55e;
  --warn: #fbbf24;

  --shadow: 0 12px 40px rgba(0,0,0,0.35);
  --shadow2: 0 18px 54px rgba(0,0,0,0.36);

  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;

  --ease: cubic-bezier(.2,.8,.2,1);
}

*{ box-sizing: border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:
    radial-gradient(1200px 800px at 10% 10%, rgba(124,92,255,0.28), transparent 58%),
    radial-gradient(900px 600px at 90% 10%, rgba(56,189,248,0.18), transparent 58%),
    radial-gradient(900px 700px at 50% 120%, rgba(34,197,94,0.08), transparent 62%),
    #0b1020;
  color: var(--text);
  line-height: 1.55; /* improved default readability */
}

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

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
.nav{
  position: sticky;
  top:0;
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,0.72);             /* stronger separation */
  border-bottom: 1px solid rgba(255,255,255,0.16);
  z-index: 30;
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.logo{
  width:34px;
  height:34px;
  background: linear-gradient(135deg, var(--brand), var(--brand2));
  box-shadow: 0 10px 28px rgba(124,92,255,0.25);
  background-image: url(../assets/icon32.png);
}

.nav-links{
  display:flex;
  gap:14px;
  flex-wrap: wrap;
  align-items:center;
}

.nav-links a{
  color: var(--muted);
  font-weight: 650;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background .2s var(--ease), color .2s var(--ease);
}

.nav-links a:hover{
  background: rgba(255,255,255,0.06);
  text-decoration:none;
  color: var(--text);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-weight: 750;
  font-size: 14px;
  box-shadow: none;
  transition: transform .12s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
  cursor:pointer;
  user-select:none;
}

.btn:hover{
  background: rgba(255,255,255,0.10);
  border-color: rgba(255,255,255,0.18);
  text-decoration:none;
}

.btn:active{
  transform: translateY(1px);
}

.btn:focus-visible{
  outline: 3px solid rgba(56,189,248,0.45);
  outline-offset: 2px;
}

.btn-primary{
  border-color: rgba(124,92,255,0.55);
  background: linear-gradient(135deg, rgba(124,92,255,0.98), rgba(56,189,248,0.82));
  box-shadow: 0 18px 54px rgba(124,92,255,0.24); /* stronger */
}

.btn-primary:hover{
  border-color: rgba(124,92,255,0.70);
  background: linear-gradient(135deg, rgba(124,92,255,1), rgba(56,189,248,0.95));
  box-shadow: 0 22px 64px rgba(124,92,255,0.26);
}

.btn-ghost{
  background: transparent;
}

/* Hero */
.hero{
  padding: 66px 0 24px; /* slightly tighter bottom */
}

.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

.kdot{
  width:10px;
  height:10px;
  border-radius: 999px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(34,197,94,0.12);
}

h1{
  margin: 14px 0 10px;
  font-size: clamp(30px, 4.2vw, 50px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  max-width: 20ch;
}

.sub{
  color: var(--muted);
  font-size: 17px;
  max-width: 62ch;
  line-height: 1.6; /* improved readability */
}

.hero-cta{
  display:flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.trust{
  margin-top: 14px;
  color: var(--muted2);
  font-size: 13px;
  display:flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust span{
  display:inline-flex;
  gap:8px;
  align-items:center;
}

.chip{
  width: 18px;
  height:18px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  display:inline-block;
}

/* Hero card */
.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.045));
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.hero-card .top{
  padding: 16px 16px 0;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 12px;
}

.pill{
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  font-weight: 650;
}

.dots{
  display:flex;
  gap:6px;
  align-items:center;
}

.dot{
  width:10px;
  height:10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
}

.preview{
  padding: 14px 16px 16px;
}

.mock{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    radial-gradient(400px 260px at 30% 30%, rgba(124,92,255,0.18), transparent 60%),
    radial-gradient(460px 260px at 70% 20%, rgba(56,189,248,0.14), transparent 60%),
    rgba(0,0,0,0.25);
  min-height: 290px;
  padding: 16px;
}

.mock h3{
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 750;
}

.mock .row{
  display:flex;
  gap:10px;
  align-items:center;
  margin: 10px 0;
}

.bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  flex:1;
  overflow:hidden;
}

.fill{
  height: 100%;
  width: var(--w, 55%);
  background: linear-gradient(90deg, rgba(124,92,255,0.95), rgba(56,189,248,0.90));
}

.tag{
  font-size: 12px;
  color: var(--text);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
}

.muted{ color: var(--muted); }
.small{ font-size: 12px; color: var(--muted2); line-height: 1.6; }

/* Sections */
section{
  padding: 56px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
section:first-of-type{ border-top: none; }

.section-title{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-title h2{
  margin:0;
  font-size: 22px;
  letter-spacing:-0.2px;
}

.section-title p{
  margin: 0;
  color: var(--muted);
  max-width: 66ch;
  line-height: 1.6;
}

/* Cards + interactive polish */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.card{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 14px; /* slightly tighter */
  transition: transform .14s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: var(--border2);
  box-shadow: 0 10px 30px rgba(0,0,0,0.22);
}

.card h3{
  margin: 0 0 8px;
  font-size: 15px;
}

.card p{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.card, .price-card, details{
  background: rgba(255,255,255,0.055);
  border-color: rgba(255,255,255,0.14);
}
.card:hover, .price-card:hover, details:hover{
  background: rgba(255,255,255,0.075);
  border-color: rgba(255,255,255,0.20);
}

.icon{
  width: 40px;
  height:40px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
}

.icon svg{ opacity: 0.9; }

/* How it works */
.how{
  display:grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.step{
  display:flex;
  gap: 14px;
  align-items:flex-start;
}

.num{
  min-width: 38px;
  height:38px;
  border-radius: 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(124,92,255,0.18);
  border: 1px solid rgba(124,92,255,0.35);
  font-weight: 850;
}

/* Media placeholders */
.media{
  display:grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 14px;
}

.ph{
  min-height: 280px;
  border-radius: var(--radius);
   background:
    radial-gradient(520px 240px at 20% 20%, rgba(124,92,255,0.12), transparent 60%),
    rgba(255,255,255,0.03);
  border: 1px dashed rgba(255,255,255,0.22);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 18px;
  color: var(--muted);
}

.ph strong{ color: var(--text); }
.ph small{
  color: var(--muted2);
  display:block;
  margin-top: 8px;
  line-height: 1.6;
}

/* Pricing */
.pricing{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: stretch;
}

.price-card {
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 18px;
  background: rgba(255,255,255,0.05);
  transition: transform .14s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.price-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: var(--border2);
  box-shadow: 0 12px 36px rgba(0,0,0,0.26);
}

.price-card.featured{
  border-color: rgba(124,92,255,0.45);
  background: linear-gradient(180deg, rgba(124,92,255,0.12), rgba(255,255,255,0.05));
  box-shadow: 0 24px 70px rgba(124,92,255,0.12);
}

.price-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 12px;
}

.plan{
  font-weight: 900;
  letter-spacing: -0.2px;
  font-size: 16px;
}

.price{
  margin-top: 8px;
  font-size: 34px;
  font-weight: 950;
  letter-spacing: -0.6px;
}

.price small{
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

ul{
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

li{ margin: 8px 0; }

.price-cta{
  margin-top: 14px;
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

/* FAQ */
.faq{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px; /* more breathing room */
}

details{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius);
  padding: 18px; /* more comfortable */
  transition: transform .14s var(--ease), background .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

details:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: var(--border2);
  box-shadow: 0 10px 28px rgba(0,0,0,0.20);
}

summary{
  cursor:pointer;
  list-style:none;
  font-weight: 800;
  color: var(--text);
  outline: none;
  font-size: 14px
}

summary::-webkit-details-marker{ display:none; }

details p{
  margin: 10px 0 0;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* CTA band */
.cta-band{
  border: 1px solid rgba(124,92,255,0.28);
  background: linear-gradient(135deg, rgba(124,92,255,0.18), rgba(56,189,248,0.10));
  border-radius: var(--radius2);
  padding: 18px;
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 14px;
  flex-wrap: wrap;
}

.cta-band h3{
  margin:0;
  font-size: 18px;
  letter-spacing:-0.2px;
}

.cta-band p{
  margin:6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
footer{
  padding: 26px 0 50px;
  color: var(--muted2);
  border-top: 1px solid var(--border);
  margin-top: 26px;
}

.foot{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items:flex-start;
}

.foot a{
  color: var(--muted);
  font-weight: 650;
  transition: color .2s var(--ease);
}

.foot a:hover{
  color: var(--text);
  text-decoration:none;
}

.foot small{
  display:block;
  margin-top: 10px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 920px){
  section{ padding: 44px 0; }
  .hero{ padding: 52px 0 18px; }

  .hero-grid{ grid-template-columns: 1fr; }
  .media{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .pricing{ grid-template-columns: 1fr; }
  .faq{ grid-template-columns: 1fr; }

  .hero-card{
    box-shadow: 0 10px 28px rgba(0,0,0,0.28); /* reduced density on mobile */
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .btn, .card, .price-card, details{ transition: none !important; }
}