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

/* --- Tokens --- */
:root {
  --font-stack: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --spring-easing: cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition: all 0.4s var(--spring-easing);

  --primary: #226ef7;
  --primary-hover: #1a5bd8;
  --primary-glow: rgba(34, 110, 247, 0.12);

  --bg-base: #F2F2F7;
  --bg-subtle: #E5E5EA;
  --bg-gradient: linear-gradient(180deg, #F2F2F7 0%, #FFFFFF 100%);

  --text: #1C1C1E;
  --text-secondary: #3A3A3C;
  --text-muted: #8E8E93;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.8);
  --glass-blur: blur(30px) saturate(180%);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
  --glass-inset: rgba(255, 255, 255, 0.3);

  --card-bg: rgba(255, 255, 255, 0.85);
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --card-radius: 24px;

  --border: rgba(0, 0, 0, 0.08);
  --ring: rgba(34, 110, 247, 0.3);

  --btn-primary-bg: #226ef7;
  --btn-primary-text: #ffffff;
  --btn-outline-border: rgba(34, 110, 247, 0.3);
  --btn-outline-text: #226ef7;
  --btn-outline-hover-bg: rgba(34, 110, 247, 0.08);
  --btn-outline-hover-text: #226ef7;


  --hero-text: #ffffff;
  --hero-overlay: rgba(0, 0, 0, 0.2);

  --container-padding: 24px;
}



[data-theme="dark"] {
  --primary: #4070f4;
  --primary-hover: #5a85f6;
  --primary-glow: rgba(64, 112, 244, 0.25);

  --bg-base: #0a0c14;
  --bg-subtle: #121520;
  --bg-gradient: radial-gradient(circle at 50% -20%, #1e2a4a 0%, #0a0c14 70%),
    radial-gradient(circle at 0% 100%, #12243d 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, #1a1f33 0%, transparent 50%);

  --text: #ffffff;
  --text-secondary: #e0e0e0;
  --text-muted: #808080;

  --glass-bg: #1a1a1a;
  --glass-border: transparent;
  --glass-blur: blur(20px) saturate(180%);
  --glass-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  --glass-inset: transparent;

  --card-bg: #1a1a1a;
  --card-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  --card-radius: 40px;

  --border: transparent;
  --ring: rgba(64, 112, 244, 0.3);

  --btn-primary-bg: #4070f4;
  --btn-primary-text: #ffffff;
  --btn-outline-border: rgba(255, 255, 255, 0.2);
  --btn-outline-text: #ffffff;
  --btn-outline-hover-bg: rgba(255, 255, 255, 0.1);
  --btn-outline-hover-text: #ffffff;

  --hero-text: #ffffff;
  --hero-overlay: rgba(0, 0, 0, 0.5);
}

/* --- Slack Discovery Banner (Seamless Style) --- */
.slack-discovery-section {
  position: relative;
  width: 100%;
  padding: 6rem 2rem;
  background: transparent;
  /* No more boxy background */
  margin: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  /* Mask to fade edges into the page background */
  mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%);
}

.slack-discovery-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, var(--primary-glow) 0%, transparent 80%);
  transform: translate(-50%, -50%);
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}

.discovery-content {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 450px;
  align-items: center;
  gap: 5rem;
  position: relative;
  z-index: 2;
}

.discovery-tag {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  background: var(--primary-glow);
  color: var(--primary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2rem;
  border: 1px solid var(--btn-outline-border);
  transition: var(--transition);
}

[data-theme="dark"] .discovery-tag {
  background: var(--primary);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px var(--primary-glow);
}

[data-theme="dark"] .slack-discovery-section {
  background: rgba(0, 0, 0, 0.2);
  /* Subtle base for better text contrast in dark mode */
}

.discovery-text h2 {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--text);
  /* Solid color or very subtle gradient for less contrast */
  background: linear-gradient(to bottom right, var(--text) 50%, var(--primary) 150%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.discovery-text p {
  font-size: 1.4rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 700px;
}

.discovery-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--glass-border);
  transform: perspective(1000px) rotateY(-5deg);
  transition: transform 0.6s var(--spring-easing), box-shadow 0.6s ease;
}

.discovery-visual:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle gradient over the image to blend it nicely */
.discovery-visual::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

@media (max-width: 992px) {
  .discovery-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3.5rem;
  }

  .discovery-text h2 {
    font-size: 3rem;
  }

  .discovery-visual {
    order: -1;
    /* Move image above text on mobile */
    max-width: 500px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    /* Wider cinematic ratio for mobile screens */
    transform: none;
  }

  .discovery-visual:hover {
    transform: scale(1.02);
  }
}

/* --- Base --- */
html {
  font-size: 16px;
}

@media (min-width: 1440px) {
  html {
    font-size: 17px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 19px;
  }
}

@media (min-width: 2560px) {
  html {
    font-size: 22px;
  }
}

*,
*::before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  display: block;
  --img-filter: none;
  filter: var(--img-filter);
  /* Protect against side-effects of transition: all on objects being paged/loaded */
  transition-property: filter, opacity, transform, box-shadow, border-radius;
}

body {
  font-family: var(--font-stack);
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  overflow-anchor: none;
  position: relative;
}

/* Chakra-inspired Psychedelic Aurora Background */
/* 
  Colors: 
  1. Root (Muladhara) - #ff0000 (Red)
  2. Sacral (Svadhisthana) - #ff8000 (Orange)
  3. Solar Plexus (Manipura) - #ffff00 (Yellow)
  4. Heart (Anahata) - #00ff00 (Green)
  5. Throat (Vishuddha) - #00ffff (Cyan)
  6. Third Eye (Ajna) - #0000ff (Blue)
  7. Crown (Sahasrara) - #8b00ff (Violet)
*/

/* --- Premium Ambient Aurora Background --- */
body::before,
body::after {
  content: '';
  position: fixed;
  border-radius: 50%;
  z-index: -3;
  pointer-events: none;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  animation-direction: alternate;
  will-change: transform;
}

body::before {
  top: -30vh;
  left: -30vw;
  width: 90vw;
  height: 90vw;
  background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
  opacity: 0.12;
  animation-name: floatBlob1;
  animation-duration: 25s;
}

body::after {
  bottom: -30vh;
  right: -30vw;
  width: 100vw;
  height: 100vw;
  background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
  opacity: 0.10;
  animation-name: floatBlob2;
  animation-duration: 30s;
  animation-delay: -10s;
}

/* Optimize for dark mode readability */
[data-theme="dark"] body::before,
[data-theme="dark"] body::after {
  opacity: 0.18;
}

@keyframes floatBlob1 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(10vw, 10vh, 0) scale(1.1);
  }

  100% {
    transform: translate3d(-5vw, 15vh, 0) scale(0.9);
  }
}

@keyframes floatBlob2 {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-15vw, -10vh, 0) scale(1.15);
  }

  100% {
    transform: translate3d(10vw, -15vh, 0) scale(0.95);
  }
}


a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

/* --- Utilities --- */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 1px 0 0 var(--glass-inset), var(--glass-shadow);
}

.glass-accent {
  background: var(--bg-subtle);
  backdrop-filter: none;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.w-100 {
  width: 100%;
}

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



.logo-isa {
  height: 120px;
  filter: grayscale(1) brightness(0.5);
  opacity: 0.8;
  transition: var(--transition);
}

[data-theme="dark"] .logo-isa {
  filter: grayscale(1) invert(1) brightness(1.5);
  opacity: 0.9;
}

[data-theme="dark"] .hero-logo {
  --img-filter: invert(1);
}



/* --- Typography --- */
h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled {
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.40);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

[data-theme="dark"] .header.scrolled {
  background: rgba(18, 18, 18, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-text,
.nav-toggle i {
  color: var(--text);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease;
}

[data-theme="dark"] .logo-text,
[data-theme="dark"] .nav-toggle i {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.logo-text {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

/* --- Sidebar --- */
.sidebar {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  z-index: 1100;
  padding: 2rem;
  transition: var(--transition);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-left: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
}

.sidebar.active {
  right: 0;
}

.desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }

  .desktop-nav a {
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    opacity: 0.8;
  }

  .desktop-nav a:hover {
    color: var(--primary);
    opacity: 1;
    transform: translateY(-1px);
  }

  .desktop-nav .btn-primary {
    color: var(--btn-primary-text) !important;
    opacity: 1;
  }

  .desktop-nav .btn-primary:hover {
    color: var(--btn-primary-text) !important;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
  }

  .header {
    padding: 1rem 4rem;
  }
}

.sidebar-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

.close-sidebar {
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
}

.lang-switcher {
  display: flex;
  background: var(--bg-subtle);
  border-radius: 9px;
  padding: 2px;
  gap: 0;
  border: none;
  margin-right: auto;
  position: relative;
  height: 32px;
}

.lang-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 12px;
  border-radius: 7px;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s var(--spring-easing);
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}

.lang-btn:hover {
  opacity: 1;
}

.lang-btn.active {
  background: var(--card-bg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 1;
  color: var(--text);
  font-weight: 600;
  border: none;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 0.5rem;
}

.sidebar-nav a {
  display: block;
  padding: 0.875rem 1rem;
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
}

.sidebar-nav a:hover {
  background: var(--primary-glow);
  transform: translateX(4px);
}

.sidebar-nav a.highlight {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.sidebar-nav a.highlight:hover {
  background: var(--primary-hover);
  transform: translateX(0) scale(1.02);
  box-shadow: 0 6px 16px rgba(0, 122, 255, 0.4);
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--primary-glow);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.theme-toggle-btn:hover {
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.theme-toggle-btn i {
  font-size: 1.125rem;
  color: var(--primary);
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn:active {
  transform: scale(0.96);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  background: var(--text-muted);
  pointer-events: none;
}

.btn-primary:disabled {
  background: var(--btn-primary-bg);
  box-shadow: none;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 122, 255, 0.4);
}

.btn-primary:active {
  transform: scale(0.96) translateY(0);
  box-shadow: 0 2px 8px rgba(0, 122, 255, 0.2);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--btn-outline-border);
  color: var(--btn-outline-text);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--btn-outline-hover-bg);
  color: var(--btn-outline-hover-text);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline:active {
  transform: scale(0.96);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  border-radius: 20px;
}

/* --- Store Buttons (App Store / Google Play) --- */
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: 16px;
  background: #000000;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none !important;
  min-width: 220px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.btn-store:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  background: #222222;
}

.btn-store:active {
  transform: scale(0.97) translateY(-2px);
}

.btn-store svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.btn-store svg path:not([fill]) {
  fill: currentColor;
}

.btn-store .store-content {
  display: flex;
  flex-direction: column;
}

.btn-store .store-prefix {
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 3px;
  opacity: 0.7;
}

.btn-store .store-name {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}

/* Dynamic theme adjustments */
[data-theme="dark"] .btn-store {
  background: #ffffff;
  color: #000000;
  border-color: rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-store:hover {
  background: #e5e5e7;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}


[data-theme="dark"] .btn-store .store-prefix,
[data-theme="dark"] .btn-store .store-name {
  color: #000000;
}



/* --- Hero --- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  filter: blur(3px) brightness(0.9);
  transform: scale(1.05);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--hero-overlay);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.75rem, 10vw, 6rem);
  margin-bottom: 0.75rem;
  color: var(--hero-text);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-logo {
  width: 240px;
  margin: 0 auto 2rem;
  --img-filter: invert(1);
  object-fit: contain;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero .btn-primary {
  background: #ffffff;
  color: #111111;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.hero .btn-primary:hover {
  background: #f4f4f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* --- Layout --- */
main {
  padding-top: 100px;
  min-height: 100vh;
}

.landing-page main {
  padding-top: 0;
}

.container {
  width: 100%;
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Forms --- */
.form-card {
  max-width: 40rem;
  margin: 2rem auto;
  padding: 2.5rem;
  border-radius: 32px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-left: 4px;
}

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-subtle);
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

input:not([type="checkbox"]):not([type="radio"])::placeholder,
textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.7;
}

input:not([type="checkbox"]):not([type="radio"]):focus,
select:focus,
textarea:focus {
  outline: none;
  background: var(--bg-base);
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
}

input[type="checkbox"],
input[type="radio"] {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  accent-color: var(--primary);
  cursor: pointer;
  vertical-align: middle;
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
  outline: 2px solid var(--primary-glow);
  outline-offset: 2px;
}

.error {
  color: #FF3B30;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  margin-left: 4px;
  font-weight: 500;
}

/* --- Dashboard --- */
.dashboard-grid,
.courses-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 100rem;
  margin: 0 auto;
  padding: var(--container-padding);
}

@media (max-width: 768px) {

  .dashboard-grid,
  .courses-hub-grid {
    display: block;
    padding-bottom: 6rem;
  }

  .dashboard-grid>*,
  .courses-hub-grid>* {
    margin-bottom: 1.8rem;
  }

  .dashboard-grid>*:last-child,
  .courses-hub-grid>*:last-child {
    margin-bottom: 0;
  }
}

/* --- Signature --- */
.signature-pad-container {
  border: 2px solid var(--border);
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.5rem;
}

[data-theme="dark"] .signature-pad-container {
  background: var(--bg-subtle);
}

canvas#signaturePad {
  width: 100%;
  height: 200px;
  display: block;
  cursor: crosshair;
}

.signature-footer {
  padding: 0.5rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}

[data-theme="dark"] .signature-footer {
  background: rgba(255, 255, 255, 0.05);
}


/* --- Card Styles --- */
.card {
  padding: 2rem;
  border-radius: var(--card-radius);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  will-change: transform;
}


@media (hover: hover) {
  .card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-glow);
  }
}

.card:active {
  transform: scale(0.98);
}

.card i {
  font-size: 2.5rem;
  color: var(--text);
}

.card h3 {
  font-size: 1.25rem;
  margin: 0;
  color: var(--text);
}

.card p {
  color: var(--text-muted);
  flex-grow: 1;
  font-size: 0.9375rem;
}


/* --- Payment --- */
.payment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

input[type="checkbox"],
input[type="radio"] {
  width: auto;
  display: inline-block;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.privacy-section input[type="checkbox"],
.privacy-section input[type="radio"] {
  margin-top: 0.25rem;
}

/* --- Accordion --- */
details[open] summary i {
  transform: rotate(90deg);
}

details summary {
  margin: 0;
  padding: 0.25rem 0.5rem;
  line-height: 1.2;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}

details summary i {
  font-size: 0.7rem;
  margin-right: 0.4rem;
}

details>div {
  font-size: 0.85rem;
  padding: 0.8rem 1rem;
  border-top: 1px solid var(--border);
  line-height: 1.4;
}

details p {
  margin: 0.5rem 0;
}

/* --- Footer --- */
footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

footer p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* --- Animations --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.7s ease forwards;
}


/* --- Page Content --- */
.page-content {
  width: 100%;
  max-width: 60rem;
  margin: 0 auto;
  padding: 0 2rem 2rem 2rem;
}

.content-section {
  padding-top: 2rem;
  margin-bottom: 3rem;
}

.content-section h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  margin-bottom: 1rem;
}

.content-section .subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  display: block;
}

.text-block {
  background: var(--glass-bg);
  padding: 2.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  margin-bottom: 2rem;
}

.privacy-text-block {
  background: var(--glass-bg);
  padding: 0.5rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  margin-bottom: 2rem;
}

.text-block p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

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

.text-block h2,
.text-block h3 {
  color: var(--text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 800;
}

.text-block h2:first-child,
.text-block h3:first-child {
  margin-top: 0;
}

.text-block h3 {
  font-size: 1.5rem;
}

/* --- Discipline Grid --- */
.discipline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.discipline-card {
  background: var(--glass-bg);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.discipline-card:hover {
  transform: translateY(-5px);
  background: var(--primary-glow);
  box-shadow: var(--card-shadow);
}

.discipline-card h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

/* --- Text Pages Responsive --- */
@media (max-width: 768px) {
  .page-content {
    padding: 0;
  }

  .text-block {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .content-section h1 {
    font-size: 2.5rem;
  }

  .content-section .subtitle {
    margin-bottom: 2rem;
  }
}

/* --- Mobile Layout --- */
@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .header {
    padding: 1rem;
  }

  .hero h1 {
    font-size: 2.75rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1rem;
  }

  .form-card {
    padding: 1.5rem;
    margin: 1rem auto;
    border-radius: 16px;
  }

  .dashboard-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
    padding: 0 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .form-group {
    margin-bottom: 1rem;
  }

  .form-group.glass-accent,
  .privacy-section {
    margin-bottom: 1.5rem;
  }

  .hero-logo {
    width: 120px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 0.9375rem;
  }

  .hero-logo {
    width: 100px;
  }
}

/* --- Book Section --- */
.book-container {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.book-image {
  flex: 0 0 200px;
}

.book-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s var(--spring-easing), opacity 0.4s var(--spring-easing), filter 0.4s var(--spring-easing), box-shadow 0.4s var(--spring-easing);
}

.book-image img:hover {
  transform: scale(1.02);
}

.book-details {
  flex: 1;
}

.book-details h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.book-details .author {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1rem;
  display: block;
}

.book-actions {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.book-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
}

@media (max-width: 768px) {
  .book-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .book-actions {
    justify-content: center;
  }
}

/* --- Overlays --- */
.fixed-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -9;
  background: rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(0px);
  pointer-events: none;
}

.landing-page .fixed-overlay {
  display: none;
}

.no-footer footer {
  display: none !important;
}



/* --- Dashboard Card Base --- */
.dashboard-grid .card,
.courses-hub-grid .card {
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: none;
  color: #ffffff;
  border-radius: 28px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  align-items: flex-start;
  text-align: left;
}

.dashboard-grid .card::before,
.courses-hub-grid .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: transform 0.5s ease;
}

.dashboard-grid .card::after,
.courses-hub-grid .card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: -1;
  transition: background 0.3s ease;
}

.dashboard-grid .card:hover::before,
.courses-hub-grid .card:hover::before {
  transform: scale(1.05);
}

.dashboard-grid .card:hover::after,
.courses-hub-grid .card:hover::after {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.9) 100%);
}

.dashboard-grid .card h3,
.dashboard-grid .card p,
.courses-hub-grid .card h3,
.courses-hub-grid .card p {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.dashboard-grid .card i,
.courses-hub-grid .card i {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  backdrop-filter: blur(5px);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  padding: 12px;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-grid .card .btn,
.courses-hub-grid .card .btn {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(5px);
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

.dashboard-grid .card .btn:hover,
.courses-hub-grid .card .btn:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* --- Card Backgrounds --- */
/* 1. Chi Siamo */
.dashboard-grid .card:nth-child(1)::before {
  background-image: url('https://images.unsplash.com/photo-1760982665375-d06315cda251?q=80&w=600&auto=format&fit=crop');
}

/* 2. Spettacoli */
.dashboard-grid .card:nth-child(2)::before {
  background-image: url('https://drive.google.com/thumbnail?id=1Sre0DFlRMzez8NEQCQpQg9somhg3ZWCk&sz=w1000');
}

/* 3. Eventi */
.dashboard-grid .card:nth-child(3)::before {
  background-image: url('https://drive.google.com/thumbnail?id=10SlkSKYPUrhFfpcMRDi979CPbgA6Xf-T&sz=w1000');
}

/* 4. Corsi */
.dashboard-grid .card:nth-child(4)::before {
  background-image: url('https://images.unsplash.com/photo-1754847537377-8bbe7570e56c?q=80&w=600&auto=format&fit=crop');
}

/* 5. Galleria */
.dashboard-grid .card:nth-child(5)::before {
  background-image: url('https://images.unsplash.com/photo-1760982665346-e3d1db10dd3a?q=90&w=1920&auto=format&fit=crop');
}

/* 6. Luoghi */
.dashboard-grid .card:nth-child(6)::before {
  background-image: url('https://drive.google.com/thumbnail?id=18ggnDxgD9kFeZ8EaZHm-my4G20fvgjKX&sz=w1000');
}

/* 7. Contatti */
.dashboard-grid .card:nth-child(7)::before {
  background-image: url('https://images.unsplash.com/photo-1754847673883-91899af00edb?q=80&w=600&auto=format&fit=crop');
}

/* 8. Tesseramento */
.dashboard-grid .card:nth-child(8)::before {
  background-image: url('https://images.unsplash.com/photo-1771288688165-85911af8b69b');
  background-position: center 30%;
}



/* --- Course Hub Cards --- */
.card-base::before {
  background-image: url('https://images.unsplash.com/photo-1707227155355-6610ddb41639?q=80&w=800&auto=format&fit=crop');
}

.card-adv::before {
  background-image: url('https://images.unsplash.com/photo-1715017056636-628d002f1a30?q=80&w=800&auto=format&fit=crop');
}

.card-kids::before {
  background-image: url('https://images.unsplash.com/photo-1707327259021-39e1443eb519?q=80&w=800&auto=format&fit=crop');
}


/* --- Shine Effect --- */
@keyframes shiny-sweep {
  0% {
    left: -100%;
    opacity: 0;
  }

  5% {
    opacity: 0.5;
  }

  100% {
    left: 200%;
    opacity: 0;
  }
}

.shiny-card {
  position: relative;
  overflow: hidden;
}

.shiny-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.4) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
}

.shiny-card.shine-active::before,
.shiny-card:hover::before {
  animation: shiny-sweep 2.5s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

/* --- Membership Form Enhancements --- */
.privacy-section {
  position: relative;
  padding: 1.5rem;
  border-radius: 20px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  transition: var(--transition);
  margin-bottom: 2rem;
}

.privacy-section:hover {
  background: var(--card-bg);
  border-color: var(--primary-glow);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.privacy-section.required {
  border-left: 4px solid var(--primary);
  background: rgba(0, 122, 255, 0.03);
}

[data-theme="dark"] .privacy-section.required {
  background: rgba(64, 112, 244, 0.05);
}

.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.privacy-header h4 {
  margin: 0 !important;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.status-badge i {
  font-size: 0.85rem;
}

.status-badge.required {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--primary-glow);
}

.status-badge.optional {
  background: var(--bg-base);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 12px;
  background: var(--primary-glow);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid rgba(0, 122, 255, 0.2);
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.08);
}

.price-badge i {
  font-size: 0.8rem;
}


@media (max-width: 768px) {
  .privacy-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* --- Image Loading State --- */
body img.is-loading {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23ffffff' stroke-width='4' stroke-dasharray='31.4 31.4' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 40px 40px;
  animation: none;
  color: transparent;
  object-fit: none;
  object-position: -99999px -99999px;
  transition: none;
}

[data-theme="light"] body img.is-loading:not(#lightbox-img) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23000000' stroke-width='4' stroke-dasharray='31.4 31.4' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
}

body #lightbox-video.is-loading {
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Ccircle cx='25' cy='25' r='20' fill='none' stroke='%23ffffff' stroke-width='4' stroke-dasharray='31.4 31.4' stroke-linecap='round'%3E%3CanimateTransform attributeName='transform' type='rotate' from='0 25 25' to='360 25 25' dur='1s' repeatCount='indefinite'/%3E%3C/circle%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 40px 40px;
}

img.is-loaded {
  animation: image-fade-in 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  transition-property: filter, opacity, transform, box-shadow, background-color, border-color;
}

@keyframes image-fade-in {
  0% {
    opacity: 0;
    filter: var(--img-filter) blur(8px);
  }

  100% {
    opacity: 1;
    filter: var(--img-filter) blur(0);
  }
}

/* --- Permarig Banners --- */
.permarig-banner {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: 3rem;
  align-items: center;
  text-align: left;
}

.permarig-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.permarig-desc {
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 2rem;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.permarig-action {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: flex-end;
}

/* Mobile Responsive */
@media (max-width: 992px) {
  .permarig-banner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
  }

  .permarig-desc {
    border-left: none;
    border-right: none;
    padding: 0;
    align-self: flex-start;
  }

  .permarig-action {
    align-items: flex-start;
  }
}

/* --- Gear Badges --- */
.gear-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 6px 12px;
  border-radius: 10px;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.gear-badge:hover {
  transform: translateX(4px);
  filter: brightness(0.95);
}

.gear-label {
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
  width: 65px;
  flex-shrink: 0;
}

.gear-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Modifier Classes */
.gear-main {
  background: rgba(34, 110, 247, 0.08);
  border-color: rgba(34, 110, 247, 0.15);
}

.gear-main .gear-label {
  color: var(--primary);
}

.gear-backup {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--border);
}

.gear-backup .gear-label {
  color: var(--text-muted);
}

.gear-extra {
  background: rgba(231, 76, 60, 0.08);
  border-color: rgba(231, 76, 60, 0.15);
}

.gear-extra .gear-label {
  color: #e74c3c;
}

/* --- Payment Methods --- */
.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.payment-method-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.payment-method-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.payment-method-card i {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.payment-method-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.payment-method-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.4;
  margin: 0;
}

.btn-paypal {
  background: #0070ba;
  color: white !important;
  border: none;
}

.btn-satispay {
  background: #ff2d55;
  color: white !important;
  border: none;
}

.copy-hint {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* --- Premium Image Slider --- */
.premium-slider-container {
  position: relative;
  width: 100%;
  margin: 2.5rem 0;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
}

.premium-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

@media (max-width: 768px) {
  .premium-slider {
    aspect-ratio: 4 / 3;
  }
}

.slider-track {
  display: flex;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease;
}

.slide.active img {
  transform: scale(1.05);
}

.slider-nav {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slider-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s var(--spring-easing);
}

.slider-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.slider-dot.active {
  width: 28px;
  background: #ffffff;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s var(--spring-easing);
  opacity: 0;
}

.premium-slider-container:hover .slider-arrow {
  opacity: 1;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
  left: 20px;
}

.slider-arrow.next {
  right: 20px;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 40px 40px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s var(--spring-easing) 0.3s;
}

.slide.active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}

.slide-caption h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.slide-caption p {
  font-size: 0.95rem;
  opacity: 0.8;
  max-width: 500px;
}