/* SD Services public site · sdservices.cloud
   Landing layout inspired by egcindia.in/ridez app product page */

:root {
  --orange: #ff5a00;
  --orange-deep: #e04e00;
  --orange-soft: #fff1e8;
  --orange-glow: rgba(255, 90, 0, 0.35);
  --ink: #121212;
  --muted: #66707a;
  --line: #e8e6e3;
  --white: #ffffff;
  --canvas: #f3f1ee;
  --soft: #ebe7e2;
  --dark: #0c0d10;
  --dark-card: #16171c;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(12, 13, 16, 0.08);
  --font: "Outfit", "Segoe UI", system-ui, sans-serif;
  --display: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { width: min(1080px, calc(100% - 2rem)); margin: 0 auto; }

/* Nav */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(243, 241, 238, 0.88);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid rgba(12, 13, 16, 0.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 0.85rem 0;
}
.brand {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--ink); font-weight: 800; letter-spacing: -0.03em;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-logo { width: 42px; height: 42px; object-fit: contain; border-radius: 12px; }
.brand-word { display: flex; flex-direction: column; line-height: 1.1; }
.brand-word strong { font-size: 0.98rem; }
.brand-word span {
  font-size: 0.68rem; color: var(--muted); font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.nav-links { display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; font-size: 0.9rem; font-weight: 650; }
.nav-links a { color: var(--muted); }
.nav-links a:hover, .nav-links a.active { color: var(--orange); text-decoration: none; }

/* Product hero */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: var(--dark);
}
.hero-product { min-height: min(92vh, 820px); display: grid; align-items: end; }
.hero-media {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 13, 16, 0.92) 0%, rgba(12, 13, 16, 0.72) 48%, rgba(12, 13, 16, 0.55) 100%),
    linear-gradient(180deg, transparent 40%, rgba(12, 13, 16, 0.95) 100%),
    url("../assets/hero-bg-dark.png") center / cover no-repeat;
  animation: heroDrift 20s ease-in-out infinite alternate;
}
@keyframes heroDrift {
  from { transform: scale(1.02) translateY(0); }
  to { transform: scale(1.07) translateY(-1.2%); }
}
.hero-orb {
  position: absolute; width: 48vw; height: 48vw; max-width: 560px; max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--orange-glow), transparent 68%);
  filter: blur(10px);
  top: 6%; right: -12%;
  pointer-events: none;
  animation: orbPulse 7s ease-in-out infinite alternate;
}
@keyframes orbPulse {
  from { opacity: 0.75; transform: translate(0, 0); }
  to { opacity: 1; transform: translate(-4%, 3%); }
}

.hero-product-inner {
  position: relative; z-index: 2;
  padding: 6.5rem 0 3.5rem;
  animation: riseIn 0.85s ease both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.app-lockup {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem;
  margin-bottom: 1.35rem;
}
.app-icon {
  width: 96px; height: 96px; border-radius: 22px; object-fit: contain;
  background: #fff; padding: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.app-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}
.app-meta h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.app-by {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
}
.app-by em { font-style: normal; color: #ffb088; }

.meta-row {
  list-style: none; margin: 1rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 0.65rem 1.35rem;
}
.meta-row li { display: flex; flex-direction: column; gap: 0.1rem; }
.meta-row strong { font-size: 1rem; color: #fff; }
.meta-row span { font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); text-transform: uppercase; letter-spacing: 0.04em; }

.hero-lead {
  margin: 0;
  max-width: 38rem;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 2.1vw, 1.12rem);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
  margin-top: 1.75rem;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.95rem 1.35rem; border-radius: 999px;
  font-weight: 750; font-size: 0.95rem; border: 0; cursor: pointer;
  text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--orange); color: #fff;
  box-shadow: 0 14px 34px rgba(255, 90, 0, 0.35);
}
.btn-primary:hover { background: var(--orange-deep); color: #fff; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* Sections */
.section { padding: 4.25rem 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--dark); color: #fff; }
.section-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 800; letter-spacing: -0.03em;
}
.section-sub { margin: 0 0 2rem; color: var(--muted); max-width: 40rem; }
.section-dark .section-sub { color: rgba(255, 255, 255, 0.62); }

.about-grid {
  display: grid; gap: 1.5rem;
  grid-template-columns: minmax(0, 1.4fr) minmax(240px, 0.8fr);
}
.about-copy p { margin: 0 0 1rem; color: #3a424a; font-size: 1.02rem; }
.about-copy p:last-child { margin-bottom: 0; }
.about-aside {
  padding: 1.35rem 1.4rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.about-aside h3 { margin: 0 0 0.85rem; font-size: 1rem; }
.about-aside ul { margin: 0; padding: 0; list-style: none; }
.about-aside li {
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.92rem;
}
.about-aside li:first-of-type { border-top: 0; padding-top: 0; }

.feature-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 0.85rem;
}
.feature-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.15rem 1.2rem;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.feature-list li:hover {
  border-color: rgba(255, 90, 0, 0.28);
  transform: translateX(4px);
}
.feature-mark {
  font-weight: 800; font-size: 0.85rem; letter-spacing: 0.06em;
  color: var(--orange); padding-top: 0.15rem;
}
.feature-list h3 { margin: 0 0 0.25rem; font-size: 1.05rem; }
.feature-list p { margin: 0; color: var(--muted); font-size: 0.95rem; }

.policy-rows { display: grid; gap: 0.75rem; }
.policy-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: inherit; text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.policy-row:hover {
  text-decoration: none;
  border-color: rgba(255, 90, 0, 0.45);
  transform: translateY(-2px);
}
.policy-row strong { display: block; color: #fff; font-size: 1.02rem; }
.policy-row em {
  display: block; margin-top: 0.2rem;
  font-style: normal; color: rgba(255, 255, 255, 0.58); font-size: 0.9rem;
}
.policy-row code {
  font-size: 0.78rem; color: #ffb088; word-break: break-all;
}
.wordmark-foot {
  margin-top: 2.5rem;
  opacity: 0.9;
}
.wordmark-foot img { height: 36px; width: auto; }

/* Legal pages */
.legal-hero {
  padding: 3rem 0 1.75rem;
  background:
    radial-gradient(ellipse 60% 80% at 0% 0%, rgba(255, 90, 0, 0.12), transparent 55%),
    linear-gradient(180deg, #fff, var(--orange-soft));
  border-bottom: 1px solid var(--line);
}
.legal-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
}
.meta { color: var(--muted); font-size: 0.9rem; }
.legal-body { padding: 2rem 0 4rem; }
.legal-body article {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow);
}
.legal-body h2 { margin: 1.75rem 0 0.55rem; font-size: 1.12rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: #3a3a3a; font-size: 0.98rem; }
.legal-body ul { padding-left: 1.2rem; }
.callout {
  margin: 1.2rem 0; padding: 1rem 1.1rem; border-radius: 14px;
  background: var(--orange-soft); border: 1px solid rgba(255, 90, 0, 0.18);
}
.callout strong { color: var(--orange-deep); }
.email-btn { display: inline-flex; margin-top: 0.75rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  background: #fff; padding: 2.25rem 0; color: var(--muted); font-size: 0.9rem;
}
.footer-grid {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.25rem; align-items: center;
}
.footer-brand { display: flex; align-items: center; gap: 0.75rem; }
.footer-brand img { width: 36px; height: 36px; object-fit: contain; border-radius: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.footer-links a { color: var(--muted); font-weight: 650; }
.footer-links a:hover { color: var(--orange); }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .brand-word span { display: none; }
  .hero-product-inner { padding: 5.25rem 0 2.75rem; }
  .nav-links { font-size: 0.8rem; }
  .app-icon { width: 76px; height: 76px; border-radius: 18px; }
}
