:root {
  --primary-color: #00a88e;
  --primary-hover: #008f79;
  --primary-light: #e6f6f4;
  --bg-color: #f4f6f9;
  --card-bg: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --danger-color: #ff4d4f;
  --warning-color: #faad14;
  --success-color: #52c41a;
  --radius: 12px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  margin: 0;
  padding: 0;
}

/* Header & Navigation */
.navbar-kaspersky {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 2rem;
}

.brand-logo {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand-logo span {
  color: var(--text-main);
}

.nav-link-custom {
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.nav-link-custom:hover {
  color: var(--primary-color);
  background-color: var(--primary-light);
}

.nav-link-custom.active {
  color: var(--primary-color);
  font-weight: 600;
  border-bottom: 2px solid var(--primary-color);
  border-radius: 0;
}

/* Subscription Cards */
.sub-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.product-icon-hexagon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-color), #007a67);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  font-weight: bold;
}

.product-icon-hexagon.expired {
  background: linear-gradient(135deg, #ff7875, #ff4d4f);
}

.license-key-badge {
  background: #f1f5f9;
  border: 1px dashed #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.95rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: white;
  border: none;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-primary-custom:hover {
  background-color: var(--primary-hover);
  color: white;
}

/* Activation Code Box */
.activation-box {
  background: #ffffff;
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  max-width: 650px;
  margin: 2rem auto;
}

.code-input-lg {
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 1.2rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}

.code-input-lg:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 168, 142, 0.15);
}

/* Devices Grid */
.device-card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

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

.device-monitor-img {
  width: 120px;
  height: 90px;
  margin: 0 auto 1rem auto;
  background: #1e293b;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2.5rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 3px solid #334155;
}

/* Auth Cards */
.auth-card {
  max-width: 420px;
  margin: 4rem auto;
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  padding: 2.5rem;
}
