/* ============================================================
   DDBHOSTING - main stylesheet
   Brand tokens live here. Adjust the variables below to match
   your exact brand hex codes — everything else follows.
   ============================================================ */
:root {
  --navy:        #0a1b3d;   /* deep navy - headers, footer, hero    */
  --navy-2:      #102a5c;   /* lighter navy panel                   */
  --blue:        #2563eb;   /* primary brand blue - buttons, links  */
  --blue-dark:   #1d4ed8;
  --sky:         #eaf1ff;   /* tint backgrounds                     */
  --ink:         #1c2434;   /* body text                            */
  --muted:       #5a6b8c;
  --line:        #dfe7f5;
  --orange:      #f26722;   /* brand orange — prices / badges        */
  --amber:       var(--orange); /* legacy alias */
  --green:       #16a34a;
  --red:         #dc2626;
  --font-display: 'Poppins', sans-serif;
  --font-body:    'Inter', sans-serif;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(10, 27, 61, .10);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.65; font-size: 16px; }
img { max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--navy); line-height: 1.2; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---- Buttons ---- */
.btn { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 15px;
  padding: 12px 26px; border-radius: 8px; border: 0; cursor: pointer; transition: .18s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); }
.btn-danger { background: var(--red); color: #fff; }
.btn-sm { padding: 7px 14px; font-size: 13px; border-radius: 6px; }
.btn-cart { background: var(--orange); color: #fff; padding: 9px 18px; border-radius: 8px; font-weight: 700; }
.cart-badge { background: var(--navy); color: #fff; border-radius: 20px; padding: 1px 8px; font-size: 12px; }

/* ---- Top bar / header ---- */
.topbar { background: var(--navy); color: #c6d4f2; font-size: 13px; }
.topbar a { color: #c6d4f2; }
.topbar a:hover { color: #fff; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; padding-top: 7px; padding-bottom: 7px; gap: 6px; flex-wrap: nowrap; }
.topbar-getintouch { display: none; }
.topbar-account { white-space: nowrap; }
@media (max-width: 640px) {
  .topbar-contact { display: none; }
  .topbar-getintouch { display: inline; white-space: nowrap; }
}

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 60; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 72px; }
.logo { font-family: var(--font-display); font-weight: 800; font-size: 24px; color: var(--navy); letter-spacing: .5px; }
.logo span { color: var(--blue); }
.logo small { color: var(--muted); font-size: 13px; font-weight: 600; }
.logo-light { color: #fff; }
.main-nav { display: flex; gap: 16px; align-items: center; }
.main-nav > a, .nav-drop > a { color: var(--navy); font-weight: 600; font-size: 15px; white-space: nowrap; }
.main-nav > a:hover, .nav-drop > a:hover { color: var(--blue); }
.nav-drop { position: relative; }
.drop-menu { display: none; position: absolute; top: 100%; left: -10px; background: #fff; border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow); min-width: 220px; padding: 8px; }
.nav-drop:hover .drop-menu, .nav-drop:focus-within .drop-menu { display: block; }
.drop-menu a { display: block; padding: 9px 14px; border-radius: 7px; color: var(--ink); font-weight: 500; }
.drop-menu a:hover { background: var(--sky); color: var(--blue); }
.header-actions { display: flex; gap: 12px; align-items: center; }
.nav-toggle { display: none; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, #07142e 0%, var(--navy) 45%, #122a5c 100%);
  background-size: 200% 200%;
  animation: heroGradient 16s ease-in-out infinite;
  color: #fff; padding: 84px 0 118px; position: relative; overflow: hidden;
}
.hero-content { position: relative; z-index: 3; }
.hero-bg { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

/* Soft glowing orbs drifting slowly */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; will-change: transform; }
.hero-orb-1 { width: 520px; height: 520px; right: -140px; top: -180px;
  background: radial-gradient(circle at 35% 35%, #2563eb 0%, rgba(37,99,235,0) 70%);
  animation: orbFloat1 18s ease-in-out infinite; }
.hero-orb-2 { width: 420px; height: 420px; left: -160px; bottom: -200px;
  background: radial-gradient(circle at 60% 40%, #1d3f8a 0%, rgba(29,63,138,0) 70%);
  animation: orbFloat2 22s ease-in-out infinite; }
.hero-orb-3 { width: 300px; height: 300px; right: 18%; bottom: -110px; opacity: .35;
  background: radial-gradient(circle at 50% 50%, var(--orange) 0%, rgba(242,103,34,0) 70%);
  animation: orbFloat3 14s ease-in-out infinite; }

/* Subtle dot grid that gently pans */
.hero-grid { position: absolute; inset: -60px;
  background-image: radial-gradient(rgba(255,255,255,.13) 1px, transparent 1.6px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(720px 420px at 72% 30%, #000 0%, transparent 78%);
          mask-image: radial-gradient(720px 420px at 72% 30%, #000 0%, transparent 78%);
  animation: gridPan 40s linear infinite; }

/* A faint diagonal light beam sweeping across */
.hero-beam { position: absolute; top: -50%; left: -30%; width: 60%; height: 220%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.05) 48%, rgba(242,103,34,.07) 52%, transparent 70%);
  transform: rotate(8deg); animation: beamSweep 11s ease-in-out infinite; }

@keyframes heroGradient { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
@keyframes orbFloat1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-50px,42px) scale(1.1); } }
@keyframes orbFloat2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(56px,-34px) scale(1.06); } }
@keyframes orbFloat3 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-36px,-26px); } }
@keyframes gridPan { from { background-position: 0 0; } to { background-position: 340px 170px; } }
@keyframes beamSweep { 0%,100% { transform: translateX(-12%) rotate(8deg); opacity: .9; } 50% { transform: translateX(130%) rotate(8deg); opacity: 1; } }

/* Headline + search entrance */
.hero h1, .hero p, .hero .domain-search, .hero .tld-strip { animation: heroRise .7s ease-out backwards; }
.hero p { animation-delay: .12s; }
.hero .domain-search { animation-delay: .22s; }
.hero .tld-strip { animation-delay: .34s; }
@keyframes heroRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Glow pulse on the search box so the signature element catches the eye */
.hero .domain-search { box-shadow: 0 18px 50px rgba(3,12,32,.5), 0 0 0 0 rgba(242,103,34,.35); animation-name: heroRise, searchGlow; animation-duration: .7s, 4.5s; animation-delay: .22s, 1.2s; animation-iteration-count: 1, infinite; animation-timing-function: ease-out, ease-in-out; }
@keyframes searchGlow { 0%,100% { box-shadow: 0 18px 50px rgba(3,12,32,.5), 0 0 0 0 rgba(242,103,34,0); } 50% { box-shadow: 0 18px 50px rgba(3,12,32,.5), 0 0 26px 2px rgba(242,103,34,.22); } }

@media (prefers-reduced-motion: reduce) {
  .hero, .hero-orb, .hero-grid, .hero-beam,
  .hero h1, .hero p, .hero .domain-search, .hero .tld-strip { animation: none !important; }
}
.hero h1 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); max-width: 740px; margin-bottom: 16px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero p { color: #c6d4f2; max-width: 600px; font-size: 18px; margin-bottom: 30px; }

/* Domain search box - the signature element */
.domain-search { background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px; display: flex; gap: 10px; max-width: 720px; }
.domain-search input { flex: 1; border: 0; font-size: 17px; padding: 12px 16px; font-family: var(--font-body); min-width: 0; }
.domain-search input:focus { outline: none; }
.domain-search .btn { white-space: nowrap; }

/* TLD price ticker strip */
.tld-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.tld-chip { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 10px;
  padding: 9px 16px; font-family: var(--font-display); font-size: 14px; color: #fff; }
.tld-chip b { color: var(--amber); margin-left: 8px; font-weight: 600; }

/* ---- Sections ---- */
.section { padding: 78px 0; }
.section-alt { background: var(--sky); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .eyebrow { font-family: var(--font-display); color: var(--blue); font-weight: 700; font-size: 13px;
  letter-spacing: 2px; text-transform: uppercase; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 12px; }
.section-head p { color: var(--muted); }

/* ---- Plan cards ---- */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 26px; }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px;
  position: relative; transition: .2s; display: flex; flex-direction: column; }
.plan-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue); }
.plan-card.popular { border: 2px solid var(--blue); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue);
  color: #fff; font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 20px; letter-spacing: 1px; }
.plan-card h3 { font-size: 21px; margin-bottom: 4px; }
.plan-card .tagline { color: var(--muted); font-size: 14px; min-height: 22px; }
.plan-price { font-family: var(--font-display); margin: 18px 0 4px; }
.plan-price .amount { font-size: 40px; font-weight: 800; color: var(--navy); }
.plan-price .per { color: var(--muted); font-size: 15px; }
.plan-save { color: var(--green); font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.plan-features { list-style: none; margin: 14px 0 24px; flex: 1; }
.plan-features li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 15px; }
.plan-features li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 10px; }
.plan-card .btn { width: 100%; text-align: center; }

/* ---- Service cards ---- */
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.svc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: .2s; }
.svc-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.svc-card .icon { font-size: 30px; background: var(--sky); width: 60px; height: 60px; display: flex; align-items: center;
  justify-content: center; border-radius: 14px; margin-bottom: 18px; }
.svc-card h3 { font-size: 19px; margin-bottom: 8px; }
.svc-card p { color: var(--muted); font-size: 15px; }

/* ---- Why us ---- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.why-item h4 { font-size: 17px; margin-bottom: 8px; }
.why-item h4::before { content: "●"; color: var(--blue); margin-right: 10px; font-size: 12px; vertical-align: 2px; }
.why-item p { color: var(--muted); font-size: 15px; }

/* ---- Testimonials ---- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.quote-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); }
.quote-card p { font-size: 15px; font-style: italic; color: var(--ink); }
.quote-card .who { margin-top: 16px; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-style: normal; }
.quote-card .who small { display: block; color: var(--muted); font-weight: 500; }

/* ---- CTA band ---- */
.cta-band { background: var(--navy); color: #fff; border-radius: 18px; padding: 50px; display: flex; align-items: center;
  justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: 28px; }
.cta-band p { color: #c6d4f2; }

/* ---- Domain checker results ---- */
.dc-result { border: 1px solid var(--line); border-radius: 10px; padding: 16px 20px; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; margin-bottom: 10px; background: #fff; flex-wrap: wrap; }
.dc-result .dom { font-family: var(--font-display); font-weight: 700; font-size: 17px; }
.dc-status { font-size: 13px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.dc-available { background: #e7f8ed; color: var(--green); }
.dc-taken { background: #fdeaea; color: var(--red); }
.dc-unknown { background: #fff4dd; color: #a26b00; }
.dc-price { font-family: var(--font-display); font-weight: 700; color: var(--navy); }

/* ---- Tables ---- */
/* Horizontal scroll wrapper so wide tables never break the page on mobile */
.table-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); }
.table-scroll .table { min-width: 480px; }
/* Any .table not already in a scroll wrapper becomes scrollable on small screens */
@media (max-width: 700px) {
  .table:not(.table-scroll .table) { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; }
}
.table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; }
.table th { background: var(--navy); color: #fff; text-align: left; padding: 13px 16px; font-family: var(--font-display);
  font-size: 13px; letter-spacing: .5px; text-transform: uppercase; font-weight: 600; }
.table td { padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
.table tr:hover td { background: var(--sky); }

/* ---- Forms ---- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 14px; color: var(--navy); display: block; margin-bottom: 5px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=date], input[type=tel],
select, textarea { width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-family: var(--font-body); font-size: 15px; background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(37,99,235,.15); }
.field { margin-bottom: 16px; }
.help { font-size: 13px; color: var(--muted); margin-top: 4px; }

/* ---- Cards / panels ---- */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; margin-bottom: 22px; }
.panel:last-child { margin-bottom: 0; }
.panel h3 { margin-bottom: 16px; font-size: 18px; }
.page-head { background: var(--navy); color: #fff; padding: 46px 0; }
.page-head h1 { color: #fff; font-size: clamp(26px, 3.6vw, 38px); }
.page-head p { color: #c6d4f2; margin-top: 6px; max-width: 640px; }

/* ---- Flash ---- */
.flash { padding: 13px 18px; border-radius: 8px; margin: 16px 0; font-size: 15px; }
.flash-success { background: #e7f8ed; color: #0c6b32; border: 1px solid #b9ebc9; }
.flash-error { background: #fdeaea; color: #98221f; border: 1px solid #f5c2c0; }
.flash-info { background: var(--sky); color: var(--navy); border: 1px solid #c8d9f7; }

/* ---- Badges ---- */
.badge { font-size: 12px; font-weight: 700; padding: 3px 11px; border-radius: 20px; display: inline-block; }
.badge-active, .badge-completed { background: #e7f8ed; color: var(--green); }
.badge-pending, .badge-processing { background: #fff4dd; color: #a26b00; }
.badge-cancelled, .badge-expired, .badge-rejected { background: #fdeaea; color: var(--red); }
.badge-cancel_requested { background: #fdeaea; color: var(--red); }
.badge-approved { background: #e7f8ed; color: var(--green); }
.due-soon { color: var(--red); font-weight: 700; }

/* ---- Footer ---- */
.site-footer { background: var(--navy); color: #b9c8e8; margin-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 40px; padding: 60px 20px 36px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.site-footer a { color: #b9c8e8; display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: #fff; }
.site-footer p { font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 18px; padding-bottom: 24px; font-size: 13px; }

/* ---- Client / admin shell ---- */
.shell { display: grid; grid-template-columns: 240px 1fr; gap: 34px; padding: 44px 0 80px; align-items: start; }
.side-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; position: sticky; top: 92px; }
.side-nav a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--ink); font-weight: 500; font-size: 15px; }
.side-nav a:hover { background: var(--sky); }
.side-nav a.active { background: var(--blue); color: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 18px; margin-bottom: 30px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.stat-card .num { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--navy); }
.stat-card .lbl { color: var(--muted); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }

/* ---- Auth card ---- */
.auth-wrap { max-width: 460px; margin: 60px auto; }

/* ---- Cart ---- */
.cart-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 30px; align-items: start; }
.cart-item { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; }
.summary-total { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy);
  border-top: 2px solid var(--navy); padding-top: 12px; margin-top: 8px; }

/* ---- Responsive ---- */
@media (max-width: 920px) {
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 16px 20px; gap: 4px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .main-nav > a, .nav-drop > a { padding: 10px 0; }
  .drop-menu { display: block; position: static; box-shadow: none; border: 0; padding-left: 14px; }
  .nav-toggle { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shell { grid-template-columns: 1fr; }
  .side-nav { position: static; display: flex; flex-wrap: wrap; gap: 4px; }
  .cart-layout { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .domain-search { flex-direction: column; }
  .hero { padding: 54px 0 70px; }
}

/* ---- Logo image (assets/img/logo.svg) ---- */
.logo img { height: 44px; width: auto; display: block; }
@media (max-width: 640px) { .logo img { height: 36px; } }

/* ---- FAQ accordion ---- */
.faq-item { border: 1px solid #e3e9f4; border-radius: 10px; margin-bottom: 10px; background: #fff; }
.faq-item summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-family: var(--font-display); color: var(--navy); list-style: none; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 18px; color: var(--orange); font-size: 22px; font-weight: 700; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { border-bottom: 1px solid #e3e9f4; }
.faq-item p { padding: 14px 20px 18px; margin: 0; color: var(--muted, #4a5a78); line-height: 1.65; }

/* ---- Action button groups (e.g. client domain rows) ---- */
.btn-group { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn-group .btn { margin: 0; }

/* ---- Footer logo image + social link ---- */
.site-footer .logo img { height: 40px; width: auto; display: block; margin-bottom: 14px; }
.site-footer a.social-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 0; color: #c6d4f2; font-size: 14px; font-weight: 600; line-height: 1; }
.social-link span { display: inline-flex; align-items: center; }
.social-link:hover { color: #fff; }
.social-link svg { flex: 0 0 auto; background: rgba(255,255,255,.1); border-radius: 50%; padding: 7px; width: 30px; height: 30px; box-sizing: border-box; display: block; transition: background .2s; }
.social-link:hover svg { background: var(--orange); }

/* ---- Stats band (homepage facts) ---- */
.stats-band { background: linear-gradient(120deg, var(--navy) 0%, #122a5c 100%); border-radius: 18px; padding: 44px 34px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; margin-top: -52px; position: relative; z-index: 6; box-shadow: 0 24px 60px rgba(3,12,32,.35); }
/* Domain search results overlap the hero. Once a search runs, the results
   reserve their own space and the stats band drops to normal flow so it can
   never overlap the last result. */
#dcResultsWrap { margin-top: -46px; position: relative; z-index: 8; }
body.has-dc-results #dcResultsWrap { margin-bottom: 16px; }
body.has-dc-results .stats-band { margin-top: 28px; }
.stat-item { text-align: center; color: #fff; }
.stat-num { display: inline-flex; align-items: baseline; justify-content: center; gap: 2px; font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: var(--orange); line-height: 1; }
.stat-num .stat-suffix { font-size: 1em; font-weight: 800; }
.stat-item > span { display: block; margin-top: 10px; color: #c6d4f2; font-size: 15px; font-weight: 500; }
@media (max-width: 860px) { .stats-band { grid-template-columns: repeat(2, 1fr); padding: 32px 22px; } }
@media (max-width: 480px) { .stats-band { grid-template-columns: 1fr; } }

/* ============ Web Development portfolio ============ */
.portfolio { overflow: hidden; }
.project { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid #e9eef8; }
.project:last-of-type { border-bottom: 0; }
.project-flip .project-visual { order: 2; }
.project-flip .project-info { order: 1; }
.project-number { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--orange); letter-spacing: 2px; }
.project-info h2 { font-size: clamp(26px, 3vw, 34px); margin: 6px 0 14px; color: var(--navy); }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.project-tags span { background: #eef3fc; color: var(--blue); font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.project-info p { color: #4a5a78; line-height: 1.7; margin-bottom: 22px; }

/* --- Browser frame --- */
.mock-browser { background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(10,27,61,.16), 0 4px 14px rgba(10,27,61,.08); overflow: hidden; border: 1px solid #e3e9f4; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #f1f4fa; border-bottom: 1px solid #e3e9f4; }
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6dcea; }
.mock-bar i:nth-child(1) { background: #f26722; } .mock-bar i:nth-child(2) { background: #ffc14d; } .mock-bar i:nth-child(3) { background: #43c277; }
.mock-bar b { margin-left: 10px; background: #fff; border: 1px solid #e3e9f4; color: #7686a5; font-weight: 500; font-size: 12px; border-radius: 999px; padding: 3px 14px; }
.mock-screen { aspect-ratio: 16 / 10; background: #f7f9fe; position: relative; }
.mock-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* --- Laptop frame --- */
.mock-laptop { filter: drop-shadow(0 26px 50px rgba(10,27,61,.2)); }
.mock-laptop .mock-screen { border: 10px solid #15233f; border-bottom-width: 14px; border-radius: 14px 14px 0 0; aspect-ratio: 16 / 10; }
.mock-base { height: 16px; background: linear-gradient(#dfe5f0, #c3ccdd); border-radius: 0 0 16px 16px; margin: 0 -7%; position: relative; }
.mock-base::after { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 14%; height: 5px; background: #aeb9cf; border-radius: 0 0 8px 8px; }

/* --- Browser + phone duo --- */
.mock-duo { position: relative; padding: 0 0 36px 0; }
.mock-duo .mock-behind { margin-right: 14%; }
.mock-phone { position: absolute; right: 0; bottom: 0; width: 26%; min-width: 96px; background: #15233f; border-radius: 22px; padding: 8px; box-shadow: 0 20px 44px rgba(10,27,61,.28); }
.mock-phone .mock-screen { aspect-ratio: 9 / 18; border-radius: 15px; overflow: hidden; }
.mock-phone .mock-screen img { object-position: top center; }
.mock-notch { width: 38%; height: 5px; background: #0a1325; border-radius: 999px; margin: 2px auto 6px; }

/* --- Placeholder (until a screenshot is uploaded) --- */
.mock-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  background: linear-gradient(135deg, var(--accent, var(--navy)) 0%, color-mix(in srgb, var(--accent, var(--navy)) 55%, #0a1b3d) 100%); color: #fff; }
.mock-placeholder span { font-family: var(--font-display); font-weight: 800; font-size: clamp(20px, 2.6vw, 30px); }
.mock-placeholder small { opacity: .75; font-size: 13px; }
.mock-placeholder-sm span { font-size: 26px; }

/* --- Scroll reveal --- */
[data-reveal] { opacity: 0; transform: translateY(46px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,.84,.36,1); }
.project-flip[data-reveal] { transform: translateY(46px); }
[data-reveal].in-view { opacity: 1; transform: none; }
[data-reveal] .project-visual { transition: transform .9s cubic-bezier(.16,.84,.36,1) .08s; transform: translateY(30px) scale(.97); }
[data-reveal].in-view .project-visual { transform: none; }

/* --- CTA band --- */
.dev-cta { background: linear-gradient(120deg, var(--navy) 0%, #122a5c 70%, #1d3f8a 100%); border-radius: 18px; color: #fff; padding: 48px; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; box-shadow: 0 24px 60px rgba(3,12,32,.35); position: relative; overflow: hidden; }
.dev-cta::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(242,103,34,.35) 0%, transparent 70%); }
.dev-cta h2 { color: #fff; margin-bottom: 10px; }
.dev-cta p { color: #c6d4f2; line-height: 1.7; margin: 0; }
.dev-cta-actions { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.btn-lg { padding: 15px 30px; font-size: 17px; }
.btn-ghost { color: #c6d4f2; text-align: center; font-weight: 600; }
.btn-ghost:hover { color: #fff; }

@media (max-width: 860px) {
  .project { grid-template-columns: 1fr; gap: 28px; padding: 40px 0; }
  .project-flip .project-visual { order: 0; }
  .project-flip .project-info { order: 1; }
  .dev-cta { grid-template-columns: 1fr; padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal] .project-visual { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---- Web-dev capability cards ---- */
.capabilities { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap-card { background: #fff; border: 1px solid #e6ecf6; border-radius: 14px; padding: 24px 22px; box-shadow: 0 6px 22px rgba(10,27,61,.05); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.cap-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(10,27,61,.12); border-color: #cfe; }
.cap-card h3 { font-family: var(--font-display); font-size: 18px; color: var(--navy); margin-bottom: 8px; position: relative; padding-left: 14px; }
.cap-card h3::before { content: ""; position: absolute; left: 0; top: 4px; bottom: 2px; width: 4px; border-radius: 3px; background: var(--orange); }
.cap-card p { font-size: 14.5px; line-height: 1.6; color: var(--muted, #4a5a78); margin: 0; }
@media (max-width: 920px) { .capabilities { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .capabilities { grid-template-columns: 1fr; } }

/* ---- Admin Zoho invoice box ---- */
.invoice-box { border: 1px solid #e6ecf6; background: #f8fafd; border-radius: 12px; padding: 18px 18px 6px; margin: 16px 0; }
.invoice-box h4 { font-family: var(--font-display); font-size: 15px; color: var(--navy); }

/* ---- Back to top button ---- */
.back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 46px; height: 46px; border: none; border-radius: 50%;
  background: var(--orange); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(242,103,34,.4);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease, background .2s ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--navy); box-shadow: 0 10px 26px rgba(10,27,61,.4); }
.back-to-top:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
@media (max-width: 640px) { .back-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) { .back-to-top { transition: opacity .2s ease, visibility .2s ease; transform: none; } }

/* ---- About page extras ---- */
.about-list { list-style: none; margin: 8px 0 0; padding: 0; }
.about-list li { position: relative; padding: 9px 0 9px 26px; border-bottom: 1px solid #eef2f8; color: var(--muted); line-height: 1.6; }
.about-list li:last-child { border-bottom: none; }
.about-list li::before { content: ""; position: absolute; left: 4px; top: 16px; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
.about-list li strong { color: var(--navy); }
.panel .why-grid { gap: 22px; margin-top: 6px; }
.panel .why-item { background: #f8fafd; border: 1px solid #eef2f8; border-radius: 10px; padding: 16px 18px; }
.about-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: linear-gradient(120deg, var(--navy), #122a5c); color: #fff; }
.about-cta h3 { color: #fff; }
.about-cta p { color: #c6d4f2; }
@media (max-width: 600px) { .about-cta { flex-direction: column; align-items: flex-start; } }

/* ---- Legal pages (terms, privacy) ---- */
.legal { color: var(--text, #1f2a44); line-height: 1.7; }
.legal h2 { font-family: var(--font-display); font-size: 20px; color: var(--navy); margin: 30px 0 10px; padding-top: 18px; border-top: 1px solid #eef2f8; }
.legal h2:first-of-type { border-top: none; padding-top: 0; }
.legal p { margin: 0 0 14px; color: var(--muted, #4a5a78); }
.legal ul { margin: 0 0 16px; padding-left: 0; list-style: none; }
.legal li { position: relative; padding: 6px 0 6px 22px; color: var(--muted, #4a5a78); }
.legal li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); }
.legal a { color: var(--blue); }
.legal strong { color: var(--navy); }

/* ---- 404 error page ---- */
.err-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 16vw, 150px); line-height: 1; background: linear-gradient(120deg, var(--navy), var(--blue) 60%, var(--orange)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -2px; }
.err-links { margin-top: 30px; }
.err-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; text-align: left; }
.err-card { display: flex; flex-direction: column; gap: 3px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.err-card:hover { border-color: var(--blue); box-shadow: 0 10px 26px rgba(10,27,61,.08); transform: translateY(-2px); }
.err-card strong { color: var(--navy); font-family: var(--font-display); font-size: 15px; }
.err-card span { color: var(--muted); font-size: 13px; }
.err-search { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.domain-search-404 { max-width: 460px; margin: 0 auto; }
@media (max-width: 700px) { .err-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .err-grid { grid-template-columns: 1fr; } }

/* ---- Premium domain (POA) price ---- */
.dc-price-poa { color: var(--orange); font-weight: 700; letter-spacing: .3px; cursor: help; }

/* ---- Cookie consent banner ---- */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--navy); color: #e6ecf8; box-shadow: 0 -8px 30px rgba(3,12,32,.35); transform: translateY(100%); transition: transform .35s ease; }
.cookie-consent.show { transform: translateY(0); }
.cookie-consent-inner { max-width: 1140px; margin: 0 auto; padding: 16px 20px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-text { flex: 1 1 420px; }
.cookie-text strong { display: block; font-family: var(--font-display); color: #fff; font-size: 15px; margin-bottom: 2px; }
.cookie-text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: #b9c8e8; }
.cookie-text a { color: #fff; text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-consent .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.cookie-consent .btn-outline:hover { background: rgba(255,255,255,.1); }
@media (max-width: 560px) { .cookie-actions { width: 100%; } .cookie-actions .btn { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookie-consent { transition: none; } }

/* ---- Cart upsell panels ---- */
.upsell-panel { border: 2px solid #e8eef8; background: linear-gradient(135deg, #f8faff 0%, #eef3ff 100%); }
.upsell-panel-email { background: linear-gradient(135deg, #f8fff8 0%, #eefff0 100%); border-color: #d4eed4; }
.upsell-header { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.upsell-icon { font-size: 32px; line-height: 1; flex-shrink: 0; }
.upsell-header h3 { margin: 0 0 6px; font-size: 18px; }
.upsell-header p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.upsell-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upsell-plan { background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; position: relative; }
.upsell-plan-featured { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.08); }
.upsell-badge { position: absolute; top: -11px; left: 50%; transform: translateX(-50%); background: var(--blue); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 10px; border-radius: 20px; white-space: nowrap; }
.upsell-plan-name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 15px; }
.upsell-plan-tagline { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.upsell-plan-price { font-size: 20px; font-weight: 800; color: var(--navy); font-family: var(--font-display); margin: 4px 0; }
.upsell-features { list-style: none; margin: 0 0 10px; padding: 0; flex: 1; }
.upsell-features li { font-size: 12.5px; color: var(--muted); padding: 3px 0 3px 16px; position: relative; }
.upsell-features li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.upsell-also { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 16px 22px; background: #f8fafd; border-color: #e4eaf6; }
.upsell-also-links { display: flex; gap: 16px; flex-wrap: wrap; }
.upsell-also-links a { font-size: 13.5px; color: var(--navy); font-weight: 500; white-space: nowrap; }
.upsell-also-links a:hover { color: var(--blue); }
.cart-summary-panel { position: sticky; top: 20px; }
.summary-lines { margin-bottom: 4px; }
.summary-divider { border: none; border-top: 1px solid var(--line); margin: 10px 0; }
@media (max-width: 820px) { .upsell-plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .upsell-plans { grid-template-columns: 1fr; } .upsell-header { flex-direction: column; } .cart-summary-panel { position: static; } }
