:root {
  --black: #050810;
  --deep: #080d1a;
  --surface: #0d1526;
  --card: #111d35;
  --border: rgba(99,161,255,0.12);
  --accent: #3A7BFF;
  --accent2: #00E5C3;
  --accent3: #FF4D6D;
  --text: #e8eef8;
  --muted: #7a8fa8;
  --white: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* === BACKGROUND GRID === */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(58,123,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(58,123,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 72px;
  background: rgba(5,8,16,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--white);
  letter-spacing: -0.5px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-mark {
  width: 36px; height: 36px;
  background: var(--accent);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 800; color: #fff;
  position: relative;
  overflow: hidden;
}

.nav-logo .logo-mark::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 80%; height: 80%;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
  border: none;
}

.nav-cta:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

/* === HERO === */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 5% 80px;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(58,123,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow2 {
  position: absolute;
  top: 40%;
  left: 30%;
  width: 400px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,229,195,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58,123,255,0.1);
  border: 1px solid rgba(58,123,255,0.3);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: #6fa8ff;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}

.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--accent2);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

h1.hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(42px, 7vw, 82px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.1s ease both;
}

h1.hero-title .accent-word {
  color: var(--accent);
}

h1.hero-title .accent2-word {
  color: var(--accent2);
}

.hero-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
  font-weight: 300;
  animation: fadeUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s;
  box-shadow: 0 0 30px rgba(58,123,255,0.3);
  border: none;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(58,123,255,0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 15px;
  border: 1px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
}

.btn-ghost:hover {
  border-color: rgba(99,161,255,0.4);
  background: rgba(58,123,255,0.05);
}

/* hero stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.8s 0.4s ease both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--muted);
}

/* scroll arrow */
.scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: fadeIn 1s 1s ease both;
}

.scroll-hint span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* === SECTION COMMON === */
section {
  position: relative;
  z-index: 1;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

h2.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 3.5rem;
}

/* === ABOUT === */
#about {
  padding: 120px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 460px;
}

.about-card-main {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: absolute;
  width: 75%;
  top: 0; left: 0;
}

.about-card-main h3 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.about-card-main p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.about-card-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  position: absolute;
  bottom: 0; right: 0;
  width: 65%;
}

.about-card-secondary .mini-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.mini-stat .num {
  font-family: 'Syne', sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}

.mini-stat .lbl {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

.about-floating-tag {
  position: absolute;
  top: 50%;
  right: -20px;
  transform: translateY(-50%);
  background: rgba(0,229,195,0.1);
  border: 1px solid rgba(0,229,195,0.3);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--accent2);
}

.about-content {
}

.visi-misi {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

.vm-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.vm-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(58,123,255,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.vm-item h4 {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vm-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* === SERVICES === */
#services {
  padding: 120px 0;
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border-radius: 20px;
  overflow: hidden;
}

.service-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  transition: background 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.3s;
  transform-origin: left;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 1.5rem;
  display: block;
  line-height: 1;
}

.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

.service-tag {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent2);
  opacity: 0.8;
}

/* === WHY ATC === */
#why {
  padding: 120px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}

.why-left {
}

.why-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.3s, transform 0.2s;
}

.why-card:hover {
  border-color: rgba(58,123,255,0.3);
  transform: translateY(-3px);
}

.why-card .w-num {
  font-family: 'Syne', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: rgba(58,123,255,0.12);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.why-card h4 {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* === FOUNDERS === */
#founders {
  padding: 120px 0;
  background: var(--deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.founder-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  position: relative;
}

.founder-card:hover {
  transform: translateY(-6px);
  border-color: rgba(58,123,255,0.35);
}

.founder-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(8,13,26,0.9), transparent);
  pointer-events: none;
}

.founder-avatar {
  width: 100%;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-avatar-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
}

.avatar-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid;
  opacity: 0.2;
  animation: rotate 15s linear infinite;
}

.avatar-ring2 {
  position: absolute;
  inset: -40px;
  border-radius: 50%;
  border: 1px dashed;
  opacity: 0.1;
  animation: rotate 25s linear infinite reverse;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.founder-info {
  padding: 2rem;
  position: relative;
  z-index: 2;
  background: var(--card);
  border-top: 1px solid var(--border);
}

.founder-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.founder-info .role {
  font-size: 13px;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.founder-info p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.founder-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(58,123,255,0.1);
  border: 1px solid rgba(58,123,255,0.2);
  color: var(--accent);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}

.social-btn:hover {
  background: rgba(58,123,255,0.2);
  transform: translateY(-2px);
}

/* === HIERARCHY === */
#hierarchy {
  padding: 120px 0;
}

.hierarchy-chart {
  max-width: 900px;
  margin: 0 auto;
}

.h-level {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  position: relative;
}

.h-connector-v {
  width: 2px;
  height: 40px;
  background: var(--border);
  margin: 0 auto;
}

.h-connector-h {
  display: flex;
  justify-content: center;
  position: relative;
  margin-bottom: 0;
}

.h-connector-h::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  height: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.h-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.75rem;
  text-align: center;
  min-width: 180px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.h-box:hover {
  border-color: rgba(58,123,255,0.4);
  transform: translateY(-2px);
}

.h-box .h-role {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.h-box .h-title {
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
}

.h-box .h-sub {
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.h-box.top {
  background: linear-gradient(135deg, rgba(58,123,255,0.2), rgba(0,229,195,0.1));
  border-color: rgba(58,123,255,0.4);
  min-width: 240px;
  padding: 1.5rem 2rem;
}

.h-box.top .h-title {
  font-size: 18px;
}

.h-box.dept {
  background: rgba(58,123,255,0.06);
  border-color: rgba(58,123,255,0.2);
}

.h-box.team {
  background: var(--surface);
  min-width: 140px;
  padding: 0.75rem 1.25rem;
}

.h-box.team .h-title {
  font-size: 13px;
}

.h-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.dept-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.branch-h-line {
  display: flex;
  align-items: flex-start;
  position: relative;
}

.branch-h-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0; right: 0;
  height: 2px;
  background: var(--border);
}

.hierarchy-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* === CONTACT / FOOTER === */
#contact {
  padding: 120px 0 60px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 6rem;
}

.contact-left h2 {
  margin-bottom: 1.25rem;
}

.contact-left p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-items {
  display: grid;
  gap: 1rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 14px;
}

.contact-icon {
  width: 40px; height: 40px;
  background: rgba(58,123,255,0.1);
  border: 1px solid rgba(58,123,255,0.2);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.contact-right {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2.5rem;
}

.contact-right h3 {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.75rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(58,123,255,0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(122,143,168,0.5);
}

.form-submit {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.form-submit:hover {
  opacity: 0.85;
  box-shadow: 0 0 30px rgba(58,123,255,0.4);
}

/* === FOOTER === */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  font-size: 13px;
  color: rgba(122,143,168,0.5);
}

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === TECH STRIP === */
.tech-strip {
  padding: 3rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--deep);
  overflow: hidden;
}

.tech-scroll {
  display: flex;
  gap: 4rem;
  animation: scrollLeft 20s linear infinite;
  width: max-content;
}

.tech-item {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: rgba(122,143,168,0.4);
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tech-item::before {
  content: '●';
  color: rgba(58,123,255,0.3);
  font-size: 6px;
}

@keyframes scrollLeft {
  to { transform: translateX(-50%); }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-grid, .contact-grid, .why-grid {
    grid-template-columns: 1fr;
  }

  .founders-grid, .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    background: transparent;
    gap: 1rem;
  }

  .hero-stats {
    gap: 2rem;
  }

  nav {
    padding: 0 4%;
  }

  .nav-links {
    display: none;
  }
}

/* === SIDEBAR & DASHBOARD === */
.sidebar {
  width: 280px;
  background: var(--card);
  border-right: 1px solid var(--border);
  padding: 1.5rem;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  overflow-y: auto;
}

.sidebar .sidebar-logo {
  font-family: 'Syne', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar .sidebar-logo .logo-mark {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: #fff;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  list-style: none;
}

.sidebar-menu li {
  margin: 0;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 10px;
  transition: all 0.2s;
  font-size: 14px;
  font-weight: 500;
  border-left: 3px solid transparent;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  color: var(--text);
  background: rgba(58,123,255,0.1);
  border-left-color: var(--accent);
}

.sidebar-menu .menu-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.main-content {
  margin-left: 280px;
  padding: 2rem;
  min-height: 100vh;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
}

.dashboard-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
}

.dashboard-header p {
  color: var(--muted);
  font-size: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.2s;
}

.stat-card:hover {
  border-color: rgba(58,123,255,0.3);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(58,123,255,0.1);
}

.stat-card .label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-card .value {
  font-family: 'Syne', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.stat-card .sublabel {
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.table-section {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.table-section h3 {
  font-family: 'Syne', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  background: var(--surface);
  padding: 12px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
}

.data-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(99,161,255,0.08);
  font-size: 14px;
  color: var(--text);
}

.data-table tr:hover {
  background: rgba(58,123,255,0.05);
}

.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
}

.status-badge.completed {
  background: rgba(0,229,195,0.1);
  color: var(--accent2);
}

.status-badge.pending {
  background: rgba(255,193,7,0.1);
  color: #ffc107;
}

.status-badge.processing {
  background: rgba(58,123,255,0.1);
  color: var(--accent);
}

.status-badge.clickable-status {
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 1px currentColor;
}

.status-badge.clickable-status:hover {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* === LOGIN PAGE === */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.login-wrapper {
  max-width: 420px;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-header .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.login-header .logo-mark {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  font-family: 'Syne', sans-serif;
}

.login-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.login-header p {
  color: var(--muted);
  font-size: 14px;
}

.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form .form-group {
  margin-bottom: 0.5rem;
}

.login-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.login-form .form-group input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.login-form .form-group input:focus {
  border-color: rgba(58,123,255,0.5);
  background: rgba(58,123,255,0.02);
}

.login-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  margin-top: 1rem;
}

.login-btn:hover {
  opacity: 0.85;
  box-shadow: 0 0 30px rgba(58,123,255,0.4);
  transform: translateY(-1px);
}

/* === ORDER PAGE === */
.order-container {
  min-height: 100vh;
  padding: 120px 5% 60px;
  max-width: 800px;
  margin: 0 auto;
}

.order-header {
  margin-bottom: 3rem;
}

.order-header h1 {
  font-family: 'Syne', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.order-header p {
  color: var(--muted);
  font-size: 16px;
}

.order-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.order-form .form-group {
  margin-bottom: 0.5rem;
}

.order-form .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.order-form .form-group input,
.order-form .form-group select,
.order-form .form-group textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.order-form .form-group input:focus,
.order-form .form-group select:focus,
.order-form .form-group textarea:focus {
  border-color: rgba(58,123,255,0.5);
  background: rgba(58,123,255,0.02);
}

.order-form .form-group select {
  cursor: pointer;
  color: var(--text);
  background: var(--surface);
}

.order-form .form-group select option {
  background: var(--card);
  color: var(--text);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-row .form-group {
  margin-bottom: 0.5rem;
}

.order-summary {
  background: rgba(58,123,255,0.05);
  border: 1px solid rgba(58,123,255,0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.order-summary .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  font-size: 14px;
}

.order-summary .summary-row .label {
  color: var(--muted);
}

.order-summary .summary-row .value {
  color: var(--text);
  font-weight: 600;
}

.order-summary .summary-total {
  border-top: 1px solid rgba(58,123,255,0.2);
  padding-top: 1rem;
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-summary .summary-total .label {
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.order-summary .summary-total .value {
  font-family: 'Syne', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--accent);
}

.order-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 14px;
  font-family: 'Syne', sans-serif;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  width: 100%;
}

.order-btn:hover {
  opacity: 0.85;
  box-shadow: 0 0 30px rgba(58,123,255,0.4);
  transform: translateY(-1px);
}

.error-message {
  background: rgba(255,77,109,0.1);
  border: 1px solid rgba(255,77,109,0.3);
  border-radius: 10px;
  padding: 12px 16px;
  color: #ff7093;
  font-size: 14px;
  margin-bottom: 1rem;
  display: none;
}

.error-message.show {
  display: block;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
    border-right: none;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2rem;
  }

  .main-content {
    margin-left: 0;
  }

  .login-header h1 {
    font-size: 24px;
  }

  .order-header h1 {
    font-size: 28px;
  }
}
