/* GhostSolve Landing Page */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #fafafa;
  --bg-dark: #0a0a0a;
  --card: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #6b6b6b;
  --text-muted: #9a9a9a;
  --border: #e5e5e5;
  --accent: #1a1a1a;
  --accent-light: #333;
  --gradient-start: #6366f1;
  --gradient-end: #8b5cf6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
}

.nav-icon {
  font-size: 24px;
}

.nav-text {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 500;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
}

.btn-xl {
  padding: 18px 36px;
  font-size: 17px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--card);
  border-color: var(--text-muted);
}

.btn-white {
  background: white;
  color: var(--text);
}

.btn-white:hover {
  background: #f5f5f5;
  transform: translateY(-1px);
}

.btn-badge {
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
}

/* Hero */
.hero {
  padding: 140px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-title {
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 440px;
  margin: 0 0 36px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-gif {
  width: 100%;
  max-width: 500px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Used By Section */
.used-by {
  padding: 60px 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.used-by-label {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-track {
  display: flex;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.logo-track img {
  height: 40px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all 0.3s;
}

.logo-track img:hover {
  opacity: 0.8;
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Works With Section */
.works-with {
  padding: 80px 0;
  background: var(--bg-dark);
  color: white;
}

.works-with-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.works-with-text h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.works-with-text p {
  font-size: 16px;
  color: #9a9a9a;
  line-height: 1.7;
  margin-bottom: 24px;
}

.works-with-text .btn-secondary {
  background: transparent;
  color: white;
  border-color: #444;
}

.works-with-text .btn-secondary:hover {
  background: #222;
  border-color: #666;
}

.platforms-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-bottom: 16px;
}

.platform-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.platform-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.platform-badge:hover {
  border-color: #555;
  background: #222;
}

.platform-icon {
  font-size: 18px;
}

@media (max-width: 768px) {
  .works-with-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .works-with-text h2 {
    font-size: 26px;
  }
  
  .platform-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Features */
.features {
  padding: 120px 0;
  background: var(--card);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* How it works */
.how-it-works {
  padding: 120px 0;
  background: linear-gradient(180deg, #e8f0fe 0%, var(--bg) 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step-card {
  text-align: center;
}

.step-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text);
}

.step-image {
  position: relative;
  background: var(--card);
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.step-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.step-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
}

.shortcut-text {
  font-size: 32px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -1px;
}

.timer-icon {
  font-size: 80px;
  opacity: 0.6;
}

.step-image-gif {
  background: var(--card);
}

.step-image-gif img {
  object-position: left top;
}

.step-image-gif .step-overlay {
  background: transparent;
}

.overlay-text {
  font-size: 20px;
  font-weight: 600;
  color: white;
  text-align: center;
  padding: 12px 24px;
  background: rgba(26, 26, 26, 0.95);
  border-radius: 8px;
  letter-spacing: -0.3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* FAQ */
.faq {
  padding: 120px 0;
  background: var(--card);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item a {
  color: var(--accent);
  text-decoration: underline;
  transition: color 0.2s;
}

.faq-item a:hover {
  color: var(--accent-light);
}

/* CTA */
.cta {
  padding: 120px 0;
  background: var(--bg-dark);
  color: white;
}

.cta-content {
  text-align: center;
}

.cta-icon {
  font-size: 48px;
  margin-bottom: 24px;
}

.cta h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 12px;
}

.cta p {
  font-size: 16px;
  color: #9a9a9a;
  margin-bottom: 32px;
}

.cta .btn-white svg {
  width: 18px;
  height: 18px;
}

/* Footer */
.footer {
  padding: 40px 0;
  background: var(--bg-dark);
  border-top: 1px solid #222;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.footer-icon {
  font-size: 20px;
}

.footer-text {
  font-size: 16px;
  font-weight: 600;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #9a9a9a;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  color: #6b6b6b;
  font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .hero {
    padding: 100px 0 40px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 36px;
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  .hero-title {
    font-size: 36px;
    letter-spacing: -1px;
  }
  
  .hero-subtitle {
    font-size: 16px;
  }
  
  .hero-gif {
    max-width: 100%;
  }
  
  .used-by {
    padding: 40px 0;
  }
  
  .logo-track img {
    height: 32px;
  }
  
  .logo-track {
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .step-card h3 {
    font-size: 18px;
  }
  
  .shortcut-text {
    font-size: 24px;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

