/* Base Styles */
:root {
  /* Light Theme Colors */
  --background: #ffffff;
  --foreground: #0f172a;
  --card: #ffffff;
  --card-foreground: #0f172a;
  --popover: #ffffff;
  --popover-foreground: #0f172a;
  --primary: #3b82f6;
  --primary-foreground: #f8fafc;
  --secondary: #f1f5f9;
  --secondary-foreground: #1e293b;
  --muted: #f1f5f9;
  --muted-foreground: #64748b;
  --accent: #f1f5f9;
  --accent-foreground: #1e293b;
  --destructive: #ef4444;
  --destructive-foreground: #f8fafc;
  --border: #e2e8f0;
  --input: #e2e8f0;
  --ring: #3b82f6;
  --radius: 0.75rem;

  /* Neumorphic Light Shadow Values */
  --shadow-light: rgba(255, 255, 255, 0.8);
  --shadow-dark: rgba(174, 174, 192, 0.4);
}

.dark {
  /* Dark Theme Colors */
  --background: #0f172a;
  --foreground: #f8fafc;
  --card: #0f172a;
  --card-foreground: #f8fafc;
  --popover: #0f172a;
  --popover-foreground: #f8fafc;
  --primary: #3b82f6;
  --primary-foreground: #1e293b;
  --secondary: #1e293b;
  --secondary-foreground: #f8fafc;
  --muted: #1e293b;
  --muted-foreground: #94a3b8;
  --accent: #1e293b;
  --accent-foreground: #f8fafc;
  --destructive: #7f1d1d;
  --destructive-foreground: #f8fafc;
  --border: #1e293b;
  --input: #1e293b;
  --ring: #3b82f6;

  /* Neumorphic Dark Shadow Values */
  --shadow-light: rgba(255, 255, 255, 0.05);
  --shadow-dark: rgba(0, 0, 0, 0.5);
}

/* Reset and Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  transition: background-color 0.3s ease, color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--foreground);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--primary);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

/* Neumorphic Design Styles */
.neumorphic-card {
  background-color: var(--background);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
  position: relative;
}

.neumorphic-button {
  background-color: var(--primary);
  color: var(--primary-foreground);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-weight: 500;
  box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.neumorphic-button:hover {
  box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.neumorphic-button:active {
  box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.neumorphic-button-outline {
  background-color: var(--background);
  color: var(--foreground);
  border-radius: var(--radius);
  padding: 0.5rem 1rem;
  font-weight: 500;
  box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.neumorphic-button-outline:hover {
  box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
}

.neumorphic-button-outline:active {
  box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.neumorphic-icon-button {
  background-color: var(--background);
  color: var(--foreground);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
  transition: all 0.2s ease;
  position: relative;
}

.neumorphic-icon-button:hover {
  box-shadow: 2px 2px 4px var(--shadow-dark), -2px -2px 4px var(--shadow-light);
}

.neumorphic-icon-button:active {
  box-shadow: inset 2px 2px 4px var(--shadow-dark), inset -2px -2px 4px var(--shadow-light);
}

.neumorphic-input {
  background-color: var(--background);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  box-shadow: inset 3px 3px 6px var(--shadow-dark), inset -3px -3px 6px var(--shadow-light);
}

.neumorphic-select {
  background-color: var(--background);
  border: none;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  width: 100%;
  box-shadow: 3px 3px 6px var(--shadow-dark), -3px -3px 6px var(--shadow-light);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.neumorphic-accordion {
  background-color: var(--background);
  border-radius: var(--radius);
  box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
  overflow: hidden;
  padding: 10px;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--border);
  background-color: var(--background);
  backdrop-filter: blur(8px);
}

.header-content {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.main-nav {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  height: 2.25rem;
  padding: 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.nav-link.active {
  color: var(--primary);
}

.dropdown-toggle {
  position: relative;
  padding-right: 1.5rem;
}

.dropdown-toggle i[data-lucide="chevron-down"] {
  position: absolute;
  right: 0.5rem;
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  min-width: 20rem;
  border: outset 2px #3b82f6;
  padding: 0.5rem;
  margin-top: 0.5rem;
  background-color: var(--background);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover .dropdown-toggle i[data-lucide="chevron-down"] {
  transform: rotate(180deg);
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: calc(var(--radius) - 2px);
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.dropdown-item.active {
  background-color: var(--accent);
  color: var(--accent-foreground);
}

.dropdown-title {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25;
}

.dropdown-description {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.25;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.auth-buttons {
  display: flex;
  gap: 0.5rem;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 4rem;
  right: 0;
  bottom: 0;
  z-index: 40;
  width: 100%;
  max-width: 24rem;
  background-color: var(--background);
  box-shadow: -10px 0 15px -3px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-container {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;
  gap: 2rem;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.mobile-nav-link.active {
  color: var(--primary);
}

.mobile-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav-group-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.mobile-nav-group-items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 2rem;
}

.mobile-nav-group-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.mobile-nav-group-link.active {
  color: var(--primary);
}

.mobile-auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Theme Toggle */
.theme-toggle {
  position: relative;
}

.light-icon,
.dark-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.light .dark-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(0);
}

.dark .light-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg) scale(0);
}
.dark .theme-toggle .light-icon {
  opacity: 1;
  transform: scale(1);
  color: white;
  margin: -11px;
}

/* Currency Switcher */
.currency-switcher {
  position: relative;
}

.currency-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 10;
  min-width: 12rem;
  margin-top: 0.5rem;
  background-color: var(--background);
  border-radius: var(--radius);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.currency-switcher.active .currency-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.currency-option {
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.currency-option:hover {
  background-color: var(--accent);
}

/* Hero Section */
.hero-section {
  padding: 4rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-image {
  position: relative;
}

.hero-card {
  padding: 1.5rem;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
}

.hero-badge {
  position: absolute;
  padding: 1rem;
  border-radius: calc(var(--radius) - 2px);
  background-color: var(--background);
  box-shadow: 5px 5px 10px var(--shadow-dark), -5px -5px 10px var(--shadow-light);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.uptime-badge {
  bottom: -1.5rem;
  right: -1.5rem;
}

.protection-badge {
  top: -1.5rem;
  left: -1.5rem;
}

.uptime-indicator {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #10b981;
  border-radius: 50%;
   animation: blink 1s infinite;
}
@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

/* Feature Section */
.feature-section {
  padding: 4rem 0;
  background-color: var(--muted);
  background-opacity: 0.3;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card i {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--primary);
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-description {
  color: var(--muted-foreground);
}

/* Pricing Section */
.pricing-section,
.pricing-table-section {
  padding: 4rem 0;
}

.pricing-header {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
  gap: 1rem;
}

.pricing-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.server-location-selector {
  width: 100%;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border: 2px solid var(--primary);
}


.pricing-card.popular {
  border: 2px solid var(--primary);
}

.popular-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom-left-radius: calc(var(--radius) - 2px);
  border-top-right-radius: calc(var(--radius) - 2px);
}

.pricing-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.pricing-description {
  color: var(--muted-foreground);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  border-bottom: 1px solid #d2d4d6;
}



.price-amount {
  font-size: 1.875rem;
  font-weight: 700;
}

.price-period {
  color: var(--muted-foreground);
  margin-left: 0.5rem;
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-feature i {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  margin-top: 0.125rem;
}

/* Testimonial Section */
.testimonial-section {
  padding: 4rem 0;
  background-color: var(--muted);
  background-opacity: 0.3;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
}

.testimonial-avatar {
  flex-shrink: 0;
  margin-right: 1rem;
}

.testimonial-avatar img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.testimonial-rating {
  display: flex;
  margin-top: 0.25rem;
}

.star-filled {
  width: 1rem;
  height: 1rem;
  color: #f59e0b;
  fill: #f59e0b;
}

.star-empty {
  width: 1rem;
  height: 1rem;
  color: #d1d5db;
}

.testimonial-content {
  color: var(--muted-foreground);
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
}

.faq-container {
  max-width: 48rem;
  margin: 0 auto;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  text-align: left;
  font-weight: 500;
}

.accordion-header i {
  width: 1.25rem;
  height: 1.25rem;
  transition: transform 0.2s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0 0 1.25rem;
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* Page Header */
.page-header {
  padding: 3rem 0;
  text-align: center;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.page-description {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  max-width: 36rem;
  margin: 0 auto;
}

/* Footer */
.footer {
  background-color: var(--background);
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--foreground);
}

.footer-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--foreground);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted-foreground);
}

.contact-item i {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.125rem;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.copyright {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--foreground);
}

/* Utility Classes */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 500;
  transition: all 0.2s ease;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.w-full {
  width: 100%;
}

.desktop-only {
  display: none;
}

.mobile-only {
  display: block;
}

/* Media Queries */
@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .pricing-controls {
    flex-direction: row;
    align-items: center;
    width: auto;
  }
  
  .server-location-selector {
    width: auto;
  }
  
  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
  }
  
  .mobile-only {
    display: none;
  }
  
  .desktop-only {
    display: flex;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
  }
  
  .hero-text {
    width: 50%;
  }
  
  .hero-image {
    width: 50%;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-header {
    flex-direction: row;
    align-items: center;
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}