/* Modern CSS Reset and Base Styles */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --text-color: #1f2937;
  --light-bg: #f3f4f6;
  --white: #ffffff;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--light-bg);
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1,
h2,
h3 {
  color: var(--text-color);
  line-height: 1.2;
  font-weight: 700;
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.5rem;
}

/* Header Styles */
header {
  background-color: var(--white);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
  width: 100%;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header nav {
  display: flex;
}

header nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

header .logo img {
  height: 60px;
  width: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  transition: transform 0.3s ease;
}

header .logo img:hover {
  transform: scale(1.05);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1000;
}

.mobile-menu-btn span {
  width: 100%;
  height: 3px;
  background: var(--text-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  header nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    height: 100vh;
    background: var(--white);
    padding: 80px 20px;
    transition: 0.3s;
    box-shadow: var(--shadow);
  }

  header nav.active {
    right: 0;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  header nav ul li a {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
  }
}

header nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

header nav ul li a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 600px;
  overflow: hidden;
  background: black; /* Base for fades */
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.4), transparent);
  z-index: 3;
}

/* Specific overlay for the Studio Banner which already has labels */
.hero-slide.studio-banner .hero-overlay {
  background: radial-gradient(circle at center, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  color: var(--white);
  max-width: 800px;
  padding: 3.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin: 0 auto;
  width: 100%;
  border-radius: 1.5rem;
  transition: all 0.5s ease;
}

/* Glassmorphism Underlay for Studio Banner */
.hero-slide.studio-banner .hero-content {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  padding: 4rem;
}


.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2rem;
  backdrop-filter: blur(6px);
}

.hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin: 0;
  line-height: 1.15;
}

.hero-highlight {
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  max-width: 600px;
  opacity: 0.9;
  margin: 0;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.5rem;
}

.cta-outline {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.cta-outline:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Carousel Control Styles */
.carousel-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 10;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent-color, #60a5fa);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.carousel-arrow {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.carousel-arrow:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
  transform: scale(1.05);
}

.carousel-arrow i {
  font-size: 1.1rem;
}

/* Stats Bar */
.hero-stats {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: #e5e7eb;
}

/* Section Labels & Subtitles */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-color);
  background: rgba(37, 99, 235, 0.08);
  padding: 0.3rem 0.9rem;
  border-radius: 2rem;
  margin-bottom: 0.75rem;
}

.section-label.light {
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
}

.section-subtitle {
  color: #6b7280;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* Introduction Section */
.introduction {
  padding: 5rem 0;
  text-align: left;
  background-color: var(--light-bg);
}

.introduction .container>.section-label,
.introduction .container>h2 {
  text-align: center;
}

.introduction h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
}

/* Two-column intro layout */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.intro-text p {
  font-size: 1.05rem;
  color: #374151;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.intro-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.expertise-card {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.expertise-icon {
  font-size: 1.4rem;
  color: var(--primary-color);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.expertise-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 0.25rem;
}

.expertise-card p {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

/* Services Section */
.services {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #1d4ed8 100%);
  padding: 5rem 0;
  color: var(--white);
}

.services h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--white);
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto 0;
}

.service-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 2rem;
  border-radius: 1rem;
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.14);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  flex-shrink: 0;
  margin-bottom: 0.25rem;
}

.service-item h3 {
  color: #fff;
  font-size: 1.1rem;
}

.service-item p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-list .service-item ul {
  list-style: none;
  margin-top: 1rem;
}

.service-list .service-item ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-list .service-item ul li:before {
  content: "→";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Clients Section */
.clients {
  padding: 5rem 0;
  text-align: center;
  background-color: var(--light-bg);
}

.clients h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.clients-cta {
  margin-top: 3rem;
  text-align: center;
}

.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.client-logo-item {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.25rem 2rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 140px;
}

.client-logo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.client-logos img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(40%);
  transition: filter 0.2s ease;
}

.client-logo-item:hover img {
  filter: grayscale(0%);
}

/* Documentation Section */
.documentation {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.two-column-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.column {
  background: var(--white);
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: var(--shadow);
}

.column h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.column ul {
  list-style: none;
}

.column ul li {
  margin-bottom: 0.5rem;
  padding-left: 1.5rem;
  position: relative;
}

.column ul li:before {
  content: "•";
  color: var(--primary-color);
  position: absolute;
  left: 0;
}

/* Platform List */
.platform-list {
  text-align: center;
  margin: 1rem 0;
  font-size: 1.1rem;
  color: var(--text-color);
}

/* Outcome Section */
.outcome {
  padding: 4rem 0;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  color: var(--white);
}

.outcome h2 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.outcome p {
  font-size: 1.1rem;
  line-height: 1.8;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.cta-button:hover {
  background-color: transparent;
  color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

/* Footer Styles */
footer {
  background-color: #111827;
  color: var(--white);
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(1.2);
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-contact h4,
.footer-social-wrap h4 {
  color: #e5e7eb;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-contact a {
  color: #9ca3af;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 0.95rem;
}

.footer-social a:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 1.25rem 0;
  text-align: center;
}

.footer-bottom p {
  color: #6b7280;
  font-size: 0.85rem;
  margin: 0;
}

footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-color);
}

footer .footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

/* Media Queries */
@media (max-width: 768px) {

  /* Header */
  header nav {
    display: none;
  }

  header nav.active {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    height: 100vh;
    background: var(--white);
    padding: 80px 20px;
    z-index: 999;
  }

  header nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  header nav ul li {
    width: 100%;
  }

  header nav ul li a {
    display: block;
    padding: 1rem;
    font-size: 1.2rem;
    text-align: left;
    width: 100%;
  }

  /* Typography */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  /* Hero Section */
  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3.5rem 1rem 2rem;
  }

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

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

  .stats-grid {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    flex: 0 0 40%;
  }

  /* Intro Section */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Footer */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .cta-button {
    width: 90%;
    text-align: center;
  }

  /* Services Section */
  .service-list {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }

  .service-item {
    padding: 1.5rem;
  }

  /* Container */
  .container {
    width: 95%;
    padding: 0 10px;
  }

  /* Sections Padding */
  .introduction,
  .services,
  .clients {
    padding: 3rem 0;
  }

  /* CTA Buttons */
  .cta-button {
    display: block;
    width: 90%;
    margin: 1rem auto;
    text-align: center;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  header .logo img {
    height: 40px;
  }

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

  .container {
    width: 100%;
    padding: 0 15px;
  }
}

/* ============================
   Project Hero Section
   (used in PROJECTS/*.html pages)
   ============================ */
.project-hero {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 60%, #1d4ed8 100%);
  color: var(--white);
  padding: 5rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.project-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

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

.project-hero h1 {
  color: var(--white);
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.project-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .project-hero {
    padding: 3.5rem 0 3rem;
  }

  .project-hero h1 {
    font-size: 2rem;
  }
}

/* Project page simple footer columns */
footer .footer-contact h3,
footer .footer-links h3 {
  color: #e5e7eb;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

footer .footer-contact p {
  color: #9ca3af;
  font-size: 0.95rem;
}

/* ============================
   AI Approach Section
   ============================ */
.ai-approach {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 2.5rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
}

.ai-approach-header {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.ai-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  flex-shrink: 0;
}

.ai-approach-header h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.ai-approach-header p {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

.ai-period {
  font-size: 0.8rem;
  font-weight: 400;
  color: #9ca3af;
  margin-left: 0.25rem;
}

.ai-principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.ai-principle {
  background: var(--light-bg);
  border-radius: 0.75rem;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border-left: 3px solid var(--primary-color);
}

.ai-principle i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.ai-principle p {
  font-size: 0.88rem;
  color: #374151;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 768px) {
  .ai-approach-header {
    flex-direction: column;
    gap: 1rem;
  }

  .ai-principles {
    grid-template-columns: 1fr;
  }
}

/* TV Builder Product Launch Section */
.product-launch {
  padding: 6rem 0;
  background-color: var(--white);
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.product-content .accent {
  color: var(--primary-color);
}

.product-features {
  list-style: none;
  margin: 2rem 0;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: #4b5563;
}

.product-features i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.product-visual {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

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

.product-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Support Portal Styles */
.support-hero {
  background: #111827;
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.support-search {
  max-width: 600px;
  margin: 2rem auto 0;
  position: relative;
}

.support-search input {
  width: 100%;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  border-radius: 3rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.support-search i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.2rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 0;
}

.support-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.support-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.support-card h3 {
  margin-bottom: 1rem;
}

.support-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

.faq-item {
  background: var(--white);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #4b5563;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 968px) {
  .product-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .product-features {
    display: inline-block;
    text-align: left;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
}


/* Secure-UX Studio Product Launch Section */
.product-launch {
  padding: 6rem 0;
  background-color: var(--white);
  overflow: hidden;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.product-content h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.product-content .accent {
  color: var(--primary-color);
}

.product-features {
  list-style: none;
  margin: 2rem 0;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-weight: 500;
  color: #4b5563;
}

.product-features i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

.product-visual {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}

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

.product-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* Support Portal Styles */
.support-hero {
  background: #111827;
  color: var(--white);
  padding: 4rem 0;
  text-align: center;
}

.support-search {
  max-width: 600px;
  margin: 2rem auto 0;
  position: relative;
}

.support-search input {
  width: 100%;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  border-radius: 3rem;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1.1rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.support-search i {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  font-size: 1.2rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 4rem 0;
}

.support-card {
  background: var(--white);
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.support-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.support-card i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.support-card h3 {
  margin-bottom: 1rem;
}

.support-card p {
  color: #6b7280;
  margin-bottom: 1.5rem;
}

/* Support Visuals Section */
.support-visuals {
  padding: 5rem 0;
  background: var(--white);
}

.visual-header {
  text-align: center;
  margin-bottom: 4rem;
}

.visual-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.visual-item h4 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #111827;
}

.visual-item p {
  color: #6b7280;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.visual-item img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
}

/* FAQ Section */
.faq-section {
  padding: 5rem 0;
  background: var(--light-bg);
}

.faq-item {
  background: var(--white);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.faq-question:hover {
  background: #f9fafb;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: #4b5563;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

@media (max-width: 968px) {
  .product-grid, .visual-row {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .product-features {
    display: inline-block;
    text-align: left;
  }
  
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* Studio Gallery & Technical Diagrams */
.capabilities-gallery {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  color: #374151;
  background: #f9fafb;
}

.architecture-section {
  padding: 5rem 0;
  background: white;
  border-bottom: 1px solid #eee;
}

.architecture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.architecture-visual img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.1), 0 20px 50px rgba(0,0,0,0.1);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, filter 0.6s ease;
  transform: perspective(1000px) rotateX(1deg) rotateY(-1deg);
  border: 1px solid rgba(0,0,0,0.05);
}

.architecture-visual img:hover,
.architecture-visual img:focus {
  transform: perspective(1000px) rotateX(2deg) rotateY(-3deg) scale(1.03);
  box-shadow: 0 0 40px rgba(96, 165, 250, 0.4), 0 40px 80px rgba(0,0,0,0.15);
  filter: brightness(1.05);
  outline: none;
}

.architecture-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.architecture-content p {
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .architecture-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .capabilities-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .capabilities-gallery {
    grid-template-columns: 1fr;
  }
}

/* Enterprise Studio Product Page Styles */
.studio-hero {
  padding: 2rem 0 2.5rem;
  background: radial-gradient(circle at 70% 30%, rgba(96, 165, 250, 0.08) 0%, transparent 50%), #0f172a;
  color: white;
  overflow: hidden;
}

.studio-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.studio-hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.studio-hero-content p {
  font-size: 1.25rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.product-mockup {
  position: relative;
  z-index: 2;
}

.product-mockup img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

/* Feature Grid & Cards */
.value-section {
  padding: 3rem 0;
  background: #f8fafc;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  background: white;
  padding: 2.5rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  transform: perspective(1000px) rotateX(1deg) rotateY(1deg);
  box-shadow: 0 0 15px rgba(96, 165, 250, 0.05), 0 10px 20px rgba(0,0,0,0.05);
}

.value-card:hover,
.value-card:focus-within {
  transform: perspective(1000px) translate3d(0, -10px, 30px) rotateX(0deg) rotateY(0deg);
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.2), 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #60a5fa;
}

.value-card h3 {
  color: #0f172a;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.value-card p {
  color: #475569;
  line-height: 1.6;
}

/* Module Deep Dive */
.module-section {
  padding: 3rem 0;
}

.module-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 10rem;
}

.module-item:last-child {
  margin-bottom: 0;
}

.module-item:nth-child(even) {
  direction: rtl;
}

.module-item:nth-child(even) .module-text {
  direction: ltr;
}

.module-text h3 {
  font-size: 2.25rem;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.module-text p {
  font-size: 1.1rem;
  color: #475569;
  line-height: 1.7;
}

.module-visual img {
  width: 100%;
  border-radius: 0.75rem;
  box-shadow: 0 0 25px rgba(96, 165, 250, 0.15), 0 30px 60px rgba(0,0,0,0.12);
  border: 1px solid #eee;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease, filter 0.6s ease;
  transform: perspective(1000px) rotateX(1deg) rotateY(-2deg);
}

.module-visual img:hover,
.module-visual img:focus {
  transform: perspective(1000px) rotateX(2deg) rotateY(-4deg) scale(1.04);
  box-shadow: 0 0 50px rgba(96, 165, 250, 0.5), 0 50px 100px rgba(0,0,0,0.2);
  filter: brightness(1.05);
  outline: none;
}

/* Capability Matrix */
.capability-section {
  padding: 3rem 0;
  background: #0f172a;
  color: white;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255,255,255,0.02);
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s ease;
}

.capability-item:hover {
  background: rgba(255,255,255,0.04);
}

.capability-item i {
  color: #60a5fa;
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.capability-item span {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Adaptive logic section specific */
.adaptive-section {
  padding: 3rem 0;
  background: #f1f5f9;
}

/* Closing CTA Banner */
.closing-cta {
  padding: 4rem 0;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  text-align: center;
}

.cta-box {
  max-width: 850px;
  margin: 0 auto;
}

.cta-box h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.cta-box p {
  font-size: 1.4rem;
  color: #94a3b8;
  margin-bottom: 4rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .studio-hero-grid, .value-grid, .module-item, .capability-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .module-item:nth-child(even) {
    direction: ltr;
  }

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

  .cta-box h2 {
    font-size: 2.5rem;
  }
}

/* ============================
   Card Library Showcase Section
   ============================ */
.card-library-showcase {
  background: linear-gradient(160deg, #0d1526 0%, #0f172a 40%, #111c35 100%);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.card-library-showcase::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.card-library-inner {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.card-library-header {
  text-align: center;
  margin-bottom: 4rem;
}

.card-library-header h2 {
  color: #fff;
  font-size: 2.75rem;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  background: linear-gradient(to right, #fff 60%, #94a3b8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card-library-header p {
  color: #94a3b8;
  font-size: 1.15rem;
  line-height: 1.75;
  max-width: 780px;
  margin: 0 auto;
}

.card-library-image-wrap {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.15),
    0 0 60px rgba(96, 165, 250, 0.12),
    0 40px 80px rgba(0, 0, 0, 0.5);
  margin-bottom: 3rem;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.6s ease;
}

.card-library-image-wrap:hover {
  transform: translateY(-6px) scale(1.005);
  box-shadow:
    0 0 0 1px rgba(96, 165, 250, 0.3),
    0 0 80px rgba(96, 165, 250, 0.2),
    0 50px 100px rgba(0, 0, 0, 0.55);
}

.card-library-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.card-library-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 16, 35, 0.95) 0%, transparent 100%);
  color: #94a3b8;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  padding: 2.5rem 1.75rem 1.25rem;
  text-align: center;
}

.card-library-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.cl-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.cl-feature:hover {
  background: rgba(96, 165, 250, 0.08);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-3px);
}

.cl-feature i {
  color: #60a5fa;
  font-size: 1.4rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.cl-feature div {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cl-feature strong {
  color: #e2e8f0;
  font-size: 1rem;
  font-weight: 600;
}

.cl-feature span {
  color: #64748b;
  font-size: 0.85rem;
  line-height: 1.5;
}

@media (max-width: 992px) {
  .card-library-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-library-header h2 {
    font-size: 2.1rem;
  }
}

@media (max-width: 600px) {
  .card-library-features {
    grid-template-columns: 1fr;
  }

  .card-library-showcase {
    padding: 5rem 0;
  }
}