/* CSS Variables for Consistent Theming */
:root {
  --primary-color: #14b8a6;
  --primary-dark: #0d9488;
  --secondary-color: #06b6d4;
  --accent-color: #10b981;
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-muted: #9ca3af;
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --border-color: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 8px 10px -6px rgba(0, 0, 0, 0.799);
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
  --gradient-primary: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  --gradient-accent: linear-gradient(
    135deg,
    var(--accent-color),
    var(--primary-color)
  );
}

/* Glass Morphism Variables */
:root {
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-backdrop: blur(10px);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --bg-primary: #111827;
    --bg-secondary: #1f2937;
    --bg-tertiary: #374151;
    --border-color: #374151;
    --border-light: #4b5563;
    --glass-bg: rgba(0, 0, 0, 0.2);
    --glass-border: rgba(255, 255, 255, 0.1);
  }
}

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

html {
  scroll-behavior: smooth;
}

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

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== ENHANCED NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
  position: relative;
}

.nav-brand:hover {
  transform: translateY(-2px);
}

.nav-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  transition: all 0.3s ease;
  position: relative;
  text-shadow: 0 1px 2px rgba(20, 184, 166, 0.3);
}

.brand-name:hover {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.brand-name::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-brand:hover .brand-name::after {
  width: 100%;
}

.logo {
  font-size: 1.75rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem;
  border-radius: 6px;
}

.nav-links a:hover {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links .btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  border: none;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.nav-links .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.nav-mobile {
  display: none;
}

.hamburger {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, rgb(42, 192, 192), rgb(23, 140, 140));
    backdrop-filter: blur(25px);
    flex-direction: column;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);

    /* smooth animation */
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
    border-radius: 0 0 12px 12px;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }

  .nav-links a {
    padding: 1rem 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease-in-out;
  }

  .nav-links a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-mobile {
    display: block;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--text-primary);
    transition: transform 0.3s ease-in-out;
  }

  .nav-mobile:hover {
    transform: rotate(90deg);
    color: #fff;
  }
}

/* Buttons */
.btn-primary {
  background: var(--gradient-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-color);
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.btn-primary.large,
.btn-secondary.large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ===== ENHANCED HERO SECTION ===== */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%);
  position: relative;
  overflow: hidden;
  color: white;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 80%,
      rgba(120, 119, 198, 0.3) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 119, 198, 0.2) 0%,
      transparent 50%
    ),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%2314b8a6" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.4;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Enhanced badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #22d3ee;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Enhanced hero title */
.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.gradient-text {
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Enhanced hero description */
.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.7;
  font-weight: 400;
}

/* Enhanced hero buttons */
.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-buttons .btn-primary {
  background: linear-gradient(135deg, #22d3ee 0%, #0ea5e9 100%);
  border: none;
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.3);
}

.hero-buttons .btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.hero-buttons .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
}

/* Enhanced stats */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #22d3ee;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  margin-top: 0.25rem;
}

/* ===== ENHANCED HERO VISUAL ===== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  background: #1e293b;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid #334155;
  max-width: 480px;
  width: 100%;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.3s ease;
  position: relative;
}

.hero-card:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.6);
}

.hero-card-header {
  background: #0f172a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #334155;
}

.window-controls {
  display: flex;
  gap: 8px;
}

.control {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.control.red {
  background: #ef4444;
}
.control.yellow {
  background: #f59e0b;
}
.control.green {
  background: #10b981;
}

.file-name {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  font-family: var(--font-sans);
}

.hero-card-content {
  padding: 20px;
  font-size: 14px;
  line-height: 1.5;
  background: #1e293b;
  position: relative;
  color: white;
  min-height: 220px;
}

.code-line {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  min-height: 20px;
}

.line-number {
  color: #475569;
  min-width: 40px;
  text-align: right;
  font-size: 12px;
  user-select: none;
}

.code-indent {
  min-width: 20px;
  display: inline-block;
}

/* ===== CODE SYNTAX HIGHLIGHTING ===== */
.code-keyword {
  color: #f472b6;
  font-weight: 600;
}

.code-function {
  color: #7dd3fc;
}

.code-parameter {
  color: #cbd5e1;
}

.code-punctuation {
  color: #94a3b8;
}

.code-operator {
  color: #f59e0b;
}

.code-number {
  color: #10b981;
}

.code-property {
  color: #7dd3fc;
}

.code-comment {
  color: #64748b;
  font-style: italic;
}

.code {
  color: #cbd5e1;
}

/* ===== AI SUGGESTION STYLES ===== */
.ai-suggestion-line {
  background: rgba(34, 211, 238, 0.1);
  border-left: 3px solid #22d3ee;
  margin-left: -20px;
  padding-left: 17px;
  padding-top: 4px;
  padding-bottom: 4px;
  animation: pulse-glow 2s ease-in-out infinite alternate;
}

.ai-suggestion {
  color: #22d3ee;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 13px;
}

.ai-icon {
  font-size: 12px;
}

.ai-tooltip {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #22d3ee, #0ea5e9);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4);
  animation: slideInUp 0.5s ease-out;
  font-family: var(--font-sans);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 200px;
  line-height: 1.3;
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-glow {
  0% {
    background: rgba(34, 211, 238, 0.1);
  }
  100% {
    background: rgba(34, 211, 238, 0.15);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== DEMO CONTAINER STYLES ===== */
.demo-container {
  background: #1e293b;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  border: 1px solid #334155;
  max-width: 800px;
  width: 100%;
  transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
  transition: all 0.3s ease;
  position: relative;
}

.demo-container:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateY(-5px);
  box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.6);
}

.demo-header {
  background: #0f172a;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #334155;
}

.demo-title {
  font-size: 13px;
  font-weight: 500;
  color: #94a3b8;
  font-family: var(--font-sans);
}

.demo-content {
  position: relative;
  padding: 0;
  background: #111827;
}

.demo-gif {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  min-height: 350px;
  object-fit: cover;
}

.demo-overlay {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.demo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #22d3ee;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-sans);
}

.ai-icon {
  font-size: 16px;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Features Section */
.features {
  padding: 80px 0;
  background: var(--bg-primary);
}

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

.feature-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.feature-stats {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.feature-stats span {
  background: var(--bg-secondary);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* How It Works Section */
.how-it-works {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.steps {
  display: grid;
  gap: 3rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.step-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.step-code {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  font-family: "Monaco", "Menlo", monospace;
  font-size: 0.875rem;
}
.image-hidden-for-extension {
  display: none;
}
.step-code code {
  color: var(--primary-color);
}

.step-code a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

/* Docs Section */
.docs {
  padding: 80px 0;
  background: var(--bg-primary);
}

.docs-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.docs-content p {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Comparison Section */
.comparison {
  padding: 80px 0;
  background: var(--bg-primary);
}

.comparison-table {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background: var(--bg-primary);
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}

.comparison-table th.highlight {
  background: var(--gradient-primary);
  color: white;
}

.comparison-table td.highlight {
  background: rgba(20, 184, 166, 0.05);
  color: var(--primary-color);
  font-weight: 600;
}

/* Install Section */
.install {
  padding: 80px 0;
  background: var(--gradient-primary);
  color: white;
  text-align: center;
}

.install-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.install-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

.install-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

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

.install-buttons .btn-secondary {
  border-color: white;
  color: white;
}

.install-buttons .btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

.install-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.install-stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-icon {
  font-size: 1.25rem;
}

.stat-text {
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--bg-tertiary);
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.footer-brand p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-column h4 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* Tablet and medium screen responsiveness */
@media (max-width: 1024px) {
  .hero-container {
    gap: 3rem;
  }

  .demo-container {
    max-width: 700px;
  }

  .demo-gif {
    max-height: 450px;
    min-height: 300px;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .demo-container {
    max-width: 90%;
    transform: perspective(800px) rotateY(-3deg) rotateX(3deg);
    margin: 0 auto;
  }

  .demo-container:hover {
    transform: perspective(800px) rotateY(0deg) rotateX(0deg) translateY(-3px);
  }

  .demo-gif {
    max-height: 400px;
    min-height: 280px;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    height: 64px;
    padding: 0 1rem;
  }

  .nav-brand {
    gap: 0.5rem;
  }

  .nav-logo {
    width: 32px;
    height: 32px;
  }

  .brand-name {
    font-size: 1.25rem;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile {
    display: block;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
  }

  .stat {
    align-items: center;
    text-align: center;
  }

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

  .step {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .install-buttons {
    flex-direction: column;
    align-items: center;
  }

  .install-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .demo-container {
    max-width: 100%;
    transform: none;
    border-radius: 8px;
    margin: 0 auto;
  }

  .demo-container:hover {
    transform: translateY(-3px);
  }

  .demo-gif {
    max-height: 300px;
    min-height: 200px;
  }

  .demo-overlay {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 10px 12px;
  }

  .demo-badge {
    font-size: 13px;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .nav-container {
    height: 60px;
    padding: 0 0.75rem;
  }

  .nav-brand {
    gap: 0.4rem;
  }

  .nav-logo {
    width: 28px;
    height: 28px;
  }

  .brand-name {
    font-size: 1.1rem;
  }

  .demo-container {
    margin: 0 10px;
    border-radius: 6px;
  }

  .demo-gif {
    max-height: 250px;
    min-height: 180px;
  }

  .demo-header {
    padding: 10px 12px;
  }

  .demo-title {
    font-size: 12px;
  }

  .window-controls .control {
    width: 10px;
    height: 10px;
  }
}

/* Prevent header from covering section titles */
section {
  scroll-margin-top: 80px; /* modern browsers */
  padding-top: 80px; /* fallback */
}
