@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   GeeDrive Website Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variables & Base
   -------------------------------------------------------------------------- */
:root {
  --bg: #03101f;
  --bg2: #061a31;
  --card: #0a213b;
  --line: rgba(154, 207, 255, .16);
  --text: #f6fbff;
  --muted: #9cb1c6;
  --blue: #1f9df0;
  --cyan: #7bdcff;
  --silver: #d8e9f4;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 70% 0, #0b3154 0, transparent 32rem),
    var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  padding: 1rem;
  background: #fff;
  color: #000;
}

/* --------------------------------------------------------------------------
   2. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  height: 84px;
  max-width: var(--max);
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
}

.brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 800;
}

.brand img {
  width: 42px;
  height: 42px;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #c4d3e1;
  font-size: .9rem;
}

.site-header nav a:hover {
  color: #fff;
}

.lang {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px;
}

/* --------------------------------------------------------------------------
   3. Layout Sections
   -------------------------------------------------------------------------- */
.section {
  max-width: var(--max);
  margin: auto;
  padding: 120px 24px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.section-heading h2,
.showcase h2,
.technical h2,
.final-cta h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  margin: 12px 0 18px;
}

.eyebrow,
.kicker {
  font-size: .73rem;
  letter-spacing: .18em;
  font-weight: 800;
  color: var(--cyan);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lede,
.section-heading > p,
.showcase-copy > p {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 650px;
}

/* --------------------------------------------------------------------------
   4. Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 64px;
  align-items: center;
  padding-top: 70px;
}

.hero h1 {
  font-size: clamp(3.1rem, 6vw, 6.1rem);
  line-height: .96;
  letter-spacing: -.065em;
  margin: 22px 0 26px;
}

.gradient-text {
  background: linear-gradient(110deg, #fff 10%, #75d4ff 48%, #298ee3);
  color: transparent;
  background-clip: text;
  -webkit-background-clip: text;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ad7ff;
  box-shadow: 0 0 18px #4ad7ff;
}

.button-row {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.button {
  padding: 14px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.primary {
  background: linear-gradient(135deg, #25a9f4, #1372d0);
  box-shadow: 0 10px 35px rgba(31, 157, 240, .25);
}

.secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}

.availability {
  color: #718aa2;
  font-size: .78rem;
  margin-top: 18px;
}

.hero-visual {
  position: relative;
  perspective: 1000px;
}

.dashboard-frame {
  padding: 13px;
  border-radius: 27px;
  background: linear-gradient(145deg, #e2f3fc, #628199 10%, #06111c 18%, #14283a 86%, #9bbacc);
  box-shadow:
    0 30px 100px #000,
    0 0 100px rgba(31, 157, 240, .14);
  transform: rotateY(-5deg) rotateX(2deg);
}

.ambient-ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(91, 192, 255, .18);
  border-radius: 50%;
  left: 3%;
  top: -20%;
  box-shadow: 0 0 80px rgba(31, 157, 240, .12);
  animation: spin 25s linear infinite;
}

.status-pill {
  position: absolute;
  right: 5%;
  bottom: -20px;
  background: #0c2238;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  font-size: .72rem;
  color: #b7c8d8;
  box-shadow: 0 15px 30px #000;
  display: flex;
  align-items: center;
  gap: 8px;
}

.status-pill span:first-child {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #50d2ff;
}

.trust-strip {
  border-block: 1px solid var(--line);
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #7f9ab1;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .12em;
}

.trust-strip i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #257fb5;
}

/* --------------------------------------------------------------------------
   5. Screenshot Placeholders & Images
   --------------------------------------------------------------------------
   Placeholders show the GeeDrive icon + label until a real screenshot is
   dropped in. Any <img> whose src contains "screenshots/" (or that sits inside
   an element with class "has-image") is treated as a real screenshot: it fills the frame, shows the WHOLE picture (no cropping),
   and the placeholder text/number are hidden automatically.
   -------------------------------------------------------------------------- */

/* Shared frame look */
.screen-placeholder,
.wide-placeholder,
.placeholder {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, #0b2845, #061421);
}

/* Hero frame */
.screen-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 17px;
  border-color: rgba(255, 255, 255, .08);
  background: linear-gradient(135deg, #06111e, #0d2a47);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 30px;
}

.screen-placeholder img {
  width: 90px;
  filter: drop-shadow(0 15px 25px #000);
}

.screen-placeholder strong {
  font-size: 1rem;
}

.screen-placeholder span,
.placeholder small {
  color: #6f8ca6;
  font-size: .72rem;
}

/* Showcase frame (Now Playing section) */
.wide-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  box-shadow: 0 30px 70px #000;
}

.wide-placeholder > span,
.placeholder > span {
  position: absolute;
  top: 15px;
  left: 18px;
  color: #315a78;
  font-size: .7rem;
}

.wide-placeholder img {
  width: 75px;
}

.wide-placeholder div {
  display: flex;
  flex-direction: column;
}

.wide-placeholder small {
  color: #63809a;
}

/* Gallery frames */
.screens {
  padding-top: 80px;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.shot {
  margin: 0;
}

.shot.large {
  grid-column: span 2;
}

.placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.shot.large .placeholder {
  aspect-ratio: 2.3 / 1;
}

.placeholder img {
  width: 65px;
  opacity: .8;
}

.placeholder b {
  font-size: .9rem;
}

.shot figcaption {
  color: #7f99b0;
  font-size: .78rem;
  padding: 12px 4px;
}

/* ---- REAL SCREENSHOT FIX: fill the frame, show the entire picture ---- */
.screen-placeholder img[src*="screenshots/"],
.wide-placeholder img[src*="screenshots/"],
.placeholder img[src*="screenshots/"],
.has-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: contain;      /* change to "cover" to fill edge-to-edge (crops) */
  object-position: center;
  display: block;
  opacity: 1;
  filter: none;
  background: #061421;
}

/* Hide placeholder labels once a real screenshot is present */
.screen-placeholder:has(img[src*="screenshots/"]) > strong,
.screen-placeholder:has(img[src*="screenshots/"]) > span,
.wide-placeholder:has(img[src*="screenshots/"]) > div,
.wide-placeholder:has(img[src*="screenshots/"]) > span,
.placeholder:has(img[src*="screenshots/"]) > b,
.placeholder:has(img[src*="screenshots/"]) > small,
.placeholder:has(img[src*="screenshots/"]) > span,
.has-image > b,
.has-image > small,
.has-image > span {
  display: none;
}

/* --------------------------------------------------------------------------
   6. Features
   -------------------------------------------------------------------------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.feature {
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11, 38, 66, .8), rgba(5, 21, 38, .65));
  transition: .3s;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: rgba(91, 192, 255, .35);
}

.feature.featured {
  background:
    radial-gradient(circle at 90% 0, rgba(31, 157, 240, .28), transparent 50%),
    #0a2744;
}

.feature-icon {
  width: 43px;
  height: 43px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #103a61;
  color: #80d9ff;
  font-size: 1.25rem;
}

.feature h3 {
  font-size: 1.05rem;
  margin: 26px 0 10px;
}

.feature p {
  font-size: .88rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   7. Showcase
   -------------------------------------------------------------------------- */
.showcase {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  align-items: center;
  gap: 60px;
}

.check-list {
  padding: 0;
  list-style: none;
  color: #c2d1df;
}

.check-list li {
  margin: 12px 0;
}

.check-list li:before {
  content: '✓';
  color: #66d6ff;
  margin-right: 11px;
}

/* --------------------------------------------------------------------------
   8. Technical Card
   -------------------------------------------------------------------------- */
.technical-card {
  padding: 55px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 80% 40%, rgba(26, 135, 214, .28), transparent 35%),
    linear-gradient(130deg, #0c2a49, #061524);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
}

.technical-card p {
  color: var(--muted);
}

.metric-list {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-list div {
  display: flex;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.metric-list strong {
  width: 80px;
  color: #7bdcff;
  font-size: 1.4rem;
}

.metric-list span {
  color: #a6baca;
  font-size: .85rem;
}

/* --------------------------------------------------------------------------
   9. Roadmap
   -------------------------------------------------------------------------- */
.roadmap-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.road-col {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  background: rgba(9, 31, 54, .7);
}

.road-col h3 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.complete {
  background: #50e09a;
  box-shadow: 0 0 14px #50e09a;
}

.planned {
  background: #56bfff;
  box-shadow: 0 0 14px #56bfff;
}

.road-col ul {
  list-style: none;
  padding: 0;
  color: #a9bdcf;
}

.road-col li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}

/* --------------------------------------------------------------------------
   10. FAQ
   -------------------------------------------------------------------------- */
.accordion {
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
  padding: 22px 5px;
}

summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
}

summary:after {
  content: '+';
  color: #66cfff;
  font-size: 1.4rem;
}

details[open] summary:after {
  content: '−';
}

details p {
  color: var(--muted);
  max-width: 750px;
}

/* --------------------------------------------------------------------------
   11. Final CTA
   -------------------------------------------------------------------------- */
.final-cta {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 35px;
  padding-top: 70px;
  padding-bottom: 70px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(120deg, #0a2948, #0a1c30);
  margin-bottom: 100px;
}

.final-cta img {
  width: 100px;
}

.final-cta h2 {
  font-size: 2.3rem;
  margin: 7px 0;
}

.final-cta p {
  margin: 0;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--line);
  max-width: var(--max);
  margin: auto;
  padding: 35px 24px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  color: #6e899f;
  font-size: .72rem;
}

footer > p:last-child {
  text-align: right;
}

.footer-brand img {
  width: 32px;
}

/* --------------------------------------------------------------------------
   13. Animations
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: .1s;
}

.delay-2 {
  transition-delay: .2s;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   14. Responsive — Tablet
   -------------------------------------------------------------------------- */
@media (max-width: 850px) {
  .site-header nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: #091c30;
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 20px;
  }

  .site-header nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero,
  .showcase,
  .technical-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-visual {
    margin: 40px 0;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .roadmap-columns {
    grid-template-columns: 1fr;
  }

  .final-cta {
    grid-template-columns: 75px 1fr;
    margin-inline: 16px;
  }

  .final-cta .button {
    grid-column: 1 / -1;
  }

  .final-cta img {
    width: 75px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: center;
  }

  footer .footer-brand {
    justify-content: center;
  }

  footer > p:last-child {
    text-align: center;
  }

  .trust-strip {
    gap: 12px;
    flex-wrap: wrap;
    padding: 20px;
  }

  .ambient-ring {
    width: 330px;
    height: 330px;
  }
}

/* --------------------------------------------------------------------------
   15. Responsive — Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 560px) {
  .section {
    padding: 80px 18px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .button-row {
    flex-direction: column;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    grid-template-columns: 1fr;
  }

  .shot.large {
    grid-column: auto;
  }

  .shot.large .placeholder {
    aspect-ratio: 16 / 9;
  }

  .status-pill {
    position: relative;
    right: auto;
    bottom: auto;
    margin: 15px auto;
    width: max-content;
  }

  .technical-card {
    padding: 28px;
  }

  .final-cta {
    padding: 35px 22px;
    grid-template-columns: 60px 1fr;
  }

  .final-cta img {
    width: 60px;
  }

  .final-cta h2 {
    font-size: 1.65rem;
  }
}
