/* ========================================
   PulseDeck — Global Stylesheet
   ======================================== */

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: #0D1117;
}

body {
  background-color: #0D1117;
  color: #E6EDF3;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Container */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accent */
.accent {
  color: #39FF14;
}

/* Links */
a {
  color: #39FF14;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background: #39FF14;
  color: #0D1117;
  font-weight: 700;
  border-radius: 8px;
  padding: 14px 28px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  transition: box-shadow 0.3s ease;
}

.btn-primary:hover {
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.35);
  text-decoration: none;
}

/* ========================================
   Header / Nav
   ======================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #0D1117;
  border-bottom: 1px solid #1C2A1E;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.site-header .logo img {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: #E6EDF3;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #39FF14;
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #E6EDF3;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #0D1117;
    border-bottom: 1px solid #1C2A1E;
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }

  .nav-links.open {
    display: flex;
  }
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
  margin-top: auto;
  border-top: 1px solid #1C2A1E;
  padding: 32px 0;
  text-align: center;
  color: #7D8590;
  font-size: 0.875rem;
}

.site-footer a {
  color: #39FF14;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  padding: 64px 0 48px;
}

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

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #39FF14;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: #7D8590;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 480px;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 24px rgba(57, 255, 20, 0.15);
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .hero {
    padding: 80px 0 64px;
  }
}

/* ========================================
   Features Section
   ======================================== */
.features {
  padding: 48px 0;
}

.features h2 {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.feature-card {
  background: #0F1923;
  border: 1px solid #1C2A1E;
  border-radius: 12px;
  padding: 24px;
}

.feature-card .feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #E6EDF3;
}

.feature-card p {
  color: #7D8590;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   App Showcase Section
   ======================================== */
.showcase {
  padding: 48px 0 64px;
}

.showcase h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.showcase p {
  color: #7D8590;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ========================================
   Page Title (inner pages)
   ======================================== */
.page-header {
  padding: 48px 0 24px;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
}

.page-intro {
  color: #7D8590;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ========================================
   Content Cards (Support, Legal pages)
   ======================================== */
.content-section {
  padding-bottom: 48px;
}

.content-card {
  background: #0F1923;
  border: 1px solid #1C2A1E;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
}

.content-card h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #E6EDF3;
}

.content-card p,
.content-card ul {
  color: #7D8590;
  font-size: 0.9rem;
  line-height: 1.7;
}

.content-card ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.content-card ul li {
  margin-bottom: 6px;
}

/* Legal pages without cards */
.legal-section {
  padding-bottom: 48px;
}

.legal-section h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
  color: #E6EDF3;
}

.legal-section p {
  color: #7D8590;
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-note {
  color: #7D8590;
  font-size: 0.85rem;
  font-style: italic;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #1C2A1E;
}
