:root {
  --bg-dark: #0d1117;
  --bg-card: rgba(22,27,34,0.95);
  --text-light: #e6edf3;
  --text-muted: #8b949e;
  --accent: #58a6ff;
  --accent-hover: #4791db;
  --border-color: #30363d;
  --shadow: 0 8px 24px rgba(0,0,0,0.3);
  --text-success: #2ea043;
  --text-danger: #d73a49;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  background: linear-gradient(135deg, #0d1117 0%, #161b22 50%, #21262d 100%);
  color: var(--text-light);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 72px; /* offset for fixed-top navbar */
  /* iOS Safari fixes */
  -webkit-overflow-scrolling: touch;
  -webkit-text-size-adjust: 100%;
}

@media (max-width: 991.98px) {
  body { padding-top: 64px; }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-hover);
}

.text-accent {
  color: var(--accent) !important;
}

.text-muted {
  color: var(--text-muted) !important;
}

/* Buttons */
.btn-outline-accent {
  color: var(--accent);
  border: 1px solid var(--accent);
  background: transparent;
  padding: 0.25rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}

.btn-outline-accent:hover {
  background-color: var(--accent);
  color: #fff;
}

.btn-accent {
  background-color: var(--accent);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* Navbar */
.navbar {
  background-color: var(--bg-card);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-light) !important;
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--accent) !important;
}

/* Navbar Toggler - Fix for dark background */
.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.5rem;
  background: transparent;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(88, 166, 255, 0.25);
  border-color: var(--accent);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(230, 237, 243, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Alternative: Use Bootstrap Icons for hamburger menu */
.navbar-toggler .bi-list {
  color: var(--text-light);
  font-size: 1.5rem;
}

.dropdown-menu {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-top: 8px;
}

.dropdown-item {
  color: var(--text-light);
  padding: 0.5rem 1rem;
  transition: background 0.3s ease;
}

.dropdown-item:hover {
  background-color: var(--accent);
  color: #fff !important;
}

/* Hero Content Styles */
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.lead.text-muted {
  color: #c9d1d9 !important;
  font-weight: 500;
}

.hero-rotating-images {
  position: relative;
  height: 500px;
  width: 120%;
  margin-top: 0;
}

.hero-rotating-images img {
  max-height: 500px;
  max-width: 100%;
  width: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease-in-out;
}

.hero-rotating-images img.active {
  opacity: 1;
  z-index: 1;
}

/* Make hero image appear larger without changing hero height */
@media (min-width: 992px) {
  .hero-rotating-images img {
    width: 200%;
    height: 200%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Sections */
.section-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 2.5rem;
  text-align: center;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Cards */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-title {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  flex-grow: 1;
  text-align: center;
}

/* Pricing List Items */
.pricing-list li {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.pricing-list .bi-check-circle-fill {
  color: var(--text-success);
}

.pricing-list .bi-x-circle-fill {
  color: var(--text-danger);
}

.pricing-list li i {
  color: var(--accent) !important;
}

/* Pricing badge */
.badge-popular {
  background-color: var(--accent);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background-color: var(--bg-dark);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

.footer a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent);
}

.footer .social i {
  font-size: 1.75rem;
  margin: 0 0.75rem;
  transition: all 0.3s ease;
}

.footer .social i:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 768px) {
  .navbar-nav {
    padding: 1rem;
    background: var(--bg-card);
    border-radius: 8px;
  }

  .hero {
    padding: 4rem 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .card {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer .col-md-4 {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .btn-accent {
    width: 100%;
    padding: 0.75rem;
  }

  .card-body {
    padding: 1.5rem;
  }

  .navbar-brand {
    font-size: 1.25rem;
  }
}

/* Lists */
.dotted-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
}

.dotted-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1rem;
  line-height: 1.4;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in.visible {
  animation: fadeIn 0.6s ease-out forwards;
}

/* ===== HOME PAGE SPECIFIC STYLES ===== */

/* Page Scroll Offset */
[id]{scroll-margin-top:100px;}

/* Avatar chip in navbar */
.avatar-badge{
  width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.08);
  border:1px solid var(--border-color,#2a2f3a);
  color:var(--text-light,#e6edf3);
  font-weight:600;font-size:.95rem;
}

/* Hover to open on desktop */
@media (min-width: 992px){
  .nav-item.dropdown.profile-dropdown:hover .dropdown-menu{
    display:block; opacity:1; visibility:visible;
  }
}
.dropdown-menu.profile-menu{min-width:220px;}
.dropdown-item i{opacity:.9;}

/* Hero Trial CTA Styles */
.hero-trial-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trial-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  color: white;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(16,185,129,0.3);
  align-self: flex-start;
}

.trial-subtitle {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Modern Hero Styles */
.hero-modern {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
}

.hero-modern .container {
  position: relative;
  z-index: 2;
}

.hero-badge-modern {
  display: inline-flex;
  align-items: center;
  background: rgba(88, 166, 255, 0.1);
  border: 1px solid rgba(88, 166, 255, 0.3);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.8s ease-out;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text-light);
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.text-gradient-modern {
  background: linear-gradient(135deg, #58a6ff 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subheadline {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #8b949e;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta-modern {
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #58a6ff 0%, #4791db 100%);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.3);
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 166, 255, 0.4);
  color: white;
}

.hero-features-inline {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.feature-inline {
  display: flex;
  align-items: center;
  color: #8b949e;
  font-size: 14px;
}

.feature-inline i {
  color: var(--accent);
}

.terminal-preview {
  background: rgba(22, 27, 34, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(88, 166, 255, 0.2);
  backdrop-filter: blur(20px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

.terminal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: rgba(13, 17, 23, 0.9);
  border-bottom: 1px solid rgba(88, 166, 255, 0.1);
}

.terminal-dots {
  display: flex;
  gap: 8px;
}

.terminal-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.terminal-dots span:nth-child(2) {
  background: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
  background: rgba(13, 17, 23, 0.9);
}

.terminal-title {
  color: #8b949e;
  font-size: 14px;
  font-weight: 500;
}

.terminal-content {
  padding: 0;
}

.hero-rotating-images-modern {
  position: relative;
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
}

.hero-rotating-images-modern img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background: rgba(13, 17, 23, 0.5);
}

.hero-rotating-images-modern img.active {
  opacity: 1;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global Page Background */
body {
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cpattern id='constellation' x='0' y='0' width='120' height='120' patternUnits='userSpaceOnUse'%3E%3C!-- Dots/Nodes --%3E%3Ccircle cx='10' cy='10' r='2' fill='%2358a6ff' opacity='0.6'/%3E%3Ccircle cx='60' cy='20' r='1.5' fill='%2358a6ff' opacity='0.4'/%3E%3Ccircle cx='110' cy='15' r='2' fill='%2358a6ff' opacity='0.5'/%3E%3Ccircle cx='30' cy='50' r='1.5' fill='%2358a6ff' opacity='0.4'/%3E%3Ccircle cx='80' cy='60' r='2.5' fill='%2358a6ff' opacity='0.7'/%3E%3Ccircle cx='20' cy='90' r='1.5' fill='%2358a6ff' opacity='0.4'/%3E%3Ccircle cx='70' cy='100' r='2' fill='%2358a6ff' opacity='0.5'/%3E%3Ccircle cx='100' cy='80' r='1.5' fill='%2358a6ff' opacity='0.4'/%3E%3Ccircle cx='40' cy='110' r='1' fill='%2358a6ff' opacity='0.3'/%3E%3C!-- Connection Lines --%3E%3Cline x1='10' y1='10' x2='60' y2='20' stroke='%2358a6ff' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='60' y1='20' x2='110' y2='15' stroke='%2358a6ff' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='10' y1='10' x2='30' y2='50' stroke='%2358a6ff' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='30' y1='50' x2='80' y2='60' stroke='%2358a6ff' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='80' y1='60' x2='110' y2='15' stroke='%2358a6ff' stroke-width='0.3' opacity='0.15'/%3E%3Cline x1='30' y1='50' x2='20' y2='90' stroke='%2358a6ff' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='20' y1='90' x2='70' y2='100' stroke='%2358a6ff' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='80' y1='60' x2='100' y2='80' stroke='%2358a6ff' stroke-width='0.3' opacity='0.2'/%3E%3Cline x1='100' y1='80' x2='70' y2='100' stroke='%2358a6ff' stroke-width='0.3' opacity='0.15'/%3E%3Cline x1='70' y1='100' x2='40' y2='110' stroke='%2358a6ff' stroke-width='0.3' opacity='0.15'/%3E%3Cline x1='60' y1='20' x2='80' y2='60' stroke='%2358a6ff' stroke-width='0.3' opacity='0.1'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23constellation)'/%3E%3C/svg%3E");
  animation: networkMove 30s linear infinite;
  z-index: -2;
  pointer-events: none;
  /* iOS Safari fixes */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
}

body::after {
  content: '';
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(88, 166, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 4s ease-in-out infinite alternate;
  z-index: -1;
  pointer-events: none;
  /* iOS Safari fixes */
  -webkit-transform: translate(-50%, -50%);
  will-change: transform;
}

@keyframes networkMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(120px, 120px); }
}

@keyframes glow {
  0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
  100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

/* Ensure all sections have proper z-index */
section, .container {
  position: relative;
  z-index: 1;
}

/* iOS Safari fallback for background issues */
@supports (-webkit-touch-callout: none) {
  body {
    background: var(--bg-dark) !important;
  }
  
  body::before,
  body::after {
    display: none;
  }
}

/* Enhanced Card Styling for Better Visibility */
.card {
  background: rgba(22, 27, 34, 0.9) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(88, 166, 255, 0.2) !important;
  position: relative;
  z-index: 10;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(22, 27, 34, 0.8);
  border-radius: 12px;
  z-index: -1;
}

.card-body {
  position: relative;
  z-index: 2;
}

.card-title, .card-text, .pricing-list li {
  position: relative;
  z-index: 3;
}

/* Pricing specific fixes */
.pricing-list {
  position: relative;
  z-index: 3;
}

.pricing-list li {
  background: rgba(13, 17, 23, 0.3);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  line-height: 1.2;
}

/* Compact pricing cards */
.pricing-card {
  max-height: 620px;
}

.pricing-card .card-body {
  padding: 1.3rem !important;
}

.pricing-card .display-6 {
  font-size: 2.3rem !important;
  margin-bottom: 0.3rem !important;
}

.pricing-card .card-title {
  margin-bottom: 0.8rem !important;
  font-size: 1.3rem !important;
}

.pricing-card .pricing-list {
  margin: 0.8rem 0 1.2rem 0 !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem 0.5rem;
  font-size: 0.75rem;
}

.pricing-card .text-muted {
  margin-bottom: 0.6rem !important;
  font-size: 0.9rem !important;
}

/* Smaller get started buttons */
.pricing-card .btn {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

/* Two-column layout for pricing features */
.pricing-card .pricing-list li {
  padding: 0.1rem 0.3rem;
  margin-bottom: 0.2rem;
  font-size: 0.75rem;
  line-height: 1.1;
  display: flex;
  align-items: flex-start;
}

.pricing-card .pricing-list li i {
  font-size: 0.7rem;
  margin-right: 0.3rem;
  margin-top: 0.1rem;
  flex-shrink: 0;
}

/* Pro card enhancement */
.pro-card {
  border: 2px solid var(--accent) !important;
  box-shadow: 0 0 30px rgba(88, 166, 255, 0.3) !important;
}

.pro-card::before {
  background: rgba(22, 27, 34, 0.95);
}

/* Footer visibility fix */
.footer {
  background: rgba(13, 17, 23, 0.9) !important;
  backdrop-filter: blur(20px);
  position: relative;
  z-index: 10;
}

/* Section title visibility */
.section-title {
  position: relative;
  z-index: 5;
  color: var(--text-light) !important;
}

/* Logo styling */
.navbar-brand img {
  transition: all 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(88, 166, 255, 0.4));
}

/* Footer logo */
.footer-logo {
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-logo:hover {
  opacity: 1;
}

/* Enhanced Accessibility */
.btn:focus-visible, .nav-link:focus-visible {
  outline: 2px solid #58a6ff;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(88, 166, 255, 0.2);
}

/* Skip to main content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #58a6ff;
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  z-index: 1000;
  border-radius: 4px;
  font-weight: 600;
  transition: top 0.3s ease;
}
.skip-link:focus { 
  top: 6px; 
  color: white;
}

/* Loading States */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
  background: rgba(13, 17, 23, 0.5);
}

.terminal-content.loaded {
  display: block !important;
}

/* Testimonials Section */
.testimonial-card {
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  height: 100%;
  backdrop-filter: blur(20px);
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #58a6ff 0%, #34d399 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: white;
}

/* FAQ Section */
.faq-item {
  background: rgba(22, 27, 34, 0.9);
  border: 1px solid rgba(88, 166, 255, 0.2);
  border-radius: 8px;
  margin-bottom: 1rem;
  backdrop-filter: blur(20px);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  color: var(--text-light);
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: rgba(88, 166, 255, 0.1);
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #8b949e;
  display: none;
}

/* Show answer when the native <details> is open */
details.faq-item[open] .faq-answer {
  display: block;
  animation: fadeInDown 0.3s ease;
}

/* Remove default disclosure marker and use our chevron */
summary.faq-question { list-style: none; }
summary.faq-question::-webkit-details-marker { display: none; }

/* Rotate chevron icon when open */
details.faq-item > summary.faq-question i { transition: transform 0.2s ease; }
details.faq-item[open] > summary.faq-question i { transform: rotate(180deg); }

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Community Section */
.newsletter-section {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.community-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.community-stats {
  padding: 1.5rem 0;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.btn-accent {
  background: linear-gradient(135deg, #58a6ff 0%, #34d399 100%);
  color: white;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(88, 166, 255, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(88, 166, 255, 0.4);
  color: white;
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
  .hero-modern {
    padding: 100px 0 60px;
  }
  
  .hero-features-inline {
    flex-direction: column;
    gap: 1rem;
  }
  
  .terminal-preview {
    margin: 0 1rem;
  }
  
  .hero-rotating-images-modern {
    height: 350px;
  }

  .hero-cta-modern {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .btn-primary-modern {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
  
  .hero-features-inline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  /* Reduce expensive effects on small screens */
  .terminal-preview,
  .card,
  .testimonial-card,
  .pricing-card,
  .footer {
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .pricing-card .pricing-list {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
  
  .pricing-card .pricing-list li {
    font-size: 0.8rem;
  }

  .community-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .community-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
}
/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    body {
      position: relative;
      overflow-x: hidden;
    }
    pointer-events: none;
  }
  body::before,
  body::after,
  .hero-modern::before,
  .hero-modern::after {
    animation: none !important;
  }

  /* Disable component animations/transitions */
  .fade-in,
  .fade-in.visible,
  .hero-badge-modern,
  .hero-headline,
  .hero-subheadline,
  .hero-cta-modern,
  .terminal-preview,
  .hero-rotating-images-modern img {
    animation: none !important;
    transition: none !important;
  }
}