/* WDEN Design Tokens - Strictly Square (No Rounded Corners) */
:root {
  --bg-dark: #0b0f19;
  --bg-sidebar: #0d1025;
  --bg-card: #1a2035;
  --bg-card-alt: #131828;
  --border: #2a3050;
  --border-input: #2a3050;
  
  --text-primary: #e0e6f0;
  --text-secondary: #6b7a99;
  
  --accent: #e83e3e;
  --accent-hover: #c82020;
  --teal: #1d9e75;
  --warning: #f5a623;
  --danger: #e83e3e;
  
  --font-title: 'Saira Condensed', sans-serif;
  --font-body: 'Saira', sans-serif;
  --transition: all 0.2s ease-in-out;
}

/* Core Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  /* Strictly enforce square corners on everything */
  border-radius: 0px !important;
}

html {
  scroll-behavior: smooth;
  background: var(--bg-dark);
  font-family: var(--font-body);
  color: var(--text-primary);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Ambient Industrial Glow */
.tech-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 158, 117, 0.08) 0%, rgba(232, 62, 62, 0.03) 50%, rgba(0,0,0,0) 80%);
  pointer-events: none;
  z-index: -1;
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.max-width-600 {
  max-width: 600px;
}

/* WDEN Card component (strict square, solid borders) */
.wden-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  transition: var(--transition);
}

/* Navigation & Header */
header {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(11, 15, 25, 0.95);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  font-family: var(--font-title);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-primary);
  text-transform: uppercase;
}

.logo span {
  color: var(--accent);
  font-size: 16px;
  font-weight: 500;
  vertical-align: super;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: var(--transition);
}

nav a:hover {
  color: var(--text-primary);
}

/* Buttons (strictly square and blocky) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 10px 24px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-teal {
  background: var(--teal);
  color: #fff;
}

.btn-teal:hover {
  filter: brightness(0.9);
}

.btn-accent-small {
  background: var(--accent);
  color: #fff;
  padding: 6px 16px;
  font-size: 12px;
}

.btn-accent-small:hover {
  background: var(--accent-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--bg-card-alt);
  border-color: var(--text-secondary);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Hero Section */
.hero-section {
  padding: 100px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--teal);
  background: rgba(29, 158, 117, 0.1);
  padding: 4px 12px;
  margin-bottom: 20px;
  border: 1px solid rgba(29, 158, 117, 0.15);
}

.hero-content h1 {
  font-family: var(--font-title);
  font-size: 54px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff 0%, #a6afc0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
}

.hero-image-wrapper {
  display: flex;
  justify-content: center;
}

.image-card {
  padding: 10px;
  background: var(--bg-card-alt);
}

.hero-illustration {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* Pillars Section */
.pillars-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header h2 {
  font-family: var(--font-title);
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pillar-card {
  padding: 40px;
  position: relative;
}

.pillar-card:hover {
  border-color: var(--teal);
  background: var(--bg-card-alt);
}

.pillar-number {
  font-family: var(--font-title);
  font-size: 48px;
  font-weight: 800;
  color: rgba(29, 158, 117, 0.15);
  position: absolute;
  top: 10px;
  right: 20px;
}

.pillar-card h3 {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Features Section */
.features-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.3);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-item {
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
}

.feature-content h3 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-primary);
}

.feature-content p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.feature-tag {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  margin-bottom: 12px;
}

.tag-danger {
  background: rgba(232, 62, 62, 0.1);
  color: var(--danger);
  border: 1px solid rgba(232, 62, 62, 0.15);
}

.tag-warning {
  background: rgba(245, 166, 35, 0.1);
  color: var(--warning);
  border: 1px solid rgba(245, 166, 35, 0.15);
}

.tag-teal {
  background: rgba(29, 158, 117, 0.1);
  color: var(--teal);
  border: 1px solid rgba(29, 158, 117, 0.15);
}

/* Access / Login Section */
.access-section {
  padding: 100px 0;
  border-top: 1px solid var(--border);
}

.access-card {
  padding: 40px;
}

.access-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-title);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input {
  background: var(--bg-card-alt);
  border: 1px solid var(--border-input);
  color: var(--text-primary);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus {
  border-color: var(--teal);
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--bg-card-alt);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-content p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* Responsive Grid Adjustments */
@media (max-width: 968px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  
  .navbar {
    flex-direction: column;
    height: auto;
    padding: 16px 0;
    gap: 16px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
