@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@400;500;600;700&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  --bg:#ffffff; --ink:#0f172a; --muted:#475569; --line:#e2e8f0; --card:rgba(255,255,255,.6);
  --accent:#0f172a;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{background:var(--bg);color:var(--ink);font-family:'Source Sans 3',-apple-system,BlinkMacSystemFont,sans-serif;font-size:16px;line-height:1.6;position:relative;}
/* fixed behind the whole page so the starfall streaks run under every section */
#starfall{position:fixed;inset:0;z-index:0;width:100%;height:100%;pointer-events:none;}
.site-header,section,footer{position:relative;z-index:1;}
h1,h2,h3,.logo{font-family:'Lexend',sans-serif;}
a{color:inherit;text-decoration:none;}
.wrap{max-width:1100px;margin:0 auto;padding:0 24px;}
section{padding:64px 0;border-top:1px solid var(--line);}
@media(min-width:768px){ section{padding:88px 0;} }
.kicker{color:#64748b;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;display:block;margin-bottom:16px;}
h2{font-size:1.9rem;font-weight:600;letter-spacing:-0.01em;margin-bottom:20px;max-width:640px;}
.lead{color:var(--muted);font-size:1.05rem;max-width:640px;margin-bottom:32px;}

/* header */
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,255,255,.75);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);}
.site-header .wrap{position:relative;}
.site-header .wrap{display:flex;align-items:center;justify-content:space-between;padding-top:18px;padding-bottom:18px;}
.logo{font-size:1.05rem;font-weight:600;}
.logo span{color:var(--muted);font-weight:400;}
.nav{display:none;}
.nav.open{
  display:flex;flex-direction:column;gap:2px;position:absolute;top:100%;left:0;right:0;
  background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid var(--line);
  padding:8px 24px 16px;
}
.nav.open a,.nav.open .btn{padding:14px 2px;}
.nav a{color:var(--muted);font-size:.92rem;transition:color .2s;}
.nav a:hover{color:var(--ink);}
.nav-phone{color:var(--ink)!important;}
.nav a.btn-primary{color:#fff;}
.nav a.btn-primary:hover{color:#fff;}
.nav-toggle{display:block;background:none;border:none;color:var(--ink);font-size:1.4rem;cursor:pointer;}
@media(min-width:900px){ .nav{display:flex;align-items:center;gap:24px;position:static;background:none;backdrop-filter:none;border:none;padding:0;} .nav.open{flex-direction:row;} .nav-toggle{display:none;} }

/* buttons */
.btn{display:inline-block;padding:14px 26px;font-size:.95rem;font-weight:500;border:1px solid var(--line);border-radius:8px;cursor:pointer;transition:background .2s,color .2s,border-color .2s,transform .15s;}
.btn:hover{transform:translateY(-1px);}
.btn-primary{background:#0f172a;color:#fff;border-color:#0f172a;}
.btn-primary:hover{background:#1e293b;}
.btn-ghost{background:rgba(15,23,42,.04);color:var(--ink);border-color:var(--line);}
.btn-ghost:hover{border-color:#0f172a;background:rgba(15,23,42,.08);}
.btn-small{padding:9px 16px;font-size:.85rem;}

/* hero */
.hero{border-top:none;padding-top:88px;}
.hero h1{font-size:2.2rem;font-weight:600;letter-spacing:-0.02em;line-height:1.15;max-width:820px;}
.hero h1 em{font-style:normal;background:linear-gradient(95deg,#38bdf8,#3b82f6,#6d5cf5);-webkit-background-clip:text;background-clip:text;color:transparent;}
.hero p{color:var(--muted);font-size:1.1rem;max-width:680px;margin:22px 0;line-height:1.7;}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap;margin-top:8px;}
.hero-note{color:#64748b;font-size:.85rem;margin-top:18px;}
@media(min-width:768px){ .hero h1{font-size:3rem;} }

/* problem */
.problem p{font-size:1.15rem;color:var(--muted);max-width:820px;line-height:1.7;}
.problem strong{color:var(--ink);font-weight:600;}

.section-soft{background:rgba(15,23,42,.03);backdrop-filter:blur(6px);}

/* cards */
.grid-3{display:grid;grid-template-columns:1fr;gap:16px;margin-top:8px;}
@media(min-width:768px){ .grid-3{grid-template-columns:repeat(3,1fr);} }
.card{background:var(--card);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:14px;padding:28px 24px;}
.card .icon{font-size:1.6rem;margin-bottom:14px;}
.card h3{font-size:1.1rem;font-weight:600;margin-bottom:10px;}
.card p{color:var(--muted);font-size:.95rem;line-height:1.65;}

/* pricing */
.tiers{display:grid;grid-template-columns:1fr;gap:20px;margin-top:24px;}
@media(min-width:700px){ .tiers{grid-template-columns:repeat(2,1fr);} }
@media(min-width:1150px){ .tiers{grid-template-columns:repeat(4,1fr);} }
.tier{background:var(--card);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:16px;padding:32px 26px;position:relative;display:flex;flex-direction:column;}
.tier-popular{border-color:#3b82f6;}
.tier-badge{position:absolute;top:-13px;left:26px;background:#3b82f6;color:#fff;font-size:.72rem;font-weight:600;padding:5px 12px;border-radius:999px;letter-spacing:.02em;}
.tier h3{font-size:1.2rem;font-weight:600;margin-bottom:8px;}
.tier-tag{color:var(--muted);font-size:.9rem;margin-bottom:18px;}
.price{font-size:1.9rem;font-weight:600;font-family:'Lexend',sans-serif;}
.price small{display:block;font-size:1rem;color:var(--muted);font-weight:400;margin-top:4px;}
@media(min-width:1150px){ .price{font-size:1.6rem;} }
.price-sub{color:#64748b;font-size:.8rem;margin-bottom:20px;}
.tier ul{list-style:none;margin-bottom:26px;flex-grow:1;}
.tier li{color:var(--muted);font-size:.92rem;padding:8px 0;border-top:1px solid var(--line);}
.tier li:first-child{border-top:none;padding-top:0;}
.tier .btn{text-align:center;}
.addons{margin-top:40px;display:flex;flex-direction:column;gap:10px;padding:24px;background:var(--card);backdrop-filter:blur(10px);border:1px solid var(--line);border-radius:14px;font-size:.92rem;color:var(--muted);}
.addons strong{color:var(--ink);}
.pricing-note{margin-top:18px;color:#64748b;font-size:.85rem;}

/* how it works */
.steps{display:grid;grid-template-columns:1fr;gap:24px;margin-top:8px;}
@media(min-width:768px){ .steps{grid-template-columns:repeat(4,1fr);} }
.step .num{width:34px;height:34px;border-radius:50%;background:#0f172a;color:#fff;font-weight:600;font-family:'Lexend',sans-serif;display:flex;align-items:center;justify-content:center;margin-bottom:16px;}
.step h3{font-size:1.05rem;font-weight:600;margin-bottom:8px;}
.step p{color:var(--muted);font-size:.92rem;line-height:1.6;}

/* why */
.why .lead{max-width:820px;font-size:1.05rem;}

/* faq */
.faq-list{max-width:760px;}
.faq-item{border-top:1px solid var(--line);padding:18px 0;}
.faq-item:first-child{border-top:none;}
.faq-item summary{cursor:pointer;font-weight:500;font-size:1rem;list-style:none;position:relative;padding-right:24px;}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-item summary::after{content:'+';position:absolute;right:0;top:0;color:var(--muted);font-size:1.2rem;}
.faq-item[open] summary::after{content:'−';}
.faq-item p{color:var(--muted);margin-top:12px;font-size:.95rem;line-height:1.65;}

/* contact */
.contact-grid{display:grid;grid-template-columns:1fr;gap:36px;margin-top:24px;}
@media(min-width:900px){ .contact-grid{grid-template-columns:1.2fr 1fr;} }
.contact-form{display:flex;flex-direction:column;}
.contact-form label{font-size:.8rem;color:var(--muted);margin:16px 0 6px;}
.contact-form label:first-of-type{margin-top:0;}
.contact-form input,
.contact-form textarea{
  width:100%;background:var(--card);backdrop-filter:blur(10px);border:1px solid var(--line);color:var(--ink);
  padding:12px;font-size:1rem;font-family:inherit;border-radius:8px;resize:vertical;
}
.contact-form input:focus,
.contact-form textarea:focus{border-color:#94a3b8;outline:none;}
.contact-form button{margin-top:22px;}
.form-status{margin-top:12px;font-size:.875rem;min-height:1.3em;}
.form-status.success{color:#16a34a;}
.form-status.error{color:#dc2626;}
.contact-aside p{color:var(--muted);margin-bottom:10px;}
.big-mail{color:var(--ink);font-size:1.15rem;font-weight:500;}

/* portfolio page */
.page-hero{border-top:none;padding-top:88px;padding-bottom:24px;}
.page-hero h1{font-size:2.2rem;font-weight:600;letter-spacing:-0.02em;line-height:1.15;max-width:720px;}
.page-hero p{color:var(--muted);font-size:1.1rem;max-width:640px;margin-top:18px;line-height:1.7;}
@media(min-width:768px){ .page-hero h1{font-size:3rem;} }

.work-grid{display:grid;grid-template-columns:1fr;gap:24px;margin-top:32px;}
@media(min-width:768px){ .work-grid{grid-template-columns:repeat(2,1fr);} }
.work-card{
  display:block;background:var(--card);backdrop-filter:blur(10px);border:1px solid var(--line);
  border-radius:16px;overflow:hidden;transition:transform .2s,border-color .2s,box-shadow .2s;
}
a.work-card:hover{transform:translateY(-3px);border-color:#94a3b8;box-shadow:0 14px 34px rgba(15,23,42,.1);}
.work-preview{position:relative;background:#eef2f7;}
.browser-bar{
  display:flex;align-items:center;gap:6px;padding:10px 12px;background:#e2e8f0;
}
.browser-bar i{width:8px;height:8px;border-radius:50%;background:#94a3b8;display:inline-block;}
.browser-bar .url{margin-left:8px;font-size:.75rem;color:#64748b;font-family:'Lexend',sans-serif;}
.work-preview img{width:100%;display:block;aspect-ratio:16/10;object-fit:cover;object-position:top;}
.preview-soon{aspect-ratio:16/10;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#eef2f7,#e2e8f0);}
.mock-center{text-align:center;}
.mock-sub{color:#64748b;font-size:.9rem;font-weight:500;}
.work-body{padding:22px 24px;}
.work-body h3{font-size:1.2rem;font-weight:600;margin:10px 0 6px;}
.work-body .meta{color:#64748b;font-size:.82rem;margin-bottom:10px;}
.work-body p{color:var(--muted);font-size:.94rem;line-height:1.6;}
.tag{font-size:.72rem;font-weight:600;letter-spacing:.04em;text-transform:uppercase;padding:4px 10px;border-radius:999px;display:inline-block;}
.tag-live{background:rgba(22,163,74,.12);color:#15803d;}
.tag-soon{background:rgba(15,23,42,.06);color:#475569;}

/* footer */
.site-footer{padding:32px 0;}
.site-footer .wrap{display:flex;flex-direction:column;gap:12px;color:#64748b;font-size:.85rem;}
.site-footer a{color:var(--muted);}
.site-footer a:hover{color:var(--ink);}
@media(min-width:768px){ .site-footer .wrap{flex-direction:row;justify-content:space-between;} }

/* scroll-reveal */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s cubic-bezier(.22,1,.36,1),transform .6s cubic-bezier(.22,1,.36,1);}
.reveal.in{opacity:1;transform:translateY(0);}
@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none;}
}
