:root{
  --bg:#f8fafc;
  --panel:#ffffff;
  --muted:#4b5563;
  --text:#1f2937;
  --accent:#22d3ee;
  --accent-2:#3b82f6;
  --card:#f1f5f9;
  --ring: rgba(34, 211, 238, .45);
  --max:1200px;
  --radius:20px;
  --shadow:0 4px 10px rgba(0,0,0,.1);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  padding:0 40px;     
}

.container{
  width:100%;
  max-width:var(--max);
  margin:auto;
  padding:40px;             
}

/* Header (shared) */
.site-header{
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.2) blur(10px);
  background: #ffffffcc;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.nav{
  position: relative;               /* needed for absolute mobile menu */
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; padding: 0 40px;
}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--text)}
.brand img{height:42px; width:auto; border-radius:8px}

/* Right-aligned nav links (desktop default) */
#mainNav ul{display:flex; gap:22px; list-style:none; margin:0; padding:0}
#mainNav a{color:var(--text); text-decoration:none; font-weight:500; opacity:.9}
#mainNav a:hover{color:var(--accent-2)}

/* Hamburger button (hidden on desktop) */
.mobile-toggle{
  display: none;
  background: transparent;
  border: none;
  font-size: 26px;
  line-height: 1;
  color: var(--text);
  padding: 6px 8px;
  border-radius: 8px;
  margin-left: 12px;
  cursor: pointer;
}

/* Mobile behavior */
@media (max-width: 900px){
  .mobile-toggle{ display: block; }

  /* Start hidden; becomes a dropdown when .open is added */
  #mainNav{
    position: absolute;
    top: 72px;            /* sits just below the header bar */
    right: 0;
    left: 0;
    display: none;
    background: #fff;
    border-top: 1px solid rgba(0,0,0,.1);
    box-shadow: var(--shadow);
    overflow: hidden;

    /* slide-down animation */
    max-height: 0;
    opacity: 0;
    transition: max-height .3s ease, opacity .25s ease;
  }
  #mainNav ul{
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
  }
  #mainNav.open{
    display: block;
    max-height: 260px;    /* enough for three links; adjust if you add more */
    opacity: 1;
  }
}

/* Hero */
.hero{padding:80px 0 40px}
.hero h1{font-size:clamp(28px,4.2vw,54px); line-height:1.15; margin:0 0 14px; letter-spacing:.3px}
.hero p.sub{color:var(--muted); margin:0}

/* Hooks */
.hooks{display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin:34px 0 32px}
.hook{
  background:var(--card);
  border:1px solid rgba(0,0,0,.08);
  border-radius:var(--radius);
  padding:24px;
  box-shadow:var(--shadow)
}
.hook h3{margin:0 0 6px; font-size:18px}
.hook p{margin:0; color:var(--muted); font-size:14px}

/* Showcase */
.showcase .frame {
  position: relative;
  height: 320px;
  border-radius: 22px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.showcase img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease;
}

.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  border: none;
  font-size: 2rem;
  padding: 0 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.arrow:hover {
  background: rgba(255, 255, 255, 1);
}

.arrow.left { left: 10px; }
.arrow.right { right: 10px; }


/* CTA */
.cta{display:grid; place-items:center; text-align:center; padding:40px 0 20px}
.cta h2{margin:0 0 14px; font-size:clamp(22px,3vw,34px)}
.btns{display:flex; gap:14px; flex-wrap:wrap}
.btn{display:inline-flex; align-items:center; gap:10px; padding:12px 18px; border-radius:12px; text-decoration:none; font-weight:600; transition:.2s ease; border:1px solid transparent}
.btn-primary{background:linear-gradient(135deg,var(--accent),var(--accent-2)); color:white}
.btn-primary:hover{transform:translateY(-2px)}
.btn-secondary{background:transparent; border-color:rgba(0,0,0,.2); color:var(--text)}
.btn-secondary:hover{border-color:rgba(0,0,0,.5); transform:translateY(-2px)}

/* Footer (shared) */
.site-footer{margin-top:60px; padding:40px; border-top:1px solid rgba(0,0,0,.1); background:#ffffffee}
.footer-grid{display:grid; grid-template-columns:2fr 1fr 1fr; gap:26px}
.footer-left .address{color:var(--muted)}
.footer-col h4{margin:0 0 12px; color:var(--text)}
.footer-col a{color:var(--text); text-decoration:none; opacity:.9}
.footer-col a:hover{color:var(--accent-2)}

/* Responsive */
@media (max-width: 900px){
  .container{padding:24px}
  body{padding:0 20px}

  /* mobile nav */
  nav ul{display:none}
  .mobile-toggle{display:inline-block}

  .hooks{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr; gap:10px}
  .showcase .frame{height:240px}
}

/* Reveal animation */
.reveal{opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease}
.reveal.show{opacity:1; transform:none}

/* Page title + card */
.page-title { margin: 0 0 18px; }
.card { background: var(--panel); border: 1px solid rgba(0,0,0,.08); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-weight: 600; }
.field input, .field select, .field textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.14); background: #fff; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.help { margin-top: 4px; font-size: 12px; }

.span-2 { grid-column: span 2; }
.span-3 { grid-column: span 3; }

.actions { display: flex; justify-content: flex-end; margin-top: 10px; }

/* Notices */
.notice { margin-top: 12px; padding: 12px 14px; border-radius: 10px; border: 1px solid; }
.notice.error { background: #fff5f5; border-color: #fecaca; color: #991b1b; }
.notice.success { background: #f0fdf4; border-color: #bbf7d0; color: #14532d; }
.hidden { display: none; }

/* Responsive */
@media (max-width: 900px) {
  .form-grid { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: span 1; }
}

/* Plan cards */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.plan {
  display: block;
  cursor: pointer;
}
.plan input { display: none; }
.plan-body {
  background: #fff;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 12px;
  padding: 14px;
  display: grid;
  gap: 4px;
  box-shadow: var(--shadow);
}
.plan-body strong { font-weight: 700; }
.plan-body span { color: var(--muted); font-size: 14px; }
.plan input:checked + .plan-body {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}

/* Extras checkboxes */
.extras { display: grid; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { transform: scale(1.2); }

/* Price box */
.price-box {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--panel);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 14px 16px;
}
#priceTotal { font-size: 20px; font-weight: 700; margin-left: 10px; }

/* Responsive */
@media (max-width: 900px){
  .plan-grid { grid-template-columns: 1fr; }
}

/* Vertical form (Contact) */
.form-vertical { display: grid; gap: 14px; }
.form-vertical .field { display: flex; flex-direction: column; gap: 8px; }
.form-vertical textarea {
  padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(0,0,0,.14);
  background: #fff; color: var(--text); resize: vertical;
}
.form-vertical textarea:focus {
  outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}


.pricing-section {
  padding: 60px 0;
  text-align: center;
}

.pricing-title {
  font-size: 2rem;
  margin-bottom: 10px;
}

.pricing-subtitle {
  margin-bottom: 40px;
  font-size: 1rem;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.price-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px;
  width: 260px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: left;
}

.price-card h3 {
  margin-bottom: 10px;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
}

.desc {
  color: #555;
}

.extras-list {
  padding-left: 20px;
  line-height: 1.6;
}

.pricing-cta {
  margin-top: 40px;
}