/* ===== BASE STYLES & VARIABLES ===== */
:root {
  /* Color System */
  --bg: #0b1020;
  --bg-primary: #0f172a;
  --bg-secondary: #12172a;
  --bg-tertiary: #1e293b;
  --card: #12172a;
  --text: #e6ecff;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --muted: #9fb0d8;
  --brand: #5ac8fa;
  --accent: #7ef29a;
  --accent-primary: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #0c101e;
  --shadow: 0 10px 30px rgba(0,0,0,.25);
  --hover-shadow: 0 20px 40px rgba(0,0,0,.35);
  --gradient: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
  --brand-gradient: linear-gradient(135deg, #5ac8fa 0%, #7ef29a 100%);
  
  /* Status Colors */
  --success: #22c55e;
  --error: #ef4444;
  --warning: #f59e0b;
  --stopped: #6b7280;
  --running: #10b981;
  --export: #8b5cf6;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

.container {
  width: min(1200px, 95%);
  margin: 0 auto;
  padding: 0 15px;
}

/* ===== HEADER & NAVIGATION (All Pages) ===== */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 16, 32, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: all 0.3s ease;
  min-height: 64px;
}

.site-header.scrolled {
  background: rgba(11, 16, 32, .98);
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: translateY(-2px);
}

.logo {
  width: 42px;
  height: 42px;
  transition: transform 0.3s ease;
}

.brand-text {
  font-weight: 800;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  letter-spacing: .5px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  padding: .6rem .8rem;
  border-radius: .6rem;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  min-width: 44px;
  min-height: 44px;
  z-index: 1001;
}

.menu-toggle:hover {
  background: var(--card);
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  padding: .6rem 1rem;
  border-radius: .8rem;
  color: var(--muted);
  text-decoration: none;
  border: 1px solid transparent;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-size: .95rem;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text);
  transform: translateY(-2px);
}

.nav-link.active {
  color: var(--bg);
  background: var(--accent);
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(126, 242, 154, .3);
}

/* ===== HOME PAGE STYLES ===== */
/* Hero Section */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2rem, 6vw, 4rem);
  background: radial-gradient(1200px 800px at 20% -10%, rgba(122, 192, 255, .2), transparent), 
              radial-gradient(1200px 800px at 100% 10%, rgba(126, 242, 154, .15), transparent);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(90,200,250,0.03)" points="0,800 400,600 600,800 800,400 1000,800 1000,1000 0,1000"/></svg>');
  background-size: cover;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: .5rem 0 1.5rem;
  line-height: 1.2;
  font-weight: 800;
}

.hero-text p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  margin-bottom: 2rem;
}

.cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.hero-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
}

.hero-card h3 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: clamp(1.1rem, 2vw, 1.3rem);
}

.trust-bullets {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
}

.trust-bullets li {
  padding-left: 2rem;
  position: relative;
  color: var(--muted);
  margin-bottom: .8rem;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
}

.trust-bullets li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
  font-size: 1.2rem;
}

/* ===== BUTTON STYLES (All Pages) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: clamp(.8rem, 2vw, .9rem) clamp(1.5rem, 3vw, 2rem);
  border-radius: 1rem;
  text-decoration: none;
  border: 2px solid var(--border);
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  font-size: 1rem;
  min-height: 44px;
  text-align: center;
  background: var(--bg);
  color: var(--text);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .1), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn.primary {
  background: var(--gradient);
  color: #001222;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(90, 200, 250, .3);
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(90, 200, 250, .4);
}

.btn.outline {
  color: var(--text);
  border-color: var(--brand);
  background: transparent;
}

.btn.outline:hover {
  background: var(--brand);
  color: var(--bg);
  transform: translateY(-3px);
}

.btn.block {
  display: flex;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  justify-content: center;
}

.btn.small {
  padding: .5rem 1rem;
  font-size: .9rem;
}

/* ===== COMMON SECTION STYLES (All Pages) ===== */
.page-hero {
  padding: clamp(2rem, 6vw, 4rem) 0 clamp(1rem, 4vw, 2rem);
  text-align: center;
  position: relative;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}

.features {
  padding: clamp(3rem, 8vw, 5rem) 0;
  background: var(--card);
}

.section-title {
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section-title h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-title p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2rem);
}

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--hover-shadow);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: clamp(.95rem, 1.5vw, 1rem);
}

.text-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all 0.3s ease;
  font-size: clamp(.9rem, 1.5vw, 1rem);
}

.text-link:hover {
  gap: 1rem;
  color: var(--accent);
}

/* ===== SOCIAL PROOF SECTION (Home & Hosting) ===== */
.social-proof {
  padding: clamp(3rem, 8vw, 5rem) 0;
  text-align: center;
}

.social-proof h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  font-weight: 800;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 1rem;
}

.checklist li {
  padding: 1rem 1rem 1rem 3rem;
  background: var(--card);
  border-radius: 1rem;
  border: 1px solid var(--border);
  position: relative;
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
  transition: all 0.3s ease;
  text-align: left;
}

.checklist li:hover {
  transform: translateY(-3px);
  border-color: var(--brand);
}

.checklist li::before {
  content: "⚡";
  position: absolute;
  left: 1rem;
  color: var(--accent);
  font-size: 1.2rem;
}

/* ===== GRID LAYOUTS (All Pages) ===== */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.grid-2 h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.grid-2 p {
  color: var(--muted);
  line-height: 1.7;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
}

/* ===== SERVICE BLOCKS (Services Page) ===== */
.service-block {
  margin: clamp(2rem, 4vw, 3rem) 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, .02), transparent);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.service-block:hover {
  transform: translateY(-5px);
  box-shadow: var(--hover-shadow);
  border-color: var(--brand);
}

.service-block h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--brand);
}

.service-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-block li {
  padding: .8rem 0 .8rem 2rem;
  position: relative;
  color: var(--muted);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
  font-size: clamp(.95rem, 1.5vw, 1.1rem);
}

.service-block li:last-child {
  border-bottom: none;
}

.service-block li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ===== CONTACT PAGE STYLES ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
  margin: clamp(2rem, 4vw, 3rem) 0;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: .5rem;
  font-size: clamp(.9rem, 1.5vw, 1rem);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(90, 200, 250, .1);
}

.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
}

.contact-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

/* ===== HOSTING PAGE SPECIFIC STYLES ===== */
.auth-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 400px;
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1rem;
}

.auth-tab {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  padding: .5rem 1rem;
  border-radius: .5rem;
  transition: all 0.3s ease;
}

.auth-tab.active {
  color: var(--brand);
  background: rgba(90, 200, 250, .1);
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: .5rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: .8rem 1rem;
  border-radius: .8rem;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(90, 200, 250, .1);
}

.vps-section {
  display: none;
}

.vps-section.active {
  display: block;
}

.user-info {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--border);
}

.user-info h3 {
  color: var(--text);
  margin-bottom: .5rem;
}

.user-info span {
  color: var(--brand);
}

.launch-form {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  margin: 2rem 0;
}

.launch-form h2 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

.os-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.os-option {
  cursor: pointer;
}

.os-option input {
  display: none;
}

.os-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.os-option input:checked + .os-card {
  border-color: var(--brand);
  background: rgba(90, 200, 250, .1);
}

.os-card h4 {
  color: var(--text);
  margin-bottom: .5rem;
}

.os-card p {
  color: var(--muted);
  font-size: .9rem;
}

.config-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.config-option {
  cursor: pointer;
}

.config-option input {
  display: none;
}

.config-card {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.config-option input:checked + .config-card {
  border-color: var(--brand);
  background: rgba(90, 200, 250, .1);
}

.config-card h4 {
  color: var(--text);
  margin-bottom: 1rem;
}

.config-card p {
  color: var(--muted);
  margin-bottom: .5rem;
  font-size: .9rem;
}

.config-card .price {
  color: var(--accent);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.vps-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.vps-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.vps-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.vps-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.vps-header h3 {
  color: var(--text);
}

.vps-status {
  padding: .25rem .75rem;
  border-radius: 1rem;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-running {
  background: rgba(34, 197, 94, .1);
  color: var(--success);
}

.status-stopped {
  background: rgba(239, 68, 68, .1);
  color: var(--error);
}

.status-pending {
  background: rgba(245, 158, 11, .1);
  color: var(--warning);
}

.vps-item p {
  color: var(--muted);
  margin-bottom: .5rem;
  font-size: .9rem;
}

.vps-item strong {
  color: var(--text);
}

/* ===== INVENTORY PAGE STYLES ===== */
.inventory-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(10px, 3vw, 20px);
}

.inventory-card {
    background: var(--card);
    border-radius: 12px;
    padding: clamp(15px, 3vw, 24px);
    margin-bottom: 20px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.inventory-account-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid var(--brand);
}

.inventory-account-info strong {
    color: var(--text);
    font-size: clamp(14px, 2vw, 16px);
    display: block;
    margin-bottom: 5px;
}

.inventory-account-info p {
    color: var(--muted);
    margin: 0;
    font-size: clamp(12px, 1.5vw, 14px);
}

.inventory-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 15px;
    margin-bottom: 20px;
    align-items: end;
}

.inventory-form-group {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.inventory-form-group label {
    margin-bottom: 8px;
    color: var(--muted);
    font-weight: 500;
    font-size: clamp(12px, 1.5vw, 14px);
}

.inventory-select, .inventory-input {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    width: 100%;
    min-width: 0;
    font-family: inherit;
}

.inventory-select:disabled {
    opacity: 0.6;
    background: rgba(255, 255, 255, 0.05);
}

.inventory-btn {
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s;
    white-space: nowrap;
    font-size: clamp(13px, 1.5vw, 14px);
    height: fit-content;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.inventory-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.inventory-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn-load {
    background: var(--brand);
}

.btn-stop {
    background: var(--error);
}

.btn-start {
    background: var(--success);
}

.btn-export {
    background: var(--export);
}

.btn-manage {
    background: var(--warning);
}

.inventory-btn-small {
    padding: 8px 12px;
    font-size: 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.inventory-btn-small:hover:not(:disabled) {
    transform: translateY(-1px);
}

.inventory-action-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.inventory-status {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: clamp(13px, 1.5vw, 14px);
    display: none;
}

.inventory-status.success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
    display: block;
}

.inventory-status.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    color: var(--error);
    display: block;
}

.inventory-loading {
    text-align: center;
    padding: 40px;
    color: var(--muted);
    font-size: clamp(14px, 2vw, 16px);
}

.inventory-results {
    margin-top: 20px;
}

.inventory-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 15px;
}

.results-title-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.inventory-results-count {
    color: var(--muted);
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 500;
}

.refresh-icon {
    background: none;
    border: none;
    color: var(--brand);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
}

.refresh-icon:hover {
    background: rgba(90, 200, 250, 0.1);
    transform: rotate(180deg);
}

.refresh-icon.loading {
    animation: spin 1s linear infinite;
}

.refresh-icon:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.inventory-table-container {
    overflow-x: auto;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
    margin: 15px 0;
    -webkit-overflow-scrolling: touch;
}

.inventory-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.inventory-table th, .inventory-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: clamp(12px, 1.5vw, 14px);
}

.inventory-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    font-weight: 600;
    position: sticky;
    top: 0;
    white-space: nowrap;
}

.inventory-table td {
    color: var(--muted);
    vertical-align: top;
}

.inventory-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.state-running {
    color: var(--success);
    font-weight: 600;
}

.state-stopped {
    color: var(--error);
    font-weight: 600;
}

.state-pending, .state-starting, .state-stopping {
    color: var(--warning);
    font-weight: 600;
}

.inventory-record-type {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.record-a { background: rgba(34, 197, 94, 0.2); color: var(--success); }
.record-cname { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.record-txt { background: rgba(168, 85, 247, 0.2); color: #a855f7; }
.record-mx { background: rgba(249, 115, 22, 0.2); color: #f97316; }
.record-ns { background: rgba(236, 72, 153, 0.2); color: #ec4899; }
.record-soa { background: rgba(20, 184, 166, 0.2); color: #14b8a6; }
.record-other { background: rgba(255, 255, 255, 0.05); color: var(--muted); }

.record-values {
    max-width: 300px;
}

.record-value {
    word-break: break-word;
    line-height: 1.4;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 12px;
}

.inventory-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 10px;
}

.inventory-modal-content {
    background: var(--card);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 95%;
    max-width: 500px;
    border: 1px solid var(--border);
    box-shadow: var(--hover-shadow);
    position: relative;
}

.inventory-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid var(--border);
}

.inventory-modal-header h3 {
    margin: 0;
    color: var(--text);
    font-size: clamp(1.1rem, 3vw, 1.3rem);
}

.inventory-modal-close {
    background: none;
    border: none;
    color: var(--muted);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.2s;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inventory-modal-close:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.1);
}

.inventory-account-list {
    max-height: 400px;
    overflow-y: auto;
    margin: 0;
    padding: 0 25px;
}

.inventory-account-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.inventory-account-item:last-child {
    border-bottom: none;
}

.inventory-account-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.inventory-info-box {
    background: rgba(90, 200, 250, 0.1);
    border: 1px solid rgba(90, 200, 250, 0.3);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 25px;
    font-size: clamp(13px, 1.5vw, 14px);
}

.inventory-info-box strong {
    color: var(--brand);
    display: block;
    margin-bottom: 10px;
}

.inventory-info-box ul {
    margin: 10px 0 0 0;
    padding-left: 20px;
}

.inventory-info-box li {
    color: var(--muted);
    margin-bottom: 5px;
    line-height: 1.5;
}

.pagination-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 15px;
    background: var(--card);
    border-radius: 8px;
    border: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    color: var(--muted);
    font-size: clamp(13px, 1.5vw, 14px);
    font-weight: 500;
}

.pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-pagination {
    background: var(--bg-tertiary);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: clamp(13px, 1.5vw, 14px);
    min-width: 40px;
    min-height: 44px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pagination:hover:not(:disabled) {
    background: var(--brand);
    color: var(--bg);
    transform: translateY(-1px);
}

.btn-pagination:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.btn-pagination.active {
    background: var(--brand);
    color: var(--bg);
    font-weight: 600;
}

.page-numbers {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-size-selector label {
    color: var(--muted);
    font-size: clamp(13px, 1.5vw, 14px);
    margin: 0;
    white-space: nowrap;
}

.page-size-selector select {
    padding: 6px 8px;
    border-radius: 4px;
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
    font-size: 14px;
    min-height: 44px;
}

.loading-spinner {
    border: 3px solid var(--border);
    border-top: 3px solid var(--brand);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.account-actions {
    display: flex;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.inventory-modal .inventory-form-group {
    padding: 0 25px;
    margin-bottom: 20px;
}

.inventory-modal .inventory-form-group:first-of-type {
    margin-top: 20px;
}

.inventory-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 15px 0;
}

/* ===== MESSAGES (All Pages) ===== */
.message {
  padding: 1rem;
  border-radius: .8rem;
  margin: 1rem 0;
  font-weight: 500;
  display: none;
}

.message.success {
  background: rgba(34, 197, 94, .1);
  border: 1px solid var(--success);
  color: var(--success);
}

.message.error {
  background: rgba(239, 68, 68, .1);
  border: 1px solid var(--error);
  color: var(--error);
}

/* ===== FOOTER (All Pages) ===== */
.site-footer {
    margin-top: 5rem;
    border-top: 1px solid var(--border);
    background: #0a0f1e;
    padding: clamp(2rem, 6vw, 4rem) 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    margin-bottom: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand .logo {
    width: 50px;
    height: 50px;
}

.footer-brand p {
    color: var(--muted);
    line-height: 1.7;
    font-size: clamp(.9rem, 1.5vw, 1rem);
}

.footer-links h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: .8rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: clamp(.9rem, 1.5vw, 1rem);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--muted);
    font-size: clamp(.85rem, 1.5vw, .9rem);
}

/* ===== MOBILE RESPONSIVE STYLES ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 0 10px;
  }
  
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    border-right: 1px solid var(--border);
    flex-direction: column;
    padding: 4rem 1.5rem 2rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    z-index: 1000;
    overflow-y: auto;
    justify-content: flex-start;
    align-items: flex-start;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-link {
    width: 100%;
    text-align: left;
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0.5rem;
    font-size: 1rem;
  }
  
  .menu-close {
    display: flex;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1002;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  
  .cta-row {
    justify-content: center;
  }
  
  .btn {
    flex: 1;
    min-width: 200px;
  }
  
  .cards {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    align-items: center;
  }
  
  .inventory-controls {
    grid-template-columns: 1fr;
  }
  
  .inventory-results-header {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .results-title-section {
    justify-content: space-between;
  }
  
  .pagination-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }
  
  .pagination-buttons {
    justify-content: center;
  }
  
  .page-size-selector {
    justify-content: center;
  }
  
  .inventory-account-item {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  
  .inventory-account-actions {
    justify-content: flex-end;
  }
  
  .os-options,
  .config-grid {
    grid-template-columns: 1fr;
  }
  
  .vps-list {
    grid-template-columns: 1fr;
  }
  
  .user-info {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 14px;
  }
  
  .hero {
    padding: 2rem 0;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .hero-text p {
    font-size: 1rem;
  }
  
  .btn {
    min-width: 100%;
    font-size: 0.9rem;
  }
  
  .card {
    padding: 1.5rem 1rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
  
  .inventory-card {
    padding: 1rem;
  }
  
  .inventory-table th, .inventory-table td {
    padding: 8px;
    font-size: 12px;
  }
  
  .inventory-modal-content {
    margin: 10% auto;
    width: 98%;
  }
  
  .inventory-modal-header {
    padding: 15px 20px;
  }
  
  .inventory-account-list {
    padding: 0 20px;
  }
  
  .inventory-info-box {
    margin: 15px 20px;
    padding: 12px;
  }
  
  .pagination-buttons {
    gap: 4px;
  }
  
  .btn-pagination {
    min-width: 36px;
    padding: 6px 8px;
    font-size: 12px;
  }
  
  .page-hero h1 {
    font-size: 1.8rem;
  }
  
  .auth-section {
    padding: 1.5rem;
  }
  
  .launch-form {
    padding: 1.5rem;
  }
  
  .checklist li {
    padding: 1rem 1rem 1rem 2.5rem;
    font-size: .9rem;
  }
}

/*_____________________________________*/
/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    color: #333;
    z-index: 1002;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-close:hover {
    color: #007bff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        display: flex !important;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links.active .menu-close {
        display: flex;
    }
    
    .nav-link {
        padding: 15px;
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Overlay when menu is open */
    .nav-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: -1;
    }
}

/* Desktop Styles */
@media (min-width: 769px) {
    .nav-links {
        display: flex !important;
        align-items: center;
        gap: 20px;
    }
    
    .menu-close {
        display: none !important;
    }
}
/*_____________________________________*/

/* High-resolution displays */
@media (min-resolution: 192dpi) {
  .logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
  }
}

/* Print styles */
@media print {
  .site-header,
  .site-footer,
  .btn,
  .auth-section,
  .vps-section {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .container {
    width: 100% !important;
    max-width: none !important;
  }
}

/*#############Blogs Css####################*/

/*############# BLOGS CSS ####################*/

/* ===== BLOG PAGE STYLES ===== */
.blog-page {
    min-height: calc(100vh - 200px);
}

.blog-content {
    padding: clamp(2rem, 5vw, 4rem) 0;
}

.blog-content .container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(350px, 100%), 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hover-shadow);
    border-color: var(--brand);
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card-header {
    margin-bottom: 1.5rem;
}

.blog-card-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.3;
    color: var(--text-primary);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.blog-category {
    background: var(--gradient);
    color: #001222;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-date {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-card-body {
    flex: 1;
    margin-bottom: 2rem;
}

.blog-card-body p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

.blog-card-body strong {
    color: var(--brand);
    font-weight: 600;
}

.blog-card-footer {
    margin-top: auto;
}

.blog-card-footer .read-more {
    width: 100%;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-card-footer .read-more svg {
    transition: transform 0.3s ease;
}

.blog-card-footer .read-more:hover svg {
    transform: translateX(5px);
}

/* Blog Categories Color Variations */
.blog-category.tutorial {
    background: linear-gradient(135deg, #5ac8fa 0%, #2563eb 100%);
}

.blog-category.cheat-sheet {
    background: linear-gradient(135deg, #7ef29a 0%, #22c55e 100%);
}

.blog-category.web-stack {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
}

.blog-category.cloud {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
}

.blog-category.containers {
    background: linear-gradient(135deg, #06b6d4 0%, #0ea5e9 100%);
}

.blog-category.security {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Responsive Blog Styles */
@media (max-width: 768px) {
    .blog-content .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-card {
        padding: 1.5rem;
    }
    
    .blog-card-header h2 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .blog-card {
        padding: 1.2rem;
    }
    
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Blog Search and Filter */
.blog-search {
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(90, 200, 250, 0.1);
}

.search-box svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 20px;
    height: 20px;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.pagination-btn {
    padding: 0.8rem 1.5rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-btn:hover {
    background: var(--brand);
    color: var(--bg);
    border-color: var(--brand);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    padding: 0.8rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.page-number:hover,
.page-number.active {
    background: var(--brand);
    color: var(--bg);
    border-color: var(--brand);
}

/* Newsletter Subscription */
.newsletter-section {
    background: var(--card);
    border-radius: 1.5rem;
    padding: 3rem;
    margin: 4rem auto;
    max-width: 800px;
    text-align: center;
    border: 1px solid var(--border);
}

.newsletter-section h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.newsletter-section p {
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 1rem;
    color: var(--text);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--brand);
}

@media (max-width: 768px) {
    .newsletter-section {
        padding: 2rem;
        margin: 3rem auto;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}

/* Mobile Menu Toggle Animation */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: .6rem .8rem;
    border-radius: .6rem;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    min-width: 44px;
    min-height: 44px;
    z-index: 1001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Menu Close Button */
.menu-close {
    display: none;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1002;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-close:hover {
    color: var(--brand);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        border-right: 1px solid var(--border);
        flex-direction: column;
        padding: 5rem 1.5rem 2rem;
        transition: all 0.3s ease;
        box-shadow: var(--shadow);
        z-index: 1000;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: flex-start;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links.active .menu-close {
        display: flex;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 1rem;
        margin-bottom: 0.5rem;
        border-radius: 0.5rem;
        font-size: 1rem;
    }
}

/* Responsive Image Slider Styles */
.slider-container {
    position: relative;
    max-width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    min-height: 300px; /* Minimum height for consistency */
}

.slide {
    display: none;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
    text-align: center; /* Center align content */
}

.slide.active {
    display: block;
}

.slide img {
    max-width: 100%;
    max-height: 80vh; /* Limit maximum height to viewport */
    height: auto;
    width: auto;
    display: block;
    margin: 0 auto; /* Center the image */
    border-radius: 8px;
    object-fit: contain; /* Maintain aspect ratio */
}

/* Text positioned correctly over the image */
.slide .text-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 12px 15px;
    font-size: 16px;
    line-height: 1.5;
    z-index: 10;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Navigation arrows positioned relative to image */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
    z-index: 100;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.prev:hover, .next:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

/* Slide dots positioned at bottom */
.slider-dots {
    text-align: center;
    padding: 15px 0;
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    z-index: 50;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.dot.active, .dot:hover {
    background-color: #fff;
    transform: scale(1.2);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Responsive design for slider */
@media (max-width: 1024px) {
    .slider-container {
        min-height: 250px;
    }
    
    .slide img {
        max-height: 70vh;
    }
    
    .prev, .next {
        width: 45px;
        height: 45px;
        font-size: 22px;
    }
    
    .prev {
        left: 15px;
    }
    
    .next {
        right: 15px;
    }
}

@media (max-width: 768px) {
    .slider-container {
        min-height: 200px;
        margin: 1.5rem auto;
    }
    
    .slide .text-top {
        font-size: 14px;
        padding: 10px;
        min-height: 50px;
    }
    
    .slide img {
        max-height: 60vh;
    }
    
    .prev, .next {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .prev {
        left: 10px;
    }
    
    .next {
        right: 10px;
    }
    
    .dot {
        height: 10px;
        width: 10px;
    }
}

@media (max-width: 480px) {
    .slider-container {
        min-height: 150px;
        margin: 1rem auto;
        border-radius: 8px;
    }
    
    .slide .text-top {
        font-size: 13px;
        padding: 8px;
        min-height: 45px;
        position: relative;
        background: rgba(0, 0, 0, 0.8);
        color: white;
        border-radius: 8px 8px 0 0;
    }
    
    .slide img {
        max-height: 50vh;
        border-radius: 0 0 8px 8px;
    }
    
    .prev, .next {
        width: 35px;
        height: 35px;
        font-size: 18px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .prev {
        left: 5px;
    }
    
    .next {
        right: 5px;
    }
    
    .slider-dots {
        padding: 10px 0;
        bottom: 5px;
    }
    
    .dot {
        height: 8px;
        width: 8px;
        margin: 0 3px;
    }
}

/* For very tall images */
@media (max-height: 600px) {
    .slide img {
        max-height: 80vh;
    }
    
    .slider-container {
        min-height: 250px;
    }
}

.commands-table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
            background: var(--card, #fff);
            border-radius: 10px;
            overflow: hidden;
        }
        
        .commands-table th {
            background: var(--gradient, #333);
            color: #fff;
            padding: 12px 15px;
            text-align: left;
        }
        
        .commands-table td {
            padding: 10px 15px;
            border-bottom: 1px solid var(--border, #ddd);
        }
        
        .commands-table tr:last-child td {
            border-bottom: none;
        }
        
        .command-section {
            margin-bottom: 30px;
        }
        
        .command-section h2 {
            margin: 25px 0 15px;
            color: var(--brand, #5ac8fa);
            border-left: 4px solid var(--accent, #7ef29a);
            padding-left: 15px;
        }
        
        code {
            background: rgba(0,0,0,0.05);
            padding: 2px 5px;
            border-radius: 4px;
            font-family: monospace;
        }
        
        @media (max-width: 768px) {
            .commands-table {
                font-size: 14px;
            }
            .commands-table th,
            .commands-table td {
                padding: 8px 10px;
            }
        }
/* ===== SERVER SECURITY HARDENING STYLES ===== */

/* Security Score Meter */
.security-score {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.score-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.score-header h3 {
    color: var(--brand);
    margin: 0;
}

.score-target {
    color: var(--text-secondary);
}

.score-bar {
    height: 20px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
}

.score-fill {
    height: 100%;
    background: var(--gradient);
    border-radius: 10px;
}

.score-label {
    display: flex;
    justify-content: space-between;
    color: var(--muted);
    font-size: 0.9rem;
}

.score-note {
    color: var(--muted);
    margin-top: 15px;
    font-size: 0.9rem;
}

/* Section Headings */
.section-heading {
    color: var(--brand);
    border-left: 4px solid var(--accent);
    padding-left: 15px;
    margin-bottom: 20px;
}

/* Security Tables */
.security-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background: var(--card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.security-table-content {
    padding: 20px;
}

.security-table-title {
    color: var(--brand);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Inner Tables */
.inner-table {
    width: 100%;
    border-collapse: collapse;
}

.inner-table th {
    background: rgba(90, 200, 250, 0.2);
    color: var(--brand);
    font-weight: 600;
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.inner-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--muted);
}

.inner-table tr:last-child td {
    border-bottom: none;
}

/* Security Badges */
.security-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 8px;
}

.badge-critical {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.badge-high {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.badge-medium {
    background: rgba(90, 200, 250, 0.2);
    color: var(--brand);
}

.badge-low {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

/* Color Classes */
.color-critical {
    color: var(--error);
}

.color-high {
    color: var(--warning);
}

.color-medium {
    color: var(--brand);
}

.color-low {
    color: var(--success);
}

/* Security Checklist */
.security-checklist-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.checklist-heading {
    color: var(--brand);
    border-left: 4px solid var(--accent);
    padding-left: 12px;
    margin-bottom: 20px;
}

.security-checklist {
    list-style: none;
    padding: 0;
}

.security-checklist li {
    padding: 12px 15px 12px 35px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 8px;
    position: relative;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.security-checklist li:hover {
    border-color: var(--brand);
    transform: translateX(5px);
}

.security-checklist li::before {
    content: "✓";
    position: absolute;
    left: 12px;
    color: var(--success);
    font-weight: bold;
    font-size: 1.1rem;
}

.security-checklist li.pending::before {
    content: "○";
    color: var(--warning);
}

/* Security Steps */
.security-step {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.security-step.critical {
    border-left: 4px solid var(--error);
}

.security-step.high {
    border-left: 4px solid var(--warning);
}

.security-step.medium {
    border-left: 4px solid var(--brand);
}

.security-step.low {
    border-left: 4px solid var(--success);
}

.step-heading {
    color: var(--brand);
    border-left: 4px solid var(--accent);
    padding-left: 12px;
    margin-bottom: 15px;
}

.step-description {
    color: var(--muted);
    margin-bottom: 10px;
}

.sub-heading {
    color: var(--brand);
    margin: 15px 0 10px;
}

/* Command Risk Levels */
.command-risk {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.risk-critical {
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

.risk-high {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.risk-medium {
    background: rgba(90, 200, 250, 0.2);
    color: var(--brand);
}

.risk-low {
    background: rgba(34, 197, 94, 0.2);
    color: var(--success);
}

/* Code Blocks */
.code-block {
    background: var(--bg);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 10px 0;
}

.highlight-command {
    color: var(--accent);
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

.instance-type {
    display: inline-block;
    background: rgba(90, 200, 250, 0.15);
    color: var(--brand);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.9rem;
}

/* Warning Box */
.warning-box {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--error);
    padding: 10px;
    margin-top: 10px;
}

.warning-title {
    color: var(--error);
}

/* Status Indicators */
.status-success {
    color: var(--success);
}

.status-pending {
    color: var(--warning);
}

/* Emergency Box */
.emergency-box {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
}

.emergency-heading {
    color: var(--error);
    border-left: 4px solid var(--error);
    padding-left: 12px;
    margin-bottom: 15px;
}

/* Conclusion Box */
.conclusion-box {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px;
}

.conclusion-heading {
    color: var(--brand);
    border-left: 4px solid var(--accent);
    padding-left: 12px;
    margin-bottom: 15px;
}

.conclusion-text {
    color: var(--muted);
    margin-bottom: 15px;
}

.conclusion-list {
    color: var(--muted);
    margin-left: 20px;
}

.conclusion-list li {
    margin-bottom: 8px;
}

.conclusion-list strong {
    color: var(--brand);
}

/* Score Summary */
.score-summary {
    background: var(--bg);
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.score-value {
    color: var(--success);
    font-size: 1.2rem;
    font-weight: bold;
}

/* Related Tutorials */
.related-tutorials {
    background: rgba(90, 200, 250, 0.1);
    border-left: 4px solid var(--brand);
    padding: 15px;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.related-tutorials strong {
    color: var(--brand);
}

.related-tutorials ul {
    margin-top: 10px;
    margin-left: 20px;
    color: var(--muted);
}

.related-tutorials a {
    color: var(--brand);
    text-decoration: none;
}

.related-tutorials a:hover {
    text-decoration: underline;
}

/* Table Variants */
.config-table td:first-child,
.policy-table td:first-child,
.permissions-table td:first-child,
.logs-table td:first-child,
.emergency-table td:first-child,
.summary-inner td:first-child {
    font-weight: 500;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .inner-table {
        font-size: 14px;
    }
    
    .inner-table th,
    .inner-table td {
        padding: 8px;
    }
    
    .security-table-content {
        padding: 15px;
    }
    
    .score-label {
        flex-direction: column;
        gap: 5px;
    }
}

@media (max-width: 480px) {
    .inner-table {
        font-size: 12px;
    }
    
    .inner-table th,
    .inner-table td {
        padding: 6px;
    }
    
    .command-risk {
        font-size: 0.65rem;
        padding: 2px 4px;
    }
}

/* ── Scanner page overrides ─────────────────────────────── */
.scan-hero {
    padding: 3rem 0 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border, #1e3a5f);
}
.scan-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    background: var(--gradient, linear-gradient(135deg,#00d4ff,#00ff9d));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}
.scan-hero p { color: var(--muted, #6b82a8); font-size: 1rem; margin-bottom: 1.5rem; }

.scan-bar {
    display: flex;
    max-width: 640px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 2px var(--primary, #00d4ff);
}
.scan-bar input {
    flex: 1;
    padding: 14px 18px;
    font-size: 1rem;
    border: none;
    outline: none;
    background: var(--surface, #0f1628);
    color: var(--text, #c8d8f0);
    font-family: 'Courier New', monospace;
}
.scan-bar input::placeholder { color: var(--muted, #6b82a8); }
.scan-bar-btns { display: flex; flex-direction: column; }
.btn-quick-scan, .btn-full-scan {
    border: none;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0 20px;
    flex: 1;
    transition: opacity 0.2s;
}
.btn-quick-scan { background: var(--surface, #0f1628); color: var(--primary, #00d4ff); border-left: 2px solid var(--primary, #00d4ff); }
.btn-full-scan  { background: var(--primary, #00d4ff); color: #000; border-left: 2px solid var(--primary, #00d4ff); border-top: 1px solid rgba(0,0,0,0.2); }
.btn-quick-scan:hover, .btn-full-scan:hover { opacity: 0.85; }

.scan-status-bar {
    display: none;
    max-width: 640px;
    margin: 1rem auto 0;
    background: var(--surface, #0f1628);
    border: 1px solid var(--primary, #00d4ff);
    border-radius: 6px;
    padding: 12px 18px;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--primary, #00d4ff);
}
.blink { animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

.results-section { display: none; padding: 2rem 0; }
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.r-card {
    background: var(--card, #131d35);
    border: 1px solid var(--border, #1e3a5f);
    border-radius: 10px;
    overflow: hidden;
    animation: fadeUp 0.35s ease both;
}
.r-card.full { grid-column: 1 / -1; }
@keyframes fadeUp {
    from { opacity:0; transform:translateY(14px); }
    to   { opacity:1; transform:translateY(0); }
}
.r-card:nth-child(2){ animation-delay:.06s }
.r-card:nth-child(3){ animation-delay:.12s }
.r-card:nth-child(4){ animation-delay:.18s }
.r-card:nth-child(5){ animation-delay:.24s }

.r-card-head {
    display: flex; align-items: center; gap: 10px;
    background: rgba(0,0,0,0.2);
    border-bottom: 1px solid var(--border, #1e3a5f);
    padding: 12px 18px;
}
.r-card-head .icon { font-size: 1.2rem; }
.r-card-head h3 { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--text, #c8d8f0); margin: 0; }
.r-card-body { padding: 16px 18px; }

.stat-row {
    display: flex;
    flex-wrap: nowrap;
    border: 1px solid var(--border, #1e3a5f);
    border-radius: 8px 8px 0 0;
    overflow: hidden;
}
.stat-box {
    flex: 1;
    padding: 18px 10px;
    text-align: center;
    border-right: 1px solid var(--border, #1e3a5f);
    min-width: 0;
}
.stat-box:last-child { border-right: none; }
.stat-box .num { display: block; font-size: 2rem; font-weight: 700; color: var(--primary, #00d4ff); font-family: 'Segoe UI',sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-box .lbl { font-size: 0.68rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted, #6b82a8); margin-top: 4px; white-space: nowrap; }
.stat-ts-bar {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 10px 20px;
    border: 1px solid var(--border, #1e3a5f);
    border-top: none;
    border-radius: 0 0 8px 8px;
    background: rgba(0,0,0,0.15);
}
.stat-ts-label { font-size: 0.68rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted, #6b82a8); }
.stat-ts-val   { font-family: 'Courier New', monospace; font-size: 0.92rem; font-weight: 700; color: #00d4ff; letter-spacing: 2px; white-space: nowrap; }

.port-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.port-table th { color: var(--muted, #6b82a8); text-align: left; padding: 6px 8px; border-bottom: 1px solid var(--border, #1e3a5f); font-size: 0.72rem; letter-spacing: 1px; text-transform: uppercase; }
.port-table td { padding: 7px 8px; border-bottom: 1px solid rgba(30,58,95,0.4); font-family: monospace; }
.port-table tr:last-child td { border-bottom: none; }

.hdr-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(30,58,95,0.4); }
.hdr-row:last-child { border-bottom: none; }
.hdr-name { font-family: monospace; font-size: 0.78rem; color: var(--muted, #6b82a8); }

.badge { display: inline-block; padding: 3px 9px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; }
.badge-ok       { background: rgba(0,255,157,.15); color: #00ff9d; border: 1px solid rgba(0,255,157,.3); }
.badge-miss     { background: rgba(255,71,87,.15);  color: #ff4757; border: 1px solid rgba(255,71,87,.3); }
.badge-open     { background: rgba(0,212,255,.1);   color: #00d4ff; border: 1px solid rgba(0,212,255,.3); }
.badge-critical { background: rgba(255,71,87,.2);   color: #ff4757; border: 1px solid rgba(255,71,87,.4); }
.badge-high     { background: rgba(255,100,0,.2);   color: #ff6400; border: 1px solid rgba(255,100,0,.4); }
.badge-medium   { background: rgba(255,165,2,.2);   color: #ffa502; border: 1px solid rgba(255,165,2,.4); }

.ssl-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(30,58,95,.4); font-size: 0.85rem; }
.ssl-row:last-child { border-bottom: none; }
.ssl-label { color: var(--muted, #6b82a8); font-size: 0.8rem; }
.ssl-val   { font-family: monospace; font-size: 0.78rem; }

.tech-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tech-chip { background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.25); color: var(--primary,#00d4ff); padding: 5px 14px; border-radius: 20px; font-size: 0.85rem; font-weight: 600; }

.vuln-item { background: rgba(255,71,87,.05); border: 1px solid rgba(255,71,87,.2); border-radius: 6px; padding: 12px 14px; margin-bottom: 10px; }
.vuln-item:last-child { margin-bottom: 0; }
.vuln-type   { font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.vuln-detail { font-size: 0.8rem; color: var(--muted,#6b82a8); margin-bottom: 8px; font-family: monospace; }

.empty-state { text-align: center; padding: 30px; color: var(--muted,#6b82a8); font-size: 0.85rem; font-family: monospace; }
.error-state { text-align: center; padding: 30px; color: #ff4757; font-size: 0.85rem; font-family: monospace; }

/* Rating card */
.rating-wrap { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.rating-circle {
    width: 110px; height: 110px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    border: 4px solid; flex-shrink: 0;
}
.rating-grade { font-size: 2.8rem; font-weight: 900; line-height: 1; }
.rating-score-lbl { font-size: 0.68rem; letter-spacing: 1px; text-transform: uppercase; margin-top: 3px; opacity: 0.8; }
.rating-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 4px; }
.rating-subtitle { font-size: 0.78rem; color: var(--muted, #6b82a8); margin-bottom: 8px; }
.rating-issues { list-style: none; padding: 0; margin: 0; }
.rating-issues li { font-size: 0.8rem; color: var(--muted, #6b82a8); padding: 2px 0; }
.rating-issues li::before { content: '▸ '; color: #ff4757; }

/* PDF button */
.btn-generate-pdf {
    background: linear-gradient(135deg, #00d4ff, #00ff9d);
    color: #000;
    border: none;
    padding: 11px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: opacity 0.2s;
}
.btn-generate-pdf:hover { opacity: 0.85; }

