/* ── Base Styles & Resets ── */
:root {
  --bg-color: #030712;
  --card-bg: rgba(17, 24, 39, 0.7);
  --card-border: rgba(255, 255, 255, 0.08);
  --text-primary: #f9fafb;
  --text-secondary: #9ca3af;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --accent-cyan: #06b6d4;
  --accent-purple: #a855f7;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  --accent-orange: #f97316;
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Outfit', sans-serif;
}

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

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

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

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #1f2937;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: #374151;
}

/* ── Background 3D Canvas ── */
#canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 50%, #0c1020 0%, #030712 100%);
}

/* ── Typography & Gradient Text ── */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Glassmorphic Cards ── */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px -15px rgba(59, 130, 246, 0.15);
}

/* ── Header ── */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 7, 18, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--card-border);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.logo-icon {
  width: 28px;
  height: 28px;
  color: #3b82f6;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-tertiary {
  color: #3b82f6;
  padding: 0.75rem 0.5rem;
}

.btn-tertiary:hover i {
  transform: translateX(4px);
}

.btn-tertiary i {
  transition: transform 0.2s;
}

.btn-nav {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

/* ── Hero Section ── */
.hero {
  padding: 10rem 2rem 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-metadata {
  display: flex;
  gap: 2rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-metadata span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-metadata i {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

/* ── Interactive 3D Card (Hero Right) ── */
.hero-visual {
  perspective: 1000px;
  display: flex;
  justify-content: center;
}

.3d-card {
  width: 100%;
  max-width: 440px;
  padding: 1.25rem;
  transform-style: preserve-3d;
  position: relative;
}

.card-inner {
  display: flex;
  flex-col: column;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(99, 102, 241, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.card-header-visual {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 0.75rem;
}

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.card-title-visual {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card-viewport {
  height: 260px;
  background: #020617;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.viewport-overlay {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}

.active-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.5rem;
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 50px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(6, 182, 212, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.engine-info {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 500;
}

#mini-canvas-container {
  width: 100%;
  height: 100%;
}

.card-footer-visual {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.5rem;
}

.file-info-visual {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.file-info-visual i {
  color: #3b82f6;
  width: 24px;
  height: 24px;
}

.filename {
  font-size: 0.85rem;
  font-weight: 600;
}

.filesize {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.status-tag {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: var(--accent-green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
}

/* ── Features Section ── */
.features {
  padding: 8rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

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

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.feature-icon i {
  width: 24px;
  height: 24px;
}

.feature-icon.bg-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.feature-icon.bg-cyan { background: rgba(6, 182, 212, 0.1); color: var(--accent-cyan); }
.feature-icon.bg-purple { background: rgba(168, 85, 247, 0.1); color: var(--accent-purple); }
.feature-icon.bg-green { background: rgba(16, 185, 129, 0.1); color: var(--accent-green); }
.feature-icon.bg-red { background: rgba(239, 68, 68, 0.1); color: var(--accent-red); }
.feature-icon.bg-orange { background: rgba(249, 115, 22, 0.1); color: var(--accent-orange); }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── Interactive 3D Showcase Section ── */
.showcase-3d {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 16, 32, 0.3) 50%, transparent 100%);
}

.showcase-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.showcase-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.showcase-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.spec-item i {
  width: 20px;
  height: 20px;
}

.text-cyan {
  color: var(--accent-cyan);
}

.showcase-interactive {
  height: 400px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
}

/* 3D Config Panel inside interactive container */
.model-customizer {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(2, 6, 17, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  padding: 1.25rem;
  border-radius: 16px;
  z-index: 10;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.control-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.control-group label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 600;
}

.btn-group {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 0.15rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-group button, .control-group > button {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-group button.active, .control-group > button.active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.control-group > button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  margin: 0.5rem 0;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: #3b82f6;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.1s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* ── Security & Privacy Section ── */
.security {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.security-card {
  padding: 4rem;
  background: radial-gradient(circle at 100% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 60%), var(--card-bg);
  text-align: center;
}

.security-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.security-content p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.sec-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.sec-badge i {
  width: 32px;
  height: 32px;
  color: var(--accent-green);
}

/* ── Footer ── */
footer {
  background: rgba(2, 6, 17, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--card-border);
  padding: 6rem 2rem 3rem 2rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-cta {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-cta h2 {
  font-size: 2.5rem;
}

.footer-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.btn-cta {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text-primary);
}

.copyright {
  color: #4b5563;
  font-size: 0.875rem;
}

/* ── Responsive Styling ── */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero {
    padding-top: 8rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-metadata {
    justify-content: center;
  }
  .showcase-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  nav {
    display: none; /* Hide nav links on mobile for simplicity */
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .security-card {
    padding: 2rem;
  }
  .security-badges {
    gap: 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ── Technical Specifications Table Styling ── */
.tech-specs {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.specs-table-container {
  overflow-x: auto;
  margin-top: 2rem;
  border-radius: 20px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.specs-table th, .specs-table td {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.specs-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}

.specs-table td {
  color: var(--text-secondary);
}

.specs-table tr:hover td {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.01);
}

/* ── FAQ Section Styling ── */
.faq {
  padding: 6rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.faq-item {
  padding: 2rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.faq-item:hover {
  transform: translateY(-2px);
}

.faq-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ── Footer Actions Grid Styling ── */
.footer-actions-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}


