/* Deerfield Web Design - Site Styles (v6)
   Theme: purple + deep navy with gold/yellow accents
*/
:root{
  --bg0:#070816;
  --bg1:#0b1030;
  --bg2:#1a1246;

  --text:#f5f7ff;
  --muted:#cfd6ff;
  --muted2:#a9b4ff;

  --purple:#7c4dff;
  --purple2:#b06cff;
  --blue:#2f7cff;

  --gold:#f6c453;
  --gold2:#d6a83c;
  --yellow:#ffe07a;

  --shadow: 0 18px 42px rgba(0,0,0,.48);
  --radius: 18px;
  --radius2: 26px;
  --max: 1120px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--text);
  background:
    radial-gradient(1100px 760px at 15% 8%, rgba(124,77,255,.24), transparent 60%),
    radial-gradient(960px 640px at 90% 18%, rgba(47,124,255,.18), transparent 58%),
    radial-gradient(860px 560px at 45% 92%, rgba(246,196,83,.12), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 35%, var(--bg2));
  min-height:100vh;
}

a{color:inherit}
code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}
.container{max-width:var(--max); margin:0 auto; padding:0 20px}
.skip-link{position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;}
.skip-link:focus{left:18px; top:18px; width:auto; height:auto; padding:10px 12px; background:#fff; color:#000; border-radius:10px; z-index:9999;}

header{
  position:sticky; top:0; z-index:50;
  background: rgba(7,8,22,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  gap:18px; padding:14px 0;
}
.brand{display:flex; align-items:center; gap:12px; text-decoration:none;}
.brand-mark{
  height:46px;
  padding:6px 10px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(124,77,255,.35), rgba(47,124,255,.22));
  display:flex; align-items:center; justify-content:center;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}
.brand-mark img{
  height:28px;
  width:auto;
  display:block;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.25));
}
.brand-text{display:flex; flex-direction:column; line-height:1.05;}
.brand-text strong{font-size:1.05rem; letter-spacing:.2px}
.brand-text small{color:var(--muted2); font-weight:700; letter-spacing:.22em; text-transform:uppercase}

.navlinks{display:flex; align-items:center; gap:16px;}
.navlinks a{
  text-decoration:none; color:var(--muted); font-weight:700;
  padding:10px 12px; border-radius:14px; border:1px solid transparent;
}
.navlinks a:hover{color:#fff; border-color: rgba(255,255,255,.10); background: rgba(255,255,255,.04);}
.navlinks a[aria-current="page"]{
  color:#fff;
  border-color: rgba(246,196,83,.35);
  background: rgba(246,196,83,.08);
}

.nav-cta{display:flex; align-items:center; gap:10px;}
.btn{
  appearance:none; border:0; cursor:pointer;
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:11px 14px;
  border-radius: 14px;
  font-weight:800;
  text-decoration:none;
  transition: transform .12s ease, filter .12s ease, background .12s ease, border .12s ease;
  user-select:none; white-space:nowrap;
}
.btn:active{transform: translateY(1px) scale(.99)}
.btn-primary{
  background: linear-gradient(135deg, var(--gold), var(--purple2));
  color:#101019;
  box-shadow: 0 14px 34px rgba(246,196,83,.16), 0 12px 26px rgba(124,77,255,.14);
}
.btn-primary:hover{filter: brightness(1.06)}
.btn-ghost{
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color:#fff;
}
.btn-ghost:hover{background: rgba(255,255,255,.09)}
.mobile-toggle{display:none}

.hero{padding: 54px 0 28px;}
.hero-grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:26px; align-items:stretch;}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(2rem, 2.4vw + 1.4rem, 3.25rem);
  line-height:1.06; letter-spacing:-.02em;
}
.hero p{margin:0 0 18px; color:var(--muted); font-size: 1.08rem; line-height:1.6;}
.hero-badges{display:flex; flex-wrap:wrap; gap:10px; margin: 18px 0 22px;}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 12px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--muted); font-weight:700;
}
.badge b{color:#fff}

.hero-card{
  border-radius: var(--radius2);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-card::before{
  content:"";
  position:absolute; inset:-1px;
  background:
    radial-gradient(650px 290px at 70% 0%, rgba(246,196,83,.20), transparent 60%),
    radial-gradient(520px 260px at 0% 50%, rgba(124,77,255,.22), transparent 60%);
  pointer-events:none;
}
.hero-card-inner{position:relative; padding: 18px;}
.logo-frame{
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(520px 260px at 20% 25%, rgba(255,224,122,.14), transparent 60%),
    radial-gradient(520px 260px at 80% 65%, rgba(124,77,255,.16), transparent 60%),
    rgba(0,0,0,.18);
  box-shadow: 0 18px 34px rgba(0,0,0,.35);
}
.logo-frame img{width:100%; height:auto; display:block; filter: drop-shadow(0 12px 12px rgba(0,0,0,.30));}
.hero-card h2{margin: 16px 0 8px; font-size:1.15rem;}
.hero-card p{margin:0; color: var(--muted); line-height:1.55;}

.section{padding: 30px 0;}
.section h2{margin: 0 0 12px; font-size: 1.65rem;}
.section p.lead{margin:0 0 18px; color: var(--muted); line-height:1.6;}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px;}
.card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 30px rgba(0,0,0,.28);
  padding: 16px;
}
.card h3{margin: 6px 0 8px; font-size:1.12rem}
.card p{margin:0; color:var(--muted); line-height:1.55}
.icon{
  width:42px; height:42px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(246,196,83,.12);
  border:1px solid rgba(246,196,83,.30);
  color: var(--yellow);
  font-weight: 900;
}
.card .meta{margin-top:12px; display:flex; gap:10px; flex-wrap:wrap; color: var(--muted2); font-size:.95rem;}
.pill{padding:7px 10px; border-radius:999px; border:1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05);}

.split{display:grid; grid-template-columns: 1fr 1fr; gap:16px;}
.panel{
  border-radius: var(--radius2);
  background: linear-gradient(135deg, rgba(124,77,255,.12), rgba(47,124,255,.10));
  border:1px solid rgba(255,255,255,.12);
  padding: 18px;
  box-shadow: var(--shadow);
}
.panel h3{margin:0 0 8px}
.panel p{margin:0; color:var(--muted); line-height:1.6}
.panel ul{margin: 12px 0 0; padding-left: 18px; color: var(--muted)}
.panel li{margin:8px 0}

.pricing{display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; align-items:stretch;}
.price-card{
  padding: 18px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  position:relative; overflow:hidden;
}
.price-card.featured{
  border-color: rgba(246,196,83,.40);
  background: linear-gradient(180deg, rgba(246,196,83,.10), rgba(255,255,255,.03));
}
.price-card h3{margin:0 0 6px}
.price{font-size:2.2rem; letter-spacing:-.02em; margin: 10px 0 6px;}
.price small{font-size: .95rem; color: var(--muted2); font-weight: 700;}
.price-note{color: var(--muted); margin:0 0 12px; line-height:1.55;}
.features{margin: 0; padding-left: 18px; color: var(--muted)}
.features li{margin:8px 0}
.kicker{
  display:inline-flex; align-items:center; gap:8px;
  padding: 8px 10px;
  border-radius:999px;
  border:1px solid rgba(246,196,83,.35);
  background: rgba(246,196,83,.10);
  color: var(--yellow);
  font-weight:900;
  font-size:.9rem;
}

.cta{padding: 28px 0 46px;}
.cta-box{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background:
    radial-gradient(700px 300px at 0% 0%, rgba(124,77,255,.25), transparent 60%),
    radial-gradient(700px 300px at 100% 100%, rgba(246,196,83,.18), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  padding: 20px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.cta-box h2{margin:0; font-size:1.35rem}
.cta-box p{margin:6px 0 0; color: var(--muted); line-height:1.55}
.cta-actions{display:flex; gap:10px; flex-wrap:wrap}

footer{
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(7,8,22,.55);
  padding: 22px 0;
  color: var(--muted2);
}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:16px; align-items:flex-start;}
.footer-grid a{color: var(--muted); text-decoration:none}
.footer-grid a:hover{color:#fff}
.small{font-size:.95rem; line-height:1.55}
.footer-links{display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end}

.page-title{padding: 34px 0 8px;}
.page-title h1{margin:0 0 10px; font-size:2.2rem}
.page-title p{margin:0; color: var(--muted); line-height:1.6; max-width:70ch}

.work-grid{display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px;}
.work{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.work .thumb{
  height: 180px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.10);
  position:relative;
  background: rgba(255,255,255,.04);
}
.work .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.work .thumb::after{
  content:"Preview";
  position:absolute; right:12px; top:12px;
  padding:7px 10px;
  border-radius:999px;
  background: rgba(7,8,22,.55);
  border:1px solid rgba(255,255,255,.12);
  color: var(--muted);
  font-weight:800;
}

.work .thumb.has-image{background:none;}
.work .thumb.has-image::after{content:"Sample";}
.work .thumb.has-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.05) contrast(1.02);
}
.work-actions{
  margin-top:12px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.btn-small{
  padding:10px 12px;
  font-size:.95rem;
}
.work .body{padding: 14px 16px 16px}
.work h3{margin:0 0 6px}
.work p{margin:0; color:var(--muted); line-height:1.55}
.work .tags{margin-top:10px; display:flex; gap:8px; flex-wrap:wrap}
.tag{
  padding:6px 9px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted2);
  font-weight:700;
  font-size:.9rem;
}

.faq details{
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  padding: 12px 14px;
  margin: 10px 0;
}
.faq summary{cursor:pointer; font-weight: 900;}
.faq p{margin:10px 0 0; color: var(--muted); line-height:1.6}

.notice{
  border-radius: var(--radius);
  border:1px dashed rgba(246,196,83,.45);
  background: rgba(246,196,83,.08);
  padding: 12px 14px;
  color: var(--muted);
}

input, textarea, select{
  font: inherit;
}
@media (max-width: 940px){
  .work .thumb{height: 160px;}

  .hero-grid{grid-template-columns:1fr;}
  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .pricing{grid-template-columns:1fr}
  .work-grid{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr}
  .footer-links{justify-content:flex-start}
  .navlinks{display:none}
  .mobile-toggle{display:inline-flex}
  .nav{gap:10px}
}
.mobile-drawer{display:none; border-top:1px solid rgba(255,255,255,.10);}
.mobile-drawer.open{display:block}
.mobile-drawer a{
  display:block;
  padding: 14px 0;
  text-decoration:none;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: var(--muted);
  font-weight:800;
}
.mobile-drawer a:hover{color:#fff}

/* Examples page: show more of each image (zoomed out) */
.examples-page .work .thumb{
  height: 150px;               /* shorter */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background:
    radial-gradient(520px 240px at 20% 30%, rgba(124,77,255,.18), transparent 60%),
    radial-gradient(520px 240px at 80% 60%, rgba(246,196,83,.14), transparent 60%),
    rgba(255,255,255,.03);
}
.examples-page .work .thumb img{
  width: 100%;
  height: 100%;
  object-fit: contain;         /* key: no crop, wider perspective */
  border-radius: 12px;
}
@media (max-width: 940px){
  .examples-page .work .thumb{height: 130px;}
}


/* Preview button */
.preview-btn{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.4);
  background:rgba(7,8,22,.75);
  color:#fff;
  font-weight:800;
  cursor:pointer;
}
.preview-btn:hover{background:rgba(7,8,22,.9)}

/* Lightbox (modal preview) */
.lightbox{
  position: fixed !important;
  inset: 0 !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 9999 !important;
}
.lightbox.open{display:flex !important;}
.lightbox-backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.72);
}
.lightbox-content{
  position:relative;
  width:min(1100px, 92vw);
  max-height: 86vh;
  background: rgba(0,0,0,.92);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  box-shadow: 0 28px 70px rgba(0,0,0,.65);
  padding: 10px;
  z-index: 10000;
}
.lightbox-content img{
  width:100%;
  height:auto;
  max-height: 76vh;
  object-fit: contain;
  display:block;
  border-radius: 12px;
}
.lightbox-close{
  position:absolute;
  top:8px;
  right:10px;
  width:40px;
  height:40px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
  color:#fff;
  font-size: 26px;
  line-height: 36px;
  cursor:pointer;
}
.lightbox-close:hover{background:rgba(255,255,255,.10)}
