:root {
  --bg: #ffffff;
  --surface: #f7f8fb;
  --card: #ffffff;
  --text: #0f172a; /* slate-900 */
  --muted: #475569; /* slate-600 */
  --border: #e5e7eb; /* gray-200 */
  --ring: #c7d2fe; /* indigo-200 */
  --primary: #5b5ce2;
  --primary-600: #524bdc;
  --primary-700: #4a3fd4;
  --accent: #6a5cff;
  --accent-2: #22c1c3;
  --success: #16a34a;
  --danger: #ef4444;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  --radius: 12px;
}

/* Dark mode variables */
[data-theme="dark"] {
  --bg: #0f172a;
  --surface: #1e293b;
  --card: #334155;
  --text: #f8fafc;
  --muted: #94a3b8;
  --border: #475569;
  --ring: #6366f1;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  width: min(1140px, 92%);
  margin-inline: auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding-right: 15px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dark mode navbar */
[data-theme="dark"] .navbar {
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(71, 85, 105, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 2px 8px rgba(0, 0, 0, 0.2);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 550;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  transition: opacity 0.3s ease;
  height: 40px;
  vertical-align: middle;
}

/* Dark mode logo styling using CSS filters */
[data-theme="dark"] .logo img {
  filter: brightness(0.8) contrast(1.2) invert(0.1);
}

/* Dark mode logo styling for all mobile breakpoints */
@media (max-width: 980px) {
  [data-theme="dark"] .logo img {
    filter: brightness(0.8) contrast(1.2) invert(0.1) !important;
  }
}

@media (max-width: 768px) {
  [data-theme="dark"] .logo img {
    filter: brightness(0.8) contrast(1.2) invert(0.1) !important;
  }
}

@media (max-width: 640px) {
  [data-theme="dark"] .logo img {
    filter: brightness(0.8) contrast(1.2) invert(0.1) !important;
  }
}

@media (max-width: 480px) {
  [data-theme="dark"] .logo img {
    filter: brightness(0.8) contrast(1.2) invert(0.1) !important;
  }
}

.logo .accent { background: linear-gradient(90deg, #6a5cff, #22c1c3); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Dark mode accent gradient */
[data-theme="dark"] .logo .accent {
  background: linear-gradient(90deg, #6a5cff, #22c1c3); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Ensure logo styling remains consistent on mobile - use PC/desktop styling */
@media (max-width: 980px) {
  .logo {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 550 !important;
    font-size: 22px !important;
    letter-spacing: -0.02em !important;
    color: var(--text) !important;
    text-decoration: none !important;
  }
  
  .logo img {
    transition: opacity 0.3s ease !important;
    height: 40px !important;
    vertical-align: middle !important;
  }
  
  .logo .accent {
    background: linear-gradient(90deg, #6a5cff, #22c1c3) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }
}

@media (max-width: 768px) {
  .logo {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 550 !important;
    font-size: 22px !important;
    letter-spacing: -0.02em !important;
    color: var(--text) !important;
    text-decoration: none !important;
  }
  
  .logo img {
    transition: opacity 0.3s ease !important;
    height: 40px !important;
    vertical-align: middle !important;
  }
  
  .logo .accent {
    background: linear-gradient(90deg, #6a5cff, #22c1c3) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }
}

@media (max-width: 640px) {
  .logo {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 550 !important;
    font-size: 22px !important;
    letter-spacing: -0.02em !important;
    color: var(--text) !important;
    text-decoration: none !important;
  }
  
  .logo img {
    transition: opacity 0.3s ease !important;
    height: 40px !important;
    vertical-align: middle !important;
  }
  
  .logo .accent {
    background: linear-gradient(90deg, #6a5cff, #22c1c3) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }
}

@media (max-width: 480px) {
  .logo {
    display: inline-flex !important;
    align-items: center !important;
    font-weight: 550 !important;
    font-size: 22px !important;
    letter-spacing: -0.02em !important;
    color: var(--text) !important;
    text-decoration: none !important;
  }
  
  .logo img {
    transition: opacity 0.3s ease !important;
    height: 40px !important;
    vertical-align: middle !important;
  }
  
  .logo .accent {
    background: linear-gradient(90deg, #6a5cff, #22c1c3) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    color: transparent !important;
  }
}

.nav-links {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  list-style: none;
}
.nav-links > li { position: relative; }
.nav-button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 12px 16px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.chev { 
  margin-left: 6px; 
  opacity: 0.6; 
  transition: all 0.2s ease;
}

/* Dark mode chevron hover */
[data-theme="dark"] .nav-button:hover .chev {
  opacity: 1;
  color: #a78bfa;
  transform: translateY(1px);
}

.menu {
  position: absolute;
  left: 0;
  top: calc(100% + 10px);
  min-width: 240px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Dark mode menu */
[data-theme="dark"] .menu {
  background: rgba(51, 65, 85, 0.95);
  border: 1px solid #475569;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.menu a {
  display: block;
  padding: 12px 16px;
  border-radius: 8px;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
}

.menu a:hover { 
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #6366f1;
  transform: translateX(2px);
}

/* Dark mode menu links */
[data-theme="dark"] .menu a {
  color: #e2e8f0;
}

[data-theme="dark"] .menu a:hover {
  background: linear-gradient(135deg, #475569 0%, #374151 100%);
  color: #a78bfa;
  transform: translateX(2px);
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}
/* Hover-based dropdown display */
.dropdown:hover .menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav-actions { display: flex; align-items: center; gap: 12px; }

/* Currency Selector */
.currency-selector { 
  position: relative !important; 
  z-index: 1000;
}

.currency-selector .currency-menu {
  position: absolute;
  width: 130px;
  padding: 8px 0;
  right: 0;
  left: auto;
  top: 100%;
  margin-top: 8px;
  z-index: 9999;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 4px 10px rgba(0, 0, 0, 0.05);
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.95);
  min-width: 130px;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Dark mode currency menu */
[data-theme="dark"] .currency-selector .currency-menu {
  background: rgba(51, 65, 85, 0.95);
  border: 1px solid #475569;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4), 0 4px 10px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.currency-selector.open .currency-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.currency-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 50%;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border: 1px solid #d1d5db;
  background: rgba(255, 255, 255, 0.8);
  height: 36px;
  width: 36px;
  padding: 0;
  min-width: 36px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.currency-button:hover {
  border-color: #6366f1;
  background: rgba(255, 255, 255, 0.95);
}

.currency-label { 
  font-weight: 600; 
  font-size: 16px;
  line-height: 1;
}

/* Dark mode currency button */
[data-theme="dark"] .currency-button {
  color: #f8fafc;
  border-color: #475569;
  background: rgba(51, 65, 85, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .currency-button:hover {
  border-color: #fbbf24;
  background: rgba(51, 65, 85, 0.95);
}

[data-theme="dark"] .currency-button:hover .currency-label {
  color: #fbbf24;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-radius: 50%;
  font-weight: 600;
  color: #374151;
  text-decoration: none;
  border: 1px solid #d1d5db;
  background: rgba(255, 255, 255, 0.8);
  height: 36px;
  width: 36px;
  padding: 0;
  min-width: 36px;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.theme-toggle:hover {
  border-color: #6366f1;
  background: rgba(255, 255, 255, 0.95);
}

.theme-toggle .theme-icon {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  transform: rotate(15deg);
}

/* Dark mode theme toggle icon */
[data-theme="dark"] .theme-toggle:hover .theme-icon {
  transform: rotate(20deg) scale(1.1);
}

/* Dark mode specific styles */
[data-theme="dark"] .theme-toggle {
  color: #f8fafc;
  border-color: #475569;
  background: rgba(51, 65, 85, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .theme-toggle:hover {
  border-color: #1bc6ff;
  background: rgba(51, 65, 85, 0.95);
}

.currency-option {
  display: block;
  padding: 12px 16px;
  color: #4b5563;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.15s ease;
  border-bottom: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
}

.currency-option:last-child {
  border-bottom: none;
}

.currency-option:hover {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  color: #6366f1;
  transform: translateX(2px);
}

/* Dark mode currency options */
[data-theme="dark"] .currency-option {
  color: #e2e8f0;
  border-bottom-color: #475569;
}

[data-theme="dark"] .currency-option:hover {
  background: linear-gradient(135deg, #475569 0%, #374151 100%);
  color: #a78bfa;
  transform: translateX(2px);
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}

.currency-option.active {
  color: #6366f1;
  font-weight: 600;
}

[data-theme="dark"] .currency-option.active {
  color: #fbbf24;
  font-weight: 600;
  text-shadow: 0 0 8px rgba(251, 191, 36, 0.3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(90deg, #6a5cff, #22c1c3);
  color: white;
  box-shadow: var(--shadow);
}
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { background: var(--surface); }
.login-link { 
  color: var(--text); 
  text-decoration: none; 
  font-weight: 600; 
  transition: all 0.2s ease;
}

/* Dark mode link hover */
[data-theme="dark"] .login-link:hover {
  color: #34d399;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.3);
}
.btn-login {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 12px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.9);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.btn-login:hover { 
  border-color: #6366f1; 
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.95);
}

/* Dark mode login button */
[data-theme="dark"] .btn-login {
  background: rgba(51, 65, 85, 0.9);
  border-color: #475569;
  color: #f8fafc;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

[data-theme="dark"] .btn-login:hover {
  border-color: #34d399;
  box-shadow: 0 4px 16px rgba(52, 211, 153, 0.25), 0 2px 8px rgba(0, 0, 0, 0.2);
  background: rgba(51, 65, 85, 0.95);
}

[data-theme="dark"] .btn-login:hover .btn-login-label {
  color: #34d399;
  text-shadow: 0 0 8px rgba(52, 211, 153, 0.3);
}
.btn-login:active { transform: translateY(1px); }
/* Mobile icon/text toggle for login button */
.btn-login .user-icon { 
  display: none; 
  transition: all 0.2s ease;
}

/* Dark mode user icon hover */
[data-theme="dark"] .btn-login:hover .user-icon {
  color: #34d399;
  filter: drop-shadow(0 0 4px rgba(52, 211, 153, 0.4));
}
.btn-login .btn-login-label { display: inline; }

/* Hero */
.hero { 
  padding: 104px 0 0 0; 
  background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 60%);
  transition: background 0.3s ease;
}

/* Dark mode hero */
[data-theme="dark"] .hero {
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 60%);
}

.hero-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.eyebrow { 
  font-weight: 700; 
  color: var(--primary); 
  letter-spacing: .08em; 
  text-transform: uppercase; 
  font-size: 15px; 
  transition: all 0.2s ease;
}

/* Dark mode eyebrow hover */
[data-theme="dark"] .eyebrow:hover {
  color: #a78bfa;
  text-shadow: 0 0 8px rgba(167, 139, 250, 0.4);
}
.hero h1 { font-size: clamp(38px, 5vw, 56px); line-height: 1.04; margin: 10px 0 12px; }
.hero p { color: var(--muted); font-size: 18px; }
.hero-cta { display: flex; gap: 12px; margin-top: 18px; }
.hero-stats { display: grid; grid-auto-flow: column; gap: 18px; margin-top: 26px; }
.stat-chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 0 16px; font-weight: 600; height: 40px; text-decoration: none; }
.hero img { width: 100%; border-radius: 16px; border: 1px solid var(--border); box-shadow: var(--shadow); }

/* Sections */
.section {
    padding: 100px 0 0 0; /* More generous vertical padding */
    background-color: var(--bg); /* Ensure consistent background */
}

.section-header { text-align: center; margin-bottom: 28px; }
.section-header h2 { font-size: clamp(28px, 3.2vw, 36px); margin: 0; }
.section-header p { color: var(--muted); margin: 0 0 10px; }

/* About NetGetIndia Section - Premium & Minimalist */
.two-col {
    gap: 60px; /* Increased gap for more whitespace */
    align-items: center; /* Vertically align items */
}

.about-text-block {
    padding: 0; /* Remove internal padding, let container handle it */
}

.about-text-block .section-title {
    font-size: clamp(36px, 4.5vw, 48px); /* Adjusted font size */
    font-weight: 800; /* Extra bold for impact */
    margin: 10px 0 0 0; /* Reduced space below title */
    color: var(--text);
    letter-spacing: -0.04em; /* Tighter for a modern, premium feel */
    line-height: 1; /* Slightly increased line height for title */
}

.about-text-block p {
    font-size: 16px; /* Reduced font size */
    line-height: 1.7; /* Reduced line height */
    margin-bottom: 16px; /* Reduced space between paragraphs */
    color: var(--muted); /* Use muted color for body text */
}

.img-card {
    border: 1px solid var(--border); /* Subtle border */
    border-radius: var(--radius); /* Consistent border-radius */
    padding: 8px; /* Small padding inside card */
    background: var(--card); /* Card background */
    box-shadow: var(--shadow-sm); /* Very subtle initial shadow */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
}

.img-card img {
    width: 100%;
    display: block;
    border-radius: calc(var(--radius) - 4px); /* Slightly smaller radius than card */
    filter: grayscale(10%); /* Subtle desaturation for premium feel */
    transition: filter 0.3s ease-in-out;
}

.img-card:hover {
    box-shadow: var(--shadow); /* More prominent shadow on hover */
}

.img-card:hover img {
    filter: grayscale(0%); /* Full color on hover */
}
.social-links {
  display: flex;
  gap: 10px;
}

.social-links .fa-brands {
    font-size: 20px;
}
.social-links a i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  border-radius: 5px;
}
.social-links a .fa-youtube {
  background-color: rgba(255, 0, 0, 0.1);
  color: #FF0000;
}
.social-links a .fa-instagram {
  background-color: rgba(228, 64, 95, 0.1);
  color: #E4405F;
}
.social-links a .fa-x-twitter {
  background-color: rgba(0, 0, 0, 0.1);
  color: #000000;
}
.social-links a .fa-linkedin-in {
  background-color: rgba(10, 102, 194, 0.1);
  color: #0A66C2;
}
/* Responsive adjustments for the About section */
@media (max-width: 980px) {
    .two-col {
        gap: 40px;
    }
    .about-text-block .section-title {
        font-size: clamp(32px, 4vw, 42px); /* Adjusted font size */
    }
    .about-text-block p {
        font-size: 16px; /* Adjusted font size */
        line-height: 1.7; /* Adjusted line height */
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0; /* Adjust padding for smaller screens */
    }
    .two-col {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 30px;
    }
    .about-text-block {
        text-align: center; /* Center text on mobile */
    }
    .about-text-block .section-title {
        font-size: 28px; /* Adjusted font size */
        margin-bottom: 15px;
    }
    .about-text-block p {
        font-size: 15px; /* Adjusted font size */
        line-height: 1.6; /* Adjusted line height */
        margin-bottom: 16px; /* Adjusted margin */
    }
    .img-card {
        order: -1; /* Image appears above text on mobile */
    }
}

@media (max-width: 480px) {
    .section {
        padding: 60px 0;
    }
    .about-text-block .section-title {
        font-size: 24px; /* Adjusted font size */
    }
    .about-text-block p {
        font-size: 14px; /* Adjusted font size */
        line-height: 1.5; /* Adjusted line height */
    }
}
.toggle-btn.active {
  background: linear-gradient(90deg, #6a5cff, #22c1c3);
  color: #fff;
}
.billing-toggle .badge { margin-left: 6px; background: #000; color: #fff; border-color: #000; }

.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: var(--radius); 
  padding: 30px 30px 15px 30px; 
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-icon {
    display: inline-grid;
    place-items: center;
    border-radius: 5px;
    margin-bottom: 10px;
    background: #eef3fe00;
}

.feature-icon .fa-bolt {
    color: #f59e0b;
    font-size: 21px;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(245, 158, 11, 0.1);
}

.feature-icon .fa-shield-alt {
    color: #10b981;
    font-size: 21px;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(16, 185, 129, 0.1);
}

.feature-icon .fa-globe {
    color: #3b82f6;
    font-size: 21px;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(59, 130, 246, 0.1);
}

.feature-icon .fa-cube {
    color: #8b5cf6;
    font-size: 21px;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(139, 92, 246, 0.1);
}

.feature-icon .fa-puzzle-piece {
    color: #ef4444;
    font-size: 21px;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(239, 68, 68, 0.1);
}

.feature-icon .fa-chart-line {
    color: #06b6d4;
    font-size: 21px;
    border-radius: 5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    background: rgba(6, 182, 212, 0.1);
}
.feature-card h3 { margin: 20px 0; font-size: 18px; }
.feature-card p { margin: 10px 0; color: var(--muted); }

/* Pricing */
.pricing { 
  background: #ffffff;
  transition: background 0.3s ease;
}

/* Dark mode pricing */
[data-theme="dark"] .pricing {
  background: #0f172a;
}
.pricing .controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 16px;
    margin-bottom: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text);
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Dark mode pricing controls */
[data-theme="dark"] .pricing .controls {
    background: #1e293b;
    border-color: #475569;
}
.pricing .controls .label {
    opacity: .8;
    font-weight: 600;
    margin-left: 0; /* Remove margin-left here */
}

.data-center-select {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between label and select */
}

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.plan { 
  background: var(--card); 
  border: 1px solid var(--border); 
  border-radius: 18px; 
  padding: 22px; 
  box-shadow: var(--shadow-sm); 
  display: flex; 
  flex-direction: column; 
  position: relative; 
  overflow: hidden;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.plan.recommended { border-color: #c7d2fe; box-shadow: var(--shadow); }
.plan .ribbon { position: absolute; top: -1px;
    left: 15%; transform: translateX(-50%); background: #eef2ff; color: #4338ca; font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid #c7d2fe; }
.plan h3 { margin: 5px 0 15px; font-size: 20px; }
.plan .desc { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.strike { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.strike .old { text-decoration: line-through; }
.off-badge { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; border-radius: 999px; padding: 2px 6px; font-weight: 700; font-size: 11px; }
.price { font-size: 36px; font-weight: 800; margin: 4px 0 6px; letter-spacing: -0.02em; display: flex; align-items: baseline; gap: 6px; }
.price .currency { font-size: 22px; opacity: .9; }
.price .suffix { font-size: 14px; color: var(--muted); font-weight: 600; }
.sub { color: var(--muted); font-size: 12px; margin-bottom: 10px; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 8px; color: var(--text); font-weight: 500;  }
.plan ul li::before { content: "\f00c"; font-family: "Font Awesome 5 Free"; font-weight: 900; color: var(--success); margin-right: 8px; }
.plan .btn { margin-top: auto; width: 100%; height: 44px; }
.note { margin-top: 8px; font-size: 12px; color: var(--muted); text-align: center; }

.js-free-domain-feature {
  display: flex;
  align-items: center;
  gap: 6px;
}

.free-domain-tooltip-wrapper {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.free-domain-tooltip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #555; /* Keep the color for the icon */
}

.free-domain-tooltip-text {
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.2s;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  white-space: nowrap;
  z-index: 1;
}

.tooltip-hidden {
  visibility: hidden;
  opacity: 0;
}

.tooltip-visible {
  visibility: visible;
  opacity: 1;
}

/* Side by side blocks */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; }
.img-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 6px; box-shadow: var(--shadow); }
.img-card img { width: 100%; display: block; border-radius: 12px; }
.video-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 6px; box-shadow: var(--shadow); overflow: hidden; }
.video-card video { width: 100%; display: block; border-radius: 12px; }
.check-list { list-style: none; padding: 0; display: grid; gap: 10px; color: var(--muted); }
.check-list li { position: relative; padding-left: 32px; }
.check-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free"; /* Specify Font Awesome font family */
  font-weight: 900; /* Use solid icon weight */
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 8px;
  display: inline-grid; place-items: center;
  background: #ecfdf5; color: var(--success);
  border: 1px solid #bbf7d0; font-weight: 800;
}

/* Table */
.table-responsive {
  overflow-x: auto;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--card);
  padding: 1px; /* Add a tiny padding to help with border-radius overflow on inner elements */
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0; /* Remove margin as it's now wrapped in table-responsive */
}

.pricing-table th,
.pricing-table td {
  padding: 16px 20px;
  text-align: center; /* Changed to center */
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.pricing-table thead {
  background: linear-gradient(90deg, var(--primary), var(--accent-2));
  color: #fff;
  border-radius: var(--radius) var(--radius) 0 0; /* Apply border-radius to the top corners */
}

.pricing-table thead th {
  background: transparent; /* Ensure no conflicting background on individual th */
  color: #fff;
  border-bottom: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--surface); /* Alternating row color */
}

/* .pricing-table tbody tr:hover {
  Removed hover effect
} */

.pricing-table td {
  color: var(--text); /* Changed to var(--text) for better contrast */
}

.pricing-table td:first-child {
  text-align: left; /* Keep first column left-aligned */
  font-weight: 700; /* Bolder for the TLD */
  color: var(--primary); /* Accent color for TLD */
}

.pricing-table th:first-child {
  text-align: left; /* Keep first column header left-aligned */
}

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

.pricing-table .yes,
.pricing-table .no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff; /* White symbol */
}

.pricing-table .yes::before {
  content: "\f00c"; /* Font Awesome checkmark icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.pricing-table .no::before {
  content: "\f00d"; /* Font Awesome times icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
}

.pricing-table .yes {
  background-color: var(--success);
}

.pricing-table .no {
  background-color: var(--danger);
}

/* FAQ */
.faq { width: min(840px, 96%); margin: 0 auto; display: grid; gap: 20px; }
.faq-item { background: var(--card); margin-bottom: 10px; border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.faq-q { margin: 0; font-weight: 450; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--muted); }
.faq-item.open .faq-a { max-height: 200px; margin-top: 8px; }

/* Footer */
.footer { background: var(--surface); border-top: 1px solid var(--border); margin-top: 56px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 22px; padding: 50px 0; }
.footer h4 { margin: 0 0 10px; }
.footer a { color: var(--muted); text-decoration: none; display: block; padding: 6px 0; }
.copyright { border-top: 1px solid var(--border); padding: 14px 0; color: var(--muted); font-size: 14px; text-align: center; }

/* CTA */
.cta { background: #f7f7ff; border: 1px solid var(--border); padding: 28px; border-radius: 16px; text-align: center; box-shadow: var(--shadow-sm); }

/* Utilities */
.muted { color: var(--muted); }
.center { text-align: center; }
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); background: var(--card); font-weight: 600; }
.mobile-nav-toggle {
  display: none;
  font-size: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 36px;
  padding: 0 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Dark mode mobile nav toggle */
[data-theme="dark"] .mobile-nav-toggle {
  background: rgba(51, 65, 85, 0.9);
  border-color: #475569;
  color: #f8fafc;
}

[data-theme="dark"] .mobile-nav-toggle:hover {
  border-color: #6366f1;
  background: rgba(51, 65, 85, 0.95);
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.25);
}

.mobile-nav-toggle {
  display: none;
  font-size: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  height: 36px;
  padding: 0 14px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-toggle:hover {
  border-color: #d1d5db;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}
/* New Hosting Comparison Section Styles */
.analysis-header {
    text-align: center;
    margin-bottom: 40px;
}

.analysis-header h2 {
    font-size: clamp(28px, 3.2vw, 36px);
    margin: 0 0 12px 0;
    color: var(--text);
}

.analysis-header p {
    color: var(--muted);
    margin: 0;
    font-size: 18px;
}

.comparison-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.comparison-table-container {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--card);
}

.hosting-comparison {
    width: 100%;
    table-layout: fixed;
}

.comparison-header {
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    position: relative;
}

.comparison-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(106, 92, 255, 0.4), transparent);
    opacity: 0.6;
}

.comparison-header th {
    padding: 20px 16px;
    text-align: center;
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    text-transform: none;
    letter-spacing: normal;
    border: none;
    position: relative;
    background: rgba(247, 248, 251, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.feature-column {
    text-align: left !important;
    width: 45% !important;
    color: var(--primary) !important;
    font-weight: 700 !important;
}

.provider-column {
    width: 18.33% !important;
}

.comparison-body {
    background: var(--card);
}

.feature-row {
    border-bottom: 1px solid var(--border);
}

.feature-row:nth-child(even) {
    background: var(--surface);
}

.feature-row:last-child {
    border-bottom: none;
}

.feature-name {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text);
    font-size: 15px;
}

.feature-status {
    padding: 18px 16px;
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    position: relative;
}

.feature-status.available {
    color: var(--success);
}

.feature-status.unavailable {
    color: var(--danger);
}

.highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Ensure table doesn't break layout */
.table-responsive {
    overflow-x: auto;
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    background: var(--card);
    padding: 1px;
}

/* Premium Yes/No indicators */
tbody .yes,
tbody .no {
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

tbody .yes {
    color: var(--success);
}

tbody .no {
    color: var(--danger);
}

tbody .yes::before {
    content: "\f00c"; /* Font Awesome checkmark icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

tbody .no::before {
    content: "\f00d"; /* Font Awesome times icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.pricing-table .yes {
  background-color: var(--success);
}

.pricing-table .no {
  background-color: var(--danger);
}

/* Remove old conflicting styles */
.tr {
    display: table-row;
    vertical-align: inherit;
    unicode-bidi: isolate;
    border-color: inherit;
}

.thead {
    display: table-header-group;
    vertical-align: middle;
    unicode-bidi: isolate;
    border-color: inherit;
}

/* Responsive improvements from index.html */
@media (max-width: 980px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 12px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-links.open {
    display: flex;
  }

  .dropdown .menu {
    position: static;
    visibility: visible;
    border: none;
    box-shadow: none;
    padding-left: 12px;
    transform: none;
    background: var(--card);
    border-radius: 8px;
    transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 0;
    overflow: hidden;
  }

  .dropdown.open .menu {
    max-height: 200px;
    padding: 8px 12px;
    margin-bottom: 8px;
  }

  .dropdown:hover .menu {
    opacity: 1;
    visibility: visible;
  }

  /* Keep locale dropdown as an anchored popover even on mobile */
  .dropdown.locale .menu {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 10px) !important;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    padding-left: 14px;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .plans {
    grid-template-columns: 1fr; /* Display as single column on smaller screens */
  }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

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

  .pricing .controls {
    flex-direction: column;
    gap: 10px;
  }

  .hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center the stat chips */
    gap: 8px; /* Reduce gap for mobile */
  }

  .nav-actions {
    gap: 8px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center; /* Center CTA buttons */
    display: none; /* Hide on mobile */
  }

  .plan {
    padding: 18px;
  }

  .hero-wrap {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 24px;
    text-align: center; /* Center text within hero section */
  }

  .hero img {
    order: -1; /* Image appears above text on mobile */
  }

  .two-col {
    grid-template-columns: 1fr; /* Stack two-column sections */
  }

  .two-col.reverse-on-mobile .img-card,
  .two-col.reverse-on-mobile .video-card {
    order: -1; /* Image/video appears above text for specific sections */
  }

  /* Mobile table improvements */
  .table-responsive {
    margin: 0 -14px; /* Negative margin to allow full-width scrolling */
  }
  
  /* Mobile responsive for new comparison section */
  .comparison-table-container {
    margin: 0 -14px;
    border-radius: 0;
  }
  
  .hosting-comparison {
    font-size: 14px;
    min-width: 600px;
  }
  
  .comparison-header th,
  .feature-name,
  .feature-status {
    padding: 14px 12px;
  }
  
  .analysis-header h2 {
    font-size: 28px;
  }
  
  .analysis-header p {
    font-size: 16px;
  }
  
}
@media (max-width: 480px) {

  .plan .price {
    font-size: 30px;
  }

  .plan .price .currency {
    font-size: 18px;
  }

  .plan .price .suffix {
    font-size: 12px;
  }

  .stat-chip {
    font-size: 12px; /* Further reduce font size */
    padding: 5px 8px; /* Further reduce padding */
  }

  .check-list li {
    padding-left: 28px;
  }

  .check-list li::before {
    width: 20px;
    height: 20px;
  }
}

/* Phone breakpoint: show only icon, hide text */
@media (max-width: 640px) {
  .btn-login { width: 36px; height: 36px; padding: 0; justify-content: center; }
  .btn-login .user-icon { display: inline-block; font-size: 18px; line-height: 1; }
  .btn-login .btn-login-label { display: none; }
  .currency-label {
    font-weight: 700;
    font-size: 16px;
  }
  .currency-button {
    height: 36px;
    width: 36px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    min-width: 36px;
  }
  /* Make hamburger button match login/currency size on phones */
  .mobile-nav-toggle {
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
  }

  /* Remove forced positioning for dropdowns on mobile; revert to defaults */
  .dropdown .menu {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
    width: auto;
    border: none;
    box-shadow: none;
    padding: 0;
    background: var(--surface);
    border-radius: 8px;
    margin: 4px 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.25s ease;
  }

  .dropdown.open .menu {
    max-height: 200px;
    padding: 8px 12px;
    margin: 4px 0;
  }

  .dropdown .menu a {
    color: var(--text);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 2px 0;
    font-size: 14px;
  }

  .dropdown .menu a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
  }

  /* Dark mode mobile submenu styles */
  [data-theme="dark"] .dropdown .menu {
    background: rgba(51, 65, 85, 0.95);
  }

  [data-theme="dark"] .dropdown .menu a {
    color: #e2e8f0;
  }

  [data-theme="dark"] .dropdown .menu a:hover {
    background: rgba(167, 139, 250, 0.15);
    color: #a78bfa;
  }

  /* Apply requested sizing and translation to the currency dropdown only */
  .currency-selector .currency-menu {
    position: absolute !important;
    width: min(92vw, 200px) !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    right: 0 !important;
    left: auto !important;
    top: 100% !important;
    margin-top: 8px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    transform: none !important;
    display: none !important;
  }
  
  .currency-selector.open .currency-menu {
    display: block !important;
  }

  /* Dark mode mobile currency dropdown */
  [data-theme="dark"] .currency-selector .currency-menu {
    background: rgba(51, 65, 85, 0.95) !important;
    border-color: #475569 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }

  /* Mobile currency options dark mode */
  [data-theme="dark"] .currency-selector .currency-option {
    color: #e2e8f0 !important;
    border-bottom-color: #475569 !important;
  }

  [data-theme="dark"] .currency-selector .currency-option:hover {
    background: linear-gradient(135deg, #475569 0%, #374151 100%) !important;
    color: #fbbf24 !important;
  }

  [data-theme="dark"] .currency-selector .currency-option.active {
    color: #fbbf24 !important;
    font-weight: 600 !important;
  }
}

.hero-cta .btn-ghost .fa-rocket { color: #007bff !important; /* Blue for rocket */ }
.hero-cta .btn-ghost .fa-shield-alt { color: #28a745 !important; /* Green for shield */ }
.icon-rocket-color { color: #007bff !important; /* Blue for rocket */ }
.icon-shield-color { color: #28a745 !important; /* Green for shield */ }

/* Star icon styling for Trusted by Thousands section */
.fa-star {
        font-size: 17px;
    width: 27px;
    height: 27px;
    color: white;
    padding: 4px;
    margin: -1px;
    border-radius: 3px;
    background: #17B67A;
}

.feature-icon {
    display: inline;
}

/* Premium Subtle Animations and Micro-interactions */


.btn:active, .btn-ghost:active, .btn-primary:active {
  transform: translateY(0);
  transition: all 0.1s ease;
}

/* Premium button effects */
.btn, .btn-ghost, .btn-primary {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle shine effect on hover */
.btn::before, .btn-ghost::before, .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: left 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn:hover::before, .btn-ghost:hover::before, .btn-primary:hover::before {
  left: 100%;
}

/* Enhanced button states */
.btn-primary:hover {
  background: linear-gradient(90deg, #5a4fd8, #1fb8ba);
  box-shadow: 0 8px 25px rgba(106, 92, 255, 0.25);
}

.btn-ghost:hover {
  background: rgba(107, 92, 226, 0.02);
}

/* Subtle card hover effects */
.plan, .feature-card, .stat-card {
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateY(0);
}

.plan:hover, .feature-card:hover, .stat-card:hover {
  transform: translateY(-2px);
}

/* Subtle plan card shine effect */
.plan {
  position: relative;
  overflow: hidden;
}

.plan::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
  transition: left 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.plan:hover::before {
  left: 100%;
}

/* Pricing toggle button styles */
.billing-toggle .toggle-btn {
  background: transparent;
  color: var(--text);
}

.billing-toggle .toggle-btn:hover {
  background: transparent;
  color: var(--primary);
}

.billing-toggle .toggle-btn.active {
    background: linear-gradient(90deg, #6a5cff, #22c1c3);
    color: #fff;
}

/* Subtle badge animations */
.badge {
  animation: badgePulse 3s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

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

/* Refined feature icon animations */
.feature-icon {
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-card:hover .feature-icon {
  transform: scale(1.05);
  color: var(--primary);
}

/* Subtle check list animations */
.check-list li {
  opacity: 0;
  animation: slideInLeft 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.check-list li:nth-child(1) { animation-delay: 0.05s; }
.check-list li:nth-child(2) { animation-delay: 0.1s; }
.check-list li:nth-child(3) { animation-delay: 0.15s; }
.check-list li:nth-child(4) { animation-delay: 0.2s; }
.check-list li:nth-child(5) { animation-delay: 0.25s; }

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Subtle navigation menu animations */
.nav-links > li {
  position: relative;
}

.nav-links > li::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateX(-50%);
}

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

/* Refined dropdown menu animations */
.menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dropdown:hover .menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


/* Refined currency selector animation */
.locale-select {
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.locale-select:focus {
  transform: scale(1.01);
  box-shadow: 0 0 0 2px rgba(107, 92, 226, 0.08);
}

/* Subtle mobile navigation toggle animation */
.mobile-nav-toggle {
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-nav-toggle:hover {
  transform: scale(1.02);
  background: rgba(0, 0, 0, 0.03);
}

/* Subtle hero section animations */
.hero h1 {
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero p {
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.15s both;
}

.hero-cta {
  animation: fadeInUp 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s both;
}

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

/* Refined stats animation */
.stat-card {
  opacity: 0;
  animation: fadeInScale 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Remove focus borders and outlines */
.btn:focus, .btn-ghost:focus, .btn-primary:focus,
.nav-button:focus, .locale-select:focus, .nav-links a:focus,
.dropdown button:focus, .mobile-nav-toggle:focus {
  outline: none;
  box-shadow: none;
}

/* Remove focus borders from all interactive elements */
button:focus, a:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: none;
}

/* Smooth page transitions */
.page-transition {
  animation: pageFadeIn 0.6s ease-out;
}

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* Hide faq-mobile-category-toggle on PC */
@media (min-width: 769px) {
  h3.faq-mobile-category-toggle {
    display: none;
  }
}
  to {
    opacity: 1;
    transform: translateY(0);
  }


/* Hover effects for interactive elements */
.interactive-element {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* New FAQ Layout */
.faq-layout {
  display: flex;
  gap: 30px; /* Space between categories and content */
  align-items: flex-start; /* Align items to the top */
}

.faq-categories {
  flex: 0 0 280px; /* Fixed width for categories, adjust as needed */
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.faq-category-btn {
  display: block;
  width: 100%;
  padding: 12px 15px;
  text-align: left;
  background: transparent;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-category-btn:hover {
  background: var(--surface);
  color: var(--primary);
}

.faq-category-btn.active {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.faq-category-btn.active:hover {
  background: var(--primary-600);
  color: white;
  box-shadow: var(--shadow); /* Added subtle shadow on hover */
}

/* Dark mode for FAQ categories */
[data-theme="dark"] .faq-categories {
  border-color: var(--border);
}

[data-theme="dark"] .faq-category-btn {
  color: var(--muted);
}

[data-theme="dark"] .faq-category-btn:hover {
  background: var(--surface);
  color: var(--primary);
}

[data-theme="dark"] .faq-category-btn.active {
  background: var(--primary);
  color: white;
}

[data-theme="dark"] .faq-category-btn.active:hover {
  background: var(--primary-600);
  color: white;
  box-shadow: var(--shadow); /* Added subtle shadow on hover */
}

.faq-content {
  flex: 1; /* Take up remaining space */
  display: grid; /* Use grid for gap between items */
}

.faq-category-content {
  display: none; /* Hidden by default */
  animation: fadeIn 0.3s ease-out; /* Fade in effect */
}

.faq-category-content.active {
  display: grid; /* Show active content */
}

/* Existing FAQ item styles (ensure they still apply) */
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  transition: all 0.2s ease; /* Added transition for smooth hover */
}

.faq-item:hover {
  box-shadow: var(--shadow-sm); /* Subtle shadow on hover */
}

.faq-q {
  margin: 0;
  font-weight: 450;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text); /* Ensure question text color is consistent */
}

.faq-q::after {
  content: '+';
  font-size: 1.2em;
  transition: transform 0.2s ease;
}

.faq-item.open .faq-q::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, margin-top 0.3s ease-out;
  color: var(--muted);
  padding-top: 0; /* Reset padding */
}

.faq-item.open .faq-a {
  max-height: 500px; /* Adjust as needed for content length */
  margin-top: 10px; /* Space between question and answer */
}

/* Fade in animation for category content */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments for FAQ layout */
@media (max-width: 980px) {
  .faq-layout {
    flex-direction: column; /* Stack categories and content on smaller screens */
    gap: 20px;
  }

  .faq-categories {
    display: none; /* Hide desktop category navigation on mobile */
  }

  .faq-content {
    width: 100%; /* Take full width on mobile */
    display: flex; /* Change to flex for stacking category content */
    flex-direction: column;
  }

  .faq-category-content {
    display: block; /* Make category content visible as a block */
    border-radius: var(--radius);
    overflow: hidden; /* Hide overflow for collapsing effect */
  }

  .faq-category-content .faq-item {
    border: none; /* Remove inner borders for a cleaner look */
    box-shadow: none;
    border-radius: 0;
    padding: 10px 15px; /* Adjust padding for inner FAQ items */
  }

  .faq-category-content .faq-item:first-of-type {
    padding-top: 0; /* Remove top padding for first item in category */
  }

  .faq-category-content .faq-item + .faq-item {
    border-top: 1px solid var(--border); /* Add separator between inner FAQ items */
  }

  .faq-mobile-category-toggle { /* New style for clickable category header on mobile */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    background: var(--surface); /* Subtle background for category header */
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
  }

  .faq-mobile-category-toggle:hover {
    background: var(--surface);
  }

  .faq-mobile-category-toggle::after {
    content: '+';
    font-family: "Font Awesome 5 Free"; /* Assuming Font Awesome is loaded */
    font-weight: 900;
    font-size: 1em;
    transition: transform 0.2s ease;
  }

  .faq-category-content.is-open .faq-mobile-category-toggle::after {
    content: '-';
    transform: rotate(180deg);
  }

  .faq-category-content-inner { /* Container for actual Q&A items within a category */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .faq-category-content.is-open .faq-category-content-inner {
    max-height: 1000px; /* Adjust as needed to fit content */
  }

  /* Dark mode for mobile FAQ structure */
  [data-theme="dark"] .faq-mobile-category-toggle {
    background: var(--surface);
    border-color: var(--border);
    color: var(--text);
  }

  [data-theme="dark"] .faq-mobile-category-toggle:hover {
    background: var(--surface);
  }
}

@media (max-width: 640px) {
  .faq-layout {
    gap: 15px; /* Reduce gap further for smaller screens */
  }
  .faq-mobile-category-toggle {
    font-size: 1rem; /* Adjust font size for smaller screens */
    padding: 12px 15px;
  }
  .faq-item {
    padding: 8px 12px; /* Adjust padding for inner FAQ items */
  }
  .faq-q {
    font-size: 0.9rem;
  }
  .faq-a {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .faq-mobile-category-toggle {
    font-size: 0.9rem; /* Further adjust font size for very small screens */
    padding: 10px 12px;
  }
  .faq-item {
    padding: 6px 10px; /* Further adjust padding for inner FAQ items */
  }
  .faq-q {
    font-size: 0.85rem;
  }
  .faq-a {
    font-size: 0.75rem;
  }
}
@media (max-width: 769px) {
  .faq-categories {
    display: none;
  }

  .faq-mobile-category-toggle {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--surface);
    border: none;
    border-radius: 10px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
  }

  .faq-category-content .faq-category-content-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .faq-category-content.open .faq-category-content-inner {
    max-height: 1000px; /* Adjust as needed */
  }
}