/* Silicon Stacker - Dark Techy Style */

:root {
  --dark-bg: #141928;
  --darker-bg: #0d1117;
  --card-bg: #1a2035;
  --accent-blue: #0096ff;
  --light-blue: #64b4ff;
  --red: #ff5050;
  --green: #50dc78;
  --white: #ffffff;
  --gray: #788496;
  --light-gray: #b4bee6;
  --grid-color: rgba(0, 150, 255, 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: var(--dark-bg);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
}

/* Grid background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: -1;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 150, 255, 0.2);
}

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

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--accent-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
}

.logo-text span {
  color: var(--accent-blue);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  color: var(--gray);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover, nav a.active {
  color: var(--accent-blue);
}

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero h1 span {
  color: var(--accent-blue);
}

.hero .tagline {
  font-size: 1.3rem;
  color: var(--gray);
  margin-bottom: 40px;
}

.hero .ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--card-bg);
  border: 1px solid var(--accent-blue);
  border-radius: 30px;
  padding: 10px 25px;
  margin-bottom: 40px;
}

.hero .ai-badge .dot {
  width: 10px;
  height: 10px;
  background: var(--accent-blue);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

/* Video Section */
.video-section {
  padding: 40px 0;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  border: 2px solid rgba(0, 150, 255, 0.3);
  background: var(--darker-bg);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--gray);
}

/* Cards */
.card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 15px;
  padding: 30px;
  margin-bottom: 30px;
}

.card h2 {
  color: var(--accent-blue);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  margin-top: 25px;
  margin-bottom: 15px;
  color: var(--light-blue);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

.stat-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 150, 255, 0.2);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
}

.stat-card.red {
  border-color: rgba(255, 80, 80, 0.4);
}

.stat-card.green {
  border-color: rgba(80, 220, 120, 0.4);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-value.red { color: var(--red); }
.stat-value.green { color: var(--green); }
.stat-value.blue { color: var(--accent-blue); }

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
}

/* Subscribe Section */
.subscribe-section {
  padding: 60px 0;
  text-align: center;
}

.subscribe-section h2 {
  margin-bottom: 15px;
}

.subscribe-section p {
  color: var(--gray);
  margin-bottom: 30px;
}

.subscribe-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.subscribe-form input[type="email"] {
  padding: 15px 25px;
  border-radius: 30px;
  border: 1px solid rgba(0, 150, 255, 0.3);
  background: var(--card-bg);
  color: var(--white);
  font-size: 1rem;
  width: 300px;
}

.subscribe-form input[type="email"]::placeholder {
  color: var(--gray);
}

.subscribe-form input[type="email"]:focus {
  outline: none;
  border-color: var(--accent-blue);
}

.btn {
  padding: 15px 35px;
  border-radius: 30px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-primary {
  background: var(--accent-blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-blue);
  color: var(--accent-blue);
}

.btn-secondary:hover {
  background: var(--accent-blue);
  color: var(--white);
}

/* Analysis Page */
.analysis-content {
  padding: 60px 0;
}

.analysis-content h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.analysis-meta {
  color: var(--gray);
  margin-bottom: 40px;
}

.section {
  margin-bottom: 50px;
}

.section h2 {
  color: var(--accent-blue);
  font-size: 1.8rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(0, 150, 255, 0.2);
}

.section p {
  margin-bottom: 15px;
  color: var(--light-gray);
}

.highlight-box {
  background: var(--card-bg);
  border-left: 4px solid var(--accent-blue);
  padding: 20px 25px;
  margin: 25px 0;
  border-radius: 0 10px 10px 0;
}

.highlight-box.red {
  border-left-color: var(--red);
}

.highlight-box.green {
  border-left-color: var(--green);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
}

.data-table th, .data-table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid rgba(0, 150, 255, 0.1);
}

.data-table th {
  color: var(--accent-blue);
  font-weight: 600;
}

.data-table td {
  color: var(--light-gray);
}

/* About Page */
.about-content {
  padding: 60px 0;
}

.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 30px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0, 150, 255, 0.2);
  text-align: center;
  color: var(--gray);
  margin-top: 60px;
}

footer a {
  color: var(--accent-blue);
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  header .container {
    flex-direction: column;
    gap: 20px;
  }
  
  nav ul {
    gap: 20px;
  }
  
  .subscribe-form input[type="email"] {
    width: 100%;
  }
}

/* Floating data points animation */
.floating-data {
  position: fixed;
  font-size: 12px;
  color: rgba(0, 150, 255, 0.3);
  pointer-events: none;
  z-index: -1;
}
