/* ============================================================
   ShiftToCloude SaaS Platform — style.css
   ============================================================ */

:root {
  --bg: #0b1020;
  --bg-soft: #0f1730;
  --surface: #131c38;
  --surface-2: #17224a;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #e8ecf7;
  --muted: #a3accb;
  --muted-2: #7d87a8;
  --brand: #6366f1;
  --brand-2: #22d3ee;
  --accent: #ff9900;
  --grad: linear-gradient(120deg, #6366f1 0%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(99,102,241,.18), rgba(34,211,238,.14));
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.6);
  --maxw: 1180px;
  --font-sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: "Sora", var(--font-sans);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 999; }
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 0.95rem; padding: 13px 24px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #07122c; box-shadow: 0 12px 30px -12px rgba(99, 102, 241, 0.7); }
.btn-primary:hover { box-shadow: 0 16px 40px -12px rgba(34, 211, 238, 0.6); transform: translateY(-1px); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--border-strong); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.07); border-color: var(--brand); }
.btn-sm { padding: 9px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 16, 32, 0.72);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; }
.brand-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav { display: flex; align-items: center; gap: 8px; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 0.94rem; transition: color 0.2s ease, background 0.2s ease; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav .nav-cta { color: #07122c; margin-left: 6px; }
.nav .nav-cta:hover { color: #07122c; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 90px 0 70px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 80% 0%, rgba(34, 211, 238, 0.12), transparent 70%),
              radial-gradient(500px 300px at 10% 20%, rgba(99, 102, 241, 0.15), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; z-index: 1; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-2); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 0.35em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 34rem; margin-bottom: 1.6rem; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-stats { display: flex; gap: 32px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-stats span { font-size: 0.85rem; color: var(--muted-2); }

/* Hero art */
.hero-art { position: relative; min-height: 340px; }
.glass-card {
  position: absolute; width: 220px; padding: 18px; border-radius: 16px;
  background: rgba(19, 28, 56, 0.78); border: 1px solid var(--border-strong);
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.float-a { top: 0; right: 20px; animation: float 6s ease-in-out infinite; }
.float-b { top: 130px; left: 0; animation: float 7s ease-in-out infinite reverse; }
.float-c { bottom: 0; right: 50px; animation: float 8s ease-in-out infinite; }
.mini-row { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.88rem; margin-bottom: 12px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex-shrink: 0; }
.dot-b { background: #3b9dff; }
.dot-c { background: #34d399; }
.mini-bar { height: 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-bottom: 8px; }
.mini-bar span { display: block; height: 100%; border-radius: 6px; background: var(--accent); }
.mini-bar span.b { background: #3b9dff; }
.mini-bar span.c { background: #34d399; }
.mini-sub { font-size: 0.78rem; color: var(--muted-2); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-glow { position: absolute; bottom: -120px; left: 50%; transform: translateX(-50%); width: 600px; height: 200px; background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.25), transparent 70%); pointer-events: none; }

/* Trust */
.trust { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, 0.015); padding: 26px 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust-label { color: var(--muted-2); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; white-space: nowrap; }
.trust-logos { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.trust-item { font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; opacity: 0.88; transition: color 0.2s ease, opacity 0.2s ease; }
.trust-item:hover { color: var(--text); opacity: 1; }
.smile { display: inline-block; width: 24px; height: 12px; border: 2.5px solid var(--accent); border-top: 0; border-radius: 0 0 12px 12px; margin-left: 2px; }

/* Sections & Cards */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; }
.section-head p { color: var(--muted); margin-top: 0.4em; }
.grid { display: grid; gap: 22px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--grad); opacity: 0; transition: opacity 0.25s ease; }
.card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--grad-soft); color: var(--brand-2); font-family: var(--font-display); font-weight: 700;
  margin-bottom: 16px; border: 1px solid var(--border);
}
.card h3 { font-size: 1.18rem; margin-bottom: 0.4em; }
.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 0; }

/* Pricing */
.price-card { display: flex; flex-direction: column; }
.price-card.featured { border-color: var(--brand); background: var(--surface-2); }
.price-badge { position: absolute; top: 16px; right: 16px; background: var(--accent); color: #07122c; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; padding: 4px 10px; border-radius: 99px; }
.price-tag { font-family: var(--font-display); font-size: 2rem; font-weight: 800; margin: 0.35em 0; color: var(--text); }
.price-tag span { font-size: 0.9rem; font-weight: 500; color: var(--muted); }
.price-list { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; flex-grow: 1; display: grid; gap: 8px; }
.price-list li { font-size: 0.92rem; color: var(--text); }
.price-list li::before { content: "✓ "; color: var(--brand-2); font-weight: 700; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.about-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.about-copy p { color: var(--muted); }
.about-points { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.about-points span { color: var(--text); font-weight: 500; }
.about-points strong { color: var(--brand-2); margin-right: 6px; }
.about-visual { display: grid; place-items: center; min-height: 320px; }
.orbit { position: relative; width: 280px; height: 280px; display: grid; place-items: center; }
.orbit-core { width: 104px; height: 104px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: #07122c; z-index: 2; box-shadow: 0 0 60px rgba(99, 102, 241, 0.5); }
.orbit-ring { position: absolute; border: 1px dashed var(--border-strong); border-radius: 50%; }
.ring-1 { width: 180px; height: 180px; }
.ring-2 { width: 260px; height: 260px; border-color: rgba(34, 211, 238, 0.18); }
.orbit-dot { position: absolute; width: 16px; height: 16px; border-radius: 50%; box-shadow: 0 0 14px currentColor; }
.d1 { background: var(--accent); color: var(--accent); top: 18px; left: 80px; animation: orbit1 9s linear infinite; }
.d2 { background: #3b9dff; color: #3b9dff; bottom: 40px; right: 20px; animation: orbit2 12s linear infinite; }
.d3 { background: #34d399; color: #34d399; bottom: 120px; left: 10px; animation: orbit1 7s linear infinite reverse; }
@keyframes orbit1 { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes orbit2 { 0% { transform: rotate(0); } 100% { transform: rotate(-360deg); } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.contact-copy > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci { width: 40px; height: 40px; border-radius: 10px; background: var(--grad-soft); border: 1px solid var(--border); color: var(--brand-2); display: grid; place-items: center; font-size: 1.1rem; flex: 0 0 auto; }
.ci-label { display: block; font-size: 0.8rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-list a { color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--brand-2); }
.contact-form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea { width: 100%; background: var(--bg); border: 1px solid var(--border-strong); border-radius: 10px; color: var(--text); padding: 12px 14px; font-family: inherit; font-size: 0.95rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-note { margin-top: 12px; font-size: 0.9rem; color: var(--muted); min-height: 1.2em; }
.form-note.success { color: #34d399; }
.form-note.error { color: #f87171; }

/* Footer */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--border); padding: 56px 0 26px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer-brand p { color: var(--muted); max-width: 34rem; margin-top: 14px; font-size: 0.95rem; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-cols h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted-2); margin-bottom: 14px; }
.footer-cols a { display: block; color: var(--muted); font-size: 0.94rem; padding: 5px 0; transition: color 0.2s ease; }
.footer-cols a:hover { color: var(--brand-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; color: var(--muted-2); font-size: 0.85rem; }
.footer-legal a:hover { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px;
    background: var(--bg-soft); border-bottom: 1px solid var(--border); padding: 14px 24px 20px;
    transform: translateY(-120%); transition: transform 0.3s ease; box-shadow: var(--shadow);
  }
  .nav.open { transform: none; }
  .nav a { padding: 12px; }
  .nav .nav-cta { margin-left: 0; text-align: center; }
  .nav-toggle { display: flex; }
  .hero { padding: 60px 0 50px; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .footer-cols { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}