/* Core Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top left, #072d36 0%, #06051e 60%, #1a0527 100%);
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
  overflow-y: auto;
  
}
html, body {
  background-color: #0c0018; /* or your gradient fallback base */
  background-image: radial-gradient(circle at top left, #072d36 0%, #06051e 60%, #1a0527 100%);
  min-height: 100%;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 1000;
  max-width: 100%;
}

/* Left: Logo */
.logo {
  height: 54px;
  display: block;
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform, opacity;
}

.logo-hidden {
  transform: translateY(-120%);
  opacity: 0;
  pointer-events: none;
}

.nav-left {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Center links – centered absolutely */
.nav-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 24px;
  align-items: center;

}

/* Center links styling */
.nav-center {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 6px 12px;
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  width: 50%;
  display: flex;
  justify-content: space-around;
  align-items: center;

}

.nav-center .nav-link {
  text-decoration: none;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 18px;
  color: #d6d8e6;
  opacity: 0.9;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.nav-center .nav-link:hover {
  background: rgba(255,255,255,0.06);
  opacity: 1;
}

.nav-center .has-caret::after {
  content: "\25BE"; /* small down triangle */
  font-size: 10px;
  opacity: 0.8;
}

/* Right: Log In / Sign Up */
.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 1;
}

.login {
  text-decoration: none;
  font-size: 15px;
  color: #e6e7f2;
  opacity: 0.9;
}

.signup-btn {
  padding: 10px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  /* Fills (two translucent overlays blended via background) */
  background: linear-gradient(
      rgba(94, 94, 94, 0.13),
      rgba(255, 255, 255, 0.07)
  );
  
  /* Border (gradient stroke-like effect) */
  border: 1px solid transparent;
  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
  
  /* Gradient text */
  background-image: 
    linear-gradient(90deg, #7AA1C8 13%, #B08FD6 100%),
    linear-gradient(rgba(94, 94, 94, 0.13), rgba(255, 255, 255, 0.07));
  -webkit-background-clip: text, border-box;
  -webkit-text-fill-color: transparent;
  background-clip: text, border-box;
  color: transparent;

  transition: opacity 0.3s ease, transform 0.2s ease;
}

.signup-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
/* Hero Section */
.pricing-hero {
  text-align: center;
  margin-top: 100px;
  padding: 20px 20px;
}

.pricing-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.pricing-hero p {
  font-size: 1.1rem;
  color: #cccccc;
}

/* Pricing Cards Container */
.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 60px auto;
  padding: 0 16px;
  width: 100%;
  max-width: 1280px;
  box-sizing: border-box;
  overflow: visible;
}



/* Individual Card Styling */
.card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  width: 300px;
  height: 500px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  position: relative;
  transition: 0.3s ease;
  z-index: 1;
}

/* Pulsating Glow on Hover */
.card::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(123, 97, 255, 0.35), transparent 70%);
  filter: blur(65px);
  opacity: 0;
  z-index: -1;
  border-radius: 50%;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 0.8;
  }
}

.card h2 {
  color: #ffffff;
  font-size: 1.9rem;
  margin-bottom: 25px;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0 auto 30px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card li {
  color: #c0c0ff;
  font-size: 1.1rem;
  margin: 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.card li::before {
  content: '✔';
  color: #3a8be0;
  font-size: 1.1rem;
}

.card .price {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.explore-btn {
  background: rgba(97, 78, 186, 0.2); /* Soft muted purple */
  border: 1px solid rgba(160, 130, 255, 0.3); /* Subtle border */
  color: #d0cfff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: all 0.2s ease;
  margin-top: 20px;
}
.explore-btn:hover{background: rgba(97, 78, 186, 0.35);
  transform: scale(1.04);
}
/* Expanded Card Style */
.expanded-card {
  width: 90%;
  margin: 40px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  display: none;
  color: white;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeIn 0.5s ease-in-out;
}

.gpu-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 20px;
}

.gpu-card {
  flex: 1 1 200px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  text-align: center;
  font-weight: 500;
}

.back-btn {
  background: transparent;
  border: 1px solid #aaa;
  color: #ccc;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
/* FIX SCROLL OVERFLOW */
body, html {
  overflow-x: hidden;
}

.pricing-section {
  max-width: 100%;
  margin: 0 auto;
  overflow: visible;
}

.pricing-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin: 60px auto;
  padding: 0 5vw; /* Fluid padding without cramping */
  max-width: 1400px;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

html, body {
  overflow-x: hidden !important;
}
.comparison-table {
  margin: 100px auto;
  max-width: 1200px;
  padding: 0 20px;
  color: white;
  text-align: center;
}

.comparison-table h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  background-image: linear-gradient(90deg, #7AA1C8, #B08FD6);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}


.table-wrapper {
  overflow-x: auto;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.03);
  padding: 20px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.2);
}

table {
  width: 100%;
  border-collapse: collapse;
  color: #ddd;
  min-width: 700px; /* Prevents overlap on small screens */
}

th, td {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 1rem;
  border-radius: 2px;
}

thead th {
  background: rgba(255, 255, 255, 0.08); /* Softer background */
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  white-space: nowrap;
}
.hidden-on-load {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.footer {
  padding: 60px 40px 20px;
  background: transparent;
  color: #c3c5d2;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo-section {
  flex: 1 1 240px;
}

.footer-logo {
  height: 28px;
  margin-bottom: 12px;
}

.footer-brand {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.footer-desc {
  color: #9ea2b7;
  margin-bottom: 16px;
  line-height: 1.5;
}

.footer-socials a {
  color: #b08fd6;
  margin-right: 12px;
  font-size: 16px;
  transition: 0.2s;
}

.footer-socials a:hover {
  color: #d6baff;
}

.footer-links {
  display: flex;
  flex: 2;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-links h4 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: #c3c5d2;
  text-decoration: none;
  margin-bottom: 8px;
  transition: 0.2s ease;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  font-size: 13px;
  color: #888ca2;
}
/* @media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 10px;
  }

  .nav-center {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
  }

  .nav-right {
    flex-direction: column;
    gap: 10px;
  }

  .pricing-hero h1 {
    font-size: 1.8rem;
  }

  .pricing-hero p {
    font-size: 1rem;
    padding: 0 10px;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
    padding: 0 10px;
    gap: 20px;
  }

  .card {
    width: 90%;
    height: auto;
  }

  .expanded-card {
    width: 95%;
    padding: 20px;
  }

  .gpu-card {
    flex: 1 1 100%;
    padding: 16px;
  }

  .comparison-table {
    padding: 0 10px;
  }

  table {
    font-size: 0.9rem;
    min-width: 600px;
  }

  .table-wrapper {
    overflow-x: scroll;
  }

  .footer {
    text-align: center;
    flex-direction: column;
    gap: 12px;
  }

  .footer-links {
    flex-direction: column;
  }

  .footer-links a {
    margin: 6px 0;
  }
} */
/* Scrollbar Styling (WebKit-based browsers like Chrome, Edge, Safari) */
/* ::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.15);
} */

/* --- Responsive Pricing Hero & Cards --- */
@media (max-width: 900px) {
  .pricing-hero {
    margin-top: 80px;
    padding: 16px 8px;
  }
  .pricing-hero h1 {
    font-size: 2rem;
  }
  .pricing-hero p {
    font-size: 1rem;
  }
  .pricing-cards {
    flex-direction: column;
    gap: 20px;
    padding: 0 4vw;
    /* Remove overflow hidden to allow button clicks */
    overflow: visible;
  }
  .card {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    height: auto;
    min-height: 350px;
    z-index: 1;
    pointer-events: auto;
  }
  .explore-btn {
    pointer-events: auto;
    z-index: 2;
  }
  .card::before {
    display: none;
  }
}

/* --- Extra Small Devices --- */
@media (max-width: 600px) {
  .pricing-hero {
    margin-top: 70px;
    padding: 10px 2vw;
  }
  .pricing-hero h1 {
    font-size: 1.3rem;
  }
  .pricing-hero p {
    font-size: 0.95rem;
  }
  .card {
    padding: 24px 10px;
    min-width: 0;
    font-size: 0.95rem;
  }
}

/* --- Responsive Comparison Table --- */
@media (max-width: 900px) {
  .comparison-table {
    padding: 0 2vw;
    margin: 40px auto;
  }
  .table-wrapper {
    overflow-x: auto;
  }
  table {
    min-width: 700px; /* Always keep table wide for scroll */
    font-size: 1rem;
  }
  th, td {
    padding: 12px;
    font-size: 1rem;
    word-break: break-word;
  }
}
@media (max-width: 600px) {
  .table-wrapper {
    overflow-x: auto;
  }
  table {
    min-width: 700px; /* Always keep table wide for scroll */
    font-size: 0.95rem;
  }
  th, td {
    padding: 10px;
    font-size: 0.95rem;
  }
}