/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   HedgieMate - Pure, Light, Beautiful Design
   ========================================================================== */

@keyframes glassShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

:root {
  --primary: #0066cc;
  --secondary: #0db380;
  --brown: #8B4513;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-400: #bdbdbd;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: var(--white);
  color: var(--gray-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  padding: 12px 0;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 8px 32px 0 rgba(31, 38, 135, 0.12),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  overflow: hidden;
}

.navbar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  background-size: 200% 100%;
  animation: glassShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hedgehog-icon {
  width: 32px;
  height: 32px;
  background-image: url('../img/icon.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 50%;
}

.brand-name {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
}

.nav-menu {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-menu a {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 400;
  font-size: 15px;
  transition: all 0.2s ease;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary);
  background: rgba(0, 102, 204, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Hero */
.hero {
  padding: 120px 0 80px;
  margin-top: 60px;
  background: var(--white);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

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

.hero h1 {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 32px;
  color: var(--gray-600);
}

.hero-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

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

.phone-preview {
  position: relative;
}

.screenshot-carousel {
  position: relative;
  width: 280px;
  height: 607px;
}

.screenshot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
  background: var(--gray-200);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.25),
    0 10px 30px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.screenshot.active {
  opacity: 1;
}

.cta-button {
  background: rgba(0, 102, 204, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 12px rgba(0, 102, 204, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.cta-button:hover {
  background: rgba(13, 179, 128, 0.9);
  transform: translateY(-1px);
  box-shadow:
    0 6px 20px rgba(13, 179, 128, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.cta-secondary {
  color: var(--gray-600);
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  padding: 12px 16px;
  transition: color 0.2s ease;
}

.cta-secondary:hover {
  color: var(--primary);
}

/* Sections */
section {
  padding: 60px 0;
}

h2 {
  font-size: 36px;
  font-weight: 300;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 12px;
  color: var(--gray-900);
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 48px;
  font-weight: 400;
}

/* Download */
.download-section {
  background: linear-gradient(135deg, rgba(250, 250, 250, 0.9), rgba(245, 245, 245, 0.9));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  padding: 50px 0;
}

.download-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.download-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 600px;
  margin: 0 auto;
}

.download-item {
  text-align: center;
}

.download-item h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--gray-900);
  position: relative;
  display: inline-block;
}

.download-item p {
  font-size: 16px;
  color: var(--gray-600);
  margin-bottom: 20px;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 33, 33, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn.primary {
  background: var(--gray-900);
}

.download-btn.primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
}

.download-btn.disabled {
  background: var(--gray-400);
  color: var(--gray-600);
  cursor: not-allowed;
  opacity: 0.7;
  pointer-events: none;
}

.btn-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.btn-text {
  font-size: 12px;
  opacity: 0.8;
}

.btn-title {
  font-size: 16px;
  font-weight: 600;
}

/* Pricing */
.pricing-section {
  background: var(--white);
  padding: 60px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 40px 32px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.03), rgba(13, 179, 128, 0.03));
}

.pricing-badge {
  position: absolute;
  top: -12px;
  right: 32px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.pricing-header {
  text-align: center;
  margin-bottom: 32px;
}

.pricing-header h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.pricing-amount .price {
  font-size: 48px;
  font-weight: 300;
  color: var(--gray-900);
  line-height: 1;
}

.pricing-amount .price-period {
  font-size: 16px;
  color: var(--gray-600);
  font-weight: 400;
}

.pricing-description {
  font-size: 15px;
  color: var(--gray-600);
  margin: 0;
}

.pricing-features {
  flex: 1;
  margin-bottom: 32px;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  font-size: 15px;
  color: var(--gray-600);
  padding: 12px 0;
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 16px;
}

.pricing-features li strong {
  color: var(--gray-900);
  font-weight: 600;
}

.pricing-btn {
  display: block;
  text-align: center;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 1px solid;
}

.pricing-btn.primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.pricing-btn.primary:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 179, 128, 0.4);
}

.pricing-btn.secondary {
  background: transparent;
  color: var(--gray-900);
  border-color: var(--gray-300);
}

.pricing-btn.secondary:hover {
  background: var(--gray-100);
  border-color: var(--gray-400);
  transform: translateY(-2px);
}

/* Setup */
.setup-section {
  background: linear-gradient(135deg, rgba(250, 250, 250, 0.95), rgba(245, 245, 245, 0.95));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 40px 0;
  position: relative;
}

.setup-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.setup-header {
  text-align: center;
  margin-bottom: 40px;
}

.setup-flow {
  max-width: 900px;
  margin: 0 auto;
}

.setup-category {
  margin-bottom: 24px;
}

.category-header {
  text-align: center;
  margin-bottom: 32px;
}

.setup-category h3 {
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.setup-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-300), transparent);
  margin: 28px 0;
}

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

.step {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6);
}

.step-number {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.step-content {
  flex: 1;
}

.step h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.step p {
  font-size: 15px;
  color: var(--gray-600);
  margin-bottom: 16px;
  line-height: 1.6;
}

.step ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}

.step li {
  font-size: 15px;
  color: var(--gray-600);
  padding: 6px 0;
  position: relative;
  padding-left: 24px;
}

.step li::before {
  content: '✓';
  color: var(--secondary);
  position: absolute;
  left: 0;
  font-weight: 600;
}

.step li strong {
  color: var(--gray-900);
  font-weight: 600;
}

.step a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.step a:hover {
  text-decoration: underline;
}

.step a.step-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-900);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  min-width: 200px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.step a.step-download-btn:hover {
  background: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 102, 204, 0.3);
  text-decoration: none;
}

/* Code blocks */
.code-block {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 6px;
  margin: 12px 0;
  overflow-x: auto;
}

.code-header {
  background: var(--gray-100);
  color: var(--gray-700);
  padding: 8px 16px;
  font-size: 12px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-200);
  border-radius: 6px 6px 0 0;
}

.code-block code {
  padding: 16px;
  display: block;
  color: var(--gray-900);
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 13px;
  line-height: 1;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: break-word;
}

.step code:not(.code-block code) {
  background: var(--gray-100);
  color: var(--gray-900);
  padding: 2px 4px;
  border-radius: 3px;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 13px;
}

/* Help Section */
.help-section {
  margin-top: 64px;
}

.help-card {
  background: linear-gradient(135deg, rgba(0, 102, 204, 0.8), rgba(13, 179, 128, 0.8));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  box-shadow:
    0 20px 40px rgba(0, 102, 204, 0.25),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.help-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.help-content {
  color: white;
  position: relative;
  z-index: 2;
}

.help-content h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}

.help-content p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 24px;
  line-height: 1.6;
}

.help-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.help-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.help-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.help-btn.primary:hover {
  background: var(--gray-100);
  color: var(--secondary);
}

.help-btn.large {
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
}

.help-resources {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.help-resources h5 {
  color: white;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
  opacity: 0.9;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.resource-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  transition: all 0.2s ease;
}

.resource-link:hover {
  color: white;
  text-decoration: underline;
}


/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  color: var(--gray-900);
  padding: 64px 0 24px;
  position: relative;
  box-shadow:
    0 -10px 40px rgba(0, 0, 0, 0.05),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), var(--secondary), transparent);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  margin-bottom: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .hedgehog-icon {
  background-image: url('../img/icon.png');
}

.footer-brand .brand-name {
  color: var(--gray-900);
  font-size: 20px;
}

.brand-tagline {
  color: var(--gray-600);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-social {
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

.social-text {
  color: var(--gray-600);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: var(--gray-900);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background: linear-gradient(to right, var(--primary), var(--secondary));
  border-radius: 1px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--gray-600);
  text-decoration: none;
  font-size: 14px;
  display: block;
  padding: 4px 0;
  transition: all 0.3s ease;
  border-radius: 6px;
}

.footer-links a:hover {
  color: var(--primary);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-email {
  color: var(--gray-900);
  font-size: 14px;
  font-weight: 500;
}

.contact-note {
  color: var(--gray-600);
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-legal span {
  color: var(--gray-600);
  font-size: 12px;
}

.footer-credits span {
  color: var(--gray-600);
  font-size: 12px;
  opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
  .navbar .container {
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu {
    gap: 4px;
  }

  .nav-menu a {
    font-size: 13px;
    padding: 6px 6px;
  }

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

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

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

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .hero-cta {
    justify-content: center;
    flex-direction: column;
    gap: 8px;
  }

  .screenshot-carousel {
    width: 200px;
    height: 434px;
  }

  h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-card {
    padding: 32px 24px;
  }

  .pricing-header {
    margin-bottom: 24px;
  }

  .pricing-features {
    margin-bottom: 24px;
  }

  .pricing-features li {
    padding: 8px 0;
    padding-left: 24px;
    font-size: 14px;
  }

  .pricing-features li::before {
    left: 0;
    font-size: 14px;
  }

  .setup-section {
    padding: 60px 0;
  }

  .setup-header {
    margin-bottom: 48px;
  }

  .setup-category h3 {
    font-size: 24px;
  }

  .setup-divider {
    margin: 22px 0;
  }

  .step {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
  }

  .code-block {
    margin: 12px -8px;
  }

  .code-block code {
    font-size: 11px;
    padding: 12px;
  }

  .code-header {
    font-size: 11px;
    padding: 6px 12px;
  }

  .step-number {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .help-section {
    margin-top: 48px;
  }

  .help-card {
    padding: 32px 24px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-navigation {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}


@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Dark Mode
   ========================================================================== */

@media (prefers-color-scheme: dark) {
  :root {
    --primary: #4db8ff;
    --secondary: #1ee6a8;
    --white: #1a1a1a;
    --gray-50: #222222;
    --gray-100: #2a2a2a;
    --gray-200: #333333;
    --gray-300: #404040;
    --gray-400: #6a6a6a;
    --gray-600: #999999;
    --gray-700: #b3b3b3;
    --gray-800: #cccccc;
    --gray-900: #f0f0f0;
  }

  body {
    background: #0a0a0a;
    color: var(--gray-900);
  }

  .navbar {
    background: rgba(26, 26, 26, 0.5);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
      0 8px 32px 0 rgba(0, 0, 0, 0.4),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 0 rgba(0, 0, 0, 0.2);
  }

  .hero {
    background: #0a0a0a;
  }

  .download-section {
    background: linear-gradient(135deg, rgba(34, 34, 34, 0.95), rgba(42, 42, 42, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .download-section::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  }

  .pricing-section {
    background: #0a0a0a;
  }

  .pricing-card {
    background: rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .pricing-card:hover {
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .pricing-card.featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(77, 184, 255, 0.08), rgba(30, 230, 168, 0.08));
  }

  .pricing-btn.primary {
    background: var(--primary);
    color: var(--gray-50);
    border-color: var(--primary);
  }

  .pricing-btn.primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
  }

  .pricing-btn.secondary {
    background: transparent;
    color: var(--gray-900);
    border-color: var(--gray-400);
  }

  .pricing-btn.secondary:hover {
    background: var(--gray-200);
    border-color: var(--gray-300);
  }

  .setup-section {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(26, 26, 26, 0.95));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .setup-section::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  }

  .step {
    background: rgba(34, 34, 34, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 8px 32px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .step:hover {
    transform: translateY(-2px);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.5),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .setup-divider {
    background: linear-gradient(to right, transparent, var(--gray-400), transparent);
  }

  .code-block {
    background: var(--gray-100);
    border: 1px solid var(--gray-300);
  }

  .code-header {
    background: var(--gray-200);
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-300);
  }

  .code-block code {
    color: #00ff88;
  }

  .step code:not(.code-block code) {
    background: var(--gray-200);
    color: var(--gray-900);
  }

  .help-card {
    background: linear-gradient(135deg, rgba(77, 184, 255, 0.8), rgba(30, 230, 168, 0.8));
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
      0 20px 40px rgba(77, 184, 255, 0.3),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.2),
      inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .footer {
    background: rgba(34, 34, 34, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--gray-900);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 -10px 40px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .footer::before {
    background: linear-gradient(to right, transparent, var(--primary), var(--secondary), transparent);
  }

  .footer-brand .brand-name {
    color: var(--gray-900);
  }

  .footer-column h4 {
    color: var(--gray-900);
  }

  .footer-links a {
    color: var(--gray-600);
  }

  .footer-links a:hover {
    color: var(--primary);
  }

  .contact-email {
    color: var(--gray-900);
  }

  .footer-social {
    border-top: 1px solid var(--gray-300);
  }

  .footer-bottom {
    border-top: 1px solid var(--gray-300);
  }

  .download-btn.primary {
    background: rgba(240, 240, 240, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gray-50);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 4px 12px rgba(255, 255, 255, 0.1),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
  }

  .download-btn.primary:hover {
    background: var(--primary);
    color: var(--gray-50);
  }

  .cta-button {
    background: rgba(77, 184, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--gray-50);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
      0 4px 12px rgba(77, 184, 255, 0.3),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
  }

  .cta-button:hover {
    background: rgba(30, 230, 168, 0.9);
    transform: translateY(-1px);
    box-shadow:
      0 6px 20px rgba(30, 230, 168, 0.4),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
  }

  .screenshot {
    background: var(--gray-300);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.5),
      0 10px 30px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  }

  .cookie-consent {
    background: rgba(34, 34, 34, 0.85);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    color: var(--gray-900);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
      0 20px 40px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
      inset 0 -1px 0 0 rgba(255, 255, 255, 0.05);
  }

  .cookie-consent::after {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.05),
      transparent
    );
  }

  .cookie-text h4 {
    color: var(--gray-900);
  }

  .cookie-text p {
    color: var(--gray-600);
  }

  .cookie-btn.accept {
    background: rgba(77, 184, 255, 0.9);
    color: var(--gray-50);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow:
      0 4px 12px rgba(77, 184, 255, 0.3),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
  }

  .cookie-btn.accept:hover {
    background: rgba(30, 230, 168, 0.9);
    box-shadow:
      0 6px 20px rgba(30, 230, 168, 0.4),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
  }

  .cookie-btn.reject {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gray-600);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow:
      0 2px 8px rgba(0, 0, 0, 0.3),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
  }

  .cookie-btn.reject:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gray-800);
    box-shadow:
      0 4px 12px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  }
}

/* Cookie Consent Banner */
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  color: var(--gray-900);
  padding: 24px;
  z-index: 10000;
  border-radius: 20px;
  transform: translateY(120%);
  transition: transform 0.4s ease-out;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.cookie-consent::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  background-size: 200% 100%;
  animation: glassShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.cookie-text h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-900);
}

.cookie-text p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-600);
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: inherit;
}

.cookie-btn.accept {
  background: rgba(0, 102, 204, 0.9);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 4px 12px rgba(0, 102, 204, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.2);
}

.cookie-btn.accept:hover {
  background: rgba(13, 179, 128, 0.9);
  transform: translateY(-1px);
  box-shadow:
    0 6px 20px rgba(13, 179, 128, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.cookie-btn.reject {
  background: rgba(255, 255, 255, 0.5);
  color: var(--gray-600);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.3);
}

.cookie-btn.reject:hover {
  background: rgba(255, 255, 255, 0.7);
  color: var(--gray-800);
  transform: translateY(-1px);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .cookie-consent {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 20px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    max-width: 140px;
  }
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
