@font-face {
  font-family: 'Tektur';
  src: url('assets/fonts/Tektur.ttf') format('truetype');
  font-display: swap; /* Added for performance */
}
@font-face {
  font-family: 'Strokey';
  src: url('assets/fonts/Strokey.otf') format('opentype');
  font-display: swap; /* Added for performance */
}

:root {
  --background: 222.2 84% 4.9%;
  --foreground: 210 40% 98%;
  --primary: 217.2 91.2% 59.8%;
  --primary-foreground: 222.2 47.4% 11.2%;
  --secondary: 217.2 32.6% 17.5%;
  --muted: 217.2 32.6% 17.5%;
  --muted-foreground: 215 20.2% 65.1%;
  --accent: 45 100% 60%;
  --accent-foreground: 210 40% 98%;
  --radius: 4rem;
  
  /* Glow Effects */
  --glow-primary: 0 0 15px rgba(32, 119, 255, 0.6);
  --glow-accent: 0 0 15px rgba(255, 215, 0, 0.7);
  --glow-primary-subtle: 0 2px 8px rgba(32, 119, 255, 0.15);
  --glow-accent-subtle: 0 2px 8px rgba(255, 215, 0, 0.2);
  --glow-primary-strong: 0 0 25px rgba(32, 119, 255, 0.4);
  --glow-accent-strong: 0 0 25px rgba(255, 215, 0, 0.5);
  
  /* Shadow Effects */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.25);
  
  /* Card/Container Glow States */
  --card-glow: var(--glow-primary-subtle);
  --card-glow-hover: var(--glow-primary);
  --card-glow-active: var(--glow-primary-strong);
  --accent-card-glow: var(--glow-accent-subtle);
  --accent-card-glow-hover: var(--glow-accent);
}

body {
  font-family: 'Tektur', Arial, sans-serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  margin: 0;
  padding: 0;
  min-height: 100vh;
  box-sizing: border-box;
  line-height: 1.6;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 1200px; /* Wider container for webpage */
  margin-right: auto;
  margin-left: auto;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- SECTION: Navigation --- */
.main-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 50;
  background: hsl(var(--background) / 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--muted) / 0.5);
  padding: 0.75rem 0;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: color 0.2s;
  text-shadow: var(--glow-primary);
  align-items: center;
}

/* Container for the text parts */
.logo-text-container {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

/* Style for the main part of the logo text */
.logo-main {
  font-size: 1.5rem;
}

/* Style for the 'by Skyphy' part */
.logo-brand {
  font-family: 'Strokey', 'Tektur', Arial, sans-serif;
  font-size: 0.8em;
  font-weight: normal;
  color: hsl(var(--accent));
  text-shadow: var(--glow-accent);
  display: inline-block;
  transform: rotate(-4deg);
}

.logo-img {
  height: 2.5rem;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.nav-link:hover {
  color: hsl(var(--accent));
  text-shadow: var(--glow-accent);
}

/* --- SECTION: Main Content --- */
.main-content {
  flex-grow: 1;
}

/* --- SECTION: General Section Styles --- */
section {
  padding: 2rem 0;
  border-bottom: 1px solid hsl(var(--muted) / 0.3);
}
section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 1rem 0;
  color: hsl(var(--primary));
  text-shadow: var(--glow-primary);
}

.section-title-small {
  font-size: 1.8rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 1.5rem;
  color: hsl(var(--primary));
  text-shadow: var(--glow-primary);
}

.feature-intro {
  text-align: center;
  max-width: 700px;
  margin: 0.5rem auto 1.5rem auto;
  color: hsl(var(--muted-foreground));
  font-size: 1.15rem;
}

/* --- SECTION: Hero --- */
.hero-section {
  text-align: left;
  min-height: 50vh;
  display: flex;
  align-items: center;
}

.hero-columns {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 10rem;
  height: 100%;
}

.hero-left {
  flex: 1 1 0;
  min-width: 280px;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  height: 100%;
  padding-top: 5rem;
}

.hero-right {
  flex: 1 1 0;
  min-width: 320px;
  max-width: 480px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: hsl(var(--primary));
  text-shadow: 0 0 20px rgba(32, 119, 255, 0.7);
  margin: 0 0 0.5rem 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.hero-secondary {
  font-size: 1.15rem;
  color: hsl(var(--muted-foreground));
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero-above {
  margin-bottom: 0;
}
.hero-below {
  margin-top: 0;
  margin-bottom: 1.5em;
  text-align: right;
  width: 100%;
  display: block;
}

.ae-icon {
  height: 1em;
  width: auto;
  vertical-align: middle;
  margin: 0 0.2em;
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.7));
}

.hero-sup {
  font-size: 1rem;
  color: hsl(var(--accent));
  text-align: center;
  width: 100%;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  margin: 0;
  padding: 0;
}

.hero-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-button-container:hover .hero-sup {
  opacity: 1;
  max-height: 50px;
  margin-top: 0.5em;
  margin-bottom: 1em;
}


.plugin-demo-iframe {
  width: 370px;
  height: 550px;
  border: none;
  background: #fff;
  min-width: 320px;
  max-width: 100%;
  margin-left: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .hero-columns {
    flex-direction: column;
    gap: 2.5rem;
    align-items: stretch;
  }
  .hero-left, .hero-right {
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .hero-title {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2rem;
  }
  .plugin-demo-iframe {
    width: 100%;
    min-width: 0;
    height: 400px;
  }
  .hero-section {
    padding: 1.5rem 0 2rem 0;
  }
}

/* --- SECTION: Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: linear-gradient(145deg, hsl(var(--secondary) / 0.5) 0%, hsl(var(--background) / 0.7) 100%);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  box-shadow: var(--card-glow);
  transition: all 0.3s ease, box-shadow 0.2s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(32, 119, 255, 0.1);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(32, 119, 255, 0.2);
}

.feature-icon {
  height: 3rem;
  width: 3rem;
  margin: 0 auto 1rem auto;
  color: hsl(var(--accent)); /* Use color for SVGs */
  filter: drop-shadow(0 0 8px hsl(var(--accent) / 0.7));
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: hsl(var(--foreground));
}

.feature-description {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.feature-image {
  width: 100%;
  border-radius: calc(var(--radius) - 4px);
  margin-top: auto;
  border: 1px solid hsl(var(--muted) / 0.3);
}

/* --- SECTION: Feature Carousel --- */


.feature-solutions .section-title {
  margin-bottom: 1rem;
}

.feature-solutions .feature-intro {
  font-size: 1.15rem;
  color: hsl(var(--muted-foreground));
  max-width: 800px;
}

.feature-carousel {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 3rem;
  max-width: 1200px;
  width: 100%;
  box-sizing: border-box;
  align-items: start;
}

@media (max-width: 768px) {
  .feature-carousel {
    grid-template-columns: 1fr;
  }
}

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1/1;
  perspective: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.carousel-cards {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

/* Base Card Styles */
.carousel-card {
  position: absolute;
  width: 100%;
  max-width: 450px;
  height: 100%;
  max-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  outline: none;
  cursor: pointer;
  pointer-events: none;
}

/* Video inside card */
.carousel-card .feature-video {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  background: hsl(var(--background));
  box-shadow: 0 8px 25px rgba(32, 119, 255, 0.1);
  border: 1px solid hsl(var(--primary) / 0.15);
  transition: all 0.3s ease;
  pointer-events: none;
}

/* Active Card */
.carousel-card.active {
  z-index: 3;
  opacity: 1;
  transform: scale(0.9) translateX(0) translateZ(0);
  background: linear-gradient(145deg, hsl(var(--secondary) / 0.2) 0%, hsl(var(--background) / 0.95) 100%);
  border: 1px solid hsl(var(--primary) / 0.8);
  backdrop-filter: blur(10px);
  box-shadow: var(--card-glow-active), 0 20px 40px rgba(0, 0, 0, 0.25);
  cursor: default;
  pointer-events: auto;
}

/* Side Cards - Shared Styles */
.carousel-card.left,
.carousel-card.right {
  z-index: 2;
  opacity: 0.6;
  filter: blur(1px);
  transform-style: preserve-3d;
  background: linear-gradient(145deg, hsl(var(--secondary) / 0.1) 0%, hsl(var(--background) / 0.5) 100%);
  backdrop-filter: blur(5px);
  border: 1px solid hsl(var(--primary));
  pointer-events: auto;
  cursor: pointer;
}

/* Left Card */
.carousel-card.left {
  transform: scale(0.75) translateX(-200px) translateZ(-30px) rotateY(20deg);
  transform-origin: right center;
}

/* Right Card */
.carousel-card.right {
  transform: scale(0.75) translateX(200px) translateZ(-30px) rotateY(-20deg);
  transform-origin: left center;
}

/* Hover States - Side cards */
.carousel-card.left:hover,
.carousel-card.right:hover,
.carousel-nav-overlay.left-nav:hover ~ .carousel-card.left,
.carousel-nav-overlay.right-nav:hover ~ .carousel-card.right {
  opacity: 0.9;
  filter: blur(0.5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 4;
}

.carousel-card.left:hover,
.carousel-nav-overlay.left-nav:hover ~ .carousel-card.left {
  transform: scale(0.8) translateX(-180px) translateZ(-10px) rotateY(15deg);
}

.carousel-card.right:hover,
.carousel-nav-overlay.right-nav:hover ~ .carousel-card.right {
  transform: scale(0.8) translateX(180px) translateZ(-10px) rotateY(-15deg);
}

/* Navigation Overlays - Click areas for carousel navigation */
.carousel-nav-overlay {
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%;
  z-index: 10;
  cursor: pointer;
  opacity: 0;
  pointer-events: auto;
}

.carousel-nav-overlay.left-nav {
  left: 0;
}

.carousel-nav-overlay.right-nav {
  right: 0;
}


.carousel-tabs-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 100%;
  padding: 1rem 0 1rem 2rem;
  align-self: center;
  margin-right: -1.5rem;
}
.carousel-tab {
  display: block;
  width: 100%;
  background: linear-gradient(145deg, hsl(var(--secondary) / 0.3) 0%, hsl(var(--background) / 0.5) 100%);
  border: 1px solid hsl(var(--primary) / 0.2);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  text-align: left;
  cursor: pointer;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--card-glow);
  color: hsl(var(--foreground));
  position: relative;
  overflow: hidden;
  font-family: 'Tektur', Arial, sans-serif;
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}

.carousel-tab:hover {
  transform: translateY(-3px) scale(1.01);
  border-color: hsl(var(--primary) / 0.3);
  box-shadow: var(--card-glow-hover);
  background: linear-gradient(145deg, hsl(var(--secondary) / 0.4) 0%, hsl(var(--background) / 0.6) 100%);
}

.carousel-tab.active {
  background: linear-gradient(145deg, hsl(var(--primary) / 0.2) 0%, hsl(var(--background) / 0.7) 100%);
  border-color: hsl(var(--primary) / 0.4);
  transform: translateY(-1px) scale(1.01);
  font-weight: 700;
  box-shadow: var(--card-glow-active);
}
.carousel-tab .tab-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: hsl(var(--foreground));
  display: inline-block;
}
.carousel-tab.active .tab-title {
  color: hsl(var(--accent));
  text-shadow: 0 0 8px hsl(var(--accent) / 0.5);
}
.carousel-tab .tab-desc {
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.6;
}

.carousel-tab.active .tab-desc {
  color: hsl(var(--accent));
  opacity: 0.9;
  font-weight: normal;
}
/* --- SECTION: Word-Level Animation Banners --- */
.animation-banners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.animation-banner {
  background-color: hsl(var(--secondary) / 0.3);
  border: 1px solid hsl(var(--muted) / 0.5);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.animation-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(32, 119, 255, 0.1);
  border-color: hsl(var(--primary) / 0.3);
}

.banner-image {
  width: 100%;
  max-width: 150px;
  height: auto;
  margin: 0 auto 1rem auto;
  border-radius: var(--radius);
}

.banner-video-container {
  width: 100%;
  max-width: 240px;
  margin: 0 auto 1rem auto;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  background-color: hsl(var(--background) / 0.5);
  border: 1px solid hsl(var(--muted) / 0.5);
}

/* Aspect ratio box for 1:1 square */
.banner-video-container::before {
  content: '';
  display: block;
  padding-top: 100%; /* 1:1 Aspect Ratio */
}

.banner-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: transparent;
}

.banner-text {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* --- SECTION: Working with JSONs --- */
.json-intro-text {
  max-width: 650px;
  margin: 0 auto 2rem auto;
  text-align: center;
  color: hsl(var(--muted-foreground));
  font-size: 1.05rem;
}

.json-intro-text p {
  margin-bottom: 0.75rem;
}

/* Responsive YouTube embed container */
.youtube-embed-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  margin: 2rem auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.youtube-embed-container:hover {
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

.youtube-embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* --- SECTION: Solution Media Animation --- */
/* Media elements */
.solution-media {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: calc(var(--radius) - 4px);
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid hsl(var(--primary) / 0.1);
}

/* Video specific styles */
.solution-media[data-media-type="video"],
.solution-media[data-media-type="video"] video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the square container */
  border-radius: var(--radius);
  background: #000;
}

/* Image specific styles */
.solution-media[data-media-type="image"] {
  max-height: 500px;
  object-fit: contain;
}

/* Animation for media updates */
.solution-media.media-updated {
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .carousel-tabs-col {
    max-width: 100%;
    width: 100%;
    padding: 0 1rem;
  }
  
  .carousel-container {
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .carousel-container, 
  .carousel-cards {
    width: 90vw;
    height: 60vw;
    min-width: 0;
    min-height: 0;
    max-width: 100%;
    max-height: 100%;
  }
  
  .carousel-card {
    width: 90vw;
    height: 50vw;
    padding: 1rem;
  }
  
  .carousel-tabs-col {
    padding: 0 0.5rem;
  }
  
  .carousel-tab {
    padding: 1.1rem 1.25rem;
  }
  
  .tab-title {
    font-size: 1rem;
  }
  
  .tab-desc {
    font-size: 0.9rem;
  }
}

/* --- SECTION: Support --- */
.support-section {
  background: radial-gradient(ellipse at center, hsl(var(--secondary) / 0.4) 0%, transparent 70%);
}

.support-card {
  max-width: 650px;
  margin: 0 auto;
  text-align: center;
  background: hsl(var(--background) / 0.9);
  border: 1px solid hsl(var(--primary) / 0.25);
  border-radius: var(--radius);
  padding: 2.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 25px rgba(32, 119, 255, 0.15);
}

.support-text {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
}

.support-donation-info {
  font-size: 1rem;
  color: hsl(var(--accent));
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 500;
  text-shadow: var(--glow-accent);
}

.heart-icon {
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  filter: drop-shadow(0 0 5px hsl(var(--accent) / 0.7));
}

.support-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* --- SECTION: Links --- */
.inline-link {
  color: hsl(var(--primary));
  text-shadow: var(--glow-primary);
  text-decoration: none;
  transition: all 0.2s ease;
  position: relative;
  cursor: pointer;
}

.inline-link:hover {
  color: hsl(var(--accent));
  text-shadow: var(--glow-accent);
  transform: translateY(-1px);
}

/* --- SECTION: Utility Classes --- */
.strokey-tag {
  font-family: 'Strokey', 'Tektur', Arial, sans-serif;
  font-size: 1.4em;
  color: hsl(var(--accent));
  font-weight: normal;
  text-shadow: var(--glow-accent);
  display: inline-block;
}

/* --- SECTION: Buttons --- */
.btn {
  padding: 1rem 2.2rem; 
  font-size: 1.15rem; 
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--primary) / 0.5);
  border-radius: var(--radius);
  font-family: 'Tektur', Arial, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 600;
  background: linear-gradient(135deg, hsl(var(--secondary) / 0.8), hsl(var(--secondary) / 0.6));
  box-shadow: 0 4px 15px rgba(32, 119, 255, 0.1);
  margin-top: 0.5em; 
  display: inline-block; 
}

.btn:hover {
  background: linear-gradient(135deg, hsl(var(--secondary)), hsl(var(--secondary) / 0.7));
  color: hsl(var(--accent));
  box-shadow: 0 6px 20px rgba(32, 119, 255, 0.2);
  transform: translateY(-2px);
}

/* --- SECTION: Modal --- */
.modal {
  display: none;
  position: fixed;
  z-index: 100;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-content {
  position: relative;
  background-color: hsl(var(--background));
  margin: 10% auto;
  padding: 0;
  border: 1px solid hsl(var(--primary) / 0.3);
  width: 80%;
  max-width: 600px;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(32, 119, 255, 0.2);
  overflow: hidden;
}

.modal-close {
  color: hsl(var(--muted-foreground));
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  z-index: 101;
}

.modal-close:hover,
.modal-close:focus {
  color: hsl(var(--accent));
  text-decoration: none;
}

.modal-iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: none;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

/* --- SECTION: Footer --- */
.panel-footer {
  padding: 1.5rem 0;
  border-top: 1px solid hsl(var(--muted) / 0.3);
  text-align: center;
  color: hsl(var(--accent));
  font-size: 1.25rem;
  font-family: 'Strokey', sans-serif;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  letter-spacing: -0.05em;
}

.panel-footer .footer-content {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.panel-footer .icon-container {
  display: inline-flex;
  align-items: center;
  margin: 0 0.2em;
}

.panel-footer .icon {
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  display: inline-block;
  padding-left: 0.4rem;
  padding-right: 0.4rem;
  filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.7));
}

/* Highlight text with accent color */
.highlight {
  color: hsl(var(--accent));
  margin-top: 0.5rem;
  display: block;
}

/* --- SECTION: Responsive Adjustments --- */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .nav-content {
    flex-direction: column;
    height: auto;
    gap: 1rem;
    padding: 1rem 0;
  }
  .nav-links {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  .main-content {
    padding-top: 2rem;
  }
  section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .support-card {
    padding: 1.5rem;
  }
  .btn {
    font-size: 1rem;
    padding: 0.75rem 1.2rem;
  }
}
