@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
  --bg-primary: #08080a;
  --bg-secondary: #121216;
  --bg-accent: rgba(255, 255, 255, 0.03);
  --text-primary: #ffffff;
  --text-secondary: #a0a0ab;
  --color-gold: #e5c158;
  --color-cyan: #00f2fe;
  --color-cyan-glow: rgba(0, 242, 254, 0.3);
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(18, 18, 22, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Styles */
body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
  letter-spacing: -0.01em;
}

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-cyan);
}

/* Typography */
h1,
h2,
h3,
h4,
.serif-text {
  font-family: var(--font-serif);
}

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

.text-cyan {
  color: var(--color-cyan);
  text-shadow: 0 0 15px var(--color-cyan-glow);
}

.lead-custom {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
}

/* Glassmorphism Classes */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 242, 254, 0.25);
  box-shadow: 0 15px 35px rgba(0, 242, 254, 0.05);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.8rem 0;
}

.nav-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-badge {
  font-size: 0.75rem;
  background: linear-gradient(135deg, var(--color-cyan), #0072ff);
  padding: 0.25rem 0.6rem;
  border-radius: 30px;
  font-weight: 500;
  margin-left: 0.5rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 20%;
  filter: brightness(0.65) contrast(1.05);
  transform: scale(1.05);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, var(--bg-primary) 0%, rgba(8, 8, 10, 0.4) 40%, rgba(8, 8, 10, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(40px);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
}

.hero-intro {
  opacity: 0;
  transform: translateY(20px);
}

.brand-presenter {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

/* Sections General */
.section-padding {
  padding: 8rem 0;
  position: relative;
}

.section-title-wrap {
  margin-bottom: 4.5rem;
}

.section-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-cyan);
  display: block;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
}

/* Asymmetric Editorial Images */
.editorial-img-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-secondary);
}

.editorial-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-img-container:hover .editorial-img {
  transform: scale(1.06);
}

.parallax-img {
  position: absolute;
  top: -15%;
  left: 0;
  width: 100%;
  height: 130% !important;
  object-fit: cover;
  transition: none !important;
}

.editorial-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
  font-size: 0.9rem;
}

/* Zoom interactive slider section */
.zoom-slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.zoom-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.zoom-image.normal-view {
  background-image: url('../img/02.jpg');
}

.zoom-image.macro-view {
  -webkit-clip-path: circle(100px at 50% 50%);
  clip-path: circle(100px at 50% 50%);
  pointer-events: none;
}

.zoom-macro-img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0%;
  top: 0%;
  object-fit: cover;
  pointer-events: none;
  scale: 1.5;
}

.zoom-lens-indicator {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid var(--color-cyan);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.4), inset 0 0 15px rgba(0, 242, 254, 0.2);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.zoom-lens-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-cyan);
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

.zoom-instructions {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-size: 0.9rem;
  z-index: 20;
  pointer-events: none;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Feature grid and cards */
.feature-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.15);
  margin-bottom: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.feature-card:hover .feature-number {
  color: var(--color-cyan);
  -webkit-text-stroke: 1px var(--color-cyan);
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
  transition: var(--transition-smooth);
}

/* Kunlun Glass Section with interactive reflection slider or static mock */
.reflection-mockup {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  height: 480px;
}

.mockup-half {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-half.left-side {
  left: 0;
  background: url('../img/IMG_20260721_170348.jpg') no-repeat center;
  background-size: cover;
  filter: brightness(0.5) contrast(0.85);
}

.mockup-half.right-side {
  right: 0;
  background: url('../img/IMG_20260721_170348.jpg') no-repeat center;
  background-size: cover;
  border-left: 2px solid var(--color-cyan);
}

.mockup-overlay-text {
  position: absolute;
  top: 2rem;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.mockup-overlay-text.left-label {
  left: 2rem;
  background: rgba(220, 53, 69, 0.85);
}

.mockup-overlay-text.right-label {
  right: 2rem;
  background: rgba(25, 135, 84, 0.85);
}

.mockup-divider-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--bg-primary);
  border: 1px solid var(--color-cyan);
  padding: 0.5rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  font-weight: 500;
  z-index: 10;
}

/* Callout Recuadro Section */
.recuadro-callout {
  background: linear-gradient(135deg, rgba(18, 18, 22, 0.9) 0%, rgba(8, 8, 10, 0.95) 100%);
  border: 1px solid var(--color-gold);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(229, 193, 88, 0.06);
}

.recuadro-callout::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(229, 193, 88, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.recuadro-badge {
  font-size: 0.8rem;
  background: var(--color-gold);
  color: #000;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  letter-spacing: 0.08em;
  display: inline-block;
  margin-bottom: 1.5rem;
}

/* AppGallery Section styles */
.app-gallery-badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.app-gallery-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.app-gallery-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.app-gallery-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--color-cyan), var(--color-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer styling */
footer {
  background: #040405;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
  color: var(--text-secondary);
}

footer .logo-footer {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.8rem;
  color: #fff;
  letter-spacing: 0.08em;
}

/* GSAP Scroll Reveal initial states */
.reveal-text {
  opacity: 0;
}

.reveal-img {
  opacity: 0;
  transform: scale(0.95);
}

.reveal-card {
  opacity: 0;
  transform: translateY(30px);
}

/* Buttons */
.btn-cta {
  background: linear-gradient(135deg, var(--color-cyan), #0072ff);
  color: #fff;
  font-weight: 500;
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 15px rgba(0, 242, 254, 0.2);
  text-decoration: none;
  display: inline-block;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 242, 254, 0.35);
  color: #fff;
}

.btn-outline-gold {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
  font-weight: 500;
  padding: 0.8rem 2.2rem;
  border-radius: 30px;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.btn-outline-gold:hover {
  background: var(--color-gold);
  color: #000;
  transform: translateY(-2px);
}

/* Custom boton style */
.boton {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid var(--color-gold);
  color: #fff !important;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 2.2rem;
  border-radius: 30px;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.boton:hover {
  background: rgba(229, 193, 88, 0.08);
  border-color: var(--color-gold);
  box-shadow: 0 0 20px rgba(229, 193, 88, 0.25);
  color: #000 !important;
  transform: translateY(-3px);
}

.boton span {
  color: inherit !important;
  font-size: inherit !important;
  letter-spacing: inherit !important;
  font-weight: inherit !important;
}

/* Light Section styling */
.bg-light-section {
  background-color: #ffffff !important;
  color: #1a1a20 !important;
}

.bg-light-section h2.section-title,
.bg-light-section h3,
.bg-light-section h4 {
  color: #1a1a20 !important;
}

.bg-light-section .lead-custom {
  color: #555560 !important;
}

.bg-light-section .section-label {
  color: #007c8a !important;
  /* Darker cyan for readability on white */
}

/* Glass panel adjustments in light section */
.bg-light-section .glass-panel {
  background: rgba(0, 0, 0, 0.03) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  color: #1a1a20 !important;
}

.bg-light-section .glass-panel:hover {
  background: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 124, 138, 0.25) !important;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05) !important;
}

.bg-light-section .glass-panel h6,
.bg-light-section .glass-panel h4,
.bg-light-section .glass-panel p,
.bg-light-section .glass-panel .text-white,
.bg-light-section .glass-panel .text-white-50 {
  color: #1a1a20 !important;
}

.bg-light-section .glass-panel i.text-cyan {
  color: #007c8a !important;
}

.bg-light-section .glass-panel .feature-number {
  -webkit-text-stroke: 1px rgba(0, 0, 0, 0.15) !important;
}

.bg-light-section .glass-panel:hover .feature-number {
  color: #007c8a !important;
  -webkit-text-stroke: 1px #007c8a !important;
  text-shadow: 0 0 15px rgba(0, 124, 138, 0.2) !important;
}