/* ═══ WEBOS SIGNAGE PAGE SPECIFIC STYLES ═══ */

:root {
  --wos-primary: var(--green-light);
  --wos-dark: var(--green-dark);
  --wos-mid: var(--green-mid);
  --wos-accent: var(--green-accent);
  --wos-pale: var(--green-ultra-pale);
  --wos-text: var(--text-dark);
  --wos-muted: var(--text-muted);
  --wos-border: var(--border);
}

.wos-hero { margin-top: 100px; min-height: 88vh; background: linear-gradient(135deg, var(--green-ultra-pale) 0%, #ffffff 50%, var(--green-pale) 100%); position: relative; overflow: hidden; display: flex; align-items: center; padding: 80px 5% 60px; }
.wos-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 80% 20%, rgba(46,184,114,0.09) 0%, transparent 60%), radial-gradient(ellipse 40% 50% at 20% 80%, rgba(10,31,20,0.05) 0%, transparent 60%); pointer-events: none; }

.wos-orb { position: absolute; border-radius: 50%; filter: blur(60px); pointer-events: none; z-index: 0; }
.wos-orb-1 { width: 420px; height: 420px; top: -120px; right: 3%; background: radial-gradient(circle,rgba(46,184,114,0.15),transparent 70%); animation: wosFloat1 8s ease-in-out infinite; }
.wos-orb-2 { width: 300px; height: 300px; bottom: -60px; left: 8%; background: radial-gradient(circle,rgba(20,56,38,0.12),transparent 70%); animation: wosFloat2 10s ease-in-out infinite; }
.wos-orb-3 { width: 200px; height: 200px; top: 35%; left: 42%; background: radial-gradient(circle,rgba(46,184,114,0.08),transparent 70%); animation: wosFloat3 6s ease-in-out infinite; }

@keyframes wosFloat1 { 0%,100%{transform:translate(0,0)scale(1)}33%{transform:translate(-30px,40px)scale(1.1)}66%{transform:translate(20px,-20px)scale(0.95)} }
@keyframes wosFloat2 { 0%,100%{transform:translate(0,0)scale(1)}50%{transform:translate(40px,-50px)scale(1.15)} }
@keyframes wosFloat3 { 0%,100%{transform:translate(0,0)scale(1);opacity:.6}50%{transform:translate(-20px,30px)scale(1.2);opacity:1} }
@keyframes wosFadeUp { from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)} }

.wos-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; max-width: 1280px; margin: 0 auto; width: 100%; position: relative; z-index: 1; }
.wos-hero-text { animation: wosFadeUp 0.8s ease both; }
.wos-hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.4); backdrop-filter: blur(8px); color: var(--wos-dark); font-size: 0.75rem; font-weight: 700; padding: 6px 16px; border-radius: 30px; margin-bottom: 24px; letter-spacing: 0.8px; text-transform: uppercase; }
.wos-hero-badge::before { content: '●'; font-size: 0.6rem; color: var(--wos-primary); }
.wos-hero-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2.6rem,4.5vw,4.2rem); font-weight: 800; line-height: 1.05; color: var(--wos-dark); margin-bottom: 20px; letter-spacing: -0.05em; }
.wos-hero-title span { background: linear-gradient(120deg, var(--green-light), var(--green-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.wos-hero-desc { font-size: 1.15rem; color: var(--wos-muted); line-height: 1.75; margin-bottom: 36px; max-width: 480px; font-weight: 500; }
.wos-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.wos-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
  animation: wosFadeUp 1s 0.2s ease both;
}

.wos-display-premium {
  width: 100%;
  max-width: 520px;
  position: relative;
  transform: rotateY(-15deg) rotateX(10deg);
  transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: wosHeroFloat 7s ease-in-out infinite;
}

.wos-display-premium:hover {
  transform: rotateY(0deg) rotateX(0deg) scale(1.05);
}

@keyframes wosHeroFloat {
  0%, 100% { transform: rotateY(-15deg) rotateX(10deg) translateY(0); }
  50% { transform: rotateY(-15deg) rotateX(10deg) translateY(-25px); }
}

.wos-screen-frame {
  background: #111;
  padding: 12px;
  border-radius: 12px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4), 0 0 0 1px rgba(255,255,255,0.05);
  border: 1px solid #222;
}

.wos-screen-content {
  height: 280px;
  background: #000;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.wos-logo-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  padding: 8px 15px;
  border-radius: 30px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255,255,255,0.1);
}

.wos-logo-overlay img { height: 18px; }
.wos-logo-overlay span { color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.5px; }

.wos-media-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  padding-top: 70px;
}

.wos-media-item {
  background: linear-gradient(135deg, var(--wos-primary), var(--wos-accent));
  border-radius: 8px;
  opacity: 0.8;
  position: relative;
  overflow: hidden;
}

.wos-media-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: wosShimmer 3s infinite;
}

@keyframes wosShimmer {
  0% { left: -100%; }
  100% { left: 100% }
}

.wos-remote-control {
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 60px;
  height: 140px;
  background: #1a1a1a;
  border-radius: 30px;
  border: 1px solid #333;
  box-shadow: 10px 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
  gap: 15px;
  transform: rotate(15deg);
  z-index: 20;
}

.wos-remote-button {
  width: 25px;
  height: 25px;
  background: #2a2a2a;
  border-radius: 50%;
  border: 1px solid #333;
}

.wos-remote-button:first-child { background: #ff3b30; }



/* Overview */
.wos-overview { background: #ffffff; padding: 100px 5%; border-bottom: 1px solid var(--wos-border); }
.wos-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.wos-overview-img-box { width: 100%; border-radius: 24px; overflow: hidden; box-shadow: 0 25px 60px rgba(10,31,20,0.12); border: 1px solid var(--wos-border); }
.wos-overview-img-box img { width: 100%; height: 420px; object-fit: cover; display: block; transition: transform 1.2s cubic-bezier(0.33,1,0.68,1); }
.wos-overview-img-box:hover img { transform: scale(1.06) rotate(-0.8deg); }
.wos-overview-text p { font-size: 1.15rem; color: var(--wos-muted); line-height: 1.85; margin-bottom: 20px; }
.wos-check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.wos-check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.05rem; color: var(--wos-text); font-weight: 500; }
.wos-check-list li i { color: var(--wos-primary); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }


/* Flow */
.and-flow-diagram {
  background: linear-gradient(135deg, var(--wos-dark) 0%, #061408 100%);
  border-radius: 28px;
  padding: 60px 48px;
  box-shadow: 0 30px 80px rgba(10,31,20,0.2);
  position: relative;
  overflow: hidden;
}

.and-flow-diagram::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(46,184,114,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.and-flow-title {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.and-flow-title h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.and-flow-title p {
  color: rgba(255,255,255,0.55);
  font-size: 1rem;
}

.and-flow-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  position: relative;
  z-index: 1;
  flex-wrap: nowrap;
}

.and-flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  min-width: 0;
  padding: 0 8px;
}

.and-flow-node {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: rgba(46,184,114,0.12);
  border: 1.5px solid rgba(46,184,114,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: default;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  color: var(--wos-primary);
}

.and-flow-node:hover {
  background: rgba(46,184,114,0.3);
  border-color: var(--wos-primary);
  transform: scale(1.15) rotate(5deg);
  box-shadow: 0 12px 30px rgba(46,184,114,0.3);
}

.and-flow-node-num {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--wos-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.and-flow-step-label {
  margin-top: 14px;
}

.and-flow-step-label h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.3;
}

.and-flow-step-label p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

.and-flow-connector {
  display: flex;
  align-items: flex-start;
  padding-top: 34px;
  flex-shrink: 0;
}

.and-flow-connector-line {
  width: 36px;
  height: 2px;
  background: rgba(46,184,114,0.2);
  position: relative;
  overflow: hidden;
}

.and-flow-connector-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--wos-primary), transparent);
  animation: andLineFlow 2s linear infinite;
}

@keyframes andLineFlow {
  0% { left: -100% }
  100% { left: 100% }
}

.and-flow-connector-line::after {
  content: '';
  position: absolute;
  right: -4px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--wos-primary);
  border-right: 2px solid var(--wos-primary);
  transform: rotate(45deg);
}

.and-flow-row2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
  gap: 0;
  position: relative;
  z-index: 1;
}

.and-flow-vert-arrow {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, rgba(46,184,114,0.4), rgba(46,184,114,0.1));
  margin: 0 auto;
  position: relative;
}

.and-flow-vert-arrow::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: -4px;
  width: 10px; height: 10px;
  border-bottom: 2px solid rgba(46,184,114,0.5);
  border-right: 2px solid rgba(46,184,114,0.5);
  transform: rotate(45deg);
}

.and-flow-sub-steps {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 28px 0 0;
}

.and-flow-sub-step {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 20px 24px;
  text-align: center;
  min-width: 150px;
  transition: all 0.3s ease;
}

.and-flow-sub-step:hover {
  background: rgba(46,184,114,0.08);
  border-color: rgba(46,184,114,0.25);
  transform: translateY(-4px);
}

.and-flow-sub-step .and-sub-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
  display: block;
  color: var(--wos-primary);
}

.and-flow-sub-step h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.and-flow-sub-step p {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Specs */
.wos-specs { background: var(--wos-pale); padding: 100px 5%; border-bottom: 1px solid var(--wos-border); }
.wos-specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 60px; align-items: start; }
.wos-specs-card { background: #fff; border: 1px solid var(--wos-border); border-radius: 20px; overflow: hidden; box-shadow: 0 2px 16px rgba(10,31,20,0.05); }
.wos-specs-card-header { background: linear-gradient(135deg, var(--wos-dark), var(--wos-mid)); padding: 24px 28px; display: flex; align-items: center; gap: 14px; }
.wos-specs-card-header i { color: var(--wos-primary); font-size: 1.4rem; }
.wos-specs-card-header h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #fff; }
.wos-specs-table { width: 100%; border-collapse: collapse; }
.wos-specs-table tr { border-bottom: 1px solid var(--wos-border); }
.wos-specs-table tr:last-child { border-bottom: none; }
.wos-specs-table td { padding: 14px 20px; font-size: 0.92rem; }
.wos-specs-table td:first-child { color: var(--wos-muted); font-weight: 600; width: 45%; background: rgba(245,240,255,0.5); }
.wos-specs-table td:last-child { color: var(--wos-text); font-weight: 500; }


/* Stats */
.wos-stats { background: var(--wos-dark); padding: 100px 5%; position: relative; overflow: hidden; }
.wos-stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 50% 0%, rgba(46,184,114,0.1) 0%, transparent 60%); pointer-events: none; }
.wos-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: rgba(255,255,255,0.06); border-radius: 24px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 10; }
.wos-stat-item { padding: 48px 28px; text-align: center; background: rgba(255,255,255,0.02); transition: background 0.3s; }
.wos-stat-item:hover { background: rgba(255,255,255,0.09); }
.wos-stat-item h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 3rem; font-weight: 700; color: #fff; line-height: 1; margin-bottom: 10px; display: inline-block; }
.wos-stat-item h2 span { color: var(--wos-primary); }
.wos-stat-item p { color: rgba(255,255,255,0.7); font-size: 0.88rem; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; }

/* CTA */
.wos-cta { background: linear-gradient(135deg, var(--green-ultra-pale), var(--green-pale)); padding: 100px 5%; text-align: center; border-bottom: 1px solid var(--wos-border); }
.wos-cta h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem,3.5vw,2.8rem); font-weight: 800; color: var(--wos-dark); margin-bottom: 16px; letter-spacing: -0.03em; }
.wos-cta p { font-size: 1.2rem; color: var(--wos-muted); max-width: 600px; margin: 0 auto 36px; line-height: 1.75; }
.wos-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }


.wos-section-label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: var(--wos-accent); margin-bottom: 14px; }
.wos-section-title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.8rem,3vw,2.6rem); font-weight: 800; color: var(--wos-dark); line-height: 1.15; letter-spacing: -0.03em; margin-bottom: 20px; }
.wos-section-title span { background: linear-gradient(120deg, var(--green-light), var(--green-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

@media (max-width: 1024px) { .wos-features-grid { grid-template-columns: repeat(2,1fr); } .wos-usecases-grid { grid-template-columns: repeat(2,1fr); } .wos-stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px) { .wos-hero-grid, .wos-overview-grid, .wos-specs-grid { grid-template-columns: 1fr; gap: 40px; } .wos-hero-visual { order: -1; } .wos-flow-steps { flex-wrap: wrap; gap: 16px; } .wos-flow-connector { display: none; } .wos-overview-img-box img { height: auto !important; object-fit: contain !important; } }
@media (max-width: 600px) { .wos-features-grid, .wos-usecases-grid { grid-template-columns: 1fr; } .wos-stats-grid { grid-template-columns: 1fr; } }

/* Button override for WebOS pages */
.btn-primary-wos {
  background: linear-gradient(135deg, #a855f7 0%, #8b31df 100%);
  color: #fff;
  padding: 16px 32px;
  border-radius: 30px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(168, 85, 247, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-wos:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(168, 85, 247, 0.25);
  background: linear-gradient(135deg, #a855f7 0%, #8b31df 100%);
}

