/* Futuristic Premium Apple-Inspired CSS for Women's Healthcare 2030 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');

:root {
  /* Core Color System */
  --color-rose-quartz: #f7cad0;
  --color-lavender: #b8b8ff;
  --color-mint: #d0f4de;
  --color-pale-blue: #a2d2ff;
  --color-peach: #ffd8be;

  /* Primary Palette */
  --color-primary: #b291e8;
  --color-primary-light: #d4bff9;
  --color-primary-dark: #8662d0;
  --color-primary-translucent: rgba(178, 145, 232, 0.2);
  --color-secondary: #f8a1d1;
  --color-secondary-light: #ffbee3;
  --color-secondary-dark: #dc73b4;
  --color-secondary-translucent: rgba(248, 161, 209, 0.15);
  --color-tertiary: #a7efff;
  --color-success: #97e4a0;

  /* UI Colors */
  --color-background: #f7f5f9;
  --color-foreground: #ffffff;
  --color-card: rgba(255, 255, 255, 0.7);
  --color-card-hover: rgba(255, 255, 255, 0.85);

  /* Text Colors */
  --color-text-primary: #33334d;
  --color-text-secondary: #6e6e94;
  --color-text-tertiary: #9999b9;
  --color-text-inverse: #ffffff;

  /* Glass Effects */
  --glass-blur: 20px;
  --glass-opacity: 0.7;
  --glass-border: 1px solid rgba(255, 255, 255, 0.4);
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #b28ddf 0%, #aa83e0 50%, #9f71db 100%);
  --gradient-secondary: linear-gradient(135deg, #f3a0c7 0%, #ef94c0 50%, #e980b4 100%);
  --gradient-accent: linear-gradient(135deg, #a8edea 0%, #c5b9fd 100%);
  --gradient-background: linear-gradient(135deg, #f8f7fc 0%, #f0ebf8 100%);
  --gradient-card: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
  --gradient-button: linear-gradient(135deg, #b892e3, #986bd2);
  --gradient-glow: radial-gradient(circle at center, rgba(178, 145, 232, 0.3) 0%, transparent 70%);

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(176, 145, 232, 0.1);
  --shadow-md: 0 5px 20px rgba(176, 145, 232, 0.15);
  --shadow-lg: 0 10px 40px rgba(176, 145, 232, 0.2);
  --shadow-xl: 0 20px 60px rgba(176, 145, 232, 0.25);
  --shadow-inner: inset 0 2px 6px rgba(176, 145, 232, 0.05);
  --shadow-button: 0 10px 25px rgba(176, 145, 232, 0.3);
  --shadow-button-hover: 0 15px 35px rgba(176, 145, 232, 0.4);

  /* Neomorphic Shadows */
  --neo-shadow-raised: 10px 10px 20px rgba(166, 135, 222, 0.1),
                      -10px -10px 20px rgba(255, 255, 255, 0.8);
  --neo-shadow-pressed: inset 5px 5px 10px rgba(166, 135, 222, 0.1),
                       inset -5px -5px 10px rgba(255, 255, 255, 0.8);

  /* Border Radius */
  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-full: 9999px;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;

  /* Typography */
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
  --font-weight-thin: 100;
  --font-weight-extralight: 200;
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Animation */
  --transition-short: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-medium: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-long: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-spring: 600ms cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Z-index Layers */
  --z-background: -10;
  --z-decorative: -5;
  --z-base: 0;
  --z-above: 10;
  --z-header: 100;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-preloader: 9999;
}

/* Global Reset & Base Styles */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  direction: rtl;
  color: var(--color-text-primary);
  background-color: var(--color-background);
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Enhanced Background Elements */
.page-background {
  position: fixed;
  inset: 0;
  z-index: var(--z-background);
  overflow: hidden;
  pointer-events: none;
}

.bg-gradient {
  position: absolute;
  inset: 0;
  background: var(--gradient-background);
  opacity: 1;
}

.bg-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.02;
  mix-blend-mode: overlay;
}

.light-flare {
  position: absolute;
  width: 1200px;
  height: 1200px;
  top: -400px;
  right: -300px;
  background: radial-gradient(ellipse at center, rgba(178, 145, 232, 0.15) 0%, rgba(248, 161, 209, 0.05) 40%, transparent 70%);
  border-radius: 100%;
  opacity: 0.6;
  transform: rotate(-15deg);
  z-index: var(--z-background);
}

.light-flare:nth-child(2) {
  width: 1000px;
  height: 1000px;
  top: unset;
  right: unset;
  bottom: -200px;
  left: -200px;
  background: radial-gradient(ellipse at center, rgba(248, 161, 209, 0.1) 0%, rgba(178, 145, 232, 0.05) 40%, transparent 70%);
  transform: rotate(15deg);
}

.blob-shape {
  position: absolute;
  border-radius: 42% 58% 70% 30% / 45% 55% 45% 55%;
  filter: blur(60px);
  z-index: var(--z-decorative);
  opacity: 0.4;
  animation: blob-movement 20s linear infinite alternate;
}

.blob-shape:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -300px;
  right: -200px;
  background: linear-gradient(135deg, rgba(178, 145, 232, 0.15), rgba(167, 239, 255, 0.1));
  animation-duration: 25s;
}

.blob-shape:nth-child(2) {
  width: 500px;
  height: 500px;
  bottom: -250px;
  left: -150px;
  background: linear-gradient(135deg, rgba(248, 161, 209, 0.12), rgba(152, 107, 210, 0.08));
  animation-duration: 30s;
  animation-delay: 2s;
}

@keyframes blob-movement {
  0% {
    border-radius: 42% 58% 70% 30% / 45% 55% 45% 55%;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    border-radius: 58% 42% 30% 70% / 55% 45% 55% 45%;
  }
  50% {
    border-radius: 35% 65% 65% 35% / 35% 65% 35% 65%;
    transform: translate(50px, -20px) rotate(90deg) scale(1.05);
  }
  75% {
    border-radius: 65% 35% 35% 65% / 65% 35% 65% 35%;
  }
  100% {
    border-radius: 42% 58% 70% 30% / 45% 55% 45% 55%;
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

.glass-dots {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(178, 145, 232, 0.2) 1px, transparent 1px),
    radial-gradient(rgba(248, 161, 209, 0.15) 1px, transparent 1px);
  background-size: 30px 30px, 90px 90px;
  background-position: 0 0, 15px 15px;
  opacity: 0.3;
}

/* Layout Container */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: var(--z-base);
}

/* Futuristic Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: var(--z-header);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-4) var(--space-8);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: var(--glass-border);
  transition: all 0.4s ease;
  height: 70px;
}

.site-header.scrolled {
  height: 60px;
  padding: var(--space-3) var(--space-8);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
}

.header-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-primary-dark);
  font-weight: var(--font-weight-medium);
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.header-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  transition: var(--transition-medium);
  filter: drop-shadow(0 2px 4px rgba(178, 145, 232, 0.2));
}

.site-header.scrolled .header-logo img {
  width: 32px;
  height: 32px;
}

.header-tagline {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: var(--font-weight-regular);
  transition: var(--transition-medium);
  opacity: 1;
}

.site-header.scrolled .header-tagline {
  opacity: 0;
  width: 0;
  transform: translateX(-20px);
}

/* Main Content Area */
.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: var(--space-6) var(--space-4);
  margin-top: 70px;
  min-height: calc(100vh - 70px);
  position: relative;
}

/* Glassmorphic Card */
.glass-card {
  position: relative;
  width: 90%;
  max-width: 800px;
  padding: var(--space-8);
  background: var(--color-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: var(--glass-border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transition: transform 0.4s var(--transition-spring),
              background-color 0.3s ease,
              box-shadow 0.3s ease;
  opacity: 1;
  transform: translateY(0);
  z-index: var(--z-above);
  margin: 0 auto;
}

.glass-card:hover {
  background: var(--color-card-hover);
  transform: translateY(-5px) scale(1.01);
  box-shadow: var(--shadow-xl);
}

.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0.1) 40%,
    rgba(255, 255, 255, 0) 60%);
  border-radius: var(--radius-lg);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.glass-card:hover::before {
  opacity: 0.9;
}

.card-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: var(--gradient-glow);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.glass-card:hover .card-glow {
  opacity: 0.4;
}

/* Card Accents */
.card-accent {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.card-accent-top {
  top: 0;
  right: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--color-secondary) 20%,
    var(--color-primary) 50%,
    var(--color-tertiary) 80%,
    transparent 100%);
  opacity: 0.8;
}

.card-accent-left {
  top: 4px;
  left: 0;
  width: 1px;
  height: calc(100% - 4px);
  background: linear-gradient(to bottom,
    var(--color-tertiary) 0%,
    transparent 100%);
  opacity: 0.3;
}

.card-accent-right {
  top: 4px;
  right: 0;
  width: 1px;
  height: calc(100% - 4px);
  background: linear-gradient(to bottom,
    var(--color-primary) 0%,
    transparent 100%);
  opacity: 0.3;
}

/* Premium Logo */
.logo-container {
  margin: 8px;
  position: relative;
  margin-bottom: var(--space-7);
  display: inline-block;
}

.center {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-items: center;
}

.logo-glow {
  position: absolute;
  inset: -30px;
  border-radius: var(--radius-full);
  background: conic-gradient(
    transparent 0deg,
    rgba(178, 145, 232, 0.1) 90deg,
    rgba(248, 161, 209, 0.1) 180deg,
    rgba(167, 239, 255, 0.1) 270deg,
    transparent 360deg
  );
  opacity: 0.6;
  animation: rotate 15s linear infinite;
  z-index: -1;
}

.logo-ring {
  position: absolute;
  inset: -15px;
  border: 1px solid rgba(178, 145, 232, 0.3);
  border-radius: var(--radius-full);
  animation: pulse 4s infinite alternate ease-in-out;
}

.logo-ring::before {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(248, 161, 209, 0.2);
  border-radius: var(--radius-full);
  animation: pulse 4s infinite alternate-reverse ease-in-out;
}

.logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.85);
  padding: var(--space-2);
  position: relative;
  box-shadow: var(--neo-shadow-raised);
  transition: transform 0.3s var(--transition-spring);
  animation: gentle-float 6s infinite alternate ease-in-out;
  border: 1px solid rgba(255, 255, 255, 0.8);
  z-index: 1;
}

@keyframes gentle-float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: scale(1);
  }
  100% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Premium Typography */
.page-title {
  color: var(--color-text-primary);
  margin-bottom: var(--space-6);
  font-size: 2.5rem;
  font-weight: var(--font-weight-medium);
  line-height: 1.2;
  letter-spacing: -0.03em;
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-title span {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-secondary-dark));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  font-weight: var(--font-weight-semibold);
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  border-radius: var(--radius-full);
  opacity: 0.7;
}

.welcome-text {
  margin-bottom: var(--space-7);
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  position: relative;
}

.welcome-text p {
  margin-bottom: var(--space-4);
  opacity: 1;
  transform: translateY(0);
  position: relative;
  z-index: 1;
}

.welcome-text p:last-child {
  margin-bottom: 0;
}

/* Highlight Element */
.highlight {
  position: relative;
  display: inline-block;
  color: var(--color-primary-dark);
  font-weight: var(--font-weight-medium);
  padding: 0 var(--space-1);
  z-index: 1;
}

.highlight::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: var(--color-primary-translucent);
  z-index: -1;
  border-radius: var(--radius-xs);
  transition: height 0.3s ease, opacity 0.3s ease;
}

.highlight:hover::before {
  height: 100%;
  opacity: 0.3;
}

/* Heart Icon */
.heart-icon {
  display: inline-block;
  color: var(--color-secondary);
  animation: heartbeat 1.5s infinite;
  margin: 0 var(--space-1);
  position: relative;
  z-index: 1;
}

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

/* CTA Section */
.cta-container {
  opacity: 1;
  transform: translateY(0);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  position: relative;
  padding: var(--space-6) 0 var(--space-2);
}

.cta-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(178, 145, 232, 0.3),
    rgba(248, 161, 209, 0.3),
    transparent);
}

/* Futuristic Button */
.start-button {
  position: relative;
  min-width: 200px;
  padding: var(--space-4) var(--space-8);
  font-size: 1.2rem;
  font-weight: var(--font-weight-medium);
  color: var(--color-text-inverse);
  background: var(--gradient-button);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.4s var(--transition-spring),
              box-shadow 0.3s ease;
  box-shadow: var(--shadow-button);
  z-index: 1;
  text-align: center;
  text-decoration: none;
}

.start-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-button-hover);
}

.start-button:active {
  transform: translateY(-1px) scale(0.98);
}

.start-button::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: var(--transition-long);
  z-index: -1;
}

.start-button:hover::before {
  left: 100%;
  transition: 0.8s;
}

.start-button::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  height: 50%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  border-radius: var(--radius-full) var(--radius-full) 0 0;
  opacity: 0.6;
  z-index: -1;
}

/* Secure Badge */
.share-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-4);
  border: 1px solid rgb(219 219 219 / 80%);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--transition-bounce),
              box-shadow 0.3s ease;
}

.share-badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.secure-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.share-badge svg ,
.secure-badge svg {
  margin-left: var(--space-2);
  color: var(--color-primary);
  filter: drop-shadow(0 1px 1px rgba(178, 145, 232, 0.2));
}

.share-badge span , .secure-badge span {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
}

/* Elegant Footer */
.site-footer {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-top: auto;
  position: relative;
  z-index: var(--z-above);
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-bottom: var(--space-4);
}

.footer-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-medium);
  position: relative;
  padding: var(--space-1);
}

.footer-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 50%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
  transition: width 0.3s ease, left 0.3s ease;
}

.footer-link:hover {
  color: var(--color-primary-dark);
}

.footer-link:hover::after {
  width: 100%;
  left: 0;
}

.copyright {
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
}

.copyright a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-medium);
}

.copyright a:hover {
  color: var(--color-primary-dark);
}

/* Modern Preloader */
.preloader {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-background);
  z-index: var(--z-preloader);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.loader {
  position: relative;
  width: 60px;
  height: 60px;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-ring:nth-child(2) {
  inset: 5px;
  border-top-color: var(--color-secondary);
  animation: spin 1.2s linear infinite reverse;
}

.loader-ring:nth-child(3) {
  inset: 10px;
  border-top-color: var(--color-tertiary);
  animation: spin 0.8s linear infinite;
}

.loader-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  opacity: 0.8;
}

.loader-text {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.05em;
  opacity: 0.7;
  animation: pulse 1.5s infinite alternate;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 3D Card Effect */
.glass-card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: var(--transition-medium);
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Focus Styles for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  :root {
    --space-8: 2.5rem;
  }

  .site-header {
    padding: var(--space-3) var(--space-5);
    height: 65px;
  }

  .site-header.scrolled {
    padding: var(--space-2) var(--space-5);
    height: 55px;
  }

  .main-content {
    margin-top: 65px;
  }

  .glass-card {
    padding: var(--space-6);
  }

  .page-title {
    font-size: 2.2rem;
    margin-bottom: var(--space-5);
  }

  .logo {
    width: 160px;
    height: 160px;
  }

  .blob-shape {
    opacity: 0.3;
  }
}

@media (max-width: 768px) {
  :root {
    --space-8: 2rem;
  }

  .site-header {
    padding: var(--space-2) var(--space-4);
    height: 60px;
  }

  .site-header.scrolled {
    padding: var(--space-1) var(--space-4);
    height: 50px;
  }

  .header-logo {
    font-size: 1rem;
  }

  .header-logo img {
    width: 32px;
    height: 32px;
  }

  .site-header.scrolled .header-logo img {
    width: 28px;
    height: 28px;
  }

  .main-content {
    margin-top: 60px;
  }

  .glass-card {
    padding: var(--space-5);
    border-radius: var(--radius-md);
  }

  .logo {
    width: 140px;
    height: 140px;
  }

  .logo-glow {
    inset: -20px;
  }

  .page-title {
    font-size: 1.9rem;
  }

  .page-title::after {
    width: 60px;
    height: 2px;
  }

  .welcome-text {
    font-size: 1rem;
  }

  .start-button {
    padding: var(--space-3) var(--space-6);
    font-size: 1.1rem;
    min-width: 180px;
  }

  .blob-shape {
    opacity: 0.2;
  }

  .blob-shape:nth-child(1) {
    width: 400px;
    height: 400px;
  }

  .blob-shape:nth-child(2) {
    width: 300px;
    height: 300px;
  }

  .logo-container {
    margin-bottom: var(--space-3);
  }

  .share-badge {
    padding: var(--space-3) var(--space-3);
  }

  .secure-badge span {
    font-size: 0.85rem;
  }
  .cta-container {
  margin-bottom: 4px;
  padding-top: 20px;
  }

  .share-badge svg {
    width: 16px;
    height: 16px;
  }

}

@media (max-width: 576px) {
  :root {
    --space-8: 1.5rem;
  }

  .site-header {
    padding: var(--space-1) var(--space-3);
    height: 55px;
  }

  .site-header.scrolled {
    padding: var(--space-1) var(--space-3);
    height: 45px;
  }

  .header-tagline {
    display: none;
  }

  .main-content {
    margin-top: 55px;
    padding: var(--space-4) var(--space-2);
  }

  .glass-card {
    width: 95%;
    border-radius: var(--radius-sm);
  }

  .logo {
    width: 120px;
    height: 120px;
  }

  .logo-glow {
    inset: -15px;
  }

  .page-title {
    font-size: 1.7rem;
  }

  .welcome-text {
    font-size: 0.95rem;
    margin-bottom: var(--space-5);
  }

  .start-button, .share-badge {
    padding: var(--space-3) var(--space-5);
    font-size: 1.05rem;
    min-width: 160px;
    width: 100%;
    height: 52px;
  }

  .footer-links {
    flex-direction: column;
    gap: var(--space-3);
  }

  .blob-shape {
    opacity: 0.15;
  }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
  :root {
    --color-background: #151429;
    --color-foreground: #1e1c38;
    --color-card: rgba(30, 28, 56, 0.7);
    --color-card-hover: rgba(35, 33, 65, 0.85);

    --color-text-primary: #f0ebff;
    --color-text-secondary: #b8b2e0;
    --color-text-tertiary: #8c86b8;

    --glass-border: 1px solid rgba(178, 145, 232, 0.2);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);

    --gradient-background: linear-gradient(135deg, #151429 0%, #1a182e 100%);
    --neo-shadow-raised: 10px 10px 20px rgba(10, 8, 28, 0.3),
                      -10px -10px 20px rgba(40, 38, 66, 0.2);
    --neo-shadow-pressed: inset 5px 5px 10px rgba(10, 8, 28, 0.3),
                       inset -5px -5px 10px rgba(40, 38, 66, 0.2);
  }

  .glass-dots {
    opacity: 0.2;
  }

  .site-header {
    background: rgba(30, 28, 56, 0.7);
    border-bottom: 1px solid rgba(178, 145, 232, 0.1);
  }

  .site-header.scrolled {
    background: rgba(30, 28, 56, 0.8);
  }

  .site-footer {
    background: rgba(30, 28, 56, 0.7);
    border-top: 1px solid rgba(178, 145, 232, 0.1);
  }

  .logo {
    background: rgba(42, 39, 66, 0.85);
    border: 1px solid rgba(178, 145, 232, 0.2);
  }

  .share-badge {
    background: rgba(42, 39, 66, 0.6);
    border: 1px solid rgba(178, 145, 232, 0.2);
  }

  .highlight::before {
    opacity: 0.4;
  }

  .preloader {
    background-color: var(--color-background);
  }

  .glass-card::before {
    background: linear-gradient(115deg,
      rgba(178, 145, 232, 0.1) 0%,
      rgba(30, 28, 56, 0.1) 40%,
      rgba(30, 28, 56, 0) 60%);
  }
}

/* Smooth Animation Controls */
.fade-in {
  animation: fade-in 0.8s ease forwards;
}

.slide-up {
  animation: slide-up 0.8s var(--transition-spring) forwards;
}

.slide-in-right {
  animation: slide-in-right 0.8s var(--transition-spring) forwards;
}

.slide-in-left {
  animation: slide-in-left 0.8s var(--transition-spring) forwards;
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slide-up {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in-right {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-left {
  0% {
    opacity: 0;
    transform: translateX(-30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hover Effects */
.hover-lift {
  transition: transform 0.3s var(--transition-spring);
}

.hover-lift:hover {
  transform: translateY(-3px);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(178, 145, 232, 0.05);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb {
  background: rgba(178, 145, 232, 0.2);
  border-radius: 100px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(178, 145, 232, 0.3);
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
  text-align: center;
  max-width: 800px;
  text-align: right;
  margin: 0 auto;
  margin-top: var(--space-4);
}
.disclaimer a {
  color: var(--color-primary);
  text-decoration: none;
  transition: var(--transition-medium);
}
.disclaimer a:hover {
  color: var(--color-primary-dark);
}
.disclaimer a:focus {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}
.disclaimer a:focus-visible {
  outline: 2px solid var(--color-primary-light);
  outline-offset: 2px;
}

.buttons-container {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
}
.buttons-container a {
  text-decoration: none;
  color: var(--color-text-primary);
  font-weight: var(--font-weight-medium);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  background: var(--gradient-button);
  box-shadow: var(--shadow-button);
  transition: transform 0.4s var(--transition-spring),
              box-shadow 0.3s ease;
}

#shareButton {
cursor: pointer;
}
.buttons-container a:hover {
  box-shadow: var(--shadow-button-hover);
}

@media screen and (max-width: 576px) {
  .buttons-container {
    flex-direction: column-reverse;
    gap: var(--space-7);
  }
  .buttons-container a {
    width: 100%;
    text-align: center;
  }
  .buttons-container a:hover {
    box-shadow: var(--shadow-button-hover);
  }

  .buttons-container a::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: var(--transition-long);
    z-index: -1;
  }
  .buttons-container a:hover::before {
    left: 100%;
    transition: 0.8s;
  }

}