/*
  Sharkigram landing page styles
  - Mobile-first responsive design
  - Fluid typography and spacing
  - Dark theme with subtle gradient accents
*/

:root {
  --bg: #0e1626;
  --bg-elev: #101a29;
  --text: #e7edf5;
  --muted: #a9b4c0;
  --accent: #3aa0ff;
  --accent-2: #00d1b2;
  --card: #121923;
  --border: #1e2a38;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";
  color: var(--text);
  background-color: var(--bg);
  background-image: radial-gradient(
      1000px 600px at 70% 20%,
      rgba(30, 80, 140, 0.45) 0%,
      rgba(30, 80, 140, 0.15) 45%,
      rgba(30, 80, 140, 0) 70%
    ),
    radial-gradient(1200px 800px at 50% 120%, rgba(40, 100, 180, 0.12), transparent 60%),
    linear-gradient(180deg, #0e1626 0%, #0f1b2c 100%);
  background-attachment: fixed;
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.8);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.brand .brand-logo {
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.brand .brand-name {
  font-size: 1.05rem;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 2px;
}

.nav {
  display: none;
}
.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.nav a {
  padding: 10px 12px;
  color: var(--muted);
  border-radius: 8px;
}
.nav a:hover {
  color: var(--text);
  background: #0f1720;
}

.nav.open {
  display: block;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
}
.nav.open ul {
  padding: 10px;
  grid-template-columns: 1fr 1fr;
}

/* Hero */
.section {
  padding: 56px 0;
}
.hero {
  padding-top: 80px;
}
.hero-grid {
  display: grid;
  gap: 36px;
  align-items: center;
}
.eyebrow {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
  opacity: 0.9;
}
.eyebrow .dot {
  color: var(--accent-2);
  margin-right: 6px;
}
.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 14px 0;
}
.hero-title .accent {
  color: var(--accent);
}
.hero-sub {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 22px 0;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-weight: 600;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #287bff 60%);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(58, 160, 255, 0.25);
}
.btn-primary:hover {
  filter: brightness(1.05);
}
.btn-ghost {
  color: var(--text);
  background: transparent;
}
.btn-ghost:hover {
  background: #0f1720;
}

.hero-art {
  position: relative;
}
.leaning-wrap {
  display: block;
  max-width: 520px;
  margin: 0 auto 10px;
}
.leaning-phone {
  width: 100%;
  height: auto;
  object-fit: contain;
  transform: rotate(-2deg);
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}
.phones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  align-items: end;
}
.phone {
  width: 100%;
  height: auto;
  aspect-ratio: 380 / 760;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: var(--shadow);
  background: #000;
}
.phone-center {
  transform: translateY(-8px);
}

/* Showcase */
.showcase-head {
  text-align: center;
  margin-bottom: 22px;
}
.showcase-head h2 {
  margin: 0 0 6px 0;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
}
.showcase-head .muted,
.muted {
  color: var(--muted);
}

.showcase-grid {
  display: grid;
  gap: 16px;
  align-items: center;
}
.pill-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.pill-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
}
.pill-list .dot {
  width: 10px;
  height: 10px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(58, 160, 255, 0.15);
}
.pill-list strong {
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}
.pill-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.showcase-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 0;
}
.rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(58, 160, 255, 0.18), transparent 50%),
    radial-gradient(closest-side, rgba(58, 160, 255, 0.1), transparent 55%) center/80% 80% no-repeat,
    radial-gradient(closest-side, rgba(58, 160, 255, 0.06), transparent 60%) center/100% 100% no-repeat;
  filter: blur(0.2px);
}

@media (min-width: 880px) {
  .showcase-grid {
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
  }
}

/* How It Works Showcase */
.how-showcase {
  background: #0a0f17;
}
.how-head {
  text-align: center;
  margin-bottom: 24px;
}
.how-head h2 {
  margin: 0 0 8px 0;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
}
.how-head .muted {
  display: block;
}

.how-grid {
  display: grid;
  gap: 20px;
  align-items: center;
}
.how-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 8px;
  padding: 20px 0;
}
.ring-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 500px 400px at center, rgba(58, 160, 255, 0.25) 0%, transparent 50%);
  filter: blur(0.3px);
}
.showcase-phone {
  width: 100%;
  max-width: 160px;
  height: auto;
  aspect-ratio: 280 / 560;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}
.showcase-phone.left {
  transform: translateY(12px) rotateZ(-8deg);
}
.showcase-phone.center {
  transform: translateY(-12px) scale(1.05);
}
.showcase-phone.right {
  transform: translateY(12px) rotateZ(8deg);
}

.how-steps {
  text-align: center;
  padding: 10px 0;
}
.step-card-title {
  margin: 0 0 10px 0;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.dot-accent {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}
.step-card-desc {
  margin: 0 0 14px 0;
  color: var(--muted);
  max-width: 50ch;
}

@media (min-width: 768px) {
  .how-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
  }
  .how-steps {
    text-align: left;
  }
  .step-card-title {
    justify-content: flex-start;
  }
}

/* Features */
.features .feature-grid {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}
.features h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.6vw, 2rem);
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.card h3 {
  margin: 0 0 6px 0;
  font-size: 1.1rem;
}
.card p {
  margin: 0;
  color: var(--muted);
}

/* How it works */
.how h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.6vw, 2rem);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0 0;
  display: grid;
  gap: 12px;
}
.step-num {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #0e1a28;
  border: 1px solid var(--border);
  color: var(--accent);
  margin-right: 10px;
  font-weight: 700;
}
.step-text {
  color: var(--muted);
}

/* Testimonials */
.testimonials h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3.6vw, 2rem);
}
.quotes {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.quotes figure {
  margin: 0;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.quotes blockquote {
  margin: 0 0 8px 0;
  font-size: 1.05rem;
}
.quotes figcaption {
  color: var(--muted);
}

/* Download */
.download {
  text-align: center;
}
.download-inner {
  display: grid;
  gap: 12px;
  justify-items: center;
}
.download h2 {
  margin: 0;
  font-size: clamp(1.6rem, 5vw, 2.2rem);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: #0a0f15;
  margin-top: 40px;
}
.footer-inner {
  display: grid;
  gap: 28px;
  padding: 40px 0 18px;
}
.footer-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
}
.footer-brand .brand-logo {
  width: 40px;
  height: 40px;
}
.footer-brand .brand-name {
  font-size: 0.95rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-col h4 {
  margin: 0 0 12px 0;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.footer-col a {
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-col a:hover {
  color: var(--text);
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  text-align: center;
}
.copyright {
  color: var(--muted);
  margin: 0;
  font-size: 0.85rem;
}

/* Medium screens (tablets) */
@media (min-width: 640px) {
  .nav.open ul {
    grid-template-columns: repeat(4, max-content);
    justify-content: center;
  }
  .phones {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
  .section {
    padding: 72px 0;
  }
  .features .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quotes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* CTA Hero Section */
.cta-hero {
  background: #0a0f17;
}
.cta-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.cta-content h2 {
  margin: 0 0 14px 0;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  line-height: 1.2;
  max-width: 45ch;
}
.cta-content p {
  margin: 0 0 20px 0;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.6;
}
.cta-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.cta-logo {
  width: 100%;
  max-width: 140px;
  height: auto;
  filter: drop-shadow(0 15px 35px rgba(58, 160, 255, 0.25));
}
.cta-brand {
  margin: 0;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--muted);
  font-size: 0.85rem;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr 0.8fr;
    gap: 40px;
  }
  .cta-visual {
    align-items: flex-end;
    text-align: right;
  }
  .cta-logo {
    max-width: 180px;
  }
}

@media (min-width: 640px) {
  .footer-content {
    gap: 32px;
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  .footer-col h4 {
    font-size: 0.9rem;
  }
  .footer-col a {
    font-size: 0.85rem;
  }
  .footer-col ul {
    gap: 6px;
  }
}

/* Large screens (desktops) */
@media (min-width: 960px) {
  .nav-toggle {
    display: none;
  }
  .nav {
    display: block;
    position: static;
  }
  .nav ul {
    display: flex;
    gap: 6px;
  }
  .nav.open {
    display: block;
    position: static;
    background: transparent;
    border: 0;
  }
  .hero {
    padding-top: 120px;
  }
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 28px;
  }
  .phones {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
    transform: perspective(1200px);
  }
  .phone-left {
    transform: rotateY(10deg) translateY(8px);
  }
  .phone-center {
    transform: translateY(-24px) scale(1.02);
  }
  .phone-right {
    transform: rotateY(-10deg) translateY(8px);
  }
}

/* XL screens */
@media (min-width: 1200px) {
  .hero-title {
    font-size: 3.8rem;
  }
  .container {
    width: min(1200px, 90%);
  }
}
