/* Sadnacaya Website - Clean CSS */

/* ===== FONTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@400;500;600;700&display=swap');

@font-face {
  font-family: 'Geo';
  src: url('/assets/Geo-Regular.ttf') format('truetype');
  font-weight: normal;
}

@font-face {
  font-family: 'Pacifica';
  src: url('/assets/Pacifica-Condensed-Regular_ZOHPabrZHv-WCqrTayn5k.otf') format('opentype');
  font-weight: normal;
}

/* ===== DESIGN VARIABLES ===== */
:root {
  --color-bg: #0a0a0a;
  --color-bg-light: #1a1a1a;
  --color-gold: #FFEB00;
  --color-gold-light: #e6c84a;
  --color-gold-glow: rgba(201, 162, 39, 0.4);
  --color-text: #ffffff;
  --color-text-muted: #999999;
  --color-accent: #007bff;
  
  --font-heading: 'Tektur', 'Georgia', sans-serif;
  --font-body: 'Segoe UI', 'Roboto', Arial, sans-serif;
  
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --max-width: 1200px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  font-size: 16px;
}

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

a:hover {
  color: var(--color-gold-light);
}

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

/* ===== LAYOUT ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

.section--dark {
  background-color: var(--color-bg);
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--warm {
  background: linear-gradient(180deg, var(--color-bg) 0%, #0d1f1c 15%, #122a26 50%, #0d1f1c 85%, var(--color-bg) 100%);
  position: relative;
}

.section__title--dark {
  color: #ffffff;
}

.section__subtitle--dark {
  color: rgba(255, 255, 255, 0.7);
}

/* Feature Tabs */
.feature-tabs {
  max-width: 700px;
  margin: var(--spacing-xl) auto 0;
}

.feature-tabs__nav {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  margin-bottom: var(--spacing-md);
}

.feature-tab {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.feature-tab::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: background 0.3s ease;
}

.feature-tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.feature-tab.active {
  color: #ffffff;
  font-weight: 600;
}

.feature-tab.active::after {
  background: var(--color-gold);
}

.feature-tab svg {
  opacity: 0.7;
}

.feature-tab.active svg {
  opacity: 1;
}

.feature-tabs__content {
  background: #ffffff;
  border-radius: 16px;
  padding: var(--spacing-lg);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.feature-panel {
  display: none;
}

.feature-panel.active {
  display: block;
}

.feature-panel p {
  color: #4a4a4a;
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  padding: var(--spacing-sm) 0;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.header--scrolled {
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.1rem 0;
}

.header--scrolled .header__logo-img {
  height: 110px;
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.header__logo-img {
  height: 240px;
  width: auto;
  transition: height 0.3s ease;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  letter-spacing: 2px;
}

.nav {
  display: flex;
  gap: 0.5rem;
  background: transparent;
  padding: 0;
  border: none;
}

.nav__link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  position: relative;
  transition: color 0.3s ease;
  background: transparent;
  border-radius: 6px;
  z-index: 1;
}

.nav__link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -1;
}

.nav__link:hover {
  color: #fff;
}

.nav__link:hover::before {
  opacity: 1;
  transform: scale(1);
}

.nav__link--active {
  color: var(--color-gold);
}

.nav__link--active::before {
  opacity: 1;
  transform: scale(1);
  background: transparent;
  border: 1px solid var(--color-gold);
  box-shadow: none;
}

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-gold);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    border-radius: 0 0 20px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none;
  }
  
  .nav--open {
    display: flex;
  }
  
  .nav__link {
    border-radius: 12px;
  }
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: #0a0a0a;
  position: relative;
  overflow: hidden;
}

.hero__dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__glow {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 120%;
  height: 90%;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 35%, transparent 65%);
  pointer-events: none;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 70%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 100%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 650px;
}

.hero__content--left {
  text-align: left;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
  letter-spacing: 3px;
  line-height: 1.1;
  display: flex;
  align-items: center;
}

.typewriter {
  display: inline-block;
}

.typewriter__cursor {
  display: inline-block;
  color: var(--color-gold);
  animation: blink 1s infinite;
  font-weight: 100;
  margin-left: 2px;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: var(--spacing-lg);
  line-height: 1.8;
  max-width: 700px;
}

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

.hero__cta {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  padding: 0.85rem 1.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0;
  border-radius: 8px;
  transition: none;
  position: relative;
  overflow: hidden;
}

.hero__link {
  color: #888;
  font-size: 0.95rem;
  transition: color var(--transition-normal);
}

.hero__link:hover {
  color: #ffffff;
}

.hero__cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.hero__cta:hover {
  background: #2a2a2a;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero__cta:hover::before {
  width: 300px;
  height: 300px;
}

.hero__cta:active {
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .hero__title {
    font-size: 2.5rem;
  }
  
  .hero__buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

/* ===== SECTION HEADINGS ===== */
.section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: normal;
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
  text-align: center;
  letter-spacing: 2px;
}

.section__subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto var(--spacing-lg);
}

/* ===== CARDS ===== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.cards--2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 600px) {
  .cards--2col {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--color-bg-light);
  border-radius: 12px;
  padding: var(--spacing-md);
  transition: all var(--transition-normal);
  border: 1px solid rgba(201, 162, 39, 0.1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* Scroll animation for cards */
.card.scroll-animate {
  opacity: 0;
  transform: translateX(-50px) rotate(-3deg);
  transition: opacity 1s ease, transform 1s ease;
}

.card.scroll-animate.animate-in {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.card.scroll-animate:nth-child(2) { transition-delay: 0.15s; }
.card.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.card.scroll-animate:nth-child(4) { transition-delay: 0.45s; }

/* Scroll animation for skill boxes */
.skill-box.scroll-animate {
  opacity: 0;
  transform: translateX(-50px) rotate(-3deg);
  transition: opacity 1s ease, transform 1s ease, border-color 0.3s ease, background 0.3s ease;
}

.skill-box.scroll-animate.animate-in {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.skill-box.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.skill-box.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.skill-box.scroll-animate:nth-child(4) { transition-delay: 0.3s; }
.skill-box.scroll-animate:nth-child(5) { transition-delay: 0.4s; }
.skill-box.scroll-animate:nth-child(6) { transition-delay: 0.5s; }

/* Scroll animation for product features */
.product-feature.scroll-animate {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s ease, transform 1s ease;
}

.product-feature.scroll-animate.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.product-feature.scroll-animate:nth-child(2) { transition-delay: 0.15s; }
.product-feature.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.product-feature.scroll-animate:nth-child(4) { transition-delay: 0.45s; }

/* Scroll animation for form groups */
.form-group.scroll-animate {
  opacity: 0;
  transform: translateX(-80px);
  transition: opacity 1s ease, transform 1s ease;
}

.form-group.scroll-animate.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.form-group.scroll-animate:nth-child(2) { transition-delay: 0.1s; }
.form-group.scroll-animate:nth-child(3) { transition-delay: 0.2s; }
.form-group.scroll-animate:nth-child(4) { transition-delay: 0.3s; }

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 0%, var(--color-gold-glow), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border-color: var(--color-gold);
}

.card:hover::before {
  opacity: 0;
}

.card__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--spacing-sm);
  transition: transform var(--transition-normal);
  border-radius: 8px;
}

.card:hover .card__icon {
  transform: scale(1.1);
}

.card__title {
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
  position: relative;
  z-index: 1;
}

.card:hover .card__title {
  color: var(--color-gold-light);
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  position: relative;
  z-index: 1;
  transition: color var(--transition-normal);
}

.card:hover .card__text {
  color: var(--color-text);
}

/* ===== ABOUT / PHILOSOPHY ===== */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about__image {
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about__content h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 400;
  font-style: normal;
  color: var(--color-gold);
  margin-bottom: var(--spacing-md);
}

.about__content p {
  color: var(--color-text);
  margin-bottom: var(--spacing-sm);
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about {
    grid-template-columns: 1fr !important;
  }
  
  .ceo-profile {
    margin-bottom: 2rem;
  }
  
  .ceo-profile .team-member__image {
    width: 140px !important;
    height: 140px !important;
  }
  
  .ceo-profile h3 {
    font-size: 1.2rem !important;
  }
  
  .about__content h2 {
    font-size: 1.5rem;
  }
  
  .about__content ul {
    padding-left: 1rem !important;
  }
  
  .about__content li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .ceo-profile .team-member__image {
    width: 120px !important;
    height: 120px !important;
  }
  
  .ceo-profile h3 {
    font-size: 1.1rem !important;
  }
  
  .about__content h2 {
    font-size: 1.3rem;
  }
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  gap: var(--spacing-md);
}

.team-grid--row1 {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: var(--spacing-md);
}

.team-grid--row2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 66.66%;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .team-grid--row1 {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid--row2 {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .team-grid--row1,
  .team-grid--row2 {
    grid-template-columns: 1fr;
  }
}

/* Team header image section */
.team-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 3rem;
}

.team-header__image {
  max-width: 35%;
  height: auto;
}

.team-header__divider-left,
.team-header__divider-right {
  position: absolute;
  top: 35%;
  width: calc(32.5% - 10px);
  height: 30px;
}

.team-header__divider-left {
  left: 0;
}

.team-header__divider-right {
  right: 0;
}

@media (max-width: 768px) {
  .team-header__image {
    max-width: 50%;
  }
  
  .team-header__divider-left,
  .team-header__divider-right {
    display: none;
  }
  
  .team-card__name {
    font-size: 1.1rem;
  }
  
  .team-card__bio {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .team-header__image {
    max-width: 60%;
  }
  
  .team-card__name {
    font-size: 1rem;
  }
}

.team-card {
  text-align: left;
}

.team-card__image-wrapper {
  width: 120px;
  height: 120px;
  margin-bottom: 1rem;
}

.team-card__image {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.team-card__name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ffffff;
  margin-bottom: 0.25rem;
  font-weight: 500;
}

.team-card__role {
  color: var(--color-gold);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.team-card__bio {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.6;
}

.team-member {
  text-align: center;
  padding: var(--spacing-md);
}

.team-member__image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--spacing-sm);
  border: 3px solid var(--color-gold);
}

.team-member__name {
  font-size: 1.25rem;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.team-member__role {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===== DOT DIVIDER ===== */
.dot-divider {
  position: relative;
  width: 100%;
  height: 30px;
  overflow: hidden;
  background: transparent;
}

.dot-divider__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-bg);
  padding: var(--spacing-lg) 0 var(--spacing-md);
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.footer__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer__column h4 {
  font-family: var(--font-heading);
  color: var(--color-gold);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 1px;
}

.footer__column p,
.footer__column a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer__social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-bg-light);
  border-radius: 50%;
  transition: background 0.3s ease;
}

.footer__social a:hover {
  background: var(--color-gold);
}

.footer__social img {
  width: 20px;
  height: 20px;
}

.footer__bottom {
  text-align: center;
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ===== CONTACT FORM ===== */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  color: var(--color-gold);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--color-bg-light);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 4px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-gold);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.btn {
  display: inline-block;
  background: var(--color-gold);
  color: var(--color-bg);
  padding: 1rem 2rem;
  font-weight: 600;
  letter-spacing: 1px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--color-gold-light);
}

/* ===== INTERACTIVE TIMELINE ===== */
.timeline {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.timeline__item {
  padding: 1rem 1.5rem;
  margin-bottom: 0.75rem;
  border-left: 3px solid rgba(201, 162, 39, 0.3);
  background: rgba(26, 26, 26, 0.5);
  border-radius: 0 8px 8px 0;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
}

.timeline__item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--color-bg);
  border: 3px solid var(--color-gold);
  border-radius: 50%;
  transition: all var(--transition-normal);
}

.timeline__item:hover {
  border-left-color: var(--color-gold);
  background: rgba(201, 162, 39, 0.1);
  transform: translateX(10px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.timeline__item:hover::before {
  background: var(--color-gold);
  box-shadow: 0 0 15px var(--color-gold-glow);
}

.timeline__year {
  color: var(--color-gold);
  font-weight: 700;
  display: inline-block;
  min-width: 100px;
}

.timeline__text {
  color: var(--color-text);
}

/* ===== CEO GRID & SKILL BOXES ===== */
.ceo-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.skill-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 1rem;
}

.skill-box {
  position: relative;
  background: #1a1a1a;
  border: 1px solid rgba(255, 235, 0, 0.15);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.skill-box:hover {
  border-color: var(--color-gold);
  transform: scale(1.03);
  background: #1a1a1a;
}

.skill-box__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-gold);
  transition: opacity var(--transition-fast);
}

.skill-box__hover {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 0.85rem;
  color: var(--color-text);
  background: #1a1a1a;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.skill-box:hover .skill-box__title {
  opacity: 0;
}

.skill-box:hover .skill-box__hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .skill-boxes {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== FEATURE LIST ===== */
.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.feature-list__item:hover {
  background: rgba(201, 162, 39, 0.1);
  transform: translateX(10px);
}

.feature-list__icon {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
  flex-shrink: 0;
  transition: transform var(--transition-normal);
}

.feature-list__item:hover .feature-list__icon {
  transform: scale(1.2);
}

.feature-list__content h4 {
  color: var(--color-gold);
  margin-bottom: 0.25rem;
  transition: color var(--transition-fast);
}

.feature-list__item:hover .feature-list__content h4 {
  color: var(--color-gold-light);
}

/* ===== GLOW EFFECTS ===== */
.glow-text {
  text-shadow: 0 0 20px var(--color-gold-glow);
}

.glow-box {
  box-shadow: 0 0 30px rgba(201, 162, 39, 0.2);
}

/* ===== SPLIT SECTIONS (like warp.dev) ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  overflow: hidden;
}

.split-section--reverse {
  direction: rtl;
}

.split-section--reverse > * {
  direction: ltr;
}

.split-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--spacing-xl);
  background: linear-gradient(135deg, #0a0a0a 0%, #111111 50%, #0d0d0d 100%);
  border-left: 3px solid rgba(201, 162, 39, 0.3);
}

.split-section--reverse .split-section__content {
  border-left: none;
  border-right: 3px solid rgba(201, 162, 39, 0.3);
}

.split-section__image {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-light);
}

.split-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-section:hover .split-section__image img {
  transform: scale(1.05);
}

.split-section__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.split-section:hover .split-section__image::after {
  opacity: 1;
}

.split-section__video {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f1a24 0%, #162230 50%, #0d151d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-section__video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-video__placeholder {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 2rem;
}

.split-video__placeholder span {
  font-size: 1.2rem;
  color: var(--color-gold);
}

.split-video__placeholder small {
  font-size: 0.8rem;
  opacity: 0.6;
}

.split-section__video video:not([src=""]) + .split-video__placeholder {
  display: none;
}

.split-section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.split-section__title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 400;
  font-style: normal;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.split-section__text {
  color: var(--color-text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .split-section {
    grid-template-columns: 1fr;
  }
  
  .split-section--reverse {
    direction: ltr;
  }
  
  .split-section__image {
    min-height: 300px;
  }
  
  .split-section__video {
    min-height: 300px;
  }
  
  .split-section__content {
    border-left: none;
    border-right: none;
    border-top: 3px solid rgba(201, 162, 39, 0.3);
  }
  
  .split-section--reverse .split-section__content {
    border-right: none;
  }
}

/* ===== PRODUCT SHOWCASE (Tabbed Video Section) ===== */
.product-showcase {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
  min-height: 600px;
  background: linear-gradient(135deg, #0a0a0a 0%, #0d0d0d 100%);
}

.product-showcase__sidebar {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(201, 162, 39, 0.1);
}

.product-showcase__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.product-showcase__icon {
  color: var(--color-gold);
  font-size: 1.2rem;
}

.product-showcase__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  letter-spacing: 1px;
}

.product-showcase__subtitle {
  color: var(--color-text-muted);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.product-showcase__cta {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: fit-content;
  margin-bottom: 2.5rem;
}

.product-showcase__cta:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.05);
}

.product-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 1rem;
}

.product-tab {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.product-tab__number {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 500;
  min-width: 1.5rem;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.product-tab--active .product-tab__number {
  color: rgba(255, 255, 255, 0.6);
}

.product-tab__content {
  flex: 1;
}

.product-tab__title {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin-bottom: 0.25rem;
  transition: color 0.3s ease;
}

.product-tab--active .product-tab__title,
.product-tab:hover .product-tab__title {
  color: #fff;
}

.product-tab__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
  line-height: 1.5;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-tab--active .product-tab__desc {
  max-height: 120px;
  color: rgba(255, 255, 255, 0.5);
}

.product-tab__progress {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(255, 255, 255, 0.1);
}

.product-tab__progress-fill {
  width: 100%;
  height: 100%;
  background: var(--color-gold);
  transform-origin: top;
  transform: scaleY(0);
}

.product-showcase__video {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding: 2rem;
  border-radius: 16px;
}

.product-showcase__video::before {
  display: none;
}

.product-video {
  position: absolute;
  inset: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.product-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.product-video {
  border-radius: 20px;
  overflow: hidden;
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

@media (max-width: 900px) {
  .product-showcase {
    grid-template-columns: 1fr;
  }
  
  .product-showcase__sidebar {
    padding: 2rem 1.5rem;
  }
  
  .product-showcase__video {
    min-height: 350px;
  }
  
  .product-tab::before {
    left: -1.5rem;
  }
}

/* ===== PHILOSOPHY CAROUSEL ===== */
.philosophy-carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.philosophy-cards {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.philosophy-card {
  position: absolute;
  width: 360px;
  padding: 2.5rem;
  background: linear-gradient(145deg, #0a0f1a 0%, #141e33 50%, #1e2d4a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
}

.philosophy-card[data-position="center"] {
  z-index: 3;
  transform: translateX(0) scale(1);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}

.philosophy-card[data-position="left"] {
  z-index: 2;
  transform: translateX(-200px) scale(0.88) rotateY(12deg);
  opacity: 0.4;
}

.philosophy-card[data-position="right"] {
  z-index: 2;
  transform: translateX(200px) scale(0.88) rotateY(-12deg);
  opacity: 0.4;
}

.philosophy-card[data-position="hidden"] {
  z-index: 1;
  transform: translateX(0) scale(0.7);
  opacity: 0;
  pointer-events: none;
}

.philosophy-card:hover:not([data-position="center"]) {
  opacity: 0.6;
}

.philosophy-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.philosophy-card__text {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.95rem;
  line-height: 1.6;
}

.philosophy-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
}

.philosophy-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.philosophy-dot--active {
  background: #ffffff;
  transform: scale(1.2);
}

.philosophy-dot:hover:not(.philosophy-dot--active) {
  background: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .philosophy-card {
    width: 280px;
    padding: 1.5rem;
  }
  
  .philosophy-card[data-position="left"] {
    transform: translateX(-100px) scale(0.85);
  }
  
  .philosophy-card[data-position="right"] {
    transform: translateX(100px) scale(0.85);
  }
}

/* ===== PRODUCTS PAGE SHOWCASE ===== */
.products-showcase {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(145deg, #0d1f1c 0%, #122a26 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.5s ease-in-out, border-color 0.5s ease-in-out, transform 0.4s ease-in-out;
}

.product-feature:hover {
  background: linear-gradient(145deg, #1f4a3d 0%, #2a5f50 100%);
  border-color: rgba(201, 162, 39, 0.35);
  transform: scale(1.02);
}

.product-feature--large {
  padding: 3rem;
}

.product-feature--reverse {
  direction: rtl;
}

.product-feature--reverse > * {
  direction: ltr;
}

.product-feature__content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.product-feature__badge {
  display: inline-block;
  width: fit-content;
  padding: 0.4rem 1rem;
  background: rgba(201, 162, 39, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 20px;
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-feature__title {
  font-size: 1.75rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.product-feature__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  line-height: 1.7;
}

.product-feature__stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.product-feature__stat {
  display: flex;
  flex-direction: column;
}

.product-feature__stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-gold);
}

.product-feature__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.product-feature__media {
  aspect-ratio: 16/10;
  background: var(--color-bg);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== PRODUCT CAROUSEL ===== */
.product-carousel {
  position: relative;
}

.carousel__slides {
  position: relative;
  width: 100%;
}

.carousel__slide {
  transition: opacity 0.4s ease;
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
}

.carousel__arrow:hover {
  background: rgba(0, 0, 0, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.carousel__arrow--next {
  right: 0.75rem;
}

.carousel__dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.carousel__dot--active {
  background: var(--color-gold);
}

.product-feature__video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.3);
}

.product-feature__video-placeholder span {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.5);
}

.product-feature__video-placeholder small {
  font-size: 0.75rem;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .product-feature {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .product-feature--reverse {
    direction: ltr;
  }
  
  .product-feature__media {
    order: -1;
  }
}

/* ===== PRODUKTE INTRO ===== */
.produkte-intro {
  display: flex;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 4rem;
}

.produkte-intro--reverse {
  flex-direction: row-reverse;
  align-items: flex-start;
}

.produkte-intro__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.produkte-intro--reverse .produkte-intro__text {
  margin-top: 3rem;
}

.produkte-intro__headline {
  font-family: 'Tektur', sans-serif;
  font-size: 1.8rem;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 1.5rem 0;
}

.produkte-intro__image {
  flex: 0.8;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.produkte-intro__image img {
  max-width: 100%;
  max-height: 350px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .produkte-intro {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .produkte-intro--reverse {
    flex-direction: column;
  }
  
  .produkte-intro--reverse .produkte-intro__text {
    margin-top: 0;
  }
  
  .produkte-intro__headline {
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }
  
  .produkte-intro__image {
    order: -1;
  }
  
  .produkte-intro__image img {
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .produkte-intro__headline {
    font-size: 1rem;
  }
  
  .produkte-intro__image img {
    max-height: 120px;
  }
}

/* ===== WHY AI GRID ===== */
.why-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.why-ai-card {
  padding: 2rem;
  background: linear-gradient(145deg, #0d1f1c 0%, #122a26 50%, #0f2420 100%);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.why-ai-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 162, 39, 0.3);
}

.why-ai-card__icon {
  font-size: 1.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.why-ai-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.why-ai-card__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

/* Products Hero Moving Background */
.products-hero {
  position: relative;
  overflow: hidden;
}

.products-hero__gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% 80%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(18, 42, 38, 0.3) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0d1a18 50%, #0a0a0a 100%);
  pointer-events: none;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.products-hero__glimmer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.products-hero__glimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 162, 39, 0.03),
    rgba(255, 255, 255, 0.05),
    rgba(201, 162, 39, 0.03),
    transparent
  );
  transform: skewX(-20deg);
  animation: glimmer-sweep 10s ease-in-out infinite;
}

@keyframes glimmer-sweep {
  0% {
    left: -100%;
  }
  100% {
    left: 150%;
  }
}

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

/* ===== GRADIENT DIVIDERS ===== */
.gradient-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0;
  border: none;
}

/* ===== FLOATING BADGES ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-gold);
  background: rgba(201, 162, 39, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.2);
  transition: all var(--transition-normal);
}

.badge:hover {
  background: rgba(201, 162, 39, 0.2);
  transform: translateY(-2px);
}

/* ===== ANIMATED GRADIENT BACKGROUND ===== */
.gradient-bg {
  background: linear-gradient(-45deg, #0a0a0a, #1a1a1a, #0f0f0f, #151515);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ===== STAT COUNTERS ===== */
.stats {
  display: flex;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  margin: var(--spacing-md) 0;
}

.stat {
  text-align: center;
  padding: 1rem;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== FLOATING ELEMENTS ===== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* ===== REVEAL ON SCROLL (CSS only) ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== IMAGE GRID ===== */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.image-grid__item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
}

.image-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-grid__item:hover img {
  transform: scale(1.1);
}

.image-grid__item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.image-grid__item:hover::before {
  opacity: 1;
}

/* ===== GLASS MORPHISM ===== */
.glass {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PULSE ANIMATION ===== */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.pulse {
  animation: pulse 2s ease-in-out infinite;
}

/* ===== SHIMMER EFFECT ===== */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  100% { left: 100%; }
}

/* ===== VIDEO PANEL ===== */
.video-panel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 2rem auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(201, 162, 39, 0.1);
  aspect-ratio: 16/9;
}

.video-panel video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-panel video:not([src=""]) + .video-panel__placeholder {
  display: none;
}

.video-panel__placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  color: #666;
}

.video-panel__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.2);
  border: 2px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.video-panel__placeholder p {
  color: #888;
  margin: 0.5rem 0;
}

.video-panel__placeholder small {
  color: #555;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .video-panel {
    border-radius: 12px;
  }
}

/* ===== IMAGE COMPARISON SLIDER ===== */
.comparison {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  cursor: ew-resize;
  aspect-ratio: 16/9;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.comparison__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  border-radius: 16px;
}

.comparison__image--after {
  clip-path: inset(0 50% 0 0);
  object-fit: contain;
  object-position: left;
  background: #ffffff;
}

.comparison__layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #ffffff;
  border-radius: 16px;
}

.comparison__layer--after {
  clip-path: inset(0 50% 0 0);
}

.comparison__slider {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 28px;
  height: 28px;
  background: #ffffff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: ew-resize;
}

.comparison__slider::after {
  content: '↔';
  color: #333;
  font-size: 0.75rem;
  font-weight: normal;
}

.comparison:hover .comparison__slider {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.comparison__label {
  position: absolute;
  bottom: 16px;
  padding: 0.3rem 0.6rem;
  background: rgba(0, 0, 0, 0.7);
  color: var(--color-gold);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  z-index: 5;
}

.comparison__label--before {
  left: 20px;
}

.comparison__label--after {
  right: 20px;
}

@media (max-width: 768px) {
  .comparison {
    border-radius: 12px;
  }
  
  .comparison__slider::before {
    width: 40px;
    height: 40px;
  }
  
  .comparison__label {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-gold { color: var(--color-gold); }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }

/* ===== ACCESSIBILITY WIDGET ===== */
.a11y-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.a11y-toggle {
  background: var(--color-bg-light);
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  padding: 0.75rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.a11y-panel {
  display: none;
  position: absolute;
  bottom: 50px;
  right: 0;
  background: var(--color-bg-light);
  border: 1px solid var(--color-gold);
  border-radius: 8px;
  padding: var(--spacing-md);
  min-width: 200px;
}

.a11y-panel.open {
  display: block;
}

.a11y-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.a11y-option:last-child {
  border-bottom: none;
}

.a11y-option label {
  color: var(--color-text);
  font-size: 0.9rem;
}

.a11y-option button {
  background: var(--color-gold);
  color: var(--color-bg);
  border: none;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.8rem;
}

/* High Contrast Mode */
body.high-contrast {
  --color-bg: #000000;
  --color-bg-light: #111111;
  --color-text: #ffffff;
  --color-gold: #ffff00;
}

/* Larger Font Mode */
body.large-font {
  font-size: 20px;
}

/* Dyslexia-friendly font */
body.dyslexia-font {
  font-family: 'OpenDyslexic', 'Comic Sans MS', sans-serif;
}

/* ===== COMPREHENSIVE MOBILE IMPROVEMENTS ===== */
@media (max-width: 768px) {
  /* Container padding */
  .container {
    padding: 0 1rem;
  }
  
  /* Header and logo */
  .header__logo-img {
    max-width: 140px;
    height: auto;
  }
  
  .header--scrolled .header__logo-img {
    max-width: 100px;
  }
  
  /* Hero section */
  .hero {
    min-height: 80vh;
    padding-top: 60px;
  }
  
  .hero__title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero__subtitle {
    font-size: 0.95rem;
    line-height: 1.6;
  }
  
  .hero__content {
    padding: 1.5rem 0;
  }
  
  /* Section titles */
  .section__title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  /* Product cards */
  .product-feature {
    padding: 1.25rem;
    gap: 1.25rem;
  }
  
  .product-feature:hover {
    transform: none;
  }
  
  .product-feature__title {
    font-size: 1.35rem;
  }
  
  .product-feature__text {
    font-size: 0.9rem;
  }
  
  .product-feature__badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.75rem;
  }
  
  /* Cards */
  .card {
    padding: 1.25rem;
  }
  
  .card__title {
    font-size: 1.1rem;
  }
  
  /* Footer */
  .footer__grid,
  .footer__column {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer__grid {
    gap: 2rem;
  }
  
  .footer__logo {
    margin: 0 auto;
  }
  
  .footer__title {
    margin-top: 1rem;
  }
  
  .footer__link {
    display: block;
    padding: 0.25rem 0;
  }
  
  /* Why AI cards */
  .why-ai-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .why-ai-card {
    padding: 1.25rem;
  }
  
  /* Timeline */
  .timeline__year {
    font-size: 0.85rem;
    min-width: 70px;
  }
  
  .timeline__text {
    font-size: 0.9rem;
  }
  
  /* Skill boxes */
  .skill-boxes {
    grid-template-columns: 1fr !important;
  }
  
  /* CEO grid */
  .ceo-grid {
    text-align: center;
  }
  
  .about__image {
    max-width: 200px;
    margin: 0 auto;
  }
  
  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Accessibility widget */
  .a11y-widget {
    bottom: 10px;
    right: 10px;
  }
  
  .a11y-toggle {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
  
  /* Carousel arrows */
  .carousel__arrow {
    width: 32px;
    height: 32px;
  }
  
  /* Tab buttons */
  .tab-button {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
  
  /* Feature tabs - priority section */
  .feature-tabs__nav {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }
  
  .feature-tab {
    justify-content: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
  }
  
  .feature-tab.active {
    border-color: var(--color-gold);
    background: rgba(201, 162, 39, 0.1);
  }
  
  .feature-tabs__content {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .hero__title {
    font-size: 1.65rem;
  }
  
  .section__title {
    font-size: 1.5rem;
  }
  
  .header__logo-img {
    max-width: 120px;
  }
  
  .product-feature__title {
    font-size: 1.2rem;
  }
  
  .container {
    padding: 0 0.75rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .footer {
    padding: 2rem 0;
  }
}
