/* =============================================
   HOME PAGE — Soleko IOL CMS
   Extracted from index.html inline styles
   ============================================= */

/* HERO */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--dark);
  overflow: hidden
}

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

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 1000px 800px at 20% 80%, rgba(0,166,214,0.3), transparent),
              radial-gradient(ellipse 800px 600px at 80% 20%, rgba(0,88,176,0.25), transparent);
  z-index: 1;
  filter: blur(60px)
}

.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,25,50,0.7), rgba(0,10,30,0.85));
  z-index: 1
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 10px 24px;
  border-radius: 100px;
  color: rgba(255,255,255,0.95);
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 2.5rem;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  animation: fadeDown 1s cubic-bezier(0.2,0.8,0.2,1)
}

.hero-badge .dot {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 12px #4ADE80;
  animation: pulse-dot 2s infinite
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1) }
  50% { opacity: .6; transform: scale(0.9) }
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2rem;
  text-shadow: 0 10px 30px rgba(0,0,0,0.15);
  animation: fadeUp 1s cubic-bezier(0.2,0.8,0.2,1) .1s both
}

.hero h1 em {
  font-style: italic;
  color: #80E0FF;
}

.hero p {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  max-width: 640px;
  margin: 0 auto 3rem;
  font-weight: 300;
  line-height: 1.6;
  animation: fadeUp 1s cubic-bezier(0.2,0.8,0.2,1) .3s both
}

.hero-buttons,
.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1s cubic-bezier(0.2,0.8,0.2,1) .5s both
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: all .4s cubic-bezier(.22,1,.36,1);
  cursor: pointer;
  border: none;
  font-family: inherit;
  position: relative;
  overflow: hidden
}

.btn-primary {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1)
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2)
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5)
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px)
}

.btn-accent {
  background: var(--gradient-accent);
  color: var(--white);
  box-shadow: 0 8px 25px rgba(0,166,214,0.25)
}
.btn-accent:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0,166,214,0.4)
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.7);
  font-size: .85rem;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
  cursor: pointer;
  transition: color .3s
}
.hero-scroll:hover { color: var(--white) }
.hero-scroll svg {
  display: block;
  margin: 12px auto 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2))
}

@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0) }
  50% { transform: translateX(-50%) translateY(10px) }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); filter: blur(10px) }
  to { opacity: 1; transform: translateY(0); filter: blur(0) }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-30px); filter: blur(10px) }
  to { opacity: 1; transform: translateY(0); filter: blur(0) }
}

/* ABOUT SECTION */
.about-section {
  padding: 140px 4%;
  background: var(--white)
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center
}

.section-label,
.about-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1.5rem
}

.section-label::before,
.about-label::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px
}

.about-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.2;
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-text p {
  color: var(--gray-600);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  line-height: 1.8
}

.about-text .btn { margin-top: 2rem }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: all .5s cubic-bezier(.22,1,.36,1);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  z-index: 1
}

.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,166,214,0.05), transparent);
  opacity: 0;
  transition: opacity .5s;
  z-index: -1
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,166,214,0.3)
}
.stat-card:hover::before { opacity: 1 }

.stat-card h3 {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 10px
}

.stat-card h3 span { color: var(--accent) }

.stat-card p {
  color: var(--gray-600);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0.02em
}

/* STRENGTHS */
.strengths-section {
  padding: 120px 4%;
  background: var(--primary);
  position: relative;
  overflow: hidden
}

.strengths-section::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,214,0.1), transparent 70%);
  filter: blur(40px)
}

.strengths-section::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,88,176,0.1), transparent 70%);
  filter: blur(40px)
}

.strengths-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1
}

.strengths-header {
  text-align: center;
  margin-bottom: 80px
}

.strengths-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.2rem
}

.strengths-header p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.6
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px
}

.strength-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: all .5s cubic-bezier(.22,1,.36,1);
  backdrop-filter: blur(10px)
}

.strength-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(0,166,214,0.5);
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2)
}

.strength-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  transition: all .4s ease;
  border: 1px solid rgba(255,255,255,0.1)
}

.strength-icon .bi {
  font-size: 28px;
  color: white;
  line-height: 1
}

.strength-card:hover .strength-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1) rotate(5deg)
}

.strength-card h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 16px;
  font-weight: 700
}

.strength-card p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.7
}

/* PRODUCTS CATALOG PAGE (used on /products) */
.products-section {
  padding: 140px 4%;
  background: var(--off-white)
}

.section-header {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto 70px;
}

.section-header .label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .15em;
  margin-bottom: 1rem
}

.section-header .label::before,
.section-header .label::after {
  content: '';
  width: 30px; height: 2px;
  background: var(--accent);
  border-radius: 2px
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 1.2rem
}

.section-header p {
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.6
}

.products-grid {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 32px
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .5s cubic-bezier(.2,0.8,.2,1);
  border: 1px solid transparent;
  box-shadow: var(--shadow-sm);
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  padding: 30px;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0,166,214,0.3);
  z-index: 2
}

.product-tag {
  display: inline-block;
  background: rgba(0,166,214,0.1);
  color: var(--accent);
  padding: 4px 14px;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 12px;
}

.product-info h3 {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
  transition: color .3s
}

.product-card:hover .product-info h3 {
  color: var(--accent)
}

.product-info p {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.6;
}

.product-link {
  color: var(--accent);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .3s
}
.product-link:hover { gap: 14px; color: var(--accent-light) }

/* ===== CINEMATIC 3D LENS SHOWCASE (Home page) ===== */
.lens-showcase {
  padding: 140px 4%;
  background: linear-gradient(180deg, var(--off-white) 0%, #edf2f8 50%, var(--off-white) 100%);
  overflow: hidden;
  position: relative
}

.lens-showcase-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center
}

/* --- 3D Scene --- */
.lens-scene {
  position: relative;
  width: 100%;
  height: 540px;
  perspective: 1200px;
  cursor: default
}

/* --- Parallax wrappers --- */
.lens-parallax {
  position: absolute;
  inset: 0;
  transition: transform 0.1s ease-out;
  will-change: transform
}

/* --- Ambient glows --- */
.lens-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0
}

.lens-glow-1 {
  width: 400px; height: 400px;
  top: -5%; left: -5%;
  background: radial-gradient(circle, rgba(0,166,214,0.3), transparent 70%);
  animation: glowDance1 8s ease-in-out infinite
}

.lens-glow-2 {
  width: 320px; height: 320px;
  bottom: -5%; right: -10%;
  background: radial-gradient(circle, rgba(0,59,92,0.22), transparent 70%);
  animation: glowDance2 10s ease-in-out infinite
}

.lens-glow-3 {
  width: 200px; height: 200px;
  top: 40%; left: 35%;
  background: radial-gradient(circle, rgba(64,196,232,0.2), transparent 70%);
  animation: glowDance3 7s ease-in-out infinite
}

/* --- Orbit rings around lenses --- */
.lens-orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(0,166,214,0.12);
  pointer-events: none;
  z-index: 1
}

.lens-orbit-1 {
  width: 420px; height: 420px;
  top: -6%; left: -40px;
  animation: orbitSpin 25s linear infinite;
  border-style: dashed;
  border-color: rgba(0,166,214,0.08)
}

.lens-orbit-1::after {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0,166,214,0.6), 0 0 30px rgba(0,166,214,0.3);
  animation: orbitDotPulse 2s ease-in-out infinite
}

.lens-orbit-2 {
  width: 340px; height: 340px;
  bottom: -8%; right: -50px;
  animation: orbitSpin 30s linear infinite reverse;
  border-style: dotted;
  border-color: rgba(0,59,92,0.08)
}

.lens-orbit-2::after {
  content: '';
  position: absolute;
  bottom: -3px; right: 30%;
  width: 6px; height: 6px;
  background: var(--accent-light);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(64,196,232,0.5);
  animation: orbitDotPulse 3s ease-in-out infinite
}

/* --- Lens image containers --- */
.lens-img {
  position: absolute;
  z-index: 2
}

.lens-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  position: relative;
  z-index: 2
}

/* Pulsating aura behind each lens */
.lens-aura {
  position: absolute;
  inset: -15%;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none
}

.lens-img-1 .lens-aura {
  background: radial-gradient(circle, rgba(0,166,214,0.15) 0%, rgba(0,166,214,0.05) 40%, transparent 70%);
  animation: auraPulse1 4s ease-in-out infinite
}

.lens-img-2 .lens-aura {
  background: radial-gradient(circle, rgba(64,196,232,0.12) 0%, rgba(64,196,232,0.04) 40%, transparent 70%);
  animation: auraPulse2 5s ease-in-out infinite
}

/* Lens 1 — large, front-left */
.lens-img-1 {
  width: 340px; height: 340px;
  top: 2%; left: 0;
  animation: lensFloat1 7s ease-in-out infinite;
  z-index: 3
}

.lens-img-1 img {
  filter:
    drop-shadow(0 30px 60px rgba(0,59,92,0.3))
    drop-shadow(0 0 50px rgba(0,166,214,0.15))
    drop-shadow(0 8px 20px rgba(0,0,0,0.1))
}

/* Lens 2 — smaller, back-right */
.lens-img-2 {
  width: 280px; height: 280px;
  bottom: 2%; right: 0;
  animation: lensFloat2 9s ease-in-out infinite;
  z-index: 2
}

.lens-img-2 img {
  filter:
    drop-shadow(0 25px 50px rgba(0,59,92,0.25))
    drop-shadow(0 0 40px rgba(0,166,214,0.12))
    drop-shadow(0 6px 16px rgba(0,0,0,0.08))
}

/* --- Animated particles --- */
.lens-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4
}

.lp-1 {
  width: 6px; height: 6px;
  background: var(--accent);
  top: 12%; left: 38%;
  box-shadow: 0 0 12px var(--accent), 0 0 24px rgba(0,166,214,0.3);
  animation: pOrbit1 9s linear infinite
}
.lp-2 {
  width: 4px; height: 4px;
  background: rgba(0,166,214,0.6);
  top: 58%; left: 18%;
  box-shadow: 0 0 8px rgba(0,166,214,0.5);
  animation: pDrift1 6s ease-in-out infinite
}
.lp-3 {
  width: 8px; height: 8px;
  background: rgba(0,166,214,0.5);
  top: 72%; left: 52%;
  box-shadow: 0 0 16px rgba(0,166,214,0.4), 0 0 40px rgba(0,166,214,0.15);
  animation: pOrbit2 11s linear infinite
}
.lp-4 {
  width: 3px; height: 3px;
  background: var(--accent-light);
  top: 28%; right: 18%;
  box-shadow: 0 0 8px var(--accent-light);
  animation: pDrift2 5s ease-in-out infinite
}
.lp-5 {
  width: 5px; height: 5px;
  background: rgba(0,166,214,0.7);
  top: 42%; left: 62%;
  box-shadow: 0 0 14px rgba(0,166,214,0.5);
  animation: pOrbit1 7s linear infinite reverse
}
.lp-6 {
  width: 3px; height: 3px;
  background: var(--accent-light);
  top: 82%; left: 32%;
  box-shadow: 0 0 8px rgba(64,196,232,0.5);
  animation: pDrift1 9s ease-in-out infinite reverse
}
.lp-7 {
  width: 5px; height: 5px;
  background: rgba(0,90,140,0.5);
  top: 8%; left: 68%;
  box-shadow: 0 0 10px rgba(0,90,140,0.4);
  animation: pOrbit2 13s linear infinite reverse
}
.lp-8 {
  width: 4px; height: 4px;
  background: var(--accent);
  top: 48%; left: 8%;
  box-shadow: 0 0 10px rgba(0,166,214,0.4);
  animation: pDrift2 8s ease-in-out infinite reverse
}
.lp-9 {
  width: 7px; height: 7px;
  background: rgba(0,166,214,0.4);
  top: 22%; left: 55%;
  box-shadow: 0 0 18px rgba(0,166,214,0.3), 0 0 40px rgba(0,166,214,0.1);
  animation: pOrbit1 15s linear infinite
}
.lp-10 {
  width: 3px; height: 3px;
  background: rgba(255,255,255,0.9);
  top: 38%; left: 28%;
  box-shadow: 0 0 6px rgba(255,255,255,0.7), 0 0 16px rgba(0,166,214,0.3);
  animation: pDrift1 4s ease-in-out infinite
}
.lp-11 {
  width: 4px; height: 4px;
  background: rgba(0,166,214,0.6);
  top: 65%; left: 72%;
  box-shadow: 0 0 10px rgba(0,166,214,0.4);
  animation: pOrbit2 8s linear infinite
}
.lp-12 {
  width: 6px; height: 6px;
  background: rgba(64,196,232,0.5);
  top: 90%; left: 58%;
  box-shadow: 0 0 14px rgba(64,196,232,0.4);
  animation: pDrift2 7s ease-in-out infinite
}

/* --- Lens flares --- */
.lens-flare {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 5;
  will-change: transform
}

.lens-flare-1 {
  width: 60px; height: 60px;
  top: 18%; left: 25%;
  background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(0,166,214,0.15) 30%, transparent 70%);
  animation: flarePulse 4s ease-in-out infinite
}

.lens-flare-2 {
  width: 30px; height: 30px;
  top: 55%; left: 58%;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, rgba(64,196,232,0.2) 40%, transparent 70%);
  animation: flarePulse 6s ease-in-out infinite 1s
}

.lens-flare-3 {
  width: 20px; height: 20px;
  top: 35%; left: 70%;
  background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
  animation: flarePulse 5s ease-in-out infinite 2s
}

/* --- Light streaks --- */
.lens-streak {
  position: absolute;
  border-radius: 100px;
  pointer-events: none;
  z-index: 4;
  opacity: 0
}

.lens-streak-1 {
  width: 160px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,166,214,0.5), rgba(255,255,255,0.3), transparent);
  top: 22%; left: 10%;
  animation: streakShoot1 5s ease-in-out infinite
}

.lens-streak-2 {
  width: 100px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(64,196,232,0.6), transparent);
  top: 62%; left: 45%;
  animation: streakShoot2 7s ease-in-out infinite
}

.lens-streak-3 {
  width: 130px; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(0,166,214,0.4), rgba(255,255,255,0.2), transparent);
  top: 45%; left: 25%;
  transform: rotate(-20deg);
  animation: streakShoot3 6s ease-in-out infinite
}

.lens-streak-4 {
  width: 80px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(0,166,214,0.5), transparent);
  top: 78%; left: 60%;
  transform: rotate(15deg);
  animation: streakShoot1 8s ease-in-out infinite 2s
}

/* --- Text side --- */
.lens-showcase-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 1.2rem;
  background: linear-gradient(45deg, var(--primary), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.lens-showcase-text p {
  color: var(--gray-600);
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 460px
}

.lens-showcase-text .btn svg {
  transition: transform .3s
}
.lens-showcase-text .btn:hover svg {
  transform: translateX(4px)
}

/* ===== LENS KEYFRAMES ===== */

/* Lens floating */
@keyframes lensFloat1 {
  0%   { transform: translateY(0)     rotate(-2deg) perspective(800px) rotateY(0deg)  rotateX(2deg); }
  25%  { transform: translateY(-24px)  rotate(0deg)  perspective(800px) rotateY(8deg)  rotateX(-2deg); }
  50%  { transform: translateY(-6px)   rotate(2deg)  perspective(800px) rotateY(-5deg) rotateX(4deg); }
  75%  { transform: translateY(-30px)  rotate(-1deg) perspective(800px) rotateY(6deg)  rotateX(-3deg); }
  100% { transform: translateY(0)     rotate(-2deg) perspective(800px) rotateY(0deg)  rotateX(2deg); }
}

@keyframes lensFloat2 {
  0%   { transform: translateY(0)    rotate(3deg)   perspective(800px) rotateY(0deg)   rotateX(-1deg); }
  30%  { transform: translateY(20px)  rotate(0deg)   perspective(800px) rotateY(-8deg)  rotateX(3deg); }
  60%  { transform: translateY(-16px) rotate(-3deg)  perspective(800px) rotateY(6deg)   rotateX(-4deg); }
  80%  { transform: translateY(12px)  rotate(1.5deg) perspective(800px) rotateY(-4deg)  rotateX(2deg); }
  100% { transform: translateY(0)    rotate(3deg)   perspective(800px) rotateY(0deg)   rotateX(-1deg); }
}

/* Glow animations */
@keyframes glowDance1 {
  0%, 100% { opacity: 0.5; transform: scale(1) translate(0, 0) }
  25% { opacity: 0.85; transform: scale(1.15) translate(15px, -15px) }
  50% { opacity: 0.6; transform: scale(1.08) translate(-10px, 10px) }
  75% { opacity: 0.9; transform: scale(1.2) translate(5px, -20px) }
}

@keyframes glowDance2 {
  0%, 100% { opacity: 0.4; transform: scale(1) translate(0, 0) }
  35% { opacity: 0.75; transform: scale(1.18) translate(-12px, 12px) }
  65% { opacity: 0.5; transform: scale(0.95) translate(8px, -8px) }
}

@keyframes glowDance3 {
  0%, 100% { opacity: 0.3; transform: scale(0.8) }
  50% { opacity: 0.7; transform: scale(1.3) }
}

/* Aura pulse */
@keyframes auraPulse1 {
  0%, 100% { transform: scale(1); opacity: 0.6 }
  50%      { transform: scale(1.15); opacity: 1 }
}

@keyframes auraPulse2 {
  0%, 100% { transform: scale(1); opacity: 0.5 }
  50%      { transform: scale(1.2); opacity: 0.9 }
}

/* Orbit spin */
@keyframes orbitSpin {
  from { transform: rotate(0deg) }
  to   { transform: rotate(360deg) }
}

@keyframes orbitDotPulse {
  0%, 100% { transform: scale(1); opacity: 0.7 }
  50%      { transform: scale(1.5); opacity: 1 }
}

/* Particle orbits */
@keyframes pOrbit1 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.2 }
  25%  { transform: translate(50px, -40px) scale(1.4); opacity: 0.9 }
  50%  { transform: translate(80px, 15px) scale(0.7); opacity: 0.4 }
  75%  { transform: translate(25px, 50px) scale(1.2); opacity: 1 }
  100% { transform: translate(0, 0) scale(1); opacity: 0.2 }
}

@keyframes pOrbit2 {
  0%   { transform: translate(0, 0) scale(1); opacity: 0.3 }
  20%  { transform: translate(-40px, -50px) scale(1.3); opacity: 0.8 }
  50%  { transform: translate(-65px, 25px) scale(0.6); opacity: 1 }
  80%  { transform: translate(-15px, 60px) scale(1.4); opacity: 0.5 }
  100% { transform: translate(0, 0) scale(1); opacity: 0.3 }
}

@keyframes pDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.2 }
  50%      { transform: translate(30px, -35px) scale(1.5); opacity: 1 }
}

@keyframes pDrift2 {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.15 }
  50%      { transform: translate(-25px, 30px) scale(1.4); opacity: 0.95 }
}

/* Lens flare pulse */
@keyframes flarePulse {
  0%, 100% { transform: scale(0.6); opacity: 0 }
  20%      { transform: scale(1); opacity: 0.6 }
  40%      { transform: scale(1.3); opacity: 0.2 }
  60%      { transform: scale(0.8); opacity: 0.5 }
  80%      { transform: scale(1.1); opacity: 0 }
}

/* Light streaks */
@keyframes streakShoot1 {
  0%, 100% { opacity: 0; transform: translateX(-50px) scaleX(0.3) }
  12%      { opacity: 0.9; transform: translateX(0) scaleX(1) }
  25%      { opacity: 0; transform: translateX(50px) scaleX(0.3) }
}

@keyframes streakShoot2 {
  0%, 100% { opacity: 0; transform: translateX(-30px) scaleX(0.4) }
  45%      { opacity: 0; transform: translateX(-15px) scaleX(0.7) }
  55%      { opacity: 0.8; transform: translateX(0) scaleX(1.2) }
  70%      { opacity: 0; transform: translateX(30px) scaleX(0.3) }
}

@keyframes streakShoot3 {
  0%, 100% { opacity: 0; transform: rotate(-20deg) translateX(-40px) scaleX(0.3) }
  65%      { opacity: 0; transform: rotate(-20deg) translateX(-10px) scaleX(0.6) }
  78%      { opacity: 0.7; transform: rotate(-20deg) translateX(0) scaleX(1.1) }
  92%      { opacity: 0; transform: rotate(-20deg) translateX(40px) scaleX(0.3) }
}

/* TAGLINE BANNER - SPECTACULAR EDITION */
.tagline-banner {
  padding: 160px 4%;
  background: linear-gradient(135deg, #00121f 0%, #002640 50%, #00121f 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

/* Base mesh texture */
.tagline-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 20.5V18H0v-2h20v-2h2v2h20v2H22v2.5h18v2H22v2h-2v-2H0v-2h20z' fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

/* Giant Slow Glows */
.tagline-glow-1, .tagline-glow-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  z-index: 0;
}
.tagline-glow-1 {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(0,166,214,0.15) 0%, transparent 70%);
  top: -400px; left: -200px;
  animation: glowDance1 20s ease-in-out infinite alternate;
}
.tagline-glow-2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(64,196,232,0.12) 0%, transparent 70%);
  bottom: -300px; right: -100px;
  animation: glowDance2 25s ease-in-out infinite alternate;
}

/* Floating Magic Particles */
.tagline-magic-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.tagline-magic-particles .tp {
  position: absolute;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,166,214,0.8), 0 0 20px rgba(255,255,255,0.4);
  animation: particleFloat 10s linear infinite;
}
.tp-1 { width: 4px; height: 4px; top: 20%; left: 15%; animation-duration: 12s; }
.tp-2 { width: 6px; height: 6px; top: 60%; left: 80%; animation-duration: 15s; animation-delay: -5s; }
.tp-3 { width: 3px; height: 3px; top: 80%; left: 30%; animation-duration: 8s; animation-delay: -2s; }
.tp-4 { width: 5px; height: 5px; top: 30%; left: 70%; animation-duration: 18s; animation-delay: -8s; }
.tp-5 { width: 7px; height: 7px; top: 50%; left: 10%; animation-duration: 20s; animation-delay: -10s; }
.tp-6 { width: 4px; height: 4px; top: 10%; left: 50%; animation-duration: 14s; animation-delay: -4s; }

@keyframes particleFloat {
  0% { transform: translateY(100px) scale(0); opacity: 0; }
  20% { transform: translateY(60px) scale(1.2); opacity: 1; }
  80% { transform: translateY(-60px) scale(1); opacity: 1; }
  100% { transform: translateY(-100px) scale(0); opacity: 0; }
}

/* Content Container */
.tagline-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tagline-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: white;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-shadow: 0 10px 30px rgba(0,166,214,0.3);
  background: linear-gradient(to bottom right, #ffffff, #b0dfff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline-content p {
  color: rgba(255, 255, 255, 0.7);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 40px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* Spectacular Button */
.btn-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: rgba(0, 166, 214, 0.1);
  border: 1px solid rgba(0, 166, 214, 0.4);
  border-radius: 100px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.btn-tagline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.5s;
}

.btn-tagline:hover {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 166, 214, 0.4), 0 0 0 4px rgba(0, 166, 214, 0.1);
  transform: translateY(-4px);
}

.btn-tagline:hover::before {
  opacity: 1;
}

@media (max-width: 768px) {
  .tagline-banner { padding: 100px 4%; }
  .tagline-content { padding: 40px 20px; }
  .tagline-content h2 { margin-bottom: 20px; }
}

/* NEWS SECTION - SPECTACULAR WOW EDITION */
.news-section {
  padding: 140px 4%;
  background: #00121f; /* Deep dark immersive */
  position: relative;
  overflow: hidden
}

.news-section::before {
  content: '';
  position: absolute;
  width: 1000px; height: 1000px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,214,0.15) 0%, transparent 60%);
  top: -400px; right: -300px;
  pointer-events: none;
  filter: blur(80px);
  animation: glowDance1 15s ease-in-out infinite alternate;
}

.news-section::after {
  content: '';
  position: absolute;
  width: 800px; height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,88,176,0.12) 0%, transparent 60%);
  bottom: -300px; left: -200px;
  pointer-events: none;
  filter: blur(80px);
  animation: glowDance2 18s ease-in-out infinite alternate;
}

.news-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1
}

.news-inner .section-label {
  color: var(--accent-light);
}
.news-inner .section-label::before {
  background: var(--accent-light);
}

.news-inner h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  letter-spacing: -0.01em;
}

.news-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 560px;
  margin: 0 auto 60px
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
  perspective: 1200px;
}

.news-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg, 24px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  text-decoration: none;
  color: white;
  display: flex;
  flex-direction: column;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s, border-color 0.6s;
  position: relative;
  transform-style: preserve-3d;
  animation: floatCard 8s ease-in-out infinite alternate;
}

.news-card:nth-child(1) { animation-delay: 0s; }
.news-card:nth-child(2) { animation-delay: -2s; }
.news-card:nth-child(3) { animation-delay: -4s; }

@keyframes floatCard {
  0% { transform: translateY(5px); }
  100% { transform: translateY(-5px); }
}

.news-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(0,166,214,0.3) 90deg, transparent 180deg);
  animation: cardSpinBorder 5s linear infinite;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 0;
  pointer-events: none;
}

@keyframes cardSpinBorder {
  to { transform: rotate(360deg); }
}

.news-card:hover {
  transform: translateY(-15px) rotateX(4deg) rotateY(-2deg) scale(1.02);
  box-shadow:
    0 30px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(0,166,214,0.15);
  border-color: rgba(255,255,255,0.3);
}

.news-card:hover::before { opacity: 1; }

/* Image: contain + blur-fill background */
.news-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.news-card-image::before {
  content: '';
  position: absolute;
  inset: -10%;
  background: var(--card-bg) center/cover no-repeat;
  filter: blur(25px) saturate(1.8) brightness(0.6);
  transform: scale(1.3);
  opacity: 1;
  z-index: 0;
  pointer-events: none;
  transition: transform 1s ease-out;
}

.news-card-image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0,18,31,0.8), transparent);
  pointer-events: none;
  z-index: 2
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  animation: breatheImage 15s ease-in-out infinite alternate;
}

@keyframes breatheImage {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

.news-card:hover .news-card-image img {
  transform: scale(1.08);
}
.news-card:hover .news-card-image::before {
  transform: scale(1.1);
}

.news-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center
}

.news-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-block;
  background: rgba(0,166,214,0.2);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--accent-light);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(0,166,214,0.4);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.news-card-body {
  padding: 28px 28px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,18,31,0.8) 0%, rgba(0,18,31,0.95) 100%);
}

.news-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 400;
  color: white;
  margin-bottom: 12px;
  line-height: 1.3;
  transition: color .3s;
  letter-spacing: 0.01em;
}

.news-card:hover .news-card-body h3 {
  color: var(--accent-light)
}

.news-card-body p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1)
}

.news-card-date {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.news-card-date .bi {
  font-size: 0.82rem;
  color: var(--accent-light)
}

.news-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.9rem;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1)
}

.news-card:hover .news-card-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  transform: translateX(6px) rotate(-45deg);
  box-shadow: 0 4px 16px rgba(0,166,214,0.4)
}

.news-cta {
  margin-top: 70px
}

.news-cta .btn svg {
  transition: transform .3s
}
.news-cta .btn:hover svg {
  transform: translateX(6px)
}

/* CONTACT */
.contact-section-wrapper {
  position: relative;
  overflow: hidden
}

#home-contact-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease-out
}

#home-contact-map.map-visible {
  opacity: .35
}

.contact-section {
  position: relative;
  z-index: 1;
  padding: 140px 4%
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center
}

.contact-map {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--gray-100);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .5s ease;
  aspect-ratio: 4/3
}
.contact-map:hover { transform: rotate(-1deg) scale(1.02) }

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

.contact-info h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--primary);
  margin-bottom: 1.5rem
}

.contact-info p {
  color: var(--gray-600);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.7
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 3rem
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--gray-800);
  font-size: 1.05rem;
  transition: transform .3s ease;
  cursor: default
}
.contact-item:hover { transform: translateX(10px) }

.contact-item-icon {
  width: 52px; height: 52px;
  background: var(--accent);
  color: var(--white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(0,166,214,0.2)
}

/* APP SECTION — full-width immersive */
.app-section {
  padding: 0;
  background: var(--gradient-hero);
  background-size: 200% 200%;
  animation: gradientBG 10s ease infinite;
  position: relative;
  overflow: hidden
}

/* Subtle decorative glow */
.app-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,166,214,0.15) 0%, transparent 70%);
  top: -200px; right: -100px;
  pointer-events: none
}

.app-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 4%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  position: relative
}

.app-text { position: relative; z-index: 1 }

.app-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 4.5vw, 3.5rem);
  color: #fff !important;
  margin-bottom: 1.2rem;
  line-height: 1.1
}

.app-text > p {
  color: rgba(255,255,255,0.7) !important;
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.8
}

.app-badges { display: flex; gap: 16px; flex-wrap: wrap }

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 14px 28px;
  color: #fff !important;
  text-decoration: none;
  transition: all .4s;
  backdrop-filter: blur(8px)
}
.app-badge span,
.app-badge strong { color: #fff !important }

.app-badge:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-4px);
  border-color: #fff;
  color: #fff !important
}

.app-phone {
  position: relative;
  z-index: 1;
  width: 280px; height: 560px;
  background: #1a1a2e;
  border-radius: 48px;
  border: 3px solid rgba(255,255,255,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  padding: 12px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform .8s cubic-bezier(.2,.8,.2,1)
}
.app-phone:hover { transform: rotate(2deg) scale(1.02) translateY(-10px) }

.app-phone-notch {
  width: 80px; height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10
}

.app-phone-screen {
  width: 100%; height: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  background: #0d1b2a
}

.app-phone-bar {
  width: 100px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10
}

/* Home Screen */
.app-screen-home {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 40px 16px 16px;
  background: linear-gradient(160deg, #0d1b2a 0%, #003b5c 100%);
  opacity: 1;
  transition: opacity .4s ease
}

.app-home-time {
  text-align: center;
  color: white;
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin-bottom: 28px
}

.app-home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
  padding: 0 4px;
  flex: 1
}

.app-home-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px
}

.app-home-icon--dummy span {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  display: block
}

.app-home-icon--soleko {
  cursor: pointer;
  position: relative
}

.app-home-icon--soleko svg {
  width: 42px; height: 42px;
  padding: 10px;
  background: var(--accent, #00A6D6);
  border-radius: 12px
}

.app-home-icon--soleko small {
  font-size: 8px;
  color: rgba(255,255,255,0.7);
  white-space: nowrap
}

.app-home-dock {
  display: flex;
  gap: 16px;
  justify-content: center;
  padding: 10px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  margin-top: auto
}

.app-dock-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.1)
}

/* Splash Screen */
.app-screen-splash {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: linear-gradient(135deg, var(--accent, #00A6D6) 0%, var(--primary, #003B5C) 100%);
  opacity: 0;
  transform: scale(0);
  transition: opacity .3s ease, transform .5s cubic-bezier(.2,.8,.2,1);
  border-radius: 32px;
  z-index: 2
}

.app-splash-title {
  color: white;
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.3
}

/* App UI */
.app-screen-ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  background: #f5f7fa;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease .1s, transform .5s ease .1s;
  z-index: 3;
  border-radius: 32px;
  overflow: hidden
}

.app-ui-header {
  background: linear-gradient(135deg, var(--accent, #00A6D6), var(--primary, #003B5C));
  padding: 36px 16px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: .8rem;
  font-weight: 600
}

.app-ui-body {
  flex: 1;
  padding: 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden
}

.app-ui-card {
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(12px);
  animation: none
}

.app-ui-card--half { flex: 1 }

.app-ui-row {
  display: flex;
  gap: 10px
}

.app-ui-row .app-ui-card {
  flex: 1
}

.app-ui-label {
  font-size: .6rem;
  color: #8895a5 !important;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 4px
}

.app-ui-select {
  font-size: .8rem;
  color: #1a2b3c !important;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid var(--accent, #00A6D6)
}

.app-ui-value {
  font-size: 1.2rem;
  color: #0d1b2a !important;
  font-weight: 700
}

.app-ui-btn {
  background: linear-gradient(135deg, var(--accent, #00A6D6), var(--primary-light, #005A8C));
  color: white;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-size: .8rem;
  font-weight: 600;
  margin-top: auto;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(10px);
  animation: none
}

/* Animation states triggered by .visible (scroll reveal) */
.app-phone.visible .app-screen-home {
  animation: appHomeHide .3s ease forwards;
  animation-delay: 1.5s
}

.app-phone.visible .app-home-icon--soleko {
  animation: appIconTap .4s ease;
  animation-delay: 1.2s
}

.app-phone.visible .app-screen-splash {
  animation: appSplashShow 2s ease forwards;
  animation-delay: 1.5s
}

.app-phone.visible .app-screen-ui {
  animation: appUiShow .6s ease forwards;
  animation-delay: 3.2s
}

.app-phone.visible .app-ui-card {
  animation: appCardSlide .4s ease forwards
}

.app-phone.visible .app-ui-card:nth-child(1) { animation-delay: 3.5s }
.app-phone.visible .app-ui-card:nth-child(2) { animation-delay: 3.7s }
.app-phone.visible .app-ui-row .app-ui-card:nth-child(1) { animation-delay: 3.9s }
.app-phone.visible .app-ui-row .app-ui-card:nth-child(2) { animation-delay: 4.0s }

.app-phone.visible .app-ui-btn {
  animation: appCardSlide .4s ease forwards;
  animation-delay: 4.2s
}

@keyframes appIconTap {
  0%,100% { transform: scale(1) }
  50% { transform: scale(0.8) }
}

@keyframes appHomeHide {
  0% { opacity: 1 }
  100% { opacity: 0 }
}

@keyframes appSplashShow {
  0% { opacity: 0; transform: scale(0) }
  15% { opacity: 1; transform: scale(1); border-radius: 32px }
  80% { opacity: 1; transform: scale(1) }
  100% { opacity: 0; transform: scale(1) }
}

@keyframes appUiShow {
  0% { opacity: 0; transform: translateY(20px) }
  100% { opacity: 1; transform: translateY(0) }
}

@keyframes appCardSlide {
  0% { opacity: 0; transform: translateY(12px) }
  100% { opacity: 1; transform: translateY(0) }
}

/* APP SECTION — Label & Features */
.app-label {
  display: inline-block;
  padding: 7px 20px;
  border-radius: 100px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  color: rgba(255,255,255,0.85) !important
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 2.5rem
}

.app-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  transition: all .3s ease
}

.app-feature:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.3);
  transform: translateX(4px)
}

.app-feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(0,166,214,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: #5ce0ff !important
}

.app-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px
}

.app-feature-text strong {
  font-size: 0.92rem;
  font-weight: 600;
  color: #fff !important
}

.app-feature-text span {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.8rem;
  line-height: 1.4
}

/* REVEAL ANIMATIONS */
.reveal {
  opacity: 0;
  filter: blur(20px);
  transform: translateY(60px) scale(0.95);
  transition: all 1.2s cubic-bezier(.22,1,.36,1);
  will-change: transform, opacity, filter;
}

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

/* RESPONSIVE */
@media(max-width:1024px) {
  .about-inner,
  .contact-inner,
  .app-inner { gap: 50px }

  .lens-showcase-inner { gap: 50px }

  .strengths-grid { grid-template-columns: repeat(2, 1fr) }
  .news-grid { grid-template-columns: repeat(2, 1fr) }
}

@media(max-width:968px) {
  .about-inner,
  .contact-inner,
  .app-inner {
    grid-template-columns: 1fr;
    text-align: center
  }

  .news-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto
  }

  .news-card-body { text-align: left }

  .lens-showcase-inner {
    grid-template-columns: 1fr;
    text-align: center
  }

  .lens-scene { height: 400px; margin-bottom: 20px }

  .lens-img-1 { width: 260px; height: 260px; left: 10% }
  .lens-img-2 { width: 220px; height: 220px; right: 5% }
  .lens-orbit-1 { width: 320px; height: 320px }
  .lens-orbit-2 { width: 270px; height: 270px }

  .lens-showcase-text p { margin: 0 auto 2rem }

  .about-text p,
  .app-text p { margin: 0 auto 2rem }

  .app-badges { justify-content: center }
  .app-features { align-items: center }
  .app-feature { max-width: 420px }
  .app-label { margin-left: auto; margin-right: auto }
  .app-phone { display: none }
  .stat-card { padding: 24px }
}

@media(max-width:640px) {
  .strengths-grid,
  .products-grid { grid-template-columns: 1fr }

  .hero h1 { font-size: 2.8rem }
  .app-inner { padding: 50px 30px }
  .app-badges { flex-direction: column; align-items: center }
  .about-stats { grid-template-columns: 1fr }
  .news-section { padding: 80px 4% }

  .lens-scene { height: 340px }
  .lens-img-1 { width: 200px; height: 200px; top: 5%; left: 5% }
  .lens-img-2 { width: 170px; height: 170px }
  .lens-orbit { display: none }
  .lens-flare { display: none }
  .lens-showcase { padding: 80px 4% }

}
