/* TechnoSun SCADA/EMS Public Website - Modern Dark Theme */
/* Based on scada_users design system */

/* Dark theme (default) */
:root, [data-theme="dark"] {
  --bg: #0b0f1a;
  --bg-grad-1: #0b0f1a;
  --bg-grad-2: #0f172a;
  --panel: rgba(255,255,255,0.06);
  --panel-border: rgba(255,255,255,0.12);
  --panel-hover: rgba(255,255,255,0.08);
  --text: #e6e8ef;
  --text-muted: #9aa4b2;
  --text-muted2: rgba(255,255,255,.55);
  --primary: #f97316;
  --primary-600: #ea580c;
  --primary-400: #fb923c;
  --accent: #ff7a18;
  --accent2: #ffb000;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --info: #3b82f6;
  --ring: rgba(249, 115, 22, 0.45);
  --card-radius: 14px;
  --radius: 18px;
  --radius2: 24px;
  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --shadow2: 0 14px 28px rgba(0,0,0,.38);
  --shadow-1: 0 8px 30px rgba(0,0,0,0.35);
  --shadow-2: 0 10px 40px rgba(249, 115, 22, 0.15);
  --max: 1600px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: 'Segoe UI', Tahoma, Geneva, Verdana, ui-sans-serif, system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* Light theme variables */
[data-theme="light"] {
  --bg: #f7f8fb;
  --bg-grad-1: #eef2f7;
  --bg-grad-2: #e5eaf3;
  --panel: rgba(255,255,255,0.85);
  --panel-border: rgba(0,0,0,0.08);
  --panel-hover: rgba(0,0,0,0.05);
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-muted2: rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }

html{
  -webkit-tap-highlight-color: rgba(249, 115, 22, 0.1);
  -webkit-touch-callout: none;
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

html, body{ height:100%; }

body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(249,115,22,0.15) 0%, rgba(249,115,22,0) 60%),
    radial-gradient(900px 500px at 100% 10%, rgba(59,130,246,0.12) 0%, rgba(59,130,246,0) 60%),
    radial-gradient(900px 600px at 60% 88%, rgba(249,115,22,0.08), transparent 62%),
    linear-gradient(180deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 100%),
    url('/img/power-storage.png');
  background-size: auto, auto, auto, auto, cover;
  background-position: 0 0, 0 0, 0 0, 0 0, center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x:hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/* Background pattern overlay */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('/img/power-storage.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.12;
  z-index: -2;
  pointer-events: none;
}

/* Dark overlay */
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--bg);
  opacity: 0.45;
  z-index: -1;
  pointer-events: none;
}

a{ color:inherit; text-decoration:none; transition: all 0.3s ease; }
.container{ width:min(var(--max), calc(100% - 40px)); margin:0 auto; }

/* Animated rays */
.rays{
  position:fixed; inset:-40vh -30vw auto -30vw;
  height:70vh; pointer-events:none; z-index:-1;
  filter: blur(8px);
  opacity: 1;
  transform: translateZ(0);
}
.rays::before{
  content:"";
  position:absolute; inset:0;
  background:
    conic-gradient(from 220deg at 20% 30%,
      rgba(249,115,22,.0) 0deg,
      rgba(249,115,22,.25) 18deg,
      rgba(255,255,255,.0) 45deg,
      rgba(251,146,60,.22) 70deg,
      rgba(255,255,255,.0) 95deg,
      rgba(249,115,22,.28) 118deg,
      rgba(255,255,255,.0) 160deg,
      rgba(251,146,60,.18) 200deg,
      rgba(255,255,255,.0) 240deg,
      rgba(249,115,22,.22) 300deg,
      rgba(255,255,255,.0) 360deg);
  mask: radial-gradient(circle at 20% 35%, transparent 0%, transparent 15%, black 35%, black 55%, transparent 80%);
  animation: spin 25s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* Header */
header{
  position: sticky;
  top: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(11,15,26,.85);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 50;
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}

/* Brand / Logo */
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  transition: opacity 0.2s ease;
}
.brand:hover{
  opacity: 0.85;
}
.logo{
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: #fff;
  background-image: url('/img/logo.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.brand b{
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.3px;
}
.brand small{
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 1px;
  font-weight: 400;
}

/* Navigation Links */
.navlinks{
  display: flex;
  align-items: center;
  gap: 4px;
}
.navlinks a{
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-weight: 500;
}
.navlinks a:hover{
  color: var(--text);
  background: rgba(255,255,255,0.05);
}
.navlinks a.active{
  color: var(--text);
  background: rgba(255,255,255,0.08);
}

/* Navigation Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Login Button */
.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-login:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.2);
}
.btn-login svg {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

/* CTA Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(249,115,22,0.25);
}
.btn-cta:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(249,115,22,0.35);
}

/* Remove old navlinks button styles */
.navlinks .btn.primary {
  display: none;
}

.navcta{ display: none; }

/* Button Styles - Glass Effect */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 20px;
  border-radius:10px;
  border:1px solid var(--panel-border);
  background: var(--panel);
  backdrop-filter: blur(12px);
  color:var(--text);
  font-size:13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow2);
  cursor:pointer;
  user-select:none;
  -webkit-user-select: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}
.btn:hover::before {
  width: 300px;
  height: 300px;
}
.btn:hover{
  transform: translateY(-2px);
  border-color: rgba(249,115,22,.4);
  background: var(--panel-hover);
  box-shadow: var(--shadow-2);
}
.btn:active{ transform: scale(0.98); transition: .1s ease; }

.btn.primary{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-600) 100%);
  border-color: rgba(255,255,255,.22);
  color: white;
  box-shadow: 0 4px 15px rgba(249,115,22,.3);
}
.btn.primary:hover{
  background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.4);
}
.btn.primary:active{ transform: scale(0.98); }

.pill{
  font-size:12px; color:rgba(18,18,19,.92);
  padding:8px 14px; border-radius:999px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.85));
  border:1px solid rgba(0,0,0,.08);
  font-weight: 700;
  display:inline-flex; align-items:center; gap:8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.dot{
  width:8px; height:8px; border-radius:50%;
  background: var(--success);
  box-shadow: 0 0 0 6px rgba(16,185,129,.15);
  animation: pulse 2s ease-in-out infinite;
}

/* Content */
.page-content{ min-height: 60vh; padding: 40px 0; }

h1{
  margin:0 0 10px;
  font-size: 32px;
  line-height:1.12;
  letter-spacing:-.5px;
  font-weight: 700;
  color: var(--text);
}

h2{
  margin:0 0 12px;
  font-size:22px;
  letter-spacing:-.3px;
  font-weight: 700;
  color: var(--text);
}

h3{
  margin:0;
  font-size:15px;
  letter-spacing:.1px;
  font-weight: 700;
  color: var(--text);
}

h1 i, h2 i, h3 i, h4 i {
  color: var(--primary);
  margin-right: 0.5rem;
  filter: drop-shadow(0 0 10px var(--primary));
}

.sub{
  margin:0 0 18px;
  font-size:15px;
  color:var(--text-muted);
  line-height:1.55;
  max-width: 62ch;
}

/* Sections */
section{ padding: 40px 0; }
.sectionTitle{
  display:flex; align-items:flex-end; justify-content:space-between; gap:14px;
  margin-bottom:20px;
}
.sectionTitle h2{
  margin:0;
  font-size:22px;
  letter-spacing:-.3px;
}
.sectionTitle p{
  margin:0;
  color:var(--text-muted);
  font-size:13px;
  max-width:70ch;
  line-height:1.5;
}

/* Cards & Grids - Glass Effect */
.grid3{ display:grid; grid-template-columns: repeat(3, 1fr); gap:16px; }
.grid2{ display:grid; grid-template-columns: repeat(2, 1fr); gap:16px; }

.card{
  padding:20px;
  border-radius: var(--card-radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border:1px solid var(--panel-border);
  box-shadow: var(--shadow-1);
  position:relative;
  overflow:hidden;
  min-height: 120px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.card::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(400px 180px at 10% 10%, rgba(249,115,22,.12), transparent 55%);
  opacity:.95;
  pointer-events:none;
}
.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-400));
  opacity: 0;
  transition: opacity 0.3s ease;
}
.card:hover{
  background: var(--panel-hover);
  box-shadow: var(--shadow-2);
  transform: translateY(-3px);
}
.card:hover::after {
  opacity: 1;
}
.card .h{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:12px;
  position:relative;
}
.badge{
  font-size:11px;
  color:#111;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.85));
  border:1px solid rgba(0,0,0,.10);
  padding:6px 12px;
  border-radius:999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.card h3{
  margin:0;
  font-size:15px;
  letter-spacing:.1px;
}
.card p{
  margin:0;
  color:var(--text-muted);
  font-size:13px;
  line-height:1.6;
  position:relative;
}

/* List */
.list{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}
.li{
  display:flex; gap:16px;
  padding:18px;
  border-radius: var(--card-radius);
  background: var(--panel);
  backdrop-filter: blur(12px);
  border:1px solid var(--panel-border);
  box-shadow: var(--shadow-1);
  position:relative;
  overflow:hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.li::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(400px 160px at 12% 18%, rgba(249,115,22,.10), transparent 56%);
  pointer-events:none;
}
.li:hover {
  background: var(--panel-hover);
  transform: translateX(5px);
  border-color: rgba(249,115,22,.3);
  box-shadow: var(--shadow-2);
}
.li .icon{
  width:42px; height:42px; border-radius:12px;
  background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.85));
  border:1px solid rgba(0,0,0,.10);
  display:grid; place-items:center;
  color:#111;
  font-weight:950;
  flex:0 0 auto;
  position:relative;
  box-shadow: 0 10px 18px rgba(0,0,0,.18);
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
}

/* SVG Icons */
.icon[data-icon="solar"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E");
}
.icon[data-icon="battery"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='7' width='16' height='10' rx='2' ry='2'/%3E%3Cline x1='22' y1='11' x2='22' y2='13'/%3E%3Cline x1='6' y1='11' x2='6' y2='13'/%3E%3Cline x1='10' y1='11' x2='10' y2='13'/%3E%3Cline x1='14' y1='11' x2='14' y2='13'/%3E%3C/svg%3E");
}
.icon[data-icon="settings"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 1v6m0 6v6m5.66-13l-4.24 4.24m0 5.52L17.66 23M23 12h-6m-6 0H1m18.66 5.66l-4.24-4.24m-5.52 0L1.34 17.66'/%3E%3C/svg%3E");
}
.icon[data-icon="chart"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='20' x2='18' y2='10'/%3E%3Cline x1='12' y1='20' x2='12' y2='4'/%3E%3Cline x1='6' y1='20' x2='6' y2='14'/%3E%3C/svg%3E");
}
.icon[data-icon="puzzle"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.439 7.85c-.049.322.059.648.289.878l1.568 1.568c.47.47.706 1.087.706 1.704s-.235 1.233-.706 1.704l-1.611 1.611a.98.98 0 0 1-.837.276c-.47-.07-.802-.48-.968-.925a2.501 2.501 0 1 0-3.214 3.214c.446.166.855.497.925.968a.979.979 0 0 1-.276.837l-1.61 1.61a2.404 2.404 0 0 1-1.705.707 2.402 2.402 0 0 1-1.704-.706l-1.568-1.568a1.026 1.026 0 0 0-.877-.29c-.493.074-.84.504-1.02.968a2.5 2.5 0 1 1-3.237-3.237c.464-.18.894-.527.967-1.02a1.026 1.026 0 0 0-.289-.877l-1.568-1.568A2.402 2.402 0 0 1 1.998 12c0-.617.236-1.234.706-1.704L4.23 8.77c.24-.24.581-.353.917-.303.515.077.877.528 1.073 1.01a2.5 2.5 0 1 0 3.259-3.259c-.482-.196-.933-.558-1.01-1.073-.05-.336.062-.676.303-.917l1.525-1.525A2.402 2.402 0 0 1 12 1.998c.617 0 1.234.236 1.704.706l1.568 1.568c.23.23.556.338.877.29.493-.074.84-.504 1.02-.968a2.5 2.5 0 1 1 3.237 3.237c-.464.18-.894.527-.967 1.02Z'/%3E%3C/svg%3E");
}
.icon[data-icon="dashboard"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
}
.icon[data-icon="trending"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='23 6 13.5 15.5 8.5 10.5 1 18'/%3E%3Cpolyline points='17 6 23 6 23 12'/%3E%3C/svg%3E");
}
.icon[data-icon="bell"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9M13.73 21a2 2 0 0 1-3.46 0'/%3E%3C/svg%3E");
}
.icon[data-icon="cpu"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='4' width='16' height='16' rx='2' ry='2'/%3E%3Crect x='9' y='9' width='6' height='6'/%3E%3Cline x1='9' y1='1' x2='9' y2='4'/%3E%3Cline x1='15' y1='1' x2='15' y2='4'/%3E%3Cline x1='9' y1='20' x2='9' y2='23'/%3E%3Cline x1='15' y1='20' x2='15' y2='23'/%3E%3Cline x1='20' y1='9' x2='23' y2='9'/%3E%3Cline x1='20' y1='14' x2='23' y2='14'/%3E%3Cline x1='1' y1='9' x2='4' y2='9'/%3E%3Cline x1='1' y1='14' x2='4' y2='14'/%3E%3C/svg%3E");
}
.icon[data-icon="smartphone"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='2' width='14' height='20' rx='2' ry='2'/%3E%3Cline x1='12' y1='18' x2='12.01' y2='18'/%3E%3C/svg%3E");
}
.icon[data-icon="lock"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}
.icon[data-icon="shield"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}
.icon[data-icon="clipboard"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Crect x='8' y='2' width='8' height='4' rx='1' ry='1'/%3E%3C/svg%3E");
}
.icon[data-icon="search"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}
.icon[data-icon="database"]{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f97316' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='9' ry='3'/%3E%3Cpath d='M21 12c0 1.66-4 3-9 3s-9-1.34-9-3'/%3E%3Cpath d='M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5'/%3E%3C/svg%3E");
}
.li b{ display:block; font-size:14px; margin-bottom:4px; color: var(--text); font-weight: 700; }
.li small{ display:block; color:var(--text-muted); font-size:13px; line-height:1.55; }

/* Footer */
footer{
  padding: 30px 0 35px;
  color: var(--text-muted);
  border-top:1px solid var(--panel-border);
  background: linear-gradient(180deg, rgba(11,15,26,.85), rgba(11,15,26,.95));
  backdrop-filter: blur(12px);
}
.foot{
  display:flex; align-items:flex-start; justify-content:space-between; gap:18px;
  flex-wrap:wrap;
}
.foot small{ display:block; line-height:1.6; }
.foot a {
  transition: color 0.3s ease;
}
.foot a:hover {
  color: var(--primary);
}
footer a i {
    font-size: 2.5rem;
    margin-left: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}

footer a:hover i {
    transform: scale(1.2);
}

footer a[aria-label="LinkedIn"]:hover i {
    color: #0077b5;
}

footer a[aria-label="GitHub"]:hover i {
    color: #333;
}

footer a[aria-label="Twitter"]:hover i {
    color: #1da1f2;
}

/* Mobile menu button */
.mobile-menu-btn{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  cursor: pointer;
  padding: 12px;
  z-index: 60;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  transition: all 0.2s ease;
}
.mobile-menu-btn:hover {
  background: rgba(255,255,255,0.05);
}
.mobile-menu-btn span{
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s ease;
  border-radius: 2px;
}
.mobile-menu-btn.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2){
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3){
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu overlay */
.mobile-menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(11,15,26,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 55;
  padding-top: 80px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.active{
  opacity: 1;
  visibility: visible;
}
.mobile-menu{
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  max-width: 400px;
  margin: 0 auto;
  transform: translateY(-20px);
  opacity: 0;
  transition: all 0.3s ease;
}
.mobile-menu-overlay.active .mobile-menu{
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a{
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: left;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-menu a:hover{
  background: rgba(255,255,255,0.06);
  color: var(--text);
}
.mobile-menu a.active{
  background: rgba(255,255,255,0.08);
  color: var(--text);
}

/* Mobile menu divider */
.mobile-menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 8px 0;
}

/* Mobile login button */
.mobile-login {
  color: var(--text) !important;
}
.mobile-login svg {
  opacity: 0.6;
}

/* Mobile CTA button */
.mobile-cta {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 600 !important;
  text-align: center !important;
  justify-content: center !important;
}

/* Form Styles */
.field{
  margin-bottom: 18px;
}
.field label{
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.field input, .field select, .field textarea{
  width: 100%;
  border-radius: 10px;
  padding: 14px 16px;
  border: 1px solid var(--panel-border);
  background: rgba(11,15,26,.6);
  color: var(--text);
  outline: none;
  font-size: 14px;
  font-family: inherit;
  transition: all 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: var(--primary);
  background: rgba(11,15,26,.8);
  box-shadow: 0 0 0 3px var(--ring);
}
.field input::placeholder, .field textarea::placeholder {
  color: var(--text-muted);
}
.field textarea{ min-height: 120px; resize: vertical; }

/* Contact Form Styles */
.contact-form{
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-1);
}
.contact-info{
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.info-card{
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--card-radius);
  padding: 20px;
  transition: all 0.3s ease;
}
.info-card:hover {
  background: var(--panel-hover);
  border-color: rgba(249,115,22,.3);
}
.info-card h3{
  margin: 0 0 10px;
  font-size: 16px;
  color: var(--text);
}
.info-card p{
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.65;
}

.info-card i{
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 12px;
    display: inline-block;
  margin-right: 10px;
}

.cta-box{
  background: linear-gradient(135deg, rgba(249,115,22,.12), rgba(251,146,60,.08));
  border: 1px solid rgba(249,115,22,.35);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

/* Utility Classes */
.sep{ height:1px; background: var(--panel-border); margin: 20px 0; }
.muted{ color: var(--text-muted); }
.right{ text-align:right; }

/* Responsive */
@media (min-width: 1400px){
  .container{ width: min(var(--max), calc(100% - 60px)); }
  .grid3{ gap: 24px; }
  .grid2{ gap: 24px; }
  .card{ padding: 24px; }
  .li{ padding: 22px; gap: 20px; }
  h1{ font-size: 38px; }
  h2{ font-size: 26px; }
  .hero-intro h1 { font-size: 42px; }
  .navlinks a { padding: 12px 20px; font-size: 14px; }
  .navlinks { gap: 8px; padding: 8px 10px; }
}

@media (min-width: 1800px){
  :root { --max: 1700px; }
  .container{ width: min(var(--max), calc(100% - 80px)); }
  .grid3{ grid-template-columns: repeat(3, 1fr); gap: 28px; }
  h1{ font-size: 42px; }
  .hero-intro h1 { font-size: 48px; }
  .card{ padding: 28px; min-height: 140px; }
}

@media (max-width: 980px){
  .grid3{ grid-template-columns: 1fr; }
  .grid2{ grid-template-columns: 1fr; }
  h1{ font-size: 28px; }
  .navlinks{ display:none !important; }
  .nav-actions{ display: none !important; }
  .mobile-menu-btn{ display: flex; }
  .brand b{ font-size: 15px; }
  .brand small{ font-size: 10px; }
  .logo{ width: 38px; height: 38px; }
  section{ padding: 32px 0; }
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .container{ width:calc(100% - 32px); }
  h1{ font-size: 24px; line-height:1.2; }
  h2{ font-size: 20px; }
  .sub{ font-size: 14px; }
  .nav{ flex-wrap: wrap; padding: 10px 0; }
  .navcta{ width: 100%; justify-content: center; gap: 8px; margin-top: 8px; }
  .navcta .pill{ font-size: 11px; padding: 5px 8px; }
  .navcta .btn{ padding: 10px 14px; font-size: 13px; min-height: 40px; }
  .brand{ padding: 8px 12px; }
  .brand small{ font-size: 9px; }
  .brand b{ font-size: 13px; }
  .logo{ width: 36px; height: 36px; }
  .card{ padding: 16px; min-height: 100px; }
  .grid3{ grid-template-columns: 1fr; gap: 12px; }
  .grid2{ grid-template-columns: 1fr; gap: 12px; }
  .sectionTitle{ flex-direction: column; align-items: flex-start; gap: 10px; }
  .sectionTitle h2{ font-size: 20px; }
  .sectionTitle p{ font-size: 13px; }
  section{ padding: 28px 0; }
  .mobile-menu-overlay { padding-top: 90px; }
  .mobile-menu { padding: 20px; gap: 12px; }
  .mobile-menu a { padding: 16px 20px; font-size: 15px; min-height: 52px; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn { width: 100%; }
}

@media (max-width: 480px){
  .container{ width:calc(100% - 24px); }
  h1{ font-size: 20px; line-height:1.25; }
  h2{ font-size: 18px; }
  .sub{ font-size: 13px; line-height: 1.6; }
  .brand{ padding: 6px 10px; gap: 8px; }
  .brand b{ font-size: 12px; }
  .brand small{ font-size: 9px; display: none; }
  .logo{ width: 32px; height: 32px; border-radius: 10px; }
  .navcta .btn{ font-size: 12px; padding: 9px 12px; min-height: 44px; }
  .btn{ min-height: 44px; }
  .card{ padding: 14px; border-radius: 12px; }
  .card h3{ font-size: 14px; }
  .badge{ font-size: 10px; padding: 5px 8px; }
  section{ padding: 24px 0; }
  .li { padding: 14px; gap: 12px; }
  .li .icon { width: 36px; height: 36px; background-size: 18px 18px; }
  .li b { font-size: 13px; }
  .li small { font-size: 12px; }
  .mobile-menu-btn { padding: 12px; min-width: 44px; min-height: 44px; }
  .mobile-menu-btn span { width: 20px; }
  .mobile-menu-overlay { padding-top: 80px; }
  .mobile-menu { padding: 16px; gap: 10px; }
  .mobile-menu a { padding: 14px 18px; font-size: 14px; min-height: 48px; border-radius: 12px; }
}

/* Alert Styles */
.alert {
  border-radius: 10px;
  border: 1px solid;
  padding: 14px 18px;
  animation: slideIn 0.3s ease-in;
  backdrop-filter: blur(12px);
  margin-bottom: 16px;
}

.alert-success {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--success);
  color: var(--success);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.12);
  border-color: var(--danger);
  color: var(--danger);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.12);
  border-color: var(--warning);
  color: var(--warning);
}

.alert-info {
  background: rgba(59, 130, 246, 0.12);
  border-color: var(--info);
  color: var(--info);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Text Colors */
.text-muted {
  color: var(--text-muted) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.text-success {
  color: var(--success) !important;
}

.text-danger {
  color: var(--danger) !important;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Code Block */
code {
  background-color: rgba(11,15,26,0.6);
  color: var(--primary-400);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-size: 0.875em;
  border: 1px solid var(--panel-border);
  font-family: var(--mono);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-600);
}

/* Table Styles */
.table {
  color: var(--text);
  width: 100%;
}

.table thead {
  background: rgba(11,15,26,0.5);
  border-bottom: 2px solid var(--primary);
}

.table thead th {
  border: none;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  padding: 1rem;
  font-weight: 600;
}

.table tbody tr {
  border-bottom: 1px solid var(--panel-border);
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background: rgba(249, 115, 22, 0.05);
  transform: scale(1.01);
}

.table tbody td {
  border: none;
  padding: 1rem;
  vertical-align: middle;
}

/* Fix for cards overflowing on the right side */
*, *::before, *::after {
  box-sizing: border-box;
}

.container, .container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure all elements don't overflow */
img, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

/* Energy Flow Animation */
@keyframes energyFlow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.energy-border {
  background: linear-gradient(90deg, var(--primary), var(--primary-400), var(--primary));
  background-size: 200% 100%;
  animation: energyFlow 3s ease infinite;
}

/* Stat Cards */
.stat-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(249,115,22,0.15), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stat-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-400));
}

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

.stat-card i {
  font-size: 3rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px currentColor);
}

.stat-card h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0.5rem 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Contact Grid */
.contact-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  margin-top: 32px;
}
@media (max-width: 980px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* Features Grid for Hero */
.features-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}
@media (max-width: 980px){
  .features-grid{ grid-template-columns: 1fr; }
}

/* Card Accent Colors - 10% tint overlays */
.card.accent-orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(249, 115, 22, 0.25);
}
.card.accent-orange::after {
  background: linear-gradient(90deg, #f97316, #fb923c);
  opacity: 1;
}

.card.accent-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(168, 85, 247, 0.25);
}
.card.accent-purple::after {
  background: linear-gradient(90deg, #a855f7, #c084fc);
  opacity: 1;
}

.card.accent-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(59, 130, 246, 0.25);
}
.card.accent-blue::after {
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  opacity: 1;
}

.card.accent-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(6, 182, 212, 0.25);
}
.card.accent-cyan::after {
  background: linear-gradient(90deg, #06b6d4, #22d3ee);
  opacity: 1;
}

.card.accent-green {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(16, 185, 129, 0.25);
}
.card.accent-green::after {
  background: linear-gradient(90deg, #10b981, #34d399);
  opacity: 1;
}

.card.accent-lime {
  background: linear-gradient(135deg, rgba(132, 204, 22, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(132, 204, 22, 0.25);
}
.card.accent-lime::after {
  background: linear-gradient(90deg, #84cc16, #a3e635);
  opacity: 1;
}

.card.accent-yellow {
  background: linear-gradient(135deg, rgba(234, 179, 8, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(234, 179, 8, 0.25);
}
.card.accent-yellow::after {
  background: linear-gradient(90deg, #eab308, #facc15);
  opacity: 1;
}

.card.accent-pink {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(236, 72, 153, 0.25);
}
.card.accent-pink::after {
  background: linear-gradient(90deg, #ec4899, #f472b6);
  opacity: 1;
}

.card.accent-red {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.10), rgba(255, 255, 255, 0.04));
  border-color: rgba(239, 68, 68, 0.25);
}
.card.accent-red::after {
  background: linear-gradient(90deg, #ef4444, #f87171);
  opacity: 1;
}

/* Hero Section */
.hero{ padding:60px 0 50px; }
.hero-intro{
  text-align: center;
  max-width: 1100px;
  margin: 0 auto 50px;
}
.hero-intro h1{
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero-intro .sub{
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
  max-width: 100%;
  opacity: 0.9;
}
@media (max-width: 980px){
  .hero{ padding: 50px 0 40px; }
  .hero-intro{ margin-bottom: 40px; }
  .hero-intro h1{ font-size: 28px; }
  .hero-intro .sub{ font-size: 14px; line-height: 1.65; }
}
@media (max-width: 480px){
  .hero{ padding: 40px 0 30px; }
  .hero-intro{ margin-bottom: 30px; }
  .hero-intro h1{ font-size: 24px; line-height: 1.35; }
  .hero-intro .sub{ font-size: 13px; line-height: 1.6; }
}

/* Preloader Spinner */
.spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 80px;
  height: 80px;
  margin: -40px 0 0 -40px;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
}

.spinner.show {
  opacity: 1;
}

.spinner::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        #00ffcc 90deg,
        #00aaff 180deg,
        #cc00ff 270deg,
        transparent 360deg
    );
    border-radius: 50%;
    animation: rotate 2s linear infinite;
    opacity: 1;
    filter: brightness(1.2) saturate(1.5);
}

@keyframes rotate {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
