:root {
  /* Colors - Premium Tech */
  --primary: #00ff41;
  --primary-dim: rgba(0, 255, 65, 0.1);
  --primary-glow: #00ff41;
  --secondary: #030303;
  /* Deep Void */
  --text-main: #ffffff;
  --text-muted: #a0a0a0;
  
  /* Dark mode colors (default - dark theme) */
  --bg-light: #ffffff;
  --bg-dark: #050505;
  --surface-light: #f3f4f6;
  --surface-dark: #0f0f0f;
  --border-light: #e5e7eb;
  --border-dark: #262626;

  /* Glassmorphism */
  --glass-bg: rgba(10, 10, 10, 0.6);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-blur: 20px;

  /* Spacing */
  --container-width: 1280px;
  --header-height: 80px;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--secondary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3 L3 15 L9 15 L9 21 L15 15 L21 15 L15 9 Z" fill="%2300ff41"/></svg>') 3 3, auto;
}

/* Display font for headings - Space Grotesk */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
}

a, button, .btn, input[type="submit"], input[type="button"] {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M3 3 L3 15 L9 15 L9 21 L15 15 L21 15 L15 9 Z" fill="%2300ff41"/></svg>') 3 3, pointer;
}

a:hover, button:hover, .btn:hover, input[type="submit"]:hover, input[type="button"]:hover {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" fill="none" stroke="%2300ff41" stroke-width="1.5"/><line x1="12" y1="2" x2="12" y2="6" stroke="%2300ff41" stroke-width="1.5"/><line x1="12" y1="18" x2="12" y2="22" stroke="%2300ff41" stroke-width="1.5"/><line x1="2" y1="12" x2="6" y2="12" stroke="%2300ff41" stroke-width="1.5"/><line x1="18" y1="12" x2="22" y2="12" stroke="%2300ff41" stroke-width="1.5"/><circle cx="12" cy="12" r="2" fill="%2300ff41"/></svg>') 12 12, pointer;
}

/* Matrix Background */
#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  display: block;
}

/* Dark Mode Toggle Button */
.dark-mode-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.dark-mode-btn:hover {
  background-color: rgba(0, 255, 65, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.dark-mode-btn .material-icons-outlined {
  font-size: 20px;
}

@media (max-width: 768px) {
  .dark-mode-btn {
    width: 36px;
    height: 36px;
    padding: 6px;
  }
  
  .dark-mode-btn .material-icons-outlined {
    font-size: 18px;
  }
}

/* Ping Animation for Status Badge */
@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Subtle hover lift effect - moves elements up slightly on hover */
.hover-lift {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* For headings specifically */
h2.hover-lift,
h3.hover-lift {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
}

h2.hover-lift:hover,
h3.hover-lift:hover {
  transform: translateY(-3px);
}

/* Service cards in Complete Service Solutions */
.services-grid-modern > div {
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.services-grid-modern > div:hover {
  transform: translateY(-5px);
  border-color: var(--primary) !important;
}

/* Radar Scanning Animation */
@keyframes radar-scan {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.radar-scan {
  animation: radar-scan 3s linear infinite;
  display: inline-block;
  transform-origin: center;
}

/* Blog Post Titles - New Theme Style */
.blog-post-item {
  position: relative;
}

.blog-post-item h2 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.blog-post-item h2 a {
  color: var(--text-main);
  text-decoration: none;
}

.blog-post-item:hover h2 a {
  color: var(--primary);
}

@media (min-width: 768px) {
  .blog-post-item h2 {
    font-size: 1.875rem;
  }
}

/* FAQ Modern - Consistent styling */
.faq-item-modern {
  background: rgba(255, 255, 255, 0.02);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-item-modern:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

details[open].faq-item-modern {
  border-color: rgba(0, 255, 65, 0.3);
}

.faq-item-modern summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}

.faq-item-modern summary::-webkit-details-marker {
  display: none;
}

.faq-item-modern .faq-icon {
  transition: transform 0.3s ease;
  font-size: 20px;
}

details[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item-modern > div {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-top: 12px;
  padding-left: 8px;
  line-height: 1.6;
}

/* Pricing Grid Modern - Responsive */
.pricing-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .pricing-grid-modern {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pricing-grid-modern > div:nth-child(2) {
    transform: none !important;
  }
}

/* Services Grid Modern - Responsive */
.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .services-grid-modern {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .services-grid-modern {
    grid-template-columns: 1fr;
  }
}

/* Custom Request Box - Responsive */
.custom-request-box {
  flex-direction: column;
}

@media (min-width: 768px) {
  .custom-request-box {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* Typography */
h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

/* Ensure sections have explicit font sizing to avoid browser deprecation warnings */
section {
  font-size: inherit;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* Lists - Hide default bullets sitewide */
ul, ol {
  list-style: none;
  padding-left: 0;
}

li {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 25px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  display: inline-block;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 0 15px rgba(0, 255, 65, 0.3);
  text-align: center;
}

.btn-primary:hover {
  background: #00cc33;
  color: #000;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.4);
}

/* Full-width buttons (like in pricing cards) */
.pricing-card .btn-primary,
.pricing-card .btn-outline {
  width: 100%;
  padding: 12px 0;
}

.btn-outline {
  display: inline-block;
  padding: 16px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: transparent;
  color: var(--text-main);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-main);
}

/* Header */
header {
  height: var(--header-height);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 3, 3, 0.8);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  overflow: visible;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  position: relative;
  overflow: visible;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 101;
  flex-shrink: 0;
  margin-left: auto;
  min-width: 40px;
  position: relative;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-main);
  transition: all 0.3s ease;
  display: block;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 1;
  min-width: 0;
  max-width: calc(100% - 60px);
}

.logo img {
  height: 32px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

nav ul {
  display: flex;
  gap: 40px;
  list-style: none;
}

nav.mobile-active {
  display: block;
}

nav.mobile-active ul {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100vw;
  background: rgba(3, 3, 3, 0.98);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  flex-direction: column;
  padding: 40px 24px;
  gap: 0;
  z-index: 99;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  box-sizing: border-box;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

nav.mobile-active ul li {
  border-bottom: 1px solid var(--glass-border);
  padding: 16px 0;
}

nav.mobile-active ul li:last-child {
  border-bottom: none;
}

nav.mobile-active a {
  font-size: 1.1rem;
  padding: 8px 0;
  display: block;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
  text-shadow: 0 0 10px var(--primary);
}

/* Hero Section */
.hero {
  padding: 180px 0 120px;
  text-align: center;
  position: relative;
}

.hero-cta {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-hero-secondary {
  border-color: #fff !important;
  color: #fff !important;
}

.btn-hero-secondary:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* ============================================
   BASE CARD STYLES (Shared Foundation)
   ============================================ */
.card-base {
  border-radius: 12px;
  padding: 40px;
  transition: all 0.4s ease;
}

/* ============================================
   FEATURE CARDS (Homepage, Services Pages)
   ============================================ */
.feature-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s ease;
  color: var(--text-main);
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 65, 0.1);
}

.feature-card h3 {
  color: var(--text-main);
  text-align: center;
}

.feature-card p {
  color: var(--text-light);
  text-align: center;
}

/* Center icons in feature cards */
.benefits-grid .feature-card .benefit-icon {
  margin: 0 auto 16px;
}

/* ============================================
   CONTENT CARDS (Inside Blog Posts)
   ============================================ */
.blog-content-card {
  background: rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  padding: 30px;
  margin: 30px 0;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.blog-content-card h3 {
  color: var(--primary);
  margin-bottom: 15px;
}

.blog-content-card p,
.blog-content-card li {
  color: var(--text-light);
}

.blog-content-card--highlight {
  background: rgba(0, 255, 65, 0.1);
  border: 2px solid var(--primary);
  border-left: 4px solid var(--primary);
}

/* ============================================
   STATISTIC CARDS (Numbers, Metrics)
   ============================================ */
.stat-card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.stat-card h3 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.stat-card p {
  color: var(--text-light);
}

/* ============================================
   WIDGET CARDS (Sidebar, Dashboard)
   ============================================ */
.widget-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 30px;
  color: var(--text-main);
  transition: all 0.4s ease;
}

.widget-card h3 {
  color: var(--text-main);
  margin-bottom: 20px;
}

.widget-card p {
  color: var(--text-light);
}

/* ============================================
   LEGACY: benefit-card (Backward Compatibility)
   ============================================ */
.benefit-card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.3s ease;
  color: var(--text-main);
}

.benefit-card:hover {
  transform: translateY(-10px) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 65, 0.1) !important;
}

.benefit-card h3 {
  color: var(--text-main);
}

.benefit-card p {
  color: var(--text-light);
}

/* Center content only for benefit cards within benefits-grid (feature sections) */
.benefits-grid .benefit-card h3 {
  text-align: center;
}

.benefits-grid .benefit-card p {
  text-align: center;
}

.benefits-grid .benefit-card .benefit-icon {
  margin: 0 auto 16px;
}

/* ============================================
   AUTHOR CARD - Separate from benefit-card
   ============================================ */
.author-card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.4s ease;
}

.author-card h3,
.author-card h4 {
  color: var(--primary); /* Green for headings on dark background */
}

.author-card a[style*="var(--primary)"],
.author-card h3[style*="var(--primary)"],
.author-card h4[style*="var(--primary)"] {
  color: var(--primary) !important; /* Green for links on dark background */
}

.author-card p {
  color: var(--text-light);
}

/* ============================================
   RELATED POST CARD - Separate from benefit-card
   ============================================ */
.related-post-card {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.related-post-card a[style*="var(--primary)"] {
  color: var(--primary) !important; /* Green for category links */
}

.related-post-card h3 a {
  color: var(--text-main); /* Light text for post titles */
}

.related-post-card p {
  color: var(--text-light);
}

.related-post-card time {
  color: var(--text-muted);
}

/* Pricing, FAQ, and Addons Tables (Shared Base) */
/* Universal backdrop-filter for all glass elements - ensures text readability */
[style*="var(--glass-bg)"] {
  -webkit-backdrop-filter: blur(var(--glass-blur)) !important;
  backdrop-filter: blur(var(--glass-blur)) !important;
}

.pricing-card,
.faq-item,
.addons-table,
.custom-request-box {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.pricing-card,
.faq-item,
.addons-table {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px;
  transition: all 0.4s ease;
}

/* Grid System */
.grid {
  display: grid;
  gap: 40px;
}

.benefits-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.benefits-grid--center .feature-card,
.benefits-grid--center .benefit-card {
  text-align: center;
}

.benefits-grid--center .benefit-icon {
  margin: 0 auto 16px;
}

.pricing-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 60px;
}

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

/* Card Hover Effects - Same as feature-card */
.pricing-card {
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 255, 65, 0.1);
}

/* SVG Icon Styling */
.svg-icon {
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 0 8px var(--primary));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.svg-icon:hover {
  filter: drop-shadow(0 0 12px var(--primary));
  transform: scale(1.05);
}

.benefit-icon {
  font-size: 3rem;
  margin: 0 auto 24px;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.2));
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-icon .svg-icon {
  width: 64px;
  height: 64px;
}

/* Pricing Specifics - Popular Card */
.pricing-card.popular {
  background: rgba(0, 255, 65, 0.03);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border: 2px solid var(--primary);
  transform: translateY(-16px);
  transition: all 0.3s ease;
}

.pricing-card.popular:hover {
  transform: translateY(-26px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 65, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #000;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
  z-index: 10;
  white-space: nowrap;
}

.price {
  font-size: 4rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 24px 0;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.price span {
  font-size: 1.2rem;
  color: var(--text-muted);
}

.features-list {
  list-style: none;
  margin: 30px 0;
}

.features-list li {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-muted);
}

.features-list li::before {
  content: "✓";
  color: var(--primary);
  font-weight: bold;
  text-shadow: 0 0 10px var(--primary);
}

/* Blog Post Content - Base Styles */
.blog-post-content {
  width: 100%;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  box-sizing: border-box;
}

.blog-post-content * {
  box-sizing: border-box;
}

.blog-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.blog-post-content pre {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  border: 1px solid var(--glass-border);
  margin: 20px 0;
}

.blog-post-content code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
}

/* Add-ons Table */
.addons-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  padding: 0;
  overflow: hidden;
}

.addons-table a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.addons-table a:hover {
  color: var(--primary);
  text-shadow: 0 0 8px var(--primary);
  text-decoration: underline;
}

.addons-table th {
  text-align: left;
  padding: 24px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-main);
  font-weight: 600;
  background: rgba(255, 255, 255, 0.02);
}

.addons-table td {
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-muted);
}

.addons-table tr:last-child td {
  border-bottom: none;
}

.addons-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

/* FAQ */
.faq-item {
  padding: 0;
  margin-bottom: 20px;
  cursor: pointer;
}

.faq-question {
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--text-main);
}

.faq-toggle {
  transition: transform 0.3s ease;
  color: var(--primary);
  font-size: 0.8rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 24px;
  display: none;
  color: var(--text-muted);
  border-top: 1px solid var(--glass-border);
  margin-top: -1px;
  padding-top: 24px;
}

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

.faq-item.active .faq-answer {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* FAQ Modern - Icon rotation when open */
details[open] .faq-icon {
  transform: rotate(180deg);
}

.faq-item-modern {
  transition: all 0.2s ease;
}

.faq-item-modern:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

details[open].faq-item-modern {
  border-color: rgba(0, 255, 65, 0.3);
}

/* Footer - Compact Corporate Design */
footer {
  border-top: 1px solid var(--glass-border);
  padding: 60px 0 30px;
  background: #000;
  margin-top: 80px;
}

/* Single Row Footer Grid */
.footer-single-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--glass-border);
  align-items: start;
}

/* Column 1: Brand */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  padding-right: 20px;
}

.footer-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  margin-bottom: 15px;
  gap: 12px;
}

.footer-logo img {
  height: 36px;
  width: auto;
  display: block;
  margin-bottom: 0;
  filter: drop-shadow(0 0 8px var(--primary));
  transition: filter 0.3s ease;
}

.footer-logo:hover img {
  filter: drop-shadow(0 0 12px var(--primary));
}

.footer-logo span {
  color: var(--text-main);
  font-size: 1.25rem;
  font-weight: 800;
  display: block;
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 20px;
  max-width: 100%;
}

.footer-legal {
  margin-top: auto;
  padding-top: 0;
  border-top: none;
  width: 100%;
  font-size: 0.8rem;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-legal a::after {
  content: ' | ';
  color: var(--text-muted);
  opacity: 0.4;
  margin: 0 4px;
  font-size: 0.7rem;
}

.footer-legal a:last-child::after {
  content: '';
  margin: 0;
}

/* Services & Company Columns */
.footer-col-services h2,
.footer-col-company h2 {
  color: var(--text-main);
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col-services ul,
.footer-col-company ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col-services ul li,
.footer-col-company ul li {
  margin-bottom: 8px;
}

.footer-col-services ul li a,
.footer-col-company ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-col-services ul li a:hover,
.footer-col-company ul li a:hover {
  color: var(--primary);
  padding-left: 3px;
}

/* Bottom Section */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
  padding-top: 0;
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
  border: none;
}

.footer-disclaimer {
  text-align: center;
  padding-top: 15px;
  border-top: 1px solid var(--glass-border);
}

.footer-disclaimer p {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.7;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--glass-bg);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.5rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(0, 255, 65, 0.1);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.5);
  transform: translateY(-5px);
}

.back-to-top::before {
  content: '↑';
  display: block;
  filter: drop-shadow(0 0 8px var(--primary));
}

/* Legacy Support */
.footer-col h2 {
  color: var(--text-main);
  margin-bottom: 24px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="url"],
textarea {
  transition: all 0.3s ease;
}

/* Form Container */
.form-container {
  min-height: 500px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

/* Contact Page Modern Styles */
.contact-hero {
  padding: 80px 16px 64px;
  text-align: center;
}

.contact-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.1;
}

.contact-hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto;
}

.contact-main {
  padding-bottom: 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 96px;
}

.contact-form-wrapper {
  grid-column: 1;
}

.contact-form-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-form-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-intro {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.contact-sidebar {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 24px;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contact-info-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-list-intro {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.contact-list li .material-icons-outlined {
  font-size: 1.125rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Telegram CTA Section */
.telegram-cta-wrapper {
  margin-top: 48px;
}

.telegram-cta-card {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--primary);
  border-radius: 16px;
  padding: 64px 40px;
  text-align: center;
  overflow: hidden;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
}

.telegram-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(0, 255, 65, 0.05) 0%, transparent 75%);
  border-radius: 16px;
  transform: scale(0.75);
  opacity: 0.5;
  transition: opacity 0.7s ease;
  pointer-events: none;
}

.telegram-cta-card:hover .telegram-cta-bg {
  opacity: 0.75;
}

.telegram-cta-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.telegram-icon-wrapper {
  width: 64px;
  height: 64px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.telegram-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.telegram-cta-content h2 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.telegram-cta-content > p {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 42rem;
}

.telegram-cta-content > p strong {
  color: var(--text-main);
}

.telegram-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.telegram-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.6);
}

.telegram-btn .material-icons-outlined {
  font-size: 1.25rem;
}

.telegram-handle {
  margin-top: 32px;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
}

.telegram-handle strong {
  color: var(--text-main);
}

.telegram-handle span {
  color: var(--text-muted);
  font-weight: 400;
}

/* Certifications Section */
.certifications-section {
  padding: 80px 0;
}

.certifications-header {
  text-align: center;
  margin-bottom: 48px;
}

.certifications-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.certifications-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.certifications-card {
  max-width: 80rem;
  margin: 0 auto;
  border: 1px solid rgba(0, 255, 65, 0.3);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.05);
  padding: 4px;
  position: relative;
  overflow: hidden;
}

.certifications-card-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
  opacity: 0.5;
}

.certifications-card-content {
  background: var(--glass-bg);
  border: 1px solid rgba(0, 255, 65, 0.1);
  border-radius: 12px;
  padding: 32px;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.certifications-title {
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.certifications-title .material-symbols-outlined {
  font-size: 1.25rem;
}

.certifications-link-wrapper {
  text-align: center;
  margin-bottom: 32px;
}

.certifications-link {
  font-size: 0.75rem;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.3s ease;
}

.certifications-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.certifications-link .material-symbols-outlined {
  font-size: 0.875rem;
}

.certifications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 768px) {
  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.certification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(243, 244, 246, 1);
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.dark .certification-item {
  background: rgba(17, 24, 39, 0.5);
}

.certification-item:hover {
  border-color: rgba(0, 255, 65, 0.3);
}

.certification-icon {
  color: var(--primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.certification-content {
  display: flex;
  flex-direction: column;
}

.certification-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.4;
}

.certification-status {
  font-size: 0.625rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.certifications-footer {
  margin-top: 32px;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.certifications-footer strong {
  color: var(--text-main);
  font-weight: 700;
}

/* Our Approach Section */
.approach-section {
  background: rgba(0, 255, 65, 0.02);
}

.approach-header {
  text-align: center;
  margin-bottom: 64px;
}

.approach-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.approach-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .approach-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.approach-card {
  background: var(--glass-bg);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.approach-card:hover {
  border-color: var(--primary);
}

.approach-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 255, 65, 0.1);
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.approach-card:hover .approach-icon-wrapper {
  background: var(--primary);
}

.approach-icon-wrapper .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.875rem;
  transition: color 0.3s ease;
}

.approach-card:hover .approach-icon-wrapper .material-symbols-outlined {
  color: var(--background-dark);
}

.approach-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.approach-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Our Promise Section */
.promise-section {
  background: rgba(0, 255, 65, 0.02);
}

.promise-header {
  text-align: center;
  margin-bottom: 48px;
}

.promise-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.promise-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.promise-card {
  max-width: 80rem;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 32px 48px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.promise-card-border {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--primary);
}

.promise-list {
  display: grid;
  gap: 24px;
}

.promise-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-border);
}

.promise-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

@media (min-width: 640px) {
  .promise-item {
    flex-direction: row;
    align-items: flex-start;
  }
}

.promise-title {
  min-width: 180px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
}

.promise-title .material-symbols-outlined {
  color: var(--primary);
  font-size: 0.875rem;
}

.promise-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

/* Our Investment in Your Success Section */
.investment-section {
  background: rgba(0, 255, 65, 0.02);
}

.investment-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.investment-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 32px;
}

.investment-header p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.investment-header p strong {
  color: var(--text-main);
  font-weight: 700;
}

.investment-header p em {
  font-style: italic;
}

.investment-card {
  max-width: 64rem;
  margin: 0 auto;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.investment-access-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.investment-access-label .material-symbols-outlined {
  color: var(--primary);
  font-size: 1rem;
}

.investment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px 32px;
}

@media (min-width: 768px) {
  .investment-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.investment-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.investment-icon-wrapper {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(0, 255, 65, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dark .investment-icon-wrapper {
  background: rgba(0, 255, 65, 0.2);
}

.investment-icon-wrapper .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.25rem;
}

.investment-item h4 {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
  font-size: 1rem;
}

.investment-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.5;
}

.investment-footer {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.investment-footer > p {
  margin-bottom: 24px;
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
}

.investment-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border-radius: 9999px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.investment-btn:hover {
  transform: scale(1.05);
}

.investment-btn .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Why Choose Us Section */
.why-choose-section {
  background: rgba(0, 255, 65, 0.02);
}

.why-choose-header {
  text-align: center;
  margin-bottom: 64px;
}

.why-choose-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.why-choose-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 768px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .why-choose-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.why-choose-card {
  background: var(--glass-bg);
  padding: 32px;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.why-choose-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 65, 0.5);
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.15);
}

.why-choose-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.3s ease;
}

.why-choose-card:hover .why-choose-icon-wrapper {
  background: var(--primary);
}

.why-choose-icon-wrapper .material-symbols-outlined {
  color: var(--text-main);
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.why-choose-card:hover .why-choose-icon-wrapper .material-symbols-outlined {
  color: var(--background-dark);
}

.why-choose-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.why-choose-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Featured card (Professional Tool Stack) - centered on large screens */
@media (min-width: 768px) {
  .why-choose-card-featured {
    grid-column: span 2;
  }
}

@media (min-width: 1024px) {
  .why-choose-card-featured {
    grid-column: span 3;
    width: 33.333%;
    margin: 0 auto;
  }
}

/* Tools & Technology Page Styles */
.tools-hero {
  padding: 80px 16px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tools-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://lh3.googleusercontent.com/aida-public/AB6AXuBJsNEbvgmYMr_-Dfejrjy0srJfV5FtnROZnGOB4nXweqJgKg38RsE_V7f9ErcOZTNBSxtKn26RaNgJ5M_VaS8BSHk2Q1-HlYpZoThRQA4-2y0SMNTzbVH7nle6LcRbXntPydoVKroAxM3QxZ1gguZYUsld_5QzDSRddPCr-g7TxdYhdHGdnhP4L_NsTmmfPOHH0Ji4dqIS2b8TyYLsrBZ9NMIk4ebTStAJkQf2_EfVXQpeHwaC5a93zbu5_afRBeALJlMR_p5gCzCc');
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  z-index: 0;
}

.tools-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(5, 10, 7, 0.9), rgba(5, 10, 7, 1));
  z-index: 1;
}

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

.tools-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 255, 65, 0.1);
  border: 1px solid rgba(0, 255, 65, 0.3);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.2);
}

.tools-hero-badge .material-icons-outlined {
  font-size: 0.875rem;
}

.tools-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.1;
}

.tools-hero h1 .text-glow {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.tools-hero-intro {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 42rem;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.tools-terminal {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 9999px;
  background: rgba(26, 51, 36, 0.5);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  font-family: 'Courier New', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tools-terminal-prompt {
  color: var(--primary);
}

/* Tools Value Card */
.tools-value-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid rgba(0, 255, 65, 0.3);
  background: rgba(8, 18, 11, 1);
  padding: 48px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.15);
  max-width: 1280px;
  margin: 0 auto;
}

.tools-value-icon-bg {
  position: absolute;
  top: 0;
  right: 0;
  padding: 16px;
  opacity: 0.2;
  pointer-events: none;
}

.tools-value-icon-bg .material-icons-outlined {
  font-size: 200px;
  color: var(--primary);
  transform: rotate(12deg);
  margin: -64px -64px 0 0;
}

.tools-value-content {
  position: relative;
  z-index: 10;
}

.tools-value-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 24px;
  text-align: center;
}

.tools-value-content > p {
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 48rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.tools-value-content > p strong {
  color: var(--text-main);
  font-weight: 700;
}

.tools-value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 48px;
}

.tools-value-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tools-value-item .material-icons-outlined {
  color: var(--primary);
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.tools-value-item strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 4px;
  font-weight: 700;
}

.tools-value-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Tools Section Header */
.tools-section-header {
  text-align: center;
  margin-bottom: 48px;
}

.tools-section-header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.tools-section-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Tools Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Development Infrastructure Grid - 4 columns on large screens */
.tools-infrastructure-section,
.tools-performance-section {
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 96px;
}

.tools-security-section {
  margin-bottom: 80px;
}

.tools-grid-infrastructure {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .tools-grid-infrastructure {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .tools-grid-infrastructure {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Infrastructure cards - match reference structure */
.tools-grid-infrastructure .tool-card {
  gap: 16px;
}

.tools-grid-infrastructure .tool-card > div:last-child {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.tools-grid-infrastructure .tool-card h3 {
  margin-bottom: 8px;
}

/* Tool Card */
.tool-card {
  position: relative;
  padding: 32px;
  border-radius: 12px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  transition: all 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 255, 65, 0.5);
  box-shadow: 0 0 30px rgba(0, 255, 65, 0.2);
}

.tool-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.tool-card:hover .tool-icon-wrapper {
  background: rgba(0, 255, 65, 0.1);
  border-color: var(--primary);
}

.tool-icon-wrapper .material-icons-outlined,
.tool-icon-wrapper .material-symbols-outlined {
  font-size: 1.875rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.tool-card:hover .tool-icon-wrapper .material-icons-outlined,
.tool-card:hover .tool-icon-wrapper .material-symbols-outlined {
  color: var(--primary);
}

/* Infrastructure section specific icon sizing */
.tools-grid-infrastructure .tool-icon-wrapper {
  width: 56px;
  height: 56px;
}

.tool-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.tool-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.tool-license {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 8px;
}

/* Envato Section */
.tools-envato-section {
  background: rgba(0, 255, 65, 0.05);
  border-top: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.tools-envato-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(0, 255, 65, 0.05), transparent);
  z-index: 0;
}

.tools-envato-card {
  position: relative;
  z-index: 1;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  border: 2px solid var(--primary);
  background: rgba(0, 255, 65, 0.03);
  border-radius: 16px;
  padding: 48px 32px;
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
}

.tools-envato-icon {
  margin-bottom: 20px;
  display: inline-block;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tools-envato-logo {
  height: 100%;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.tools-envato-card h2 {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 2rem;
  font-weight: 700;
}

.tools-envato-subtitle {
  font-size: 1.3rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-main);
}

.tools-envato-description {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-light);
}

.tools-envato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  text-align: left;
}

.tools-envato-grid h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 700;
}

.tools-envato-grid p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Tools CTA Section */
.tools-cta-section {
  background: rgba(8, 18, 11, 1);
  border-top: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  padding: 96px 16px;
}

.tools-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(0, 255, 65, 0.05), transparent);
  z-index: 0;
}

.tools-cta-card {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.tools-cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.5);
  transform: rotate(-6deg);
  flex-shrink: 0;
}

.tools-cta-icon .material-icons-outlined {
  font-size: 3rem;
  color: var(--background-dark);
}

.tools-cta-card h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.1;
}

.tools-cta-card > p {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 42rem;
  margin: 0;
}

.tools-cta-buttons {
  display: flex;
  flex-direction: row;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 16px;
}

.tools-cta-buttons .btn {
  padding: 14px 40px;
  font-size: 1.125rem;
  font-weight: 700;
  min-width: auto;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tools-cta-buttons .btn-primary {
  box-shadow: 0 0 25px rgba(0, 255, 65, 0.4);
}

.tools-cta-buttons .btn-primary:hover {
  box-shadow: 0 0 35px rgba(0, 255, 65, 0.6);
  background: var(--text-main);
}

.tools-cta-buttons .btn-outline {
  border: 1px solid var(--glass-border);
  background: transparent;
}

.tools-cta-buttons .btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Utilities */
.section-padding {
  padding: 120px 0;
}

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

/* Responsive */
/* Tablet and below */
@media (max-width: 1024px) {
  .pricing-grid {
    gap: 40px;
  }

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

/* Mobile and below */
@media (max-width: 768px) {
  /* Prevent horizontal scrolling at page level */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .container {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  /* Typography */
  h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
  }

  p {
    font-size: 1rem;
  }

  /* Header */
  header {
    height: 60px;
    width: 100%;
    max-width: 100vw;
    overflow: visible;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  nav {
    display: none;
  }

  nav.mobile-active {
    display: block;
  }

  header .container {
    gap: 8px;
    flex-wrap: nowrap;
    padding: 0 16px;
    overflow: visible;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .logo {
    font-size: 1.25rem;
    flex-shrink: 1;
    min-width: 0;
    max-width: calc(100% - 50px);
    overflow: hidden;
  }

  .logo img {
    flex-shrink: 1;
    height: 28px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  .mobile-menu-toggle {
    flex-shrink: 0;
    margin-left: 8px;
    min-width: 40px;
    width: 40px;
    padding: 6px;
  }

  /* Buttons - Full width on mobile except header */
  .btn {
    width: 100%;
    max-width: 100%;
    padding: 16px 32px;
  }

  header .btn-primary {
    width: auto;
    max-width: none;
    padding: 6px 12px;
    font-size: 0.65rem;
    white-space: nowrap;
    min-width: auto;
    flex-shrink: 0;
    letter-spacing: 0.5px;
  }

  nav ul {
    gap: 30px;
  }

  nav.mobile-active ul {
    top: 60px;
    padding: 30px 20px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  /* Hero Section */
  .hero {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .hero h1 {
    margin-bottom: 0.75rem;
  }

  .hero p {
    margin-bottom: 20px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 20px;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 100%;
    margin-left: 0 !important;
  }

  /* Cards */
  .benefit-card,
  .pricing-card,
  .faq-item,
  .addons-table {
    padding: 24px;
  }

  /* Grid System */
  .grid {
    gap: 30px;
  }

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

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

  .pricing-card.popular {
    transform: none;
  }

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

  .footer-single-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
    text-align: center;
  }

  .footer-cta {
    text-align: center;
  }

  /* Pricing */
  .price {
    font-size: 3rem;
    margin: 20px 0;
  }

  .price span {
    font-size: 1rem;
  }

  .popular-badge {
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    font-size: 0.65rem;
  }

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

  /* Footer */
  footer {
    padding: 60px 0 30px;
    margin-top: 60px;
  }

  .copyright {
    margin-top: 40px;
    padding-top: 20px;
    font-size: 0.85rem;
  }

  /* FAQ */
  .faq-question {
    padding: 20px;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0 20px 20px;
    padding-top: 20px;
    font-size: 0.9rem;
  }

  /* Benefit Icons */
  .benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  /* Contact Page Grid */
  .grid[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }

  /* Contact Page Responsive */
  .contact-hero,
  .tools-hero {
    padding: 60px 16px 48px;
  }

  .contact-hero h1,
  .tools-hero h1 {
    font-size: 2.5rem;
  }

  .contact-hero p,
  .tools-hero-intro {
    font-size: 1.125rem;
  }

  .tools-value-card {
    padding: 32px 24px;
  }

  .tools-value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tools-envato-grid {
    grid-template-columns: 1fr;
  }

  .tools-cta-section {
    padding: 64px 16px;
  }

  .tools-cta-card h2 {
    font-size: 2rem;
  }

  .tools-cta-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .tools-cta-buttons .btn {
    width: 100%;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .contact-form-wrapper,
  .contact-sidebar {
    grid-column: 1;
  }

  .contact-form-card {
    padding: 24px;
  }

  .telegram-cta-card {
    padding: 40px 24px;
  }

  .telegram-cta-content h2 {
    font-size: 1.875rem;
  }

  .telegram-cta-content > p {
    font-size: 1rem;
  }

  /* Form Container */
  .form-container {
    min-height: 500px;
  }

  /* Addons Table */
  .addons-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .addons-table thead {
    display: none;
  }

  .addons-table tbody {
    display: block;
  }

  .addons-table tr {
    display: block;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 20px;
    background: var(--glass-bg);
  }

  .addons-table td {
    display: block;
    padding: 8px 0;
    border-bottom: none;
    text-align: left;
  }

  .addons-table td:before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-main);
    display: block;
    margin-bottom: 4px;
  }

  .addons-table td:first-child {
    font-weight: 600;
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
  }

  .addons-table td:first-child:before {
    display: none;
  }
}

/* Very Small Mobile */
@media (max-width: 480px) {
  /* Extra aggressive overflow prevention for small mobile */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
  }

  .container {
    overflow-x: hidden !important;
    max-width: 100% !important;
    padding: 0 16px !important;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  .hero,
  .contact-hero {
    padding: 50px 0 30px;
  }

  .hero h1,
  .contact-hero h1 {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
  }

  .hero p {
    font-size: 0.95rem;
    margin-bottom: 16px;
  }

  .hero-cta {
    margin-top: 16px;
    gap: 10px;
  }

  .benefit-card,
  .pricing-card,
  .faq-item,
  .addons-table {
    padding: 20px;
  }

  .section-padding {
    padding: 50px 0;
  }

  .price {
    font-size: 2.5rem;
  }

  /* Buttons - Full width on very small mobile */
  .btn {
    width: 100%;
    max-width: 100%;
    padding: 14px 27px;
    font-size: 0.85rem;
  }

  header .btn-primary {
    width: auto;
    max-width: none;
    padding: 6px 12px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
  }

  .hero-cta .btn {
    font-size: 0.85rem;
    padding: 16px 32px;
  }

  .logo {
    font-size: 1rem;
  }

  .logo img {
    height: 22px;
  }

  header {
    height: 55px;
  }

  nav.mobile-active ul {
    top: 55px;
  }

  .form-container {
    min-height: 400px;
  }

  /* Blog Post Content - Mobile Responsive */
  .blog-post-content {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }

  /* Container and Grid - Prevent Overflow */
  section {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  .blog-grid {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  article {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }

  .benefit-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    box-sizing: border-box;
  }

  /* Blog Post Tables - Mobile Responsive */
  .blog-post-content table {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 20px 0 !important;
    box-sizing: border-box;
  }

  .blog-post-content table thead {
    display: none !important;
  }

  .blog-post-content table tbody {
    display: block !important;
  }

  .blog-post-content table tr {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 15px;
    background: var(--glass-bg);
    box-sizing: border-box;
  }

  .blog-post-content table td,
  .blog-post-content table th {
    display: block !important;
    padding: 8px 0;
    border: none;
    text-align: left;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  .blog-post-content table td:first-child,
  .blog-post-content table th:first-child {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--glass-border);
  }

  /* Blog Post Code Blocks - Mobile Responsive */
  .blog-post-content pre {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    word-wrap: break-word;
    overflow-wrap: break-word;
    padding: 15px !important;
    margin: 20px 0;
    font-size: 0.85rem;
    line-height: 1.5;
    box-sizing: border-box;
  }

  .blog-post-content code {
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    font-size: 0.85rem;
    max-width: 100%;
  }

  .blog-post-content pre code {
    white-space: pre;
    display: block;
    overflow-x: auto;
    max-width: 100%;
  }

  /* Force all elements inside blog content to respect container */
  .blog-post-content * {
    max-width: 100% !important;
    box-sizing: border-box;
  }

  /* Images in blog posts */
  .blog-post-content img {
    max-width: 100% !important;
    height: auto !important;
  }

  /* Links and URLs - ensure they wrap */
  .blog-post-content a {
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-all;
    max-width: 100%;
    display: inline-block;
  }

  /* Blockquotes - ensure they wrap */
  .blog-post-content blockquote {
    max-width: 100% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
  }

  /* Long text strings */
  .blog-post-content p,
  .blog-post-content li {
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
}

/* Global Responsive Fixes for All Pages */
/* Fix two-column layouts that need to stack on mobile */
@media (max-width: 768px) {
  /* Developer profile sections - stack columns */
  .developer-profile-grid,
  div[style*="grid-template-columns: 1fr 2fr"],
  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns:1fr 2fr"],
  div[style*="grid-template-columns:2fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 25px !important;
  }
  
  /* Grids with large min-widths - force single column */
  .grid[style*="minmax(300px"],
  .grid[style*="minmax(350px"],
  .grid[style*="minmax(400px"],
  .grid[style*="minmax(500px"],
  div[style*="minmax(300px"],
  div[style*="minmax(350px"],
  div[style*="minmax(400px"],
  div[style*="minmax(500px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Hero CTA buttons - stack on mobile */
  .hero-cta {
    flex-direction: column !important;
    gap: 15px !important;
  }
  
  .hero-cta .btn {
    width: 100% !important;
  }
  
  /* Custom request box - stack on mobile */
  .custom-request-box {
    flex-direction: column !important;
    align-items: stretch !important;
  }
  
  .custom-request-box .btn {
    width: 100% !important;
  }
  
  /* Trust signals - 2 columns on tablet */
  .grid[style*="minmax(200px"],
  div[style*="minmax(200px"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  
  /* Development process grids - 2 columns on tablet */
  .grid[style*="minmax(250px"],
  div[style*="minmax(250px"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Pricing grids - stack on mobile */
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }
  
  /* Reduce card padding on mobile */
  .benefit-card {
    padding: 20px !important;
  }
  
  /* Fix any flex containers that should stack */
  div[style*="display: flex"][style*="flex-direction: row"] {
    flex-direction: column !important;
  }
}

@media (max-width: 480px) {
  /* Trust signals - single column on very small screens */
  .grid[style*="minmax(200px"],
  div[style*="minmax(200px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Development process - single column on very small screens */
  .grid[style*="minmax(250px"],
  div[style*="minmax(250px"] {
    grid-template-columns: 1fr !important;
  }
  
  /* Further reduce padding on very small screens */
  .benefit-card {
    padding: 16px !important;
  }
  
  /* Ensure all grids stack on very small screens */
  .grid,
  div[style*="display: grid"] {
    grid-template-columns: 1fr !important;
  }
}