/* OrbitDesign Clients – Light, human-made aesthetic */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --muted: #475569; /* slate-600 */
  --text: #0f172a;  /* slate-900 */
  --brand: #16a34a; /* green-600 */
  --brand-700: #15803d;
  --accent: #22c55e; /* green-500 */
  --ring: rgba(34, 197, 94, 0.45);
  --card: #ffffff;
  --card-alt: #f8fafc;
  --border: #e5e7eb;
  --ease: cubic-bezier(.2,.7,.3,1);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { width: min(1120px, 92%); margin: 0 auto; }
.skip-link { position: absolute; left: -9999px; top: -9999px; }
.skip-link:focus { left: 8px; top: 8px; background:#111; color:#fff; padding:8px 12px; border-radius:8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.site-header.light { background: rgba(255,255,255,0.9); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: 0.2px; color: var(--text); text-decoration: none; }
.brand.small { font-size: 14px; gap: 8px; }
.brand-name { color: var(--text); }

.nav-toggle { display:none; background:transparent; color:var(--text); border:1px solid var(--border); padding:8px 10px; border-radius:8px; }
.nav-list { display: flex; gap: 18px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-list a { color: var(--text); text-decoration: none; padding: 8px 10px; border-radius: 8px; }
.nav-list a:hover { background: #f1f5f9; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero.light { background: linear-gradient(180deg, #fff 0%, #f8fafc 100%); }
.hero h1 { margin: 0 0 10px; font-size: clamp(32px, 4vw, 46px); line-height: 1.1; letter-spacing: -0.02em; }
.hero .lead { color: var(--muted); max-width: 760px; font-size: 18px; }
.hero-ctas { margin-top: 18px; display: flex; gap: 12px; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { order: -1; } }
.hero-art { background:#ecfdf5; border:1px solid #e5e7eb; border-radius:20px; padding:24px; display:flex; align-items:center; justify-content:center; }
.hero-art img { max-width: 100%; height: auto; display:block; }
@keyframes floatY { 0% { transform: translateY(0); } 100% { transform: translateY(-6px); } }
.hero-art { animation: floatY 6s var(--ease) infinite alternate; }

/* Sections */
.section { padding: 56px 0; }
.section.alt { background: #f8fafc; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-subtitle { color: var(--muted); margin-top: -8px; }
.muted { color: var(--muted); }

/* Grid + Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 18px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid { grid-template-columns: 1fr; } .nav-list { display:none; } .nav-toggle{display:inline-block;} }
.grid.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 18px; box-shadow: 0 8px 24px rgba(2,6,23,0.04); }
.card.soft { background: var(--card-alt); }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0 0 10px; color: var(--muted); }
.features { padding-left: 18px; margin: 0 0 12px; color: #334155; }
.features li { margin: 6px 0; }
.price { font-weight: 700; font-size: 20px; margin-bottom: 10px; }
.price span { font-weight: 500; color: var(--muted); font-size: 14px; }
.disclaimer { margin-top: 12px; color: var(--muted); font-size: 12px; }

/* Micro-interactions */
.card { transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(2,6,23,0.08); border-color: #bbf7d0; }
.nav-list a { position: relative; }
.nav-list a::after { content:""; position:absolute; left:10px; right:10px; bottom:6px; height:2px; background: linear-gradient(90deg, #bbf7d0, #34d399); border-radius:2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-list a:hover::after { transform: scaleX(1); }

/* SSL grid presentation animation */
.ssl-grid .card { opacity: 0; transform: translateY(14px) scale(0.98); }
.ssl-grid.is-visible .card { animation: sslPop .55s var(--ease) forwards; }
.ssl-grid.is-visible .card:nth-child(2) { animation-delay: .05s; }
.ssl-grid.is-visible .card:nth-child(3) { animation-delay: .1s; }
.ssl-grid.is-visible .card:nth-child(4) { animation-delay: .15s; }
.ssl-grid.is-visible .card:nth-child(5) { animation-delay: .2s; }
.ssl-grid.is-visible .card:nth-child(6) { animation-delay: .25s; }
.ssl-grid.is-visible .card:nth-child(7) { animation-delay: .3s; }
.ssl-grid.is-visible .card:nth-child(8) { animation-delay: .35s; }
.ssl-grid.is-visible .card:nth-child(9) { animation-delay: .4s; }
.ssl-grid.is-visible .card:nth-child(10) { animation-delay: .45s; }
.ssl-grid.is-visible .card:nth-child(11) { animation-delay: .5s; }
.ssl-grid.is-visible .card:nth-child(12) { animation-delay: .55s; }

@keyframes sslPop { 0% { opacity: 0; transform: translateY(14px) scale(0.98); } 60% { opacity: 1; transform: translateY(-2px) scale(1.01); } 100% { opacity: 1; transform: translateY(0) scale(1); } }

/* Price shimmer on hover */
.card .price { position: relative; overflow: hidden; display: inline-block; padding-right: 6px; }
.card:hover .price::after { content: ""; position: absolute; top: 0; left: -120%; width: 120%; height: 100%; background: linear-gradient(120deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.65) 40%, rgba(255,255,255,0) 80%); transform: skewX(-20deg); animation: shine 1s ease; }
@keyframes shine { 100% { left: 120%; } }

/* SSL banner (external GIF self-hosted) */
.ssl-banner { margin: 14px auto 6px; background: transparent; border: none; border-radius: 0; display: flex; align-items: center; justify-content: center; padding: 0; box-shadow: none; }
.ssl-banner img { display:block; width: auto; height: auto; max-width: none; border-radius: 0; }
@media (max-width: 900px) { .ssl-banner img { max-width: 90vw; height: auto; } }
@media (max-width: 640px) { .ssl-banner img { max-width: 92vw; height: auto; } }

/* Header brand image */
.brand img { display:inline-block; width: 28px; height: 28px; border-radius: 12px; object-fit: contain; }
.brand.small img { width: 20px; height: 20px; }

/* Buttons */
.btn { appearance: none; border: 1px solid transparent; background: #e2e8f0; color: #0f172a; font-weight: 700; padding: 10px 14px; border-radius: 999px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 1px 1px rgba(2,6,23,0.04); }
.btn { transition: transform .12s ease-out, background .2s ease, filter .2s ease, box-shadow .2s ease; }
.btn:hover { filter: brightness(0.98); background:#ecfdf5; transform: translateY(-1px); }
.btn:focus-visible { outline: 0; box-shadow: 0 0 0 3px var(--ring); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--brand); color: #ffffff; }
.btn.primary:hover { background: var(--brand-700); }
.btn.outline { background: #fff; border:1px solid #bbf7d0; color: var(--brand); }
.btn-small { padding: 8px 12px; font-weight: 600; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #ffffff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 18px 0; align-items: center; }
.footer-links { display: flex; gap: 14px; list-style: none; margin: 0; padding: 0; }
.footer-links a { color: var(--text); text-decoration: none; opacity: 0.9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

/* Accessibility helpers */
a, button { -webkit-tap-highlight-color: transparent; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(16px); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: translateY(0); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.delay-1.is-visible { transition-delay: .08s; }
.reveal.delay-2.is-visible { transition-delay: .16s; }
.reveal.delay-3.is-visible { transition-delay: .24s; }
