/* ============================================================
   Lab N Cloud — Shared Page Styles (Features / Pricing / Demo)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #06080d;
  --surface: rgba(255,255,255,0.03);
  --surface-hover: rgba(255,255,255,0.06);
  --surface-border: rgba(255,255,255,0.07);
  --blue: #3b82f6;
  --blue-glow: rgba(59,130,246,0.3);
  --cyan: #22d3ee;
  --text: #f0f0f5;
  --text-muted: rgba(255,255,255,0.5);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body.page {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
body.page a { text-decoration: none; color: inherit; }

/* ===== NAV (same as home) ===== */
.pg-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  background: rgba(6,8,13,0.75);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 100;
}
.pg-nav-logo { display: flex; align-items: center; }
.pg-nav-logo img { height: 48px; filter: brightness(0) invert(1); }
.pg-nav-links { display: flex; gap: 32px; }
.pg-nav-links a { color: var(--text-muted); font-size: 14px; font-weight: 500; transition: color 0.25s; }
.pg-nav-links a:hover { color: #fff; }
.pg-nav-links a.active { color: #fff; }
.pg-nav-cta {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; padding: 9px 20px; border-radius: 8px; font-weight: 600; font-size: 13px; transition: all 0.25s;
}
.pg-nav-cta:hover { background: rgba(255,255,255,0.14); }

/* ===== PAGE HEADER ===== */
.pg-header {
  padding: 140px 5% 60px;
  text-align: center;
}
.pg-header h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: -2px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #fff, #94a3b8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pg-header p {
  font-size: 18px; color: var(--text-muted); max-width: 540px; margin: 0 auto; line-height: 1.6;
}

/* ===== FEATURES PAGE ===== */
.ft-section { padding: 0 5% 80px; }
.ft-category {
  max-width: 1100px; margin: 0 auto 64px;
}
.ft-cat-header {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid var(--surface-border);
}
.ft-cat-icon { font-size: 28px; }
.ft-cat-title { font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.ft-cat-count {
  font-size: 12px; font-weight: 700; color: var(--blue);
  background: rgba(59,130,246,0.1); padding: 4px 10px; border-radius: 6px;
}

.ft-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 12px;
}

.ft-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.3s;
}
.ft-card:hover {
  background: var(--surface-hover);
  border-color: rgba(59,130,246,0.2);
  transform: translateY(-2px);
}
.ft-card h4 {
  font-size: 15px; font-weight: 700; margin-bottom: 6px; color: #fff;
}
.ft-card p {
  font-size: 13px; color: var(--text-muted); line-height: 1.55;
}

/* ===== PRICING PAGE ===== */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5% 100px;
}

.pr-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 40px;
  display: flex; flex-direction: column;
  transition: all 0.3s;
}
.pr-card:hover { border-color: rgba(255,255,255,0.12); }

.pr-card.featured {
  background: linear-gradient(160deg, rgba(59,130,246,0.12), rgba(34,211,238,0.06));
  border-color: rgba(59,130,246,0.3);
  position: relative;
}
.pr-card.featured::before {
  content: 'MOST POPULAR';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 800; padding: 5px 14px; border-radius: 980px; letter-spacing: 0.5px;
}

.pr-tier {
  font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--blue); margin-bottom: 16px;
}
.pr-price {
  font-size: 48px; font-weight: 900; letter-spacing: -2px; margin-bottom: 4px; color: #fff;
}
.pr-price span { font-size: 16px; font-weight: 500; color: var(--text-muted); letter-spacing: 0; }
.pr-desc {
  color: var(--text-muted); font-size: 14px; margin-bottom: 32px; line-height: 1.5; min-height: 42px;
}

.pr-btn {
  display: block; text-align: center; padding: 14px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 32px; transition: all 0.25s;
}
.pr-btn:hover { background: rgba(255,255,255,0.14); }
.pr-card.featured .pr-btn {
  background: var(--blue); border-color: var(--blue);
  box-shadow: 0 0 20px var(--blue-glow);
}
.pr-card.featured .pr-btn:hover { background: #4f8ff7; }

.pr-list { list-style: none; flex: 1; }
.pr-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text-muted); margin-bottom: 14px; font-weight: 500;
}
.pr-list li svg { width: 16px; height: 16px; stroke: var(--blue); stroke-width: 2.5; fill: none; flex-shrink: 0; }

/* ===== DEMO PAGE ===== */
.dm-container {
  max-width: 560px; margin: 0 auto; padding: 0 5% 100px;
}
.dm-form {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  padding: 40px;
}
.dm-group { margin-bottom: 18px; }
.dm-group label {
  display: block; font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 6px;
}
.dm-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--surface-border);
  border-radius: 10px;
  padding: 14px 16px;
  color: #fff; font-size: 15px; font-family: inherit;
  transition: border-color 0.2s;
}
.dm-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,130,246,0.15); }
textarea.dm-input { resize: vertical; min-height: 100px; }

.dm-submit {
  width: 100%; background: var(--blue); color: #fff; border: none;
  padding: 16px; border-radius: 10px; font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.25s; margin-top: 8px; font-family: inherit;
  box-shadow: 0 0 20px var(--blue-glow);
}
.dm-submit:hover { background: #4f8ff7; }

.dm-row { display: flex; gap: 16px; }
.dm-row .dm-group { flex: 1; }

/* ===== FOOTER ===== */
.pg-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 5%;
  display: flex; justify-content: space-between; align-items: center;
}
.pg-footer-copy { color: var(--text-muted); font-size: 13px; }
.pg-footer-links { display: flex; gap: 24px; }
.pg-footer-links a { color: var(--text-muted); font-size: 13px; font-weight: 500; }
.pg-footer-links a:hover { color: #fff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pr-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .pg-nav-links { display: none; }
  .ft-grid { grid-template-columns: 1fr; }
  .pr-grid { grid-template-columns: 1fr; padding: 0 5% 60px; }
  .dm-row { flex-direction: column; gap: 0; }
  .pg-footer { flex-direction: column; gap: 16px; text-align: center; }
}
