/* ═══ LINUX SIGNAGE PAGE SPECIFIC STYLES ═══ */

/* ═══ HERO ═══ */
.lin-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;
}

.lin-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 20%, rgba(46,184,114,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(10,31,20,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.lin-hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.lin-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.lin-orb-1 { width: 420px; height: 420px; top: -120px; right: 3%; background: radial-gradient(circle,rgba(46,184,114,0.15),transparent 70%); animation: linOrbFloat1 8s ease-in-out infinite; }
.lin-orb-2 { width: 300px; height: 300px; bottom: -60px; left: 8%; background: radial-gradient(circle,rgba(30,92,62,0.1),transparent 70%); animation: linOrbFloat2 10s ease-in-out infinite; }
.lin-orb-3 { width: 200px; height: 200px; top: 35%; left: 42%; background: radial-gradient(circle,rgba(46,184,114,0.08),transparent 70%); animation: linOrbFloat3 6s ease-in-out infinite; }

@keyframes linOrbFloat1 { 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 linOrbFloat2 { 0%,100%{transform:translate(0,0)scale(1)}50%{transform:translate(40px,-50px)scale(1.15)} }
@keyframes linOrbFloat3 { 0%,100%{transform:translate(0,0)scale(1);opacity:.6}50%{transform:translate(-20px,30px)scale(1.2);opacity:1} }
@keyframes linFadeUp { from{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)} }

.lin-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;
}

.lin-hero-text { animation: linFadeUp 0.8s ease both; }

.lin-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);
  box-shadow: 0 4px 12px rgba(10,31,20,0.04);
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 24px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lin-hero-badge::before { content: '●'; font-size: 0.6rem; color: var(--green-light); }

.lin-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(--green-dark);
  margin-bottom: 20px;
  letter-spacing: -0.05em;
}

.lin-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;
}

.lin-hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 480px;
  font-weight: 500;
}

.lin-hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* Hero Visual */
.lin-hero-visual { animation: linFadeUp 0.9s 0.15s ease both; }
.lin-mockup-img { width: 100%; height: auto; object-fit: contain; display: block; filter: drop-shadow(0 30px 60px rgba(10,31,20,0.15)); border-radius: 12px; }

/* Linux terminal hero illustration */
.lin-terminal-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-dark) 100%);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(10,31,20,0.25);
  border: 1px solid rgba(46,184,114,0.15);
  position: relative;
}

.lin-terminal-bar {
  background: var(--green-mid);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(46,184,114,0.12);
}

.lin-terminal-dots { display: flex; gap: 7px; }
.lin-terminal-dots span { width: 12px; height: 12px; border-radius: 50%; }
.lin-terminal-dots span:nth-child(1) { background: #ff5f56; }
.lin-terminal-dots span:nth-child(2) { background: #ffbd2e; }
.lin-terminal-dots span:nth-child(3) { background: #27c93f; }

.lin-terminal-title {
  flex: 1;
  text-align: center;
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}

.lin-terminal-body {
  padding: 28px 28px 32px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.82rem;
  line-height: 1.9;
}

.lin-term-line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 2px; }
.lin-term-prompt { color: var(--green-light); font-weight: 700; flex-shrink: 0; }
.lin-term-cmd { color: var(--border); }
.lin-term-out { color: rgba(255,255,255,0.4); padding-left: 0; }
.lin-term-success { color: #27c93f; }
.lin-term-info { color: var(--green-accent); }
.lin-term-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background: var(--green-light);
  animation: blink 1s step-end infinite;
  vertical-align: middle;
  margin-left: 2px;
}

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

.lin-terminal-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(46,184,114,0.1);
  border-top: 1px solid rgba(46,184,114,0.12);
}

.lin-term-stat {
  background: var(--green-dark);
  padding: 14px 16px;
  text-align: center;
}

.lin-term-stat-val { font-family: 'Geist Mono', monospace; font-size: 1.1rem; font-weight: 700; color: var(--green-light); display: block; }
.lin-term-stat-lbl { font-size: 0.65rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; display: block; }

/* ═══ Linux OVERVIEW SECTION ═══ */
.lin-overview {
  background: #ffffff;
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
}

.lin-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.lin-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(--border);
}

.lin-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);
}

.lin-overview-img-box:hover img { transform: scale(1.06) rotate(-0.8deg); }

.lin-overview-text p { font-size: 1.15rem; color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; }

.lin-distro-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.lin-distro-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-ultra-pale);
  border: 1px solid rgba(46,184,114,0.2);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green-dark);
}

.lin-distro-badge span { font-size: 1rem; }

.lin-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lin-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
  color: var(--text-dark);
  font-weight: 500;
}

.lin-check-list li i {
  color: var(--green-light);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ═══ FEATURES ═══ */
.lin-features {
  background: linear-gradient(135deg, var(--green-ultra-pale), #fff);
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
}

.lin-features-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 60px;
}

.lin-feat-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 2px 16px rgba(10,31,20,0.05);
}

.lin-feat-card:hover {
  transform: translateY(-8px);
  border-color: var(--green-light);
  box-shadow: 0 20px 48px rgba(10,31,20,0.1);
}

.lin-feat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--green-ultra-pale);
  border: 1px solid rgba(46,184,114,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.lin-feat-card:hover .lin-feat-icon { transform: scale(1.15) rotate(-3deg); }

.lin-feat-card h3 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.lin-feat-card p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}


/* ═══ SPECS TABLE ═══ */
.lin-specs {
  background: var(--green-ultra-pale);
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
}

.lin-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 60px;
}

.lin-specs-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(10,31,20,0.05);
}

.lin-specs-card-header {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.lin-specs-card-header i { color: var(--green-accent); font-size: 1.4rem; }
.lin-specs-card-header h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: #ffffff; }

.lin-specs-table { width: 100%; border-collapse: collapse; }
.lin-specs-table tr { border-bottom: 1px solid var(--border); }
.lin-specs-table tr:last-child { border-bottom: none; }
.lin-specs-table td { padding: 14px 20px; font-size: 0.92rem; }
.lin-specs-table td:first-child { color: var(--text-muted); font-weight: 600; width: 45%; background: rgba(240,247,255,0.5); }
.lin-specs-table td:last-child { color: var(--text-dark); font-weight: 500; }

/* ═══ DISTROS ═══ */
.lin-distros {
  background: #ffffff;
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
}

.lin-distros-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 60px;
}

.lin-distro-item {
  background: var(--green-ultra-pale);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 22px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

.lin-distro-item:hover {
  transform: translateY(-8px);
  background: #ffffff;
  border-color: var(--green-light);
  box-shadow: 0 16px 40px rgba(10,31,20,0.1);
}

.lin-distro-logo { font-size: 2.5rem; margin-bottom: 16px; display: block; }
.lin-distro-item h4 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.05rem; 
  font-weight: 700; color: var(--green-dark); margin-bottom: 10px; }
.lin-distro-item p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

/* ═══ STATS ═══ */
.lin-stats {
  background: var(--green-dark);
  padding: 100px 5%;
  position: relative;
  overflow: hidden;
}

.lin-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;
}

.lin-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;
}

.lin-stat-item {
  padding: 48px 28px;
  text-align: center;
  background: rgba(255,255,255,0.02);
  transition: background 0.3s;
}

.lin-stat-item:hover { background: rgba(255,255,255,0.09); }
.lin-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; }
.lin-stat-item h2 span { color: var(--green-light); }
.lin-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 SECTION ═══ */
.lin-cta {
  background: linear-gradient(135deg, var(--green-ultra-pale), var(--green-pale));
  padding: 100px 5%;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.lin-cta h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(2rem,3.5vw,2.8rem); 
  font-weight: 800; color: var(--green-dark); margin-bottom: 16px; letter-spacing: -0.03em; }
.lin-cta p { font-size: 1.2rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 36px; line-height: 1.75; }
.lin-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Blue primary button override for Linux pages */
.btn-primary-blue {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 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(10, 31, 20, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-blue:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(10, 31, 20, 0.25);
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green-mid) 100%);
}

/* ═══ SECTION LABEL/TITLE OVERRIDES ═══ */
.lin-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(--green-light);
  margin-bottom: 14px;
}

.lin-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem,3vw,2.6rem);
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.lin-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;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1024px) {
  .lin-features-grid { grid-template-columns: repeat(2,1fr); }
  .lin-distros-grid { grid-template-columns: repeat(2,1fr); }
  .lin-stats-grid { grid-template-columns: repeat(2,1fr); }
}

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

/* ═══ FLOW DIAGRAM ═══ */
.and-flow-diagram {
  background: linear-gradient(135deg, var(--green-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(--green-light);
}

.and-flow-node:hover {
  background: rgba(46,184,114,0.3);
  border-color: var(--green-light);
  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(--green-light);
  color: var(--green-dark);
  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(--green-light), 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(--green-light);
  border-right: 2px solid var(--green-light);
  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(--green-light);
}

.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);
}

@media (max-width: 600px) {
  .lin-features-grid, .lin-distros-grid { grid-template-columns: 1fr; }
  .lin-stats-grid { grid-template-columns: 1fr; }
}

