/* ==========================================================================
   Five Foot Gimme — Design System & Styles
   ========================================================================== */

:root {
  /* Dark Glassmorphic Color Palette */
  --bg-dark: #090d16;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --border-card: rgba(51, 65, 85, 0.5);
  --border-highlight: rgba(16, 185, 129, 0.4);

  /* Primary & Accent Gradients */
  --accent-emerald: #10b981;
  --accent-emerald-light: #34d399;
  --accent-cyan: #0ea5e9;
  --gradient-primary: linear-gradient(135deg, #10b981 0%, #059669 100%);

  /* Typography */
  --font-heading: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1050px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
  border-bottom: 1px solid rgba(16, 185, 129, 0.3);
  padding: 10px 0;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: #34d399;
  letter-spacing: 0.02em;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #34d399;
  border-radius: 50%;
  box-shadow: 0 0 10px #34d399;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
  100% { opacity: 1; transform: scale(1); }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0 40px;
  text-align: center;
}

.hero-bg-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 550px;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(16, 185, 129, 0.22) 0%, rgba(14, 165, 233, 0.08) 45%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
}

.brand-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 9999px;
  color: var(--accent-emerald-light);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
}

/* Download Buttons */
.download-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-download {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-primary);
  min-width: 210px;
  backdrop-filter: blur(12px);
}

.btn-download:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: var(--accent-emerald);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.35);
}

.btn-icon {
  flex-shrink: 0;
  fill: currentColor;
}

.btn-windows .btn-icon {
  color: #38bdf8;
}

.btn-macos .btn-icon {
  color: #f1f5f9;
}

.btn-text-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  line-height: 1.2;
}

.btn-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

.btn-os {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.release-version-badge {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Compact Section Titles & Layout */
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 32px;
  color: #ffffff;
}

.how-it-works-section,
.booking-section,
.faq-section {
  padding: 40px 0;
}

/* How It Works Side-by-Side Content Grid */
.how-it-works-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 36px;
  align-items: center;
}

.steps-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: left;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 20px 24px;
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--border-highlight);
  transform: translateX(4px);
  box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.2);
}

.step-number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: var(--accent-emerald-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0;
}

.step-details {
  flex: 1;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.step-text {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.video-column {
  display: flex;
  justify-content: center;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 16;
  position: relative;
}

.demo-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #000000;
}

/* Booking Section */
.policy-alert {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
  font-size: 0.875rem;
  color: #fef08a;
  line-height: 1.5;
}

.alert-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.calendly-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
}

/* Booking CTA Card (Pop-Up Trigger) */
.booking-cta-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
}

.cta-card-content {
  flex: 1;
  min-width: 260px;
}

.cta-card-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.cta-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.btn-book-popup {
  background: var(--gradient-primary);
  color: #ffffff;
  padding: 16px 32px;
  border-radius: 12px;
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-book-popup:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -5px rgba(16, 185, 129, 0.4);
}

/* FAQ Section */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--accent-emerald);
}

.faq-header {
  width: 100%;
  padding: 18px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-emerald-light);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  display: none;
  padding: 0 24px 18px;
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
}

.faq-item.active .faq-body {
  display: block;
}

/* Footer & Lead Capture */
.footer-section {
  background: #04070d;
  border-top: 1px solid var(--border-card);
  padding: 50px 0 30px;
  margin-top: 40px;
}

.community-box {
  text-align: center;
  max-width: 550px;
  margin: 0 auto 40px;
}

.community-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.community-tagline {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid var(--border-card);
  border-radius: 10px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 0.925rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.newsletter-input:focus {
  border-color: var(--accent-emerald);
}

.btn-submit {
  background: var(--gradient-primary);
  border: none;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.footer-bottom {
  border-top: 1px solid rgba(51, 65, 85, 0.4);
  padding-top: 24px;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
}

.disclaimer {
  margin-top: 10px;
  line-height: 1.5;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Breakpoints */
@media (max-width: 850px) {
  .how-it-works-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .download-group {
    flex-direction: column;
    width: 100%;
  }
  .btn-download {
    width: 100%;
  }
  .newsletter-form {
    flex-direction: column;
  }
}
