/* ==============================================================================
   AETHE8 CORPORATE HOMEPAGE - DESIGN SYSTEM
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
  --bg-primary: #0A0908;
  --bg-secondary: #13110E;
  --bg-card: rgba(22, 19, 16, 0.7);
  --gold: #C9A84C;
  --gold-light: #DFC57A;
  --gold-dark: #8B7340;
  --gold-pale: rgba(201, 168, 76, 0.08);
  --text-white: #FFFFFF;
  --text-mid: #A59E92;
  --text-light: #7E7669;
  --border: rgba(201, 168, 76, 0.2);
  --border-light: rgba(201, 168, 76, 0.08);
  --accent-blue: #4A9EFF;
  --accent-green: #27c93f;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

body {
  position: relative;
  background-color: var(--bg-primary);
  line-height: 1.6;
}

/* Background Gradients */
.glow-orb {
  position: absolute;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(201,168,76,0.06) 0%, rgba(201,168,76,0) 70%);
  top: -10vw;
  right: -10vw;
  pointer-events: none;
  z-index: 0;
}

.glow-orb-2 {
  position: absolute;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(74,158,255,0.03) 0%, rgba(74,158,255,0) 70%);
  bottom: 20%;
  left: -20vw;
  pointer-events: none;
  z-index: 0;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Layout Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

/* Navigation Bar */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 9, 8, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

header.scrolled {
  background: rgba(10, 9, 8, 0.95);
  padding: 10px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-box {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--bg-primary);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 1px;
}

.logo-subtext {
  font-size: 8px;
  color: var(--gold-dark);
  letter-spacing: 3px;
  margin-top: 1px;
}

.nav-menu {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-link {
  color: var(--text-mid);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--gold-light);
}

.nav-cta {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--gold);
  color: var(--bg-primary);
  box-shadow: 0 0 15px rgba(201, 168, 76, 0.4);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(var(--border-light) 1px, transparent 1px),
    radial-gradient(var(--border-light) 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.35;
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-tag {
  color: var(--gold);
  font-size: 11px;
  margin-bottom: 20px;
  display: inline-block;
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(201, 168, 76, 0.04);
}

.hero-title {
  font-size: 54px;
  line-height: 1.15;
  color: var(--text-white);
  margin-bottom: 24px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 40px;
  max-width: 580px;
  line-height: 1.8;
}

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

.btn {
  padding: 14px 28px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(201, 168, 76, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* Tech Graphic Hero Side */
.hero-graphic {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-container {
  width: 320px;
  height: 320px;
  border: 1px dashed var(--border);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: spin 60s linear infinite;
}

.shield-ring {
  width: 240px;
  height: 240px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 50%;
  position: absolute;
  animation: spinReverse 40s linear infinite;
}

.shield-logo {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: pulsePulse 4s ease-in-out infinite;
}

.shield-center {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
  font-size: 32px;
}

/* Sections Base Styling */
.section {
  padding: 120px 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-secondary);
}

.section-tag {
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-size: 40px;
  margin-bottom: 24px;
  color: var(--text-white);
}

.section-desc {
  color: var(--text-mid);
  font-size: 16px;
  max-width: 650px;
  margin-bottom: 60px;
}

/* Feature Cards Grid */
.grid-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border);
  background: rgba(22, 19, 16, 0.95);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.feature-card:hover::before {
  opacity: 1;
}

.feat-icon {
  font-size: 32px;
  margin-bottom: 24px;
  color: var(--gold);
  display: inline-block;
}

.feat-title {
  font-size: 20px;
  color: var(--text-white);
  margin-bottom: 16px;
  font-family: 'Playfair Display', serif;
}

.feat-desc {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

/* Live Simulation Showcase */
.interactive-showcase {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  margin-top: 40px;
}

.showcase-header {
  background: rgba(10, 9, 8, 0.9);
  padding: 16px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.showcase-dots {
  display: flex;
  gap: 8px;
}

.showcase-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.showcase-dot.red { background-color: #ff5f56; }
.showcase-dot.yellow { background-color: #ffbd2e; }
.showcase-dot.green { background-color: #27c93f; }

.showcase-tab-bar {
  display: flex;
  gap: 4px;
}

.showcase-tab {
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 6px 16px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-family: 'JetBrains Mono', monospace;
  transition: var(--transition);
}

.showcase-tab.active {
  background: var(--gold-pale);
  color: var(--gold-light);
  border: 1px solid rgba(201, 168, 76, 0.2);
}

.showcase-body {
  padding: 30px;
  min-height: 380px;
  background: rgba(10, 9, 8, 0.5);
}

.sim-pane {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.sim-pane.active {
  display: block;
}

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.sim-visual {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  position: relative;
}

.sim-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sim-tag {
  color: var(--accent-blue);
  font-size: 11px;
  font-weight: 700;
}

.sim-title {
  font-size: 24px;
  color: var(--text-white);
}

.sim-desc {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

/* ROI / Leakage Calculator Widget */
.calc-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  margin-top: 40px;
  align-items: center;
}

.calc-sliders {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.calc-output {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.calc-output::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.calc-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calc-value-display {
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
  font-family: 'JetBrains Mono', monospace;
  margin-bottom: 20px;
}

.calc-slider-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Custom Range Input */
.calc-range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}

.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.6);
  transition: transform 0.1s;
}

.calc-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.calc-select {
  background: rgba(10, 9, 8, 0.9);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  padding: 12px;
  border-radius: 4px;
  font-size: 13px;
  outline: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.calc-select:focus {
  border-color: var(--gold);
}

.metric-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.metric-card {
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 16px;
}

.metric-card:last-child {
  border: none;
  padding: 0;
}

.metric-title {
  font-size: 10px;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.metric-val {
  font-size: 32px;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  margin-top: 4px;
}

.metric-val.green {
  color: var(--accent-green);
  text-shadow: 0 0 15px rgba(39, 201, 63, 0.2);
}

.metric-val.red {
  color: #ff5f56;
}

/* Attestation Scan Simulator */
.scanner-input-group {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.scanner-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  border: none;
  border-radius: 4px;
  padding: 0 20px;
  font-size: 10px;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  cursor: pointer;
  letter-spacing: 1px;
  transition: var(--transition);
}

.scanner-btn:hover {
  box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

.hologram-scan {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-green), transparent);
  box-shadow: 0 0 10px var(--accent-green);
  opacity: 0;
  z-index: 10;
  pointer-events: none;
}

.hologram-active {
  animation: scanHolo 2s ease-in-out infinite;
  opacity: 1;
}

@keyframes scanHolo {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.attestation-loading {
  display: none;
  font-family: 'JetBrains Mono', monospace;
  color: var(--accent-green);
  text-align: center;
  padding: 30px;
  font-size: 12px;
}

/* FAQs / Accordion */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-title {
  font-size: 16px;
  color: var(--text-white);
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.faq-icon {
  font-size: 18px;
  color: var(--gold-light);
  transition: transform 0.3s;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 30px;
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item.active {
  border-color: var(--border);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-item.active .faq-content {
  padding-bottom: 24px;
}

/* Security Trust Section */
.grid-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.trust-shield-wrapper {
  display: flex;
  justify-content: center;
}

.trust-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.trust-num {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: var(--gold);
  font-weight: 800;
  line-height: 1;
}

.trust-text h4 {
  font-size: 18px;
  color: var(--text-white);
  margin-bottom: 6px;
}

.trust-text p {
  color: var(--text-mid);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact Submission Area */
.inquiry-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 50px;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 15px 45px rgba(0,0,0,0.4);
}

.form-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 12px;
}

.form-subtitle {
  text-align: center;
  color: var(--text-mid);
  font-size: 14px;
  margin-bottom: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-control {
  background: rgba(10, 9, 8, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-white);
  padding: 12px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px rgba(201, 168, 76, 0.15);
}

textarea.form-control {
  resize: none;
  height: 120px;
}

.form-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-primary);
  border: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.form-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(201, 168, 76, 0.3);
}

.success-message {
  display: none;
  text-align: center;
  padding: 30px;
  background: rgba(25, 135, 84, 0.08);
  border: 1px solid rgba(25, 135, 84, 0.3);
  border-radius: 4px;
  color: #2ec4b6;
  font-size: 15px;
  animation: fadeIn 0.4s ease-out;
}

/* Footer Section */
footer {
  background-color: #050403;
  border-top: 1px solid var(--border-light);
  padding: 60px 0 40px;
  color: var(--text-light);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 40px;
  margin-bottom: 30px;
}

.footer-copy {
  font-size: 11px;
}

.footer-legal {
  display: flex;
  gap: 30px;
  font-size: 11px;
}

.footer-legal-link {
  color: var(--text-light);
  text-decoration: none;
  transition: var(--transition);
}

.footer-legal-link:hover {
  color: var(--gold-light);
}

.node-heartbeat {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-family: 'JetBrains Mono', monospace;
  color: var(--gold-dark);
}

.heartbeat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-blue);
  animation: pulsePulse 1.5s infinite;
}

/* Keyframes & Animations */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

@keyframes pulsePulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsiveness */
@media (max-width: 992px) {
  .hero-grid, .grid-trust, .calc-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .hero-title { font-size: 40px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .grid-features { grid-template-columns: 1fr; }
  .sim-grid { grid-template-columns: 1fr; }
  .logo-wrapper { justify-content: center; }
  .nav-menu { display: none; }
}
