/* =====================================================
   DESKTOP STYLES - style-desktop.css
   Use this file for screens 769px and above
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Poppins:wght@300;400;600;700&display=swap');

/* =====================================================
   CSS VARIABLES
   ===================================================== */
:root {
  /* Sophisticated AI Color Palette - Dark Blue Theme */
  --primary-color: #1e3a5f;
  --secondary-color: #f5f1ed;
  --accent-navy: #2c4d6f;
  --accent-slate: #3d5a73;
  --accent-dark-blue: #1a2f4a;
  --accent-medium-blue: #4a6b8a;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-cream: #e8e3dc;
  --bg-light: #d9d4cc;
  --bg-warm: #cdc7bf;
  
  /* Text Colors */
  --text-dark: #1a2332;
  --text-medium: #3d4f5c;
  --text-light: #7a8a99;
  
  /* Border Colors */
  --border-light: #e6e1dc;
  --border-warm: #d9d3cc;
}

/* =====================================================
   GLOBAL RESET
   ===================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #e8e3dc;
  color: #1a2332;
  padding-top: 110px;
}

/* =====================================================
   ANIMATED BACKGROUND
   ===================================================== */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(135deg, #e8e3dc 0%, #d9d4cc 50%, #cdc7bf 100%);
  overflow: hidden;
}

.stars {
  position: absolute;
  width: 200%;
  height: 200%;
  animation: rotate 200s linear infinite;
  pointer-events: none;
  opacity: 0.9;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.star {
  position: absolute;
  background: rgba(44, 77, 111, 0.12);
  border-radius: 50%;
  animation: twinkle 4s ease-in-out infinite;
  opacity: 0.12;
  box-shadow: 0 0 8px rgba(44,77,111,0.06);
  transform-origin: center;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.08; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.08); }
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  animation: float 20s ease-in-out infinite;
  pointer-events: none;
  background: radial-gradient(circle at 30% 30%,
          rgba(44,77,111,0.18) 0%,
          rgba(61,90,115,0.09) 40%,
          rgba(76,107,138,0.04) 70%,
          transparent 100%);
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(80px, -80px) scale(1.06); }
  66% { transform: translate(-80px, 60px) scale(0.94); }
}

/* =====================================================
   HEADER
   ===================================================== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1.5rem 5%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid #d9d4cc;
  z-index: 1000;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(30, 58, 95, 0.05);
}

header.scrolled {
  padding: 1rem 5%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 20px rgba(30, 58, 95, 0.08);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  cursor: pointer;
}

.logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #2c4d6f;
  box-shadow: 0 4px 15px rgba(44, 77, 111, 0.25);
  transition: all 0.3s ease;
  animation: none;
}

.logo:hover img {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(44, 77, 111, 0.35);
}

.logo h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  background: linear-gradient(90deg, #2c4d6f, #3d5a73, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
  background-size: 200% 100%;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

nav a {
  color: #1a2332;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: color 0.3s;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2c4d6f, #3d5a73);
  transition: all 0.3s;
  transform: translateX(-50%);
}

nav a:hover {
  color: #2c4d6f;
}

nav a:hover::before {
  width: 100%;
}

.hamburger {
  display: none;
}

#pricingBtn {
  background: none;
  color: #1a2332;
  padding: 0;
  border-radius: 0;
  font-weight: 600;
  box-shadow: none;
}

#pricingBtn:hover {
  color: #2c4d6f;
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 1000px;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #2c4d6f, #3d5a73, var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 3s ease-in-out infinite;
  line-height: 1.2;
}

@keyframes textGlow {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.5)); }
  50% { filter: drop-shadow(0 0 40px rgba(0, 255, 255, 1)); }
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 3rem;
  color: #3d4f5c;
  animation: fadeInUp 1s ease 0.3s backwards;
}

.cta-buttons {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.6s backwards;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn-primary, .btn-secondary {
  padding: 1.2rem 3rem;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #2c4d6f, #3d5a73) !important;
  color: white !important;
  box-shadow: 0 10px 30px rgba(44, 77, 111, 0.25);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(44, 77, 111, 0.35);
  background: linear-gradient(135deg, #1e3a5f, #2c4d6f) !important;
}

.btn-secondary {
  background: white !important;
  border: 2px solid #2c4d6f !important;
  color: #2c4d6f !important;
}

.btn-secondary:hover {
  background: #2c4d6f !important;
  color: white !important;
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(44, 77, 111, 0.25);
}

button,
.btn,
.pricing-card button,
.modal-content button,
.user-button {
  background: linear-gradient(135deg, #2c4d6f, #3d5a73) !important;
  color: #ffffff !important;
  border: none !important;
}

button:hover,
.btn:hover {
  background: linear-gradient(135deg, #1e3a5f, #2c4d6f) !important;
}

button:disabled {
  background: #cfd6dc !important;
  color: #6b7c8a !important;
  cursor: not-allowed;
}

.sophisticated-btn {
  background: linear-gradient(90deg, #2c4d6f, #3d5a73);
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(44, 77, 111, 0.25);
}

.sophisticated-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 30px rgba(44, 77, 111, 0.35);
}

.neon-btn {
  background: linear-gradient(90deg, #2c4d6f, #3d5a73);
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 10px 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 255, 204, 0.8),
              0 0 30px rgba(0, 255, 255, 0.5),
              inset 0 0 10px rgba(0, 255, 255, 0.3);
  animation: glowPulse 2s infinite alternate;
}

.neon-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(0, 255, 255, 1),
              0 0 50px rgba(0, 255, 204, 0.8),
              inset 0 0 15px rgba(0, 255, 255, 0.4);
}

@keyframes glowPulse {
  0%  { box-shadow: 0 0 12px rgba(44,77,111,0.45), 0 0 28px rgba(74,107,138,0.25); }
  50% { box-shadow: 0 0 22px rgba(44,77,111,0.7),  0 0 44px rgba(74,107,138,0.35); }
  100%{ box-shadow: 0 0 12px rgba(44,77,111,0.45), 0 0 28px rgba(74,107,138,0.25); }
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */
.services {
  padding: 8rem 5%;
  position: relative;
  background: white;
}

.section-title {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title p {
  font-size: 1.3rem;
  color: #3d4f5c;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1600px) {
  .services-grid {
    max-width: 1600px;
  }
}

.service-card {
  background: white;
  border: 2px solid #e6e1dc;
  border-radius: 20px;
  padding: 2rem;
  position: relative;
  overflow: visible;
  transition: box-shadow 200ms cubic-bezier(.22,.9,.3,1), border-color 200ms;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(30, 58, 95, 0.05);
  will-change: transform, opacity;
  transform: translateZ(0);
}

.service-card * {
  will-change: transform, opacity;
  transform: translateZ(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: -25%;
  left: -25%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(44, 77, 111, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
  will-change: opacity, transform;
}

.service-card:hover::before {
  opacity: 1;
  animation: rotate 10s linear infinite;
}

.service-card:hover {
  transform: translate3d(0, 0, 0) !important;
  box-shadow: 0 8px 28px rgba(30,58,95,0.06) !important;
  border-color: #e6e1dc !important;
  z-index: 10;
}

.service-card.no-jump,
.service-card.no-jump:hover {
  transform: none !important;
  box-shadow: 0 5px 20px rgba(30,58,95,0.05) !important;
  border-color: #e6e1dc !important;
  z-index: 1 !important;
}

.service-card.no-jump .service-icon {
  animation: none !important;
  transform: none !important;
}

.service-card.no-jump::before,
.service-card.no-jump:hover::before {
  animation: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 25px rgba(44, 77, 111, 0.25);
  animation: iconFloat 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #2c4d6f;
  font-weight: 700;
  position: relative;
  z-index: 2;
}

.service-card p {
  display: none;
}

.service-tooltip {
  position: absolute;
  left: 20px;
  width: calc(100% - 40px);
  padding: 10px 14px;
  background: #fff;
  border: 2px solid #2c4d6f;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(30,58,95,0.12);
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-tooltip::after {
  content: "";
  position: absolute;
  left: 22px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 2px solid #2c4d6f;
  border-top: 2px solid #2c4d6f;
  transform: rotate(45deg);
}

.service-tooltip[data-position="below"]::after {
  top: -8px;
}

.service-tooltip[data-position="above"]::after {
  bottom: -8px;
  transform: rotate(225deg);
}

.service-card:hover .service-tooltip,
.service-card.show-tooltip .service-tooltip {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

html.disable-hover .service-card:hover,
html.disable-hover .service-card.show-tooltip {
  transform: translate3d(0, 0, 0) !important;
  box-shadow: 0 5px 18px rgba(30,58,95,0.05) !important;
  border-color: #e6e1dc !important;
}

html.disable-hover .service-card .service-tooltip {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(6px) !important;
}

.disable-hover .service-tooltip {
  pointer-events: none;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #3d5a73;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: gap 0.3s;
  position: relative;
  z-index: 1;
}

.service-link:hover {
  gap: 1rem;
}

.service-features-box {
  background: linear-gradient(180deg,
              rgba(44, 77, 111, 0.06) 0%,
              rgba(61, 90, 115, 0.03) 100%);
  border: 1px solid rgba(44, 77, 111, 0.18);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: left;
}

.service-features-title {
  color: #2c4d6f;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
}

.service-features-list {
  color: #123147;
  line-height: 1.9;
  font-weight: 600;
}

.service-features-list li {
  color: #1a2332;
  opacity: 1;
}

#serviceFeaturesList,
#serviceFeaturesList * {
  color: #1a2332;
  opacity: 1;
  font-weight: 600;
}

/* =====================================================
   FEATURES SECTION
   ===================================================== */
/* ===========================
   DESKTOP FEATURES LAYOUT
   =========================== */
@media (min-width: 1024px) {
  .features {
    padding: 8rem 5%;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* all cards in one row */
    gap: 2.5rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .feature-item {
    padding: 2.5rem;
    background: #ffffff;
    border: 2px solid #e6e1dc;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(30, 58, 95, 0.05);
    transition: all 0.4s ease;
  }

  .feature-item:hover {
    transform: translateY(-10px);
    border-color: #3d5a73;
    box-shadow: 0 15px 40px rgba(61, 90, 115, 0.15);
  }

  .feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
  }

  .feature-item h4 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c4d6f;
  }

  .feature-item p {
    font-size: 0.95rem;
    color: #3d4f5c;
    line-height: 1.6;
  }
}


/* =====================================================
   PRICING SECTION
   ===================================================== */
.pricing-cards {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
}

.pricing-card {
  background: white;
  border: 2px solid #e6e1dc;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.4s;
  position: relative;
  box-shadow: 0 5px 20px rgba(30, 58, 95, 0.05);
  display: flex;
  flex-direction: column;
  height: 430px;
  max-width: 200px;
  min-width: 180px;
  overflow: visible;
  z-index: 1;
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: #2c4d6f;
  box-shadow: 0 20px 50px rgba(44, 77, 111, 0.2);
}

.pricing-card.popular {
  border-color: #3d5a73;
  background: rgba(61, 90, 115, 0.05);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  padding: 0.25rem 0.8rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.75rem;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(30,58,95,0.08);
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.06);
}

.pricing-badge.popular-badge,
.pricing-card .pricing-badge.popular-badge {
  top: -14px;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
}

.pricing-card h3 {
  font-size: 1.3rem;
  color: #2c4d6f;
  margin: 1rem 0 0.5rem 0;
}

.pricing-amount {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  line-height: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: clamp(1.4rem, 3.2vw, 2rem);
  overflow: visible;
  color: #1a2332;
  margin-bottom: 1rem;
}

.pricing-amount span {
  display: inline-block;
  flex: 0 0 auto;
  white-space: nowrap;
  font-weight: 400;
  color: #3d4f5c;
  font-size: 0.9rem;
  transform: translateY(-2px);
  margin-left: 6px;
}

.pricing-card.popular .pricing-amount {
  font-size: clamp(1.2rem, 2.6vw, 1.8rem);
}

.pricing-features {
  list-style: none;
  margin: 2rem 0;
  text-align: left;
  flex-grow: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: #3d4f5c;
  border-bottom: 1px solid #e6e1dc;
  font-size: 0.8rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-card .btn-primary {
  width: 100%;
  margin-top: auto;
  padding: 0.8rem 1.5rem;
  font-size: 0.9rem;
}

.pricing-card.subscribed-card::after {
  content: "✓ Subscribed";
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: #2c4d6f;
  color: #fff;
}

.pricing-card button {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pricing-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(30,58,95,0.25);
}

.add-more-card button {
  background: transparent !important;
  color: #2c4d6f !important;
  border: 2px dashed rgba(44,77,111,0.4) !important;
}

.choose-plan-container > div {
  background: #ffffff;
  border: 2px solid #e6e1dc;
  border-radius: 20px;
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: 0 6px 22px rgba(30,58,95,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.choose-plan-container > div:hover {
  transform: translateY(-6px);
  border-color: #2c4d6f;
  box-shadow: 0 18px 48px rgba(44,77,111,0.18);
}

.choose-plan-container button {
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.6rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(44,77,111,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.choose-plan-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(44,77,111,0.35);
}

.choose-plan-container > div:last-child {
  border-style: dashed;
  background: rgba(44,77,111,0.03);
}

.choose-plan-container > div:last-child h3 {
  color: #2c4d6f;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  padding: 8rem 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: white;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(44, 77, 111, 0.08), transparent);
}

.cta-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.cta-content p {
  font-size: 1.3rem;
  color: #3d4f5c;
  margin-bottom: 3rem;
  line-height: 1.8;
}

#contact.contact-highlight {
  animation: highlightPulse 1.6s ease forwards;
  box-shadow: 0 8px 40px rgba(44,77,111,0.08);
  border-radius: 18px;
}

@keyframes highlightPulse {
  0% {
    background: rgba(255,255,255,1);
    outline: 3px solid rgba(44,77,111,0.0);
  }
  10% {
    outline-color: rgba(44,77,111,0.16);
  }
  50% {
    outline-color: rgba(44,77,111,0.22);
    transform: translateY(-2px);
  }
  100% {
    outline-color: rgba(44,77,111,0.0);
    transform: translateY(0);
  }
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact {
  padding: 8rem 5%;
  background: var(--bg-light);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  border: 2px solid #e6e1dc;
  border-radius: 25px;
  padding: 4rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.05);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background: var(--bg-light);
  border: 2px solid #e6e1dc;
  border-radius: 12px;
  color: #1a2332;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: all 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7a8a99;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c4d6f;
  background: white;
  box-shadow: 0 0 20px rgba(44, 77, 111, 0.12);
}

.password-field {
  position: relative;
}

.password-field input {
  width: 100%;
  padding-right: 2.5rem;
}

.toggle-eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 1.1rem;
  color: #2c4d6f;
  user-select: none;
}

.toggle-eye:hover {
  color: #1a2332;
}

/* =====================================================
   USER MENU & PROFILE
   ===================================================== */
.user-menu {
  position: relative;
  display: inline-block;
  margin-right: 2rem;
  z-index: 1500;
}

.user-button,
.profile-btn {
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  color: white;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 5px 20px rgba(44, 77, 111, 0.25);
  z-index: 2000;
}

.user-button:hover,
.profile-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(44, 77, 111, 0.35);
}

.profile-wrapper {
  position: relative;
  margin-left: 20px;
}

.profile-dropdown {
  position: absolute;
  right: 0;
  top: 55px;
  width: 280px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  padding: 16px;
  display: none;
  z-index: 999;
}

.profile-dropdown.active {
  display: block;
}

.profile-header {
  display: flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  background: #2f4f6f;
  color: #fff;
  border-radius: 50%;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-header h4 {
  margin: 0;
  font-size: 16px;
}

.profile-header p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.profile-info {
  display: flex;
  justify-content: space-between;
  margin: 14px 0;
  font-size: 14px;
}

.profile-actions {
  display: flex;
  gap: 10px;
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 0.5rem;
  background: white;
  border: 2px solid #e6e1dc;
  border-radius: 15px;
  padding: 1rem;
  min-width: 200px;
  display: none;
  z-index: 1001;
  box-shadow: 0 10px 40px rgba(30, 58, 95, 0.1);
}

.user-dropdown.show {
  display: block;
}

.user-info {
  padding: 0.5rem 0;
  border-bottom: 1px solid #e6e1dc;
  margin-bottom: 0.5rem;
}

.user-info p {
  margin: 0.3rem 0;
  font-size: 0.9rem;
  color: #3d4f5c;
}

.user-info .username {
  color: #2c4d6f;
  font-weight: 700;
  font-size: 1rem;
}

.user-plan {
  margin-top: 6px;
  font-weight: 600;
  color: #2f4f6f;
  display: inline-block;
  padding: 4px 10px;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(44, 77, 111, 0.12);
}

.logout-btn {
  width: 100%;
  padding: 0.8rem;
  background: rgba(44, 77, 111, 0.1);
  border: 2px solid rgba(44, 77, 111, 0.3);
  border-radius: 10px;
  color: #2c4d6f;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.logout-btn:hover {
  background: rgba(44, 77, 111, 0.2);
}

.btn-logout {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: none;
  background: #e74c3c;
  color: white;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}

.btn-logout:hover {
  background: #c0392b;
}

.user-dropdown.user-menu {
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 18px 45px rgba(30, 58, 95, 0.18);
}

.user-dropdown.user-menu .username {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.user-dropdown.user-menu #dropdownEmail {
  font-size: 0.85rem;
  opacity: 0.8;
}

.user-dropdown.user-menu #dropdownPlan {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  background: rgba(44, 77, 111, 0.12);
  color: #2c4d6f;
}

.user-dropdown.user-menu .my-apps-btn {
  margin-top: 12px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 12px;
  font-weight: 700;
  background: transparent;
  color: #2c4d6f;
  border: 2px solid rgba(44, 77, 111, 0.35);
  transition: background 0.2s ease, transform 0.15s ease;
}

.user-dropdown.user-menu .my-apps-btn:hover {
  background: rgba(44, 77, 111, 0.08);
  transform: translateY(-1px);
}

.user-dropdown.user-menu .logout-btn {
  margin-top: 10px;
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  font-weight: 700;
  background: #2c4d6f;
  color: #ffffff;
  border: none;
}

.user-dropdown.user-menu .logout-btn:hover {
  opacity: 0.92;
}

/* =====================================================
   MODAL
   ===================================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 3px solid #2c4d6f;
  border-radius: 30px;
  padding: 3rem;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(44, 77, 111, 0.25);
  animation: slideIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideIn {
  from {
    transform: translate(-50%, -60%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(44, 77, 111, 0.1);
  border: 2px solid rgba(44, 77, 111, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.5rem;
  color: #2c4d6f;
  transition: all 0.3s;
}

.modal-close:hover {
  background: rgba(44, 77, 111, 0.2);
  transform: rotate(90deg);
}

.modal h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  text-align: center;
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal p {
  text-align: center;
  color: #3d4f5c;
  margin-bottom: 2rem;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal input {
  padding: 1.2rem;
  background: var(--bg-light);
  border: 2px solid #e6e1dc;
  border-radius: 12px;
  color: #1a2332;
  font-size: 1rem;
  transition: all 0.3s;
}

.modal input::placeholder {
  color: #7a8a99;
}

.modal input:focus {
  outline: none;
  border-color: #2c4d6f;
  box-shadow: 0 0 20px rgba(44, 77, 111, 0.15);
}

.modal-content a,
.modal-content a:link,
.modal-content a:visited {
  color: #2c4d6f;
  font-weight: 700;
  text-decoration: none;
}

.modal-content a:hover {
  color: #1a2332;
  text-decoration: underline;
}

.forgot-password,
.forgot-password a {
  color: #2c4d6f;
  font-weight: 700;
  text-decoration: none;
}

.forgot-password a:hover {
  color: #1a2332;
}

#subscriptionModal.open {
  display: block;
  animation: none;
}

#subscriptionModal {
  background: rgba(10,10,10,0.55);
}

#subscriptionModal .modal-content {
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}

#subscriptionModal .close-btn:focus,
#subscriptionModal a:focus,
#subscriptionModal button:focus {
  outline: 3px solid rgba(74,107,138,0.22);
  outline-offset: 2px;
}

#subscriptionTitle {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}

#subscriptionSubtitle {
  font-size: 0.95rem;
  color: rgba(44,77,111,0.7);
}

#subscriptionModal.my-apps-mode .modal-content {
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15, 40, 70, 0.35);
}

#subscriptionModal.my-apps-mode #subscriptionTitle {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: 0.6px;
}

#subscriptionModal.my-apps-mode #subscriptionSubtitle {
  font-size: 0.95rem;
  opacity: 0.75;
}

#subscriptionModal.my-apps-mode .pricing-cards {
  gap: 28px;
}

#subscriptionModal.my-apps-mode .pricing-card {
  border-radius: 22px;
  padding: 2rem 1.6rem;
  box-shadow: 0 18px 40px rgba(30, 58, 95, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#subscriptionModal.my-apps-mode .pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(30, 58, 95, 0.2);
}

#subscriptionModal.my-apps-mode .pricing-card p {
  font-size: 0.9rem;
  opacity: 0.85;
}

#subscriptionModal.my-apps-mode .pricing-card button {
  border-radius: 999px;
  font-weight: 700;
  margin-top: 1.2rem;
  padding: 10px 18px;
}

#subscriptionModal.my-apps-mode .pricing-card:last-child {
  border: 2px dashed rgba(44, 77, 111, 0.4);
  background: rgba(44, 77, 111, 0.04);
}

#customGenAIModal .modal-content {
  max-width: 900px;
  width: 95%;
  padding: 2.5rem;
  border-radius: 25px;
  border: 3px solid #2c4d6f;
  background: #ffffff;
  color: #1a2332;
}

#customGenAIModal h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
  text-align: center;
}

#customGenAIModal p {
  color: #3d4f5c;
  font-size: 1.1rem;
  text-align: center;
}

#customGenAIModal ul,
#customGenAIModal ol {
  margin-left: 1.5rem;
  line-height: 1.8;
  color: #123147;
  font-weight: 600;
}

#customGenAIModal button.btn-secondary,
#customGenAIModal button.btn-primary {
  margin-top: 1.5rem;
}

.otp-container {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin: 1.5rem 0;
}

.otp-input {
  width: 50px !important;
  height: 50px;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  padding: 0 !important;
}

.resend-link {
  color: #2c4d6f;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.9rem;
  margin-top: 1rem;
  display: inline-block;
}

.resend-link:hover {
  color: #3d5a73;
}

.timer-text {
  color: #7a8a99;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* =====================================================
   FOOTER
   ===================================================== */
footer {
  padding: 3rem 5%;
  text-align: center;
  background: white;
  border-top: 2px solid #e6e1dc;
}

footer p {
  color: #3d4f5c;
}

.footer {
  background: #ffffff;
  padding: 20px 0;
  text-align: center;
}

.footer-marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  padding-left: 100%;
  font-size: 1rem;
  color: #1a2332;
  animation: scrollText 30s linear infinite;
}

@keyframes scrollText {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.marquee-paused {
  animation-play-state: paused !important;
  cursor: pointer;
}

/* =====================================================
   RESPONSIVE DESKTOP (968px - 1200px)
   ===================================================== */
@media (max-width: 968px) {
  .hero h1 {
    font-size: 3rem;
  }
  
  .section-title h2 {
    font-size: 2.5rem;
  }
  
  nav ul {
    gap: 1.5rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}






/* ===============================
   MY APPS PAGE – DESKTOP
   =============================== */

/*.my-apps-page {*/
/*  min-height: calc(100vh - 80px);*/
/*  padding: 60px 40px;*/
/*  background: linear-gradient(120deg, #dff3ef, #e9e4db);*/
/*}*/

/*.my-apps-wrapper {*/
/*  max-width: 1100px;*/
/*  margin: 0 auto;*/
/*}*/

/*.my-apps-header h2 {*/
/*  font-size: 2.2rem;*/
/*  font-weight: 700;*/
/*  color: #1a2332;*/
/*}*/

/*.my-apps-header p {*/
/*  color: #4a5b6b;*/
/*  margin-bottom: 40px;*/
/*}*/

/*.my-apps-grid {*/
/*  display: grid;*/
/*  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));*/
/*  gap: 24px;*/
/*}*/

/*.app-card {*/
/*  background: #fff;*/
/*  border-radius: 16px;*/
/*  padding: 26px 22px;*/
/*  box-shadow: 0 10px 30px rgba(0,0,0,0.08);*/
/*  transition: transform 0.25s ease, box-shadow 0.25s ease;*/
/*}*/

/*.app-card:hover {*/
/*  transform: translateY(-6px);*/
/*  box-shadow: 0 18px 45px rgba(0,0,0,0.12);*/
/*}*/

/*.app-card h3 {*/
/*  font-size: 1.2rem;*/
/*  margin-bottom: 14px;*/
/*  color: #1a2332;*/
/*}*/

/*.app-card button {*/
/*  width: 100%;*/
/*  padding: 12px;*/
/*  border-radius: 10px;*/
/*  border: none;*/
/*  font-weight: 600;*/
/*  background: linear-gradient(135deg, #1d9bf0, #0b5ed7);*/
/*  color: #fff;*/
/*  cursor: pointer;*/
/*}*/

/*.my-apps-footer {*/
/*  margin-top: 50px;*/
/*}*/

/*.back-home-btn {*/
/*  padding: 14px 30px;*/
/*  border-radius: 30px;*/
/*  border: 2px solid #1a2332;*/
/*  background: transparent;*/
/*  font-weight: 600;*/
/*  cursor: pointer;*/
/*}*/
/* =========================================
   MY APPS MODE – DESKTOP MODAL UI
   Matches "Choose Your Plan" screenshot
   ========================================= */

#subscriptionModal.my-apps-mode .modal-content {
  max-width: 1000px;
  padding: 40px 40px 30px;
  border-radius: 20px;
}

/* Title */
#subscriptionModal.my-apps-mode #subscriptionTitle {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  margin-bottom: 8px;
}

#subscriptionModal.my-apps-mode #subscriptionSubtitle {
  text-align: center;
  font-size: 0.95rem;
  color: #6b7a8a;
  margin-bottom: 35px;
}

/* Cards layout */
#subscriptionModal.my-apps-mode .pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 35px;
}

/* Individual card */
#subscriptionModal.my-apps-mode .pricing-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* App title */
#subscriptionModal.my-apps-mode .pricing-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 6px;
}

/* Sub text */
#subscriptionModal.my-apps-mode .pricing-card p {
  font-size: 0.9rem;
  color: #6b7a8a;
  margin-bottom: 22px;
}

/* Open App button */
#subscriptionModal.my-apps-mode .pricing-card button {
  margin-top: auto;
  width: 100%;
  padding: 11px 0;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  background: #2c4d6f;
  color: #fff;
  transition: background 0.2s ease;
}

#subscriptionModal.my-apps-mode .pricing-card button:hover {
  background: #1f3b57;
}

/* Add More Apps card */
#subscriptionModal.my-apps-mode .pricing-card:last-child h3 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b4fd6;
}

#subscriptionModal.my-apps-mode .pricing-card:last-child button {
  background: #2c4d6f;
}

/* Back button */
#subscriptionModal.my-apps-mode .modal-footer {
  display: flex;
  justify-content: center;
}

#subscriptionModal.my-apps-mode .modal-footer button {
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  background: #2c4d6f;
  color: #fff;
  border: none;
  cursor: pointer;
}


/* ==================================
   MY APPLICATIONS – DESKTOP BEAUTY
   ================================== */

.my-apps-page {
  min-height: calc(100vh - 80px);
  background: linear-gradient(120deg, #dff3ef, #e9e4db);
  padding: 60px 40px;
}

.my-apps-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.my-apps-header {
  margin-bottom: 40px;
}

.my-apps-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1a2332;
  margin-bottom: 6px;
}

.my-apps-header p {
  color: #5f6f7f;
  font-size: 1rem;
}

/* Grid layout */
.my-apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 26px;
}

/* App Card */
.app-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.app-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a2332;
  margin-bottom: 18px;
}

/* Open App button */
.app-card button {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: none;
  font-weight: 600;
  background: linear-gradient(135deg, #2c4d6f, #1f3b57);
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.app-card button:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #1f3b57, #162b41);
}

/* Footer */
.my-apps-footer {
  margin-top: 60px;
}

.back-home-btn {
  padding: 14px 34px;
  border-radius: 30px;
  border: 2px solid #1a2332;
  background: transparent;
  color: #1a2332;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.back-home-btn:hover {
  background: #1a2332;
  color: #ffffff;
}
/* ==================================
   DESKTOP – SMALLER MY APPS BUTTONS
   ================================== */

/* Open App button */
.my-apps-page .app-card button {
  padding: 10px 18px;          /* ↓ smaller height */
  font-size: 0.9rem;           /* ↓ slightly smaller text */
  border-radius: 8px;          /* ↓ tighter rounding */
  max-width: 220px;            /* ✅ prevents full-width stretch */
  margin-top: 12px;
}

/* Center the button inside card */
.my-apps-page .app-card {
  display: flex;
  flex-direction: column;
}

.my-apps-page .app-card button {
  align-self: flex-start;      /* looks cleaner than full-width */
}

/* Back to Home button */
.my-apps-page .back-home-btn {
  padding: 12px 26px;          /* ↓ smaller */
  font-size: 0.95rem;
  border-radius: 22px;
  max-width: 260px;
}

/* ================================
   DEMO SECTION
================================ */
.demo-section {
  padding: 8rem 5%;
  background: white;
}

.demo-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.demo-card {
  background: #ffffff;
  border: 2px solid #e6e1dc;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(30,58,95,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.demo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(30,58,95,0.1);
}

.demo-card h3 {
  font-size: 1.4rem;
  color: #2c4d6f;
  margin-bottom: 0.8rem;
}

.demo-card p {
  font-size: 1rem;
  color: #3d4f5c;
  margin-bottom: 1.6rem;
  line-height: 1.5;
}

.demo-btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #2c4d6f, #3d5a73);
  box-shadow: 0 8px 20px rgba(44,77,111,0.25);
  transition: all 0.3s ease;
}

.demo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(44,77,111,0.35);
}

/* =====================================================
   PROFILE DROPDOWN – DESKTOP
   ===================================================== */

.user-menu {
  position: relative;
}

.user-dropdown {
  position: absolute;
  right: 0;
  top: 52px;
  width: 260px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  display: none;
  z-index: 9999;
  overflow: hidden;
}

.user-dropdown.show {
  display: block;
}

/* User Info */
.user-info {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
}

.user-info .username {
  font-weight: 700;
  font-size: 1rem;
}

.user-info .email {
  font-size: 0.85rem;
  color: #666;
}

.plan-badge {
  display: inline-block;
  margin-top: 6px;
  background: #e8f0f7;
  color: #2c4d6f;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

/* Actions */
.profile-actions {
  list-style: none;
  margin: 0;
  padding: 0;
}

.profile-actions li {
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
}

.profile-actions li:hover {
  background: #f5f8fb;
}

/* =====================================================
   PROFILE SETTINGS MODAL – DESKTOP
   ===================================================== */

.profile-settings {
  max-width: 520px;
  width: 92%;
}

.settings-section {
  margin-top: 20px;
}

.settings-section h3 {
  margin-bottom: 8px;
  color: #2c4d6f;
}

/* Danger Zone */
.danger-zone {
  border: 2px solid #e74c3c;
  padding: 15px;
  border-radius: 10px;
  background: #fff5f5;
}

.danger-zone p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.danger-btn {
  background: #e74c3c !important;
  color: #ffffff !important;
}
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

/* Profile Dropdown */
.user-dropdown {
  position: absolute;
  top: 60px;
  right: 0;
  width: 260px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  padding: 16px;
  z-index: 999;
}

.user-info {
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.user-info .username {
  font-weight: 600;
  font-size: 16px;
}

.user-info .email {
  font-size: 13px;
  color: #666;
}

.plan-badge {
  display: inline-block;
  margin-top: 6px;
  padding: 4px 12px;
  font-size: 12px;
  background: #eaf4ff;
  color: #1e4fa1;
  border-radius: 20px;
}

.profile-actions {
  list-style: none;
  padding: 0;
  margin: 0;
}

.profile-actions li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
}

.profile-actions li:hover {
  background: #f5f7fa;
}

.logout-item {
  color: #d93025;
  font-weight: 500;
}

/* Danger button styled like site buttons */
#profileSettingsModal .btn-danger {
  background: #dc2626;            /* red */
  color: #ffffff;
  border: none;
  border-radius: 30px;            /* same rounded style */
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

/* Hover effect */
#profileSettingsModal .btn-danger:hover {
  background: #b91c1c;
  transform: translateY(-1px);
}

/* Click effect */
#profileSettingsModal .btn-danger:active {
  transform: scale(0.97);
}
/* Delete account button - scoped */
#profileSettingsModal .btn-danger {
  background: #dc2626;
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
}

#profileSettingsModal .btn-danger:hover {
  background: #b91c1c;
}

#profileSettingsModal .btn-danger:active {
  transform: scale(0.97);
}


/* =====================================================
   GENAI MODAL PREMIUM DESIGN
   (Add This At The Bottom Of style.css)
===================================================== */

.genai-modal {
  max-width: 950px;
  width: 95%;
  border-radius: 28px;
  padding: 3rem;
  background: linear-gradient(145deg, #ffffff, #f4f1ec);
  box-shadow: 0 30px 80px rgba(30,58,95,0.15);
}

.genai-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
}

.genai-subtitle {
  text-align: center;
  color: #3d4f5c;
  margin-bottom: 3rem;
}

.genai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.genai-card {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid #e6e1dc;
  transition: 0.3s ease;
}

.genai-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(30,58,95,0.1);
}

.genai-cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}


/* =========================================
   GENAI MODAL ENHANCEMENTS
========================================= */

/* Better modal container look */
.genai-modal {
  border: 2px solid #2c4d6f;
  backdrop-filter: blur(8px);
}

/* Card spacing improvement */
.genai-card {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Better list spacing */
.genai-card li {
  margin-bottom: 0.6rem;
  transition: 0.2s ease;
}

.genai-card li:hover {
  transform: translateX(6px);
  color: #2c4d6f;
}

/* Better CTA buttons */
.genai-cta button {
  min-width: 180px;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
}

/* Smooth modal appearance */
.modal {
  animation: fadeInBg 0.3s ease;
}

@keyframes fadeInBg {
  from { background: rgba(0,0,0,0); }
  to { background: rgba(0,0,0,0.6); }
}





