/* ==========================================================================
   CSS Core Design System & Theme Variable Setup
   ========================================================================== */
:root {
  /* Colors */
  --bg-dark: #060112;
  --bg-dark-accent: #0f0724;
  --accent-purple: #a259ff;
  --accent-purple-glow: rgba(162, 89, 255, 0.4);
  --accent-pink: #d946ef;
  --text-white: #ffffff;
  --text-muted: #b4b0c2;
  --text-muted-dark: #6b7280;
  --text-dark: #111827;
  
  /* Gradients */
  --gradient-purple-pink: linear-gradient(135deg, #a259ff 0%, #d946ef 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-dark-accent) 100%);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows */
  --glow-shadow: 0 0 25px rgba(162, 89, 255, 0.5);
  --card-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 25px 60px rgba(162, 89, 255, 0.15);
  
  /* Layout Sizing */
  --container-max-width: 1440px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Base Scaling for 4K and Ultra-wide Display alignment */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  box-sizing: border-box;
  overflow-x: hidden;
  width: 100%;
}

@media (min-width: 1800px) {
  html {
    font-size: 18px; /* Scales layout proportionally for 2K/QHD screens */
  }
}

@media (min-width: 2500px) {
  html {
    font-size: 22px; /* Scales layout proportionally for 4K screens */
  }
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative; /* Positioned parent for absolute children */
  width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Background Glow FX Wrapper to prevent overflow */
.bg-glow-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}

/* Ambient Glow Blobs in Background */
.bg-glow {
  position: absolute;
  width: 45rem;
  height: 45rem;
  border-radius: 50%;
  filter: blur(150px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.25;
}

.bg-glow-left {
  top: -10rem;
  left: -15rem;
  background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
}

.bg-glow-right {
  top: 15rem;
  right: -10rem;
  background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background-color: rgba(6, 1, 18, 0.7);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text-white);
  letter-spacing: 1px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 1rem;
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
  transition: var(--transition-smooth);
}

.nav-link:hover {
  color: var(--accent-pink);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-purple-pink);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.btn-signin {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  color: var(--text-white);
  background: var(--gradient-purple-pink);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(217, 70, 239, 0.3);
  transition: var(--transition-bounce);
}

.btn-signin:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 70, 239, 0.5);
}

.btn-signin:active {
  transform: translateY(0);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 8rem 2rem 10rem 2rem; /* Increased padding-bottom from 4rem to 10rem to clear space above cards */
  max-width: var(--container-max-width);
  margin: 0 auto;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}

/* Hero Left Content */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.welcome-tag {
  color: #c084fc;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  display: inline-block;
}

.headline-container {
  margin-bottom: 3.5rem; /* Increased margin to avoid overlap with description paragraph */
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3.6rem;
  line-height: 1.15;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.highlight-text {
  position: relative;
  display: inline-block;
}

.title-underline {
  position: absolute;
  bottom: -0.45rem; /* Moved slightly closer to JODEX CREATION text */
  left: 0;
  width: 100%;
  height: 1.2rem;
  pointer-events: none;
}

.title-underline svg {
  width: 100%;
  height: 100%;
}

.hero-description {
  margin-bottom: 2.5rem;
  max-width: 32rem;
}

.hero-description p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  font-weight: 400;
}

.hero-description .accent-text {
  color: #c084fc;
  font-weight: 600;
  font-size: 1.1rem;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  color: var(--text-white);
  background: var(--gradient-purple-pink);
  border: none;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 8px 30px rgba(162, 89, 255, 0.4);
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.btn-cta:hover::before {
  left: 100%;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(162, 89, 255, 0.6);
}

.btn-cta:hover .arrow-icon {
  transform: translateX(4px);
}

.arrow-icon {
  transition: var(--transition-smooth);
}

/* Hero Right Avatar Card */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-card-glow {
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, var(--accent-purple-glow) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.avatar-card {
  position: relative;
  z-index: 2;
  border-radius: 32px;
  padding: 0.5rem;
  background: linear-gradient(135deg, rgba(162, 89, 255, 0.2) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1.5px solid rgba(162, 89, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 25rem;
  aspect-ratio: 0.77;
  display: flex;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 26px;
  filter: brightness(0.95);
  transition: var(--transition-smooth);
}

.avatar-card:hover .avatar-img {
  transform: scale(1.02);
  filter: brightness(1.05);
}

/* ==========================================================================
   Bottom Wavy Section & Cards
   ========================================================================== */
.bottom-section {
  position: relative;
  background-color: #ffffff;
  padding: 0 2rem 2.5rem 2rem; /* Reduced bottom spacing from 8rem to 2.5rem */
  width: 100%;
  z-index: 10;
}

/* Wavy Border Top */
.wave-divider {
  position: absolute;
  top: -119px;
  left: 0;
  width: 100%;
  height: 120px;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

/* Cards Wrapper Grid */
.cards-container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 15;
}

.card-item {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* Centered content alignment */
  gap: 1.2rem; /* Consistent alignment gap */
  min-height: 15.5rem; /* Restored comfortable height */
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.03);
  margin-top: -4.5rem; /* Balanced overlap */
  transition: var(--transition-bounce);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(162, 89, 255, 0.08),
    transparent 50%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card-item:hover::before {
  opacity: 1;
}

.card-item > * {
  position: relative;
  z-index: 2;
}

.card-item:hover {
  transform: translateY(-1.2rem);
  box-shadow: var(--card-hover-shadow);
}

/* Card Icons */
.card-icon-box {
  height: 6.2rem; /* Restored larger height */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.brand-svg-icon {
  height: 5.2rem; /* Restored larger height for prominent icons */
  max-width: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.card-item:hover .brand-svg-icon {
  transform: scale(1.08);
}

/* Dual sub-icons for Backend Card */
.dual-icons {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
}

.sub-icon-circle {
  width: 3.8rem; /* Restored larger circles */
  height: 3.8rem; /* Restored larger circles */
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: var(--transition-bounce);
}

.card-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.globe-logo-img {
  width: 5.8rem; /* Restored larger WWW globe size */
  height: 5.8rem; /* Restored larger WWW globe size */
  object-fit: contain;
}

.card-item:hover .sub-icon-circle:first-child {
  transform: translateY(-4px) rotate(-8deg);
}

.card-item:hover .sub-icon-circle:last-child {
  transform: translateY(-4px) rotate(8deg);
}

.card-item:hover .globe-logo-img {
  transform: scale(1.08) rotate(5deg);
}

.card-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem; /* Restored larger font size */
  color: var(--text-dark);
  letter-spacing: 0.5px;
  margin-top: 0; /* Handled by flex gaps for perfect alignment */
  text-align: center;
}

/* ==========================================================================
   Modals
   ========================================================================== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 1, 18, 0.65);
  backdrop-filter: blur(10px);
}

.modal-content {
  background: var(--bg-dark-accent);
  border: 1px solid rgba(162, 89, 255, 0.25);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 40px rgba(162, 89, 255, 0.1);
  border-radius: 28px;
  width: 90%;
  max-width: 36rem;
  padding: 3rem;
  position: relative;
  z-index: 1010;
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-height: 90vh;
  overflow-y: auto;
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  color: var(--text-white);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
  text-align: center;
}

.modal-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  text-align: center;
  max-width: 26rem;
  margin-left: auto;
  margin-right: auto;
}

/* Pricing Grid in Modal */
.pricing-modal-content {
  max-width: 68rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  width: 100%;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: var(--transition-bounce);
}

.pricing-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(162, 89, 255, 0.35);
  transform: translateY(-5px);
}

.pricing-card.popular {
  border-color: var(--accent-purple);
  background: rgba(162, 89, 255, 0.05);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-purple-pink);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 1px;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  color: var(--text-white);
}

.plan-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.plan-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.plan-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.5rem;
}

.plan-features {
  list-style: none;
  width: 100%;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.plan-features li::before {
  content: "✓";
  color: var(--accent-pink);
  font-weight: bold;
}

.btn-plan-select {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.8rem;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.pricing-card.popular .btn-plan-select,
.pricing-card:hover .btn-plan-select {
  background: var(--gradient-purple-pink);
  border: none;
  box-shadow: 0 5px 15px rgba(217, 70, 239, 0.3);
}

/* Form Styles */
.contact-form, .signin-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  width: 100%;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  width: 100%;
}

.form-group label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  width: 100%;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 15px rgba(162, 89, 255, 0.15);
}

.btn-form-submit {
  width: 100%;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-white);
  background: var(--gradient-purple-pink);
  border: none;
  padding: 1rem;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(217, 70, 239, 0.3);
  transition: var(--transition-bounce);
  margin-top: 0.5rem;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(217, 70, 239, 0.5);
}

/* Sign In Options */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.forgot-password {
  color: var(--accent-purple);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.forgot-password:hover {
  color: var(--accent-pink);
  text-decoration: underline;
}

.form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: var(--text-muted-dark);
  font-size: 0.8rem;
  margin: 0.5rem 0;
}

.form-divider::before,
.form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.form-divider span {
  padding: 0 1rem;
}

.btn-google-login {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: #ffffff;
  color: #111827;
  border: none;
  padding: 0.85rem;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-google-login:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Responsive Queries (Alignment for all devices)
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.6rem;
  }
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}

@media (max-width: 850px) {
  .header {
    padding: 1rem 1.2rem;
  }
  .nav-menu {
    gap: 1.2rem;
  }
  .logo-text {
    font-size: 1.25rem;
  }
  .logo-icon svg {
    width: 34px;
    height: 34px;
  }
  .btn-signin {
    padding: 0.55rem 1.3rem;
    font-size: 0.78rem;
  }
  
  .hero-section {
    padding: 7rem 1.2rem 8rem 1.2rem;
  }
  .hero-container {
    grid-template-columns: 1.15fr 0.85fr; /* Keep two-column hero layout on mobile */
    gap: 1.5rem;
    text-align: left;
  }
  .hero-content {
    align-items: flex-start;
  }
  .welcome-tag {
    font-size: 0.78rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  .title-underline {
    bottom: -0.3rem;
    height: 0.8rem;
  }
  .hero-description {
    margin-bottom: 1.8rem;
  }
  .hero-description p {
    font-size: 0.82rem;
    margin-bottom: 0.6rem;
    line-height: 1.45;
  }
  .hero-description .accent-text {
    font-size: 0.88rem;
  }
  .btn-cta {
    padding: 0.8rem 1.4rem;
    font-size: 0.82rem;
  }
  .btn-cta svg {
    width: 16px;
    height: 16px;
  }
  
  .avatar-card {
    border-radius: 20px;
    padding: 0.3rem;
    max-width: 100%;
    aspect-ratio: 0.48; /* Narrow and tall ratio matching mobile mockup */
  }
  
  .cards-container {
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid layout for cards */
    gap: 1rem;
    max-width: 100%;
  }
  .card-item {
    margin-top: -4rem;
    padding: 1.5rem 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centered content alignment */
    gap: 0.8rem; /* Perfect alignment gap */
    aspect-ratio: 1 / 1.1; /* Proportional boxy cubes matching screenshot */
    min-height: auto;
    border-radius: 16px;
  }
  
  .card-icon-box {
    height: 4.4rem; /* Enlarged icon container height */
  }
  .brand-svg-icon {
    height: 3.8rem; /* Enlarged brand SVG logos */
  }
  .sub-icon-circle {
    width: 2.8rem; /* Enlarged sub-icons circles */
    height: 2.8rem; /* Enlarged sub-icons circles */
    padding: 0.35rem;
  }
  .globe-logo-img {
    width: 4.4rem; /* Enlarged WWW globe logo */
    height: 4.4rem; /* Enlarged WWW globe logo */
  }
  .card-title {
    font-size: 0.95rem;
    margin-top: 0; /* Handled by flex gap */
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
  }
  .bottom-section {
    padding: 0 1rem 2rem 1rem; /* Reduced padding and bottom white space on tablet */
  }
}

@media (max-width: 600px) {
  .header {
    padding: 0.6rem 0.8rem;
  }
  .nav-menu {
    gap: 0.8rem;
  }
  .nav-link {
    font-size: 0.78rem; /* keep links visible on phone size */
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-icon svg {
    width: 28px;
    height: 28px;
  }
  .btn-signin {
    padding: 0.4rem 0.9rem;
    font-size: 0.72rem;
  }
  
  .hero-section {
    padding: 6rem 0.8rem 6rem 0.8rem; /* Reduced padding */
  }
  .hero-container {
    grid-template-columns: 1fr; /* Stack columns vertically to prevent horizontal scroll */
    gap: 2rem;
    text-align: center;
  }
  .hero-content {
    align-items: center; /* Center align text on mobile stack */
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-description p {
    font-size: 0.82rem;
    line-height: 1.4;
  }
  .hero-description .accent-text {
    font-size: 0.88rem;
  }
  .btn-cta {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    gap: 0.5rem;
  }
  
  .avatar-card {
    border-radius: 24px;
    padding: 0.35rem;
    max-width: 16rem;
    aspect-ratio: 0.77; /* Standard clean aspect ratio on mobile stack */
    margin: 0 auto; /* Centered */
  }
  
  .cards-container {
    gap: 0.8rem;
  }
  .card-item {
    margin-top: -3.5rem;
    padding: 1.2rem 0.6rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centered content alignment */
    gap: 0.6rem; /* Perfect alignment gap */
    aspect-ratio: 1 / 1.1; /* Proportional cubes matching mockup */
    min-height: auto;
  }
  .card-icon-box {
    height: 3.6rem; /* Enlarged icon container */
  }
  .brand-svg-icon {
    height: 3.0rem; /* Enlarged brand SVG logo */
  }
  .sub-icon-circle {
    width: 2.2rem; /* Enlarged sub-icon circles */
    height: 2.2rem; /* Enlarged sub-icon circles */
    padding: 0.25rem;
  }
  .globe-logo-img {
    width: 3.4rem; /* Enlarged WWW globe logo */
    height: 3.4rem; /* Enlarged WWW globe logo */
  }
  .card-title {
    font-size: 0.8rem;
    margin-top: 0; /* Handled by flex gap */
  }
  
  .modal-content {
    padding: 1.8rem 1.2rem;
  }
  .modal-title {
    font-size: 1.8rem;
  }
  .bottom-section {
    padding: 0 0.8rem 1.5rem 0.8rem; /* Minimal bottom space and padding on mobile */
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none; /* Hide JODEX text logo on narrow mobile to prevent header link cutoffs */
  }
  .nav-menu {
    gap: 0.6rem; /* Tighten gaps on tiny screens */
  }
  .nav-link {
    font-size: 0.72rem; /* Shrink links font size */
  }
  .btn-signin {
    padding: 0.4rem 0.8rem; /* Tighten padding */
    font-size: 0.68rem; /* Shrink button size */
  }
  .header {
    padding: 0.6rem 0.6rem; /* Minimal padding */
  }
  .logo-icon svg {
    width: 26px; /* Slightly smaller JX glyph */
    height: 26px;
  }
}

/* ==========================================================================
   Animations & Extra Utility Classes
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ==========================================================================
   Dedicated Pricing Page Styles
   ========================================================================== */
.pricing-page-section {
  padding: 8rem 2rem 5rem 2rem;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.pricing-page-title-area {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 45rem;
}

.pricing-subtitle-small {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.pricing-subtitle-small span {
  color: var(--accent-pink);
}

.pricing-subtitle-small .white-text {
  color: var(--text-white);
}

.pricing-page-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 3rem;
  color: var(--text-white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}

.pricing-page-title span {
  background: var(--gradient-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pricing-page-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.pricing-page-desc span {
  background: var(--gradient-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* 5 Column Grid Layout */
.pricing-page-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  width: 100%;
  margin-bottom: 3.5rem;
}

.pricing-card-custom {
  background: rgba(16, 8, 36, 0.4);
  border: 1.5px solid rgba(162, 89, 255, 0.2);
  border-radius: 24px;
  padding: 2.2rem 1.4rem 1.8rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition-bounce);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

.pricing-card-custom:hover {
  border-color: rgba(217, 70, 239, 0.6);
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(162, 89, 255, 0.25);
  background: rgba(16, 8, 36, 0.6);
}

.pricing-card-custom.popular {
  border-color: var(--accent-purple);
  box-shadow: 0 15px 35px rgba(162, 89, 255, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.08);
  background: rgba(162, 89, 255, 0.04);
}

.pricing-card-custom.popular:hover {
  border-color: var(--accent-pink);
  box-shadow: 0 20px 45px rgba(217, 70, 239, 0.3);
}

/* Card inner structure - Desktop default (Vertical stack) */
.pricing-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.pricing-card-title-price {
  text-align: center;
  width: 100%;
}

.pricing-plan-price-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1rem;
}

.pricing-time-badge {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 400;
  display: inline-block;
}

.pricing-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  flex-grow: 1;
}

/* Badge for popular card */
.pricing-popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-purple-pink);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 0.35rem 1.2rem;
  border-radius: 20px;
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(217, 70, 239, 0.4);
  white-space: nowrap;
}

/* Icon Frame */
.pricing-card-icon-container {
  width: 6.2rem;
  height: 6.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1.5px solid rgba(162, 89, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  padding: 0.4rem;
  box-shadow: 0 0 15px rgba(162, 89, 255, 0.1);
  transition: var(--transition-smooth);
}

.pricing-card-custom:hover .pricing-card-icon-container {
  transform: scale(1.06);
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 25px rgba(217, 70, 239, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.pricing-card-icon-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.pricing-card-icon-container svg {
  width: 90%;
  height: 90%;
}

/* Details */
.pricing-plan-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-white);
  letter-spacing: 0.5px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
}

.pricing-plan-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.3rem;
  color: var(--text-white);
  margin-bottom: 0.2rem;
}

/* Features */
.pricing-features-list {
  list-style: none;
  width: 100%;
  margin-bottom: 2.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.pricing-features-list li {
  font-size: 0.85rem;
  color: #c9c5d8;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
}

.pricing-checkmark {
  width: 1.2rem;
  height: 1.2rem;
  min-width: 1.2rem;
  background: var(--accent-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.68rem;
  font-weight: bold;
}

/* Button */
.btn-pricing-go {
  width: 100%;
  padding: 0.85rem;
  background: var(--gradient-purple-pink);
  border: none;
  border-radius: 30px;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 12px rgba(162, 89, 255, 0.2);
}

.btn-pricing-go:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
  filter: brightness(1.15);
}

/* Bottom Security Banner */
.security-banner {
  background: rgba(16, 8, 36, 0.55);
  border: 1px solid rgba(162, 89, 255, 0.2);
  border-radius: 18px;
  padding: 1.2rem 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  max-width: 55rem;
  width: 100%;
  margin-top: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.security-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.security-text {
  text-align: left;
}

.security-text .sec-top {
  font-size: 0.92rem;
  color: var(--text-white);
  font-weight: 600;
  margin-bottom: 0.3rem;
  letter-spacing: 0.3px;
}

.security-text .sec-bottom {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.security-text .sec-bottom span {
  background: var(--gradient-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

/* Responsive Pricing Styles */
@media (max-width: 1300px) {
  .pricing-page-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 850px) {
  .pricing-page-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .pricing-page-title {
    font-size: 2.5rem;
  }
  .pricing-page-section {
    padding: 7rem 1.2rem 4rem 1.2rem;
  }
  .security-banner {
    padding: 1rem 1.5rem;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  /* Single column horizontal card layout matching mobile mockup */
  .pricing-page-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    width: 100%;
  }

  .pricing-page-section {
    padding: 6.5rem 1rem 3rem 1rem;
  }

  .pricing-page-title-area {
    margin-bottom: 2.5rem;
    width: 100%;
  }

  .pricing-card-custom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 1.4rem;
    width: 100%;
    box-sizing: border-box;
  }

  .pricing-card-header {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }

  .pricing-card-icon-container {
    margin-bottom: 0;
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
  }

  .pricing-card-title-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    flex: 1;
  }

  .pricing-plan-title {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
    white-space: normal;
    word-break: break-word;
  }

  .pricing-plan-price-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0;
  }

  .pricing-plan-price {
    font-size: 1.6rem;
    margin-bottom: 0;
  }

  .pricing-time-badge {
    background: rgba(162, 89, 255, 0.15);
    border: 1px solid rgba(162, 89, 255, 0.3);
    color: var(--text-white);
    padding: 0.2rem 0.65rem;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
  }

  .pricing-card-body {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
  }

  .pricing-features-list {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 0.5rem 1rem;
    margin-bottom: 0;
    flex-grow: 1;
    width: auto;
    min-width: 0;
  }

  .pricing-features-list li {
    font-size: 0.8rem;
    gap: 0.5rem;
    min-width: 0;
    word-break: break-word;
  }

  .pricing-checkmark {
    width: 1.05rem;
    height: 1.05rem;
    min-width: 1.05rem;
    font-size: 0.6rem;
  }

  /* Chrome extension special layout */
  .pricing-card-custom:nth-child(4) .pricing-features-list {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, auto);
  }

  .btn-pricing-go {
    width: auto;
    padding: 0.75rem 1.4rem;
    border-radius: 30px;
    flex-shrink: 0;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .pricing-popular-badge {
    left: 1.4rem;
    transform: none;
    top: -12px;
    font-size: 0.65rem;
    padding: 0.3rem 1rem;
  }
}

@media (max-width: 600px) {
  .pricing-page-title {
    font-size: 1.9rem;
  }
  .pricing-subtitle-small {
    font-size: 0.75rem;
    letter-spacing: 1.5px;
  }
  .pricing-page-desc {
    font-size: 0.9rem;
  }
  .pricing-page-section {
    padding: 6rem 0.9rem 2.5rem 0.9rem;
  }
  .security-banner {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1rem;
    gap: 0.8rem;
  }
  .security-text {
    text-align: center;
  }
  .security-text .sec-top {
    font-size: 0.8rem;
    margin-bottom: 0.35rem;
  }
  .security-text .sec-bottom {
    font-size: 0.75rem;
  }
}

/* Small Android phones — 420px and below */
@media (max-width: 420px) {
  .pricing-page-section {
    padding: 5.5rem 0.75rem 2rem 0.75rem;
  }

  .pricing-page-title {
    font-size: 1.6rem;
  }

  .pricing-page-title-area {
    margin-bottom: 1.8rem;
  }

  .pricing-card-custom {
    padding: 1.1rem;
    border-radius: 18px;
  }

  .pricing-card-header {
    gap: 0.8rem;
    padding-bottom: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .pricing-card-icon-container {
    width: 3.8rem;
    height: 3.8rem;
  }

  .pricing-plan-title {
    font-size: 0.95rem;
  }

  .pricing-plan-price {
    font-size: 1.4rem;
  }

  .pricing-time-badge {
    font-size: 0.62rem;
    padding: 0.18rem 0.55rem;
  }

  /* Stack body vertically on small phones */
  .pricing-card-body {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .pricing-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .pricing-card-custom:nth-child(4) .pricing-features-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

  .pricing-features-list li {
    font-size: 0.78rem;
  }

  .btn-pricing-go {
    width: 100%;
    padding: 0.75rem 1rem;
    justify-content: center;
    font-size: 0.82rem;
  }

  .pricing-popular-badge {
    left: 1.1rem;
    font-size: 0.6rem;
    padding: 0.25rem 0.85rem;
  }

  .pricing-page-grid {
    gap: 1rem;
  }

  .security-banner {
    padding: 0.9rem 0.8rem;
    border-radius: 14px;
    margin-top: 1rem;
  }

  .security-text .sec-top {
    font-size: 0.75rem;
    line-height: 1.5;
  }
}

/* Very old Android phones — 360px and below */
@media (max-width: 360px) {
  .pricing-page-section {
    padding: 5rem 0.6rem 1.8rem 0.6rem;
  }

  .pricing-card-custom {
    padding: 1rem;
    border-radius: 16px;
  }

  .pricing-card-icon-container {
    width: 3.3rem;
    height: 3.3rem;
  }

  .pricing-plan-title {
    font-size: 0.88rem;
  }

  .pricing-plan-price {
    font-size: 1.25rem;
  }

  .pricing-time-badge {
    font-size: 0.58rem;
    padding: 0.15rem 0.45rem;
  }

  .pricing-features-list li {
    font-size: 0.74rem;
  }

  .pricing-checkmark {
    width: 0.95rem;
    height: 0.95rem;
    min-width: 0.95rem;
    font-size: 0.55rem;
  }

  .btn-pricing-go {
    font-size: 0.78rem;
    padding: 0.7rem 0.8rem;
  }

  .pricing-page-title {
    font-size: 1.45rem;
  }

  .security-text .sec-top {
    font-size: 0.7rem;
  }

  .security-text .sec-bottom {
    font-size: 0.68rem;
  }
}

/* ==========================================================================
   Dedicated Contact Page Styles
   ========================================================================== */
.contact-page-section {
  padding: 8rem 2rem 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
}

.contact-page-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-areas:
    "title before"
    "phone before"
    "social before"
    "help before";
  gap: 1.5rem 3.5rem;
  width: 100%;
  align-items: start;
  margin-top: 1.5rem;
}

.contact-title-container { grid-area: title; }
.contact-phone-card { grid-area: phone; margin-bottom: 0 !important; }
.contact-social-row { grid-area: social; margin-bottom: 0 !important; }
.before-contact-card { grid-area: before; }
.contact-help-card { grid-area: help; }

.contact-title-container {
  position: relative;
  display: inline-block;
  margin-bottom: 3.5rem;
  align-self: flex-start;
}

.contact-title-container h1 {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--text-white);
  line-height: 1;
  text-transform: uppercase;
  margin: 0;
}

.contact-title-container h1 span {
  background: var(--gradient-purple-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-title-underline {
  position: absolute;
  bottom: -0.8rem;
  left: 0;
  width: 100%;
  max-width: 280px;
  height: auto;
  pointer-events: none;
}

.contact-card-custom {
  background: rgba(16, 8, 36, 0.45);
  border: 1.5px solid rgba(162, 89, 255, 0.2);
  border-radius: 20px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: var(--transition-bounce);
}

.contact-card-custom:hover {
  border-color: rgba(217, 70, 239, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(162, 89, 255, 0.18);
  background: rgba(16, 8, 36, 0.6);
}

/* Phone Card */
.contact-phone-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem 2.2rem;
  margin-bottom: 1.8rem;
  text-decoration: none;
  color: inherit;
}

.contact-icon-circle {
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(162, 89, 255, 0.15) 0%, rgba(217, 70, 239, 0.15) 100%);
  border: 1.5px solid rgba(162, 89, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-white);
  transition: var(--transition-smooth);
}

.contact-phone-card:hover .contact-icon-circle {
  transform: scale(1.08);
  border-color: var(--accent-pink);
  box-shadow: 0 0 15px var(--accent-purple-glow);
}

.contact-phone-card .contact-icon-circle svg {
  width: 1.6rem;
  height: 1.6rem;
}

.contact-text-group {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--accent-purple);
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  letter-spacing: 0.5px;
}

.contact-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

/* Social Cards Side-by-Side */
.contact-social-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.8rem;
}

.contact-social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.contact-social-icon-box {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.2rem;
  border-radius: 22%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(162, 89, 255, 0.15);
}

.contact-social-card:hover .contact-social-icon-box {
  transform: translateY(-4px) scale(1.06);
  border-color: rgba(217, 70, 239, 0.4);
  box-shadow: 0 12px 28px rgba(162, 89, 255, 0.25);
}

.contact-social-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22%;
}

.contact-social-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-white);
  letter-spacing: 0.3px;
}

/* Help Card */
.contact-help-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.8rem 2.2rem;
}

.contact-help-card .contact-icon-circle {
  background: linear-gradient(135deg, rgba(217, 70, 239, 0.1) 0%, rgba(162, 89, 255, 0.1) 100%);
}

.contact-help-card .contact-icon-circle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-help-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  text-align: left;
}

.contact-help-text span {
  color: var(--accent-pink);
  font-weight: 600;
}

/* Right Column - Before You Contact Me */
.before-contact-card {
  background: rgba(16, 8, 36, 0.4);
  border: 1.5px solid rgba(162, 89, 255, 0.2);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: var(--transition-smooth);
}

.before-contact-card:hover {
  border-color: rgba(162, 89, 255, 0.35);
  box-shadow: 0 18px 45px rgba(162, 89, 255, 0.1);
}

.before-contact-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.2rem;
}

.before-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  flex-shrink: 0;
}

.before-contact-icon svg {
  width: 2.2rem;
  height: 2.2rem;
}

.before-contact-header h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--text-white);
  letter-spacing: 0.3px;
  margin: 0;
}

.before-contact-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 2.2rem;
}

.before-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.before-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  font-size: 0.95rem;
  color: #c9c5d8;
  line-height: 1.55;
  text-align: left;
}

.before-contact-bullet-dot {
  width: 0.55rem;
  height: 0.55rem;
  min-width: 0.55rem;
  border-radius: 50%;
  background: var(--accent-purple);
  box-shadow: 0 0 8px var(--accent-purple);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* Skills Nav Active Styling */
.nav-link-purple {
  color: var(--accent-purple) !important;
  font-weight: 600;
}

.nav-link-purple:hover {
  color: var(--accent-pink) !important;
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .contact-page-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "phone"
      "social"
      "before"
      "help";
    gap: 1.5rem;
  }
  
  .contact-title-container h1 {
    font-size: 4rem;
  }
}

@media (max-width: 600px) {
  .contact-page-section {
    padding: 6rem 1.2rem 3rem 1.2rem;
  }

  .contact-title-container {
    margin-bottom: 2.5rem;
  }

  .contact-title-container h1 {
    font-size: 3.2rem;
  }

  .contact-title-underline {
    bottom: -0.6rem;
    max-width: 200px;
  }

  .contact-phone-card, .contact-help-card {
    padding: 1.4rem;
    gap: 1rem;
  }

  .contact-icon-circle {
    width: 3.2rem;
    height: 3.2rem;
  }

  .contact-icon-circle svg {
    width: 1.3rem;
    height: 1.3rem;
  }

  .contact-phone-card .contact-value {
    font-size: 1.4rem;
  }

  .before-contact-card {
    padding: 2rem 1.5rem;
  }

  .before-contact-header h2 {
    font-size: 1.3rem;
  }

  .before-contact-header {
    gap: 0.8rem;
  }

  .before-contact-icon svg {
    width: 1.8rem;
    height: 1.8rem;
  }

  .contact-social-row {
    gap: 1rem;
  }

  .contact-social-card {
    padding: 1.5rem 1rem;
  }

  .contact-social-icon-box {
    width: 4rem;
    height: 4rem;
  }
}

@media (max-width: 360px) {
  .contact-title-container h1 {
    font-size: 2.6rem;
  }

  .contact-phone-card .contact-value {
    font-size: 1.25rem;
  }

  .before-contact-list li {
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   Dedicated Skills Page Styles
   ========================================================================== */

.skills-page-section {
  position: relative;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 8.5rem 2rem 6rem 2rem;
  z-index: 10;
  box-sizing: border-box;
}

/* Skills Hero Layout: 2 Columns (Text Left, Devices Right) */
.skills-hero-container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
  width: 100%;
}

.skills-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.skills-subtitle {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #a259ff;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-shadow: 0 0 15px rgba(162, 89, 255, 0.4);
}

.skills-hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin: 0 0 1.5rem 0;
  position: relative;
}

.skills-hero-title-line {
  display: block;
}

.skills-wavy-underline {
  margin-top: 0.2rem;
  width: 220px;
  height: 20px;
}

.skills-hero-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 480px;
  margin-top: 1rem;
}

/* Multi-device responsive illustration container */
.skills-devices-wrapper {
  position: relative;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}

.skills-devices-illustration {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 15px rgba(139, 92, 246, 0.2));
  transition: transform 0.4s ease;
}

.skills-devices-wrapper:hover .skills-devices-illustration {
  transform: translateY(-6px) scale(1.02);
}


/* Bottom Skills Cards Grid: 7 Cards in a Row */
.skills-cards-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1.2rem;
  width: 100%;
}

.skill-card-item {
  background: rgba(12, 6, 28, 0.7);
  border: 1.5px solid rgba(138, 43, 226, 0.3);
  border-radius: 20px;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease, box-shadow 0.3s ease;
}

.skill-card-item:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: rgba(217, 70, 239, 0.7);
  box-shadow: 0 18px 40px rgba(162, 89, 255, 0.3), 0 0 20px rgba(217, 70, 239, 0.2);
  background: rgba(16, 8, 36, 0.85);
}

.skill-card-icon-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.skill-card-icon-wrapper img,
.skill-card-icon-wrapper svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.skill-card-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* Circular Progress Bar Component */
.skill-progress-container {
  position: relative;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.skill-progress-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.skill-progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 7;
}

.skill-progress-bar {
  fill: none;
  stroke: #a259ff;
  stroke-width: 7;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px #a259ff);
  transition: stroke-dashoffset 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.skill-progress-text {
  position: absolute;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

/* Responsive Breakpoints for Skills Page */
@media (max-width: 992px) {
  .skills-hero-container {
    grid-template-columns: 1.1fr 1fr; /* keep side-by-side */
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 3rem;
  }
  .skills-hero-title {
    font-size: 2.2rem;
  }
  .skills-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 0.8rem;
  }
  .skills-wavy-underline {
    width: 140px;
    height: 12px;
  }
  .skills-hero-desc {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  
  /* Cards layout: Row 1 has 4 cards, Row 2 has 3 cards centered */
  .skills-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    width: 100%;
  }
  .skill-card-item {
    width: calc(25% - 0.8rem); /* 4 items in first row */
    min-width: 85px;
    padding: 1rem 0.6rem;
    border-radius: 14px;
  }
  .skill-card-icon-wrapper {
    width: 44px;
    height: 44px;
    margin-bottom: 0.6rem;
  }
  .skill-card-name {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
  }
  .skill-progress-container {
    width: 48px;
    height: 48px;
  }
  .skill-progress-text {
    font-size: 0.7rem;
  }
}

@media (max-width: 576px) {
  .skills-hero-container {
    grid-template-columns: 1.2fr 1fr;
    gap: 0.8rem;
  }
  .skills-hero-title {
    font-size: 1.45rem;
  }
  .skills-hero-desc {
    font-size: 0.75rem;
    line-height: 1.3;
  }
  .skills-page-section {
    padding: 7.5rem 1rem 4rem 1rem;
  }
  .skill-card-item {
    width: calc(25% - 0.6rem); /* keep 4 cards in first row on small mobile screen */
    min-width: 70px;
    padding: 0.8rem 0.4rem;
    border-radius: 10px;
  }
  .skill-card-icon-wrapper {
    width: 32px;
    height: 32px;
    margin-bottom: 0.4rem;
  }
  .skill-card-name {
    font-size: 0.65rem;
    margin-bottom: 0.4rem;
  }
  .skill-progress-container {
    width: 38px;
    height: 38px;
  }
  .skill-progress-text {
    font-size: 0.6rem;
  }
}

@media (max-width: 400px) {
  .skill-card-item {
    width: calc(25% - 0.4rem);
    min-width: 60px;
    padding: 0.6rem 0.2rem;
  }
  .skill-card-icon-wrapper {
    width: 26px;
    height: 26px;
  }
  .skill-card-name {
    font-size: 0.55rem;
  }
  .skill-progress-container {
    width: 30px;
    height: 30px;
  }
  .skill-progress-text {
    font-size: 0.5rem;
  }
}



/* ==========================================
   3D Contact Page Styling (Matches mockup)
   ========================================== */
.contact-3d-body {
  background-color: #000000;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Page wrapper containing the elements */
.contact-3d-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 8.5rem 2rem 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Background neon glow effects */
.contact-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(162, 89, 255, 0.15) 0%, rgba(139, 92, 246, 0.05) 50%, transparent 100%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}
.contact-bg-glow-left {
  top: 10%;
  left: -100px;
}
.contact-bg-glow-right {
  bottom: 10%;
  right: -100px;
}

/* Outer layout mapping the elements */
.contact-3d-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-height: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

/* Left Column: Hand holding Mobile showcase */
.contact-3d-left {
  position: relative;
  flex: 1.25;
  height: 750px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  z-index: 5;
  overflow: hidden; /* keeps wrist crop neat at bottom edge */
}

/* Glowing concentric rings behind phone */
.glow-rings {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  z-index: 1;
  pointer-events: none;
}
.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1.5px solid rgba(162, 89, 255, 0.08);
  border-radius: 50%;
  box-shadow: inset 0 0 20px rgba(162, 89, 255, 0.02), 0 0 20px rgba(162, 89, 255, 0.02);
}
.ring-1 { width: 260px; height: 260px; }
.ring-2 { width: 440px; height: 440px; }
.ring-3 { width: 620px; height: 620px; }
.ring-4 { width: 800px; height: 800px; }

/* Realistic Standalone iPhone Mockup */
.phone-mockup {
  position: relative;
  width: 380px; /* Bigger! */
  height: 760px;
  background: #12101b;
  border: 14px solid #1c1c1f;
  outline: 2px solid #2d2d30; /* Metallic phone edge */
  border-radius: 54px;
  box-shadow: 
    0 30px 70px rgba(0, 0, 0, 0.9), 
    0 0 45px rgba(162, 89, 255, 0.2);
  overflow: hidden;
  z-index: 5;
  transform: perspective(1200px) rotateY(-14deg) rotateX(4deg) rotateZ(1deg); /* Soft angled 3D stance */
  transition: transform 0.4s ease;
}
.phone-mockup:hover {
  transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) rotateZ(0deg);
}

/* Speaker/Camera notch */
.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 28px;
  background: #1c1c1f;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 100;
  box-shadow: inset 0 -2px 5px rgba(0, 0, 0, 0.5);
}

/* Scrollable phone screen viewport */
.phone-screen-scroll {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  background: #0d0b18;
  border-radius: 40px; /* Aligned with bezel */
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE */
  z-index: 2;
}
.phone-screen-scroll::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome/Safari */
}
.scroll-screenshot {
  width: 100%;
  height: auto;
  display: block;
}

/* Bright neon line flare right under phone */
.phone-glow-line {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 2px;
  background: linear-gradient(90deg, transparent 5%, #d946ef 35%, #8b5cf6 50%, #d946ef 65%, transparent 95%);
  box-shadow: 0 0 15px rgba(217, 70, 239, 0.95), 0 0 25px rgba(139, 92, 246, 0.85);
  z-index: 2;
  pointer-events: none;
}

/* Diffused horizontal purple glow */
.phone-glow-effect {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 320px;
  height: 40px;
  background: radial-gradient(ellipse at center, rgba(217, 70, 239, 0.45) 0%, rgba(139, 92, 246, 0) 75%);
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

/* Violet light flare glow */
.light-flare {
  position: absolute;
  bottom: -20px;
  left: 20%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(162, 89, 255, 0.3) 0%, rgba(139, 92, 246, 0) 70%);
  filter: blur(45px);
  z-index: 2;
  pointer-events: none;
}

/* Centered Form wrapper */
.contact-form-3d-layout {
  display: flex;
  justify-content: center;
  z-index: 5;
  margin-top: 0;
  width: 100%;
  max-width: 580px;
}

/* Central form styling (Centered and proportionate) */
.contact-form-3d-card {
  position: relative;
  width: 100%;
  background: rgba(7, 5, 15, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(162, 89, 255, 0.35);
  border-radius: 24px;
  padding: 2.5rem;
  z-index: 10;
  box-shadow: 0 0 40px rgba(162, 89, 255, 0.2), inset 0 0 20px rgba(162, 89, 255, 0.1);
  transition: all 0.5s ease;
}
.contact-form-3d-card:hover {
  border-color: rgba(217, 70, 239, 0.5);
  box-shadow: 0 0 50px rgba(217, 70, 239, 0.3), inset 0 0 25px rgba(217, 70, 239, 0.15);
}

.contact-form-3d-card .modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
}
.contact-form-3d-card .modal-subtitle {
  font-size: 0.95rem;
  color: #b4b0c2;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

/* Standardizing Form Elements in 3D Card */
.contact-form-3d-card .form-group {
  margin-bottom: 1.25rem;
}
.contact-form-3d-card .form-group-row {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}
.contact-form-3d-card .form-group-row .form-group {
  flex: 1;
}
.contact-form-3d-card label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 0.4rem;
}
.contact-form-3d-card input,
.contact-form-3d-card select,
.contact-form-3d-card textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}
.contact-form-3d-card textarea {
  height: 110px;
  resize: none;
}
.contact-form-3d-card input:focus,
.contact-form-3d-card select:focus,
.contact-form-3d-card textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(162, 89, 255, 0.6);
  box-shadow: 0 0 15px rgba(162, 89, 255, 0.25);
}
.contact-form-3d-card select option {
  background: #0d0b18;
  color: #ffffff;
}

.contact-form-3d-card .btn-form-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
  border: none;
  border-radius: 12px;
  padding: 0.9rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}
.contact-form-3d-card .btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 70, 239, 0.4);
}

/* Floating 3D rotated screenshots */
.screen-card-3d {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: #0d0b18;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
}
.screen-card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Specific Transforms and Positions */
/* 1. GAOTE (Top Left) */
.screen-gaote {
  width: 340px;
  height: 272px;
  left: 4%;
  top: 60px;
  transform: perspective(1000px) rotateY(32deg) rotateX(10deg) rotateZ(-4deg);
  border-color: rgba(10, 207, 131, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(10, 207, 131, 0.15);
}
.screen-gaote:hover {
  transform: perspective(1000px) rotateY(18deg) rotateX(6deg) rotateZ(-2deg) scale(1.05);
  border-color: rgba(10, 207, 131, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(10, 207, 131, 0.3);
  z-index: 12;
}

/* 2. PHLOX (Bottom Left) */
.screen-phlox {
  width: 340px;
  height: 272px;
  left: 6%;
  bottom: 60px;
  transform: perspective(1000px) rotateY(32deg) rotateX(10deg) rotateZ(-4deg);
  border-color: rgba(242, 78, 30, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(242, 78, 30, 0.15);
}
.screen-phlox:hover {
  transform: perspective(1000px) rotateY(18deg) rotateX(6deg) rotateZ(-2deg) scale(1.05);
  border-color: rgba(242, 78, 30, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(242, 78, 30, 0.3);
  z-index: 12;
}

/* 4. PressMart (Top Right) */
.screen-pressmart {
  width: 340px;
  height: 272px;
  right: 4%;
  top: 90px;
  transform: perspective(1000px) rotateY(-32deg) rotateX(10deg) rotateZ(4deg);
  border-color: rgba(26, 188, 254, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(26, 188, 254, 0.15);
}
.screen-pressmart:hover {
  transform: perspective(1000px) rotateY(-18deg) rotateX(6deg) rotateZ(2deg) scale(1.05);
  border-color: rgba(26, 188, 254, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(26, 188, 254, 0.3);
  z-index: 12;
}

/* 5. Burger Hub (Bottom Right) */
.screen-burger {
  width: 340px;
  height: 272px;
  right: 6%;
  bottom: 90px;
  transform: perspective(1000px) rotateY(-32deg) rotateX(10deg) rotateZ(4deg);
  border-color: rgba(251, 191, 36, 0.3);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(251, 191, 36, 0.15);
}
.screen-burger:hover {
  transform: perspective(1000px) rotateY(-18deg) rotateX(6deg) rotateZ(2deg) scale(1.05);
  border-color: rgba(251, 191, 36, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(251, 191, 36, 0.3);
  z-index: 12;
}

/* 3D Contact Form Layout Adjustment */
.contact-form-3d-layout {
  margin-top: 0; 
  position: relative;
  z-index: 10;
}

/* Responsive Scaling for Tablets and Desktop (1024px - 1400px) */
@media (max-width: 1400px) {
  .contact-3d-container {
    height: 850px;
  }
  .screen-gaote, .screen-phlox, .screen-pressmart, .screen-burger {
    width: 270px;
    height: 216px;
    top: auto;
    bottom: auto;
  }
  .screen-gaote {
    left: 3%;
    top: 50px;
  }
  .screen-phlox {
    left: 5%;
    bottom: 50px;
  }
  .screen-pressmart {
    right: 3%;
    top: 80px;
  }
  .screen-burger {
    right: 5%;
    bottom: 80px;
  }
}

/* Redesigned 3D Columns Responsive styles */
@media (max-width: 1000px) {
  .contact-3d-container {
    flex-direction: column;
    gap: 2.5rem;
    align-items: center;
    min-height: auto;
    padding-top: 0;
  }
  .contact-3d-left {
    order: 2; /* Put phone below the form on mobile */
    height: 450px;
    width: 100%;
    margin-top: 1.5rem;
  }
  .phone-interactive-wrapper {
    width: 260px;
    height: 350px;
  }
  .contact-form-3d-layout {
    order: 1;
    width: 100%;
    max-width: 480px;
  }
  .glow-rings {
    width: 450px;
    height: 450px;
  }
  .ring-1 { width: 120px; height: 120px; }
  .ring-2 { width: 220px; height: 220px; }
  .ring-3 { width: 340px; height: 340px; }
  .ring-4 { width: 450px; height: 450px; }
}

@media (max-width: 480px) {
  .contact-3d-wrapper {
    padding: 7.5rem 1.2rem 3rem 1.2rem;
  }
  .contact-form-3d-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
  .contact-form-3d-card .modal-title {
    font-size: 1.7rem;
    text-align: center;
  }
  .contact-form-3d-card .modal-subtitle {
    text-align: center;
    font-size: 0.85rem;
  }
  .form-group-row {
    flex-direction: column;
    gap: 1.15rem;
  }
}


/* Responsive Scaling for Tablets and Desktop (1024px - 1400px) */
@media (max-width: 1400px) {
  .contact-3d-container {
    height: 850px;
  }
  .screen-gaote, .screen-phlox, .screen-pressmart, .screen-burger {
    width: 270px;
    height: 216px;
    top: auto;
    bottom: auto;
  }
  .screen-gaote {
    left: 3%;
    top: 50px;
  }
  .screen-phlox {
    left: 5%;
    bottom: 50px;
  }
  .screen-pressmart {
    right: 3%;
    top: 80px;
  }
  .screen-burger {
    right: 5%;
    bottom: 80px;
  }
  .screen-chatbot {
    width: 400px;
    height: 220px;
  }
  .contact-form-3d-card {
    width: 360px;
    padding: 1.5rem;
  }
}

@media (max-width: 1100px) {
  .contact-3d-container {
    height: auto;
    flex-direction: column;
    padding-top: 1rem;
  }
  .contact-form-3d-layout {
    margin-top: 0;
    order: 1;
    width: 100%;
    max-width: 450px;
  }
  .screen-card-3d {
    position: static;
    transform: none !important;
    width: 100%;
    max-width: 450px;
    height: 250px;
    margin: 1.5rem auto;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
  }
  .screens-mobile-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    order: 2;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .contact-3d-wrapper {
    padding: 7rem 1.2rem 3rem 1.2rem;
  }
  .contact-form-3d-card {
    padding: 1.5rem;
    border-radius: 20px;
  }
  .contact-form-3d-card .modal-title {
    font-size: 1.7rem;
  }
}

/* WebGL Background Canvas */
#canvas-wave-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none; /* Let pointer events pass to form elements */
}

/* ==========================================
   BILLING & PAYMENT GATEWAY STYLES
   ========================================== */
.payment-body {
  background-color: #050505;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.payment-page-section {
  padding: 7.5rem 1.5rem 4rem 1.5rem;
  min-height: calc(100vh - 80px);
  position: relative;
  z-index: 5;
}

.payment-page-container {
  max-width: 1060px;
  margin: 0 auto;
}

/* Header & Navigation Area */
.payment-header-area {
  position: relative;
  text-align: center;
  margin-bottom: 2rem;
}

.payment-header-area .back-link {
  position: absolute;
  left: 0;
  top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #a259ff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.payment-header-area .back-link:hover {
  color: #d946ef;
  transform: translateX(-4px);
}

.payment-main-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.payment-main-title .highlight-purple {
  color: #d946ef;
  position: relative;
  display: inline-block;

}

.payment-main-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.5;
}

.payment-main-desc .purple-highlight-text {
  color: #a259ff;
  font-weight: 600;
}

/* Customer Summary Badge */
.customer-info-badge {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(20, 13, 40, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(162, 89, 255, 0.3);
  border-radius: 14px;
  padding: 0.9rem 1.8rem;
  margin: 1.5rem auto 2.5rem auto;
  max-width: 900px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cust-info-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.cust-label {
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 1px;
}

.cust-val {
  color: #ffffff;
  font-weight: 600;
}

/* Payment Main Grid */
.payment-grid {
  display: flex;
  gap: 2rem;
  max-width: 940px;
  margin: 0 auto 2.5rem auto;
}

/* Left Card: QR Code & Amount */
.payment-qr-card {
  flex: 1;
  background: rgba(12, 8, 26, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(162, 89, 255, 0.35);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(162, 89, 255, 0.15);
  position: relative;
}

.pay-amount-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #94a3b8;
  letter-spacing: 1.5px;
}

.pay-amount-val {
  font-family: 'Outfit', sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #d946ef;
  margin: 0.2rem 0;
  text-shadow: 0 0 20px rgba(217, 70, 239, 0.4);
}

.pay-plan-name {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 1.2rem;
}

.scan-pay-divider {
  position: relative;
  text-align: center;
  margin: 1rem 0;
}

.scan-pay-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(162, 89, 255, 0.25);
}

.scan-pay-divider span {
  position: relative;
  background: #0f0a22;
  padding: 0 0.8rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #a259ff;
}

.qr-code-frame {
  width: 250px;
  height: 250px;
  margin: 1.2rem auto;
  background: #ffffff;
  border-radius: 18px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(217, 70, 239, 0.25);
}

.qr-img-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.secure-badge-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #d946ef;
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Right Card: Payment Options */
.payment-options-card {
  flex: 1.35;
  background: rgba(12, 8, 26, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(162, 89, 255, 0.25);
  border-radius: 24px;
  padding: 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.payment-options-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 1.2px;
  margin-bottom: 1.4rem;
}

.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pay-option-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: rgba(18, 12, 38, 0.7);
  border: 1px solid rgba(162, 89, 255, 0.2);
  border-radius: 18px;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.pay-option-item:hover {
  border-color: #d946ef;
  background: rgba(32, 18, 62, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(162, 89, 255, 0.25);
}

.pay-option-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.gpay-bg {
  background: #ffffff;
}

.paytm-bg {
  background: #002e6e;
}

.paytm-logo-text {
  color: #00baf2;
  font-weight: 900;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
}

.paypal-bg {
  background: #003087;
  color: #ffffff;
}

.pay-option-text {
  flex: 1;
}

.pay-option-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.pay-option-sub {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 0.2rem;
  line-height: 1.3;
}

.pay-option-arrow {
  color: #a259ff;
  transition: transform 0.3s ease;
}

.pay-option-item:hover .pay-option-arrow {
  color: #d946ef;
  transform: translateX(4px);
}

/* Confirm Payment Button */
.btn-confirm-payment {
  width: 100%;
  margin-top: 1.8rem;
  padding: 1.1rem;
  background: linear-gradient(135deg, #a259ff 0%, #d946ef 100%);
  border: none;
  border-radius: 14px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 10px 30px rgba(162, 89, 255, 0.4);
  transition: all 0.3s ease;
}

.btn-confirm-payment:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(217, 70, 239, 0.5);
  background: linear-gradient(135deg, #b026ff 0%, #e056f7 100%);
}

/* Trust Bar Footer */
.payment-trust-bar {
  max-width: 940px;
  margin: 0 auto;
  background: rgba(14, 9, 30, 0.65);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(162, 89, 255, 0.2);
  border-radius: 18px;
  padding: 1.4rem 2.2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(162, 89, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
}

.trust-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.1rem;
}

/* User Info Modal Styling */
.checkout-info-card {
  max-width: 460px;
  width: 90%;
  background: rgba(15, 10, 30, 0.95);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(162, 89, 255, 0.4);
  border-radius: 24px;
  padding: 2.2rem;
  box-shadow: 0 0 50px rgba(162, 89, 255, 0.3);
}

.input-readonly {
  background: rgba(162, 89, 255, 0.12) !important;
  color: #d946ef !important;
  font-weight: 700 !important;
  border-color: rgba(162, 89, 255, 0.3) !important;
}

.btn-primary-modal {
  width: 100%;
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #a259ff 0%, #d946ef 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(162, 89, 255, 0.35);
  transition: all 0.3s ease;
}

.btn-primary-modal:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(217, 70, 239, 0.45);
}

/* Responsive Payment Styling */
@media (max-width: 860px) {
  .payment-grid {
    flex-direction: column;
  }
  .payment-trust-bar {
    flex-direction: column;
    gap: 1.2rem;
  }
  .payment-header-area .back-link {
    position: static;
    margin-bottom: 1rem;
  }
}

/* ==========================================
   CUSTOMER DETAILS MIDDLE PAGE STYLES
   ========================================== */
.details-page-body {
  background-color: #050505;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.details-mountain-bg {
  position: fixed;
  top: 0;
  right: 0;
  width: 50vw;
  height: 100vh;
  background: radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.15) 0%, rgba(5, 5, 5, 0) 70%),
              linear-gradient(to left, rgba(20, 10, 35, 0.4), transparent);
  pointer-events: none;
  z-index: 1;
}

.details-page-section {
  padding: 6.5rem 1.5rem 4rem 1.5rem;
  min-height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 5;
}

.details-card-container {
  max-width: 660px;
  width: 100%;
  margin: 0 auto;
  background: rgba(13, 8, 28, 0.88);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1.5px solid rgba(162, 89, 255, 0.45);
  border-radius: 32px;
  padding: 3rem 2.8rem;
  text-align: center;
  box-shadow: 0 0 60px rgba(162, 89, 255, 0.22), inset 0 0 20px rgba(217, 70, 239, 0.1);
  position: relative;
}

.details-subtitle-tag {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.details-subtitle-tag .pink-text {
  color: #d946ef;
  text-shadow: 0 0 14px rgba(217, 70, 239, 0.6);
}

.details-subtitle-tag .white-text {
  color: #ffffff;
}

.details-main-heading {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 1px;
  line-height: 1.25;
  margin-bottom: 0.8rem;
}

.details-main-heading .purple-highlight-text {
  color: #a259ff;
  text-shadow: 0 0 25px rgba(162, 89, 255, 0.5);
  position: relative;
  display: inline-block;
}

.details-sub-desc {
  font-size: 1rem;
  color: #94a3b8;
  max-width: 440px;
  margin: 0 auto 2.2rem auto;
  line-height: 1.5;
}

.details-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-width: 520px;
  margin: 0 auto;
}

.details-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.details-input-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  margin-left: 0.2rem;
}

.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.field-icon {
  position: absolute;
  left: 1.2rem;
  color: #d946ef;
  pointer-events: none;
  opacity: 0.9;

}

.details-input-group input {
  width: 100%;
  background: rgba(18, 12, 38, 0.8);
  border: 1px solid rgba(162, 89, 255, 0.35);
  border-radius: 14px;
  padding: 0.95rem 1.2rem 0.95rem 3.2rem;
  color: #ffffff;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.details-input-group input:focus {
  border-color: #d946ef;
  background: rgba(30, 18, 60, 0.9);
  box-shadow: 0 0 20px rgba(217, 70, 239, 0.3);
}

.details-input-group input::placeholder {
  color: #64748b;
}

.btn-continue-payment {
  width: 100%;
  max-width: 320px;
  margin: 1.6rem auto 0 auto;
  padding: 1.1rem 2rem;
  background: linear-gradient(135deg, #a259ff 0%, #d946ef 100%);
  border: none;
  border-radius: 50px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  box-shadow: 0 10px 35px rgba(162, 89, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-continue-payment:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 45px rgba(217, 70, 239, 0.6);
  background: linear-gradient(135deg, #b026ff 0%, #e056f7 100%);
}

@media (max-width: 640px) {
  .details-card-container {
    padding: 2rem 1.5rem;
    border-radius: 24px;
  }
  .details-main-heading {
    font-size: 1.9rem;
  }
  .btn-continue-payment {
    max-width: 100%;
  }
}

/* ==========================================
   INLINE AUTH ERROR & TOGGLE STYLES
   ========================================== */
.auth-message-box {
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  text-align: center;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.auth-message-box.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.2);
}

.auth-message-box.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #4ade80;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.2);
}

.toggle-auth-btn {
  background: none;
  border: none;
  color: #a259ff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  margin-left: 0.3rem;
  transition: color 0.2s ease;
}

.toggle-auth-btn:hover {
  color: #d946ef;
}

