:root {
  --bg-dark: #050608;
  --accent-cyan: #06b6d4;
  --accent-cyan-glow: rgba(6, 182, 212, 0.4);
  --text-primary: #f8fafc;
  --text-muted: #8391a1;
  --panel-border: rgba(255, 255, 255, 0.05);
  --font-main: 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle Animated Background */
.bg-mesh {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: 
    radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 30% 70%, rgba(6, 182, 212, 0.03) 0%, transparent 40%);
  z-index: -1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 0 2rem;
}

.brand-tag {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.75rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0.6;
}

h1 {
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.05em;
  margin-bottom: 2rem;
}

h1 span { color: var(--accent-cyan); }

.hero-sub {
  font-size: 1.5rem;
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 4rem;
  font-weight: 300;
}

.cta-main {
  padding: 1.5rem 3.5rem;
  background: var(--accent-cyan);
  color: #000;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-radius: 4px;
  box-shadow: 0 20px 40px -10px var(--accent-cyan-glow);
  transition: all 0.4s;
}

.cta-main:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px -10px var(--accent-cyan-glow);
}

/* Fluid Split Sections */
.split-section {
  padding: 4rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
}

.split-section.reverse {
  direction: rtl;
}

.split-section.reverse .text-content {
  direction: ltr;
}

.label-mini {
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  margin-bottom: 1.5rem;
  display: block;
}

.split-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}

.split-text {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 500px;
}

/* Image Showcase / Windows */
.image-showcase {
  position: relative;
  perspective: 1000px;
}

.window-mockup {
  background: #0d1117;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.8);
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.window-mockup:hover {
  transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.win-head {
  background: #161b22;
  padding: 1rem 1.25rem;
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--panel-border);
}

.dot { width: 10px; height: 10px; border-radius: 50%; background: #30363d; }

.window-mockup img {
  width: 100%;
  display: block;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.window-mockup:hover img { opacity: 1; }

/* Features Fluid Grid */
.features-fluid {
  padding: 6rem 0;
  border-top: 1px solid var(--panel-border);
}

.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.feat-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  font-family: var(--font-mono);
  color: #fff;
}

.feat-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Footer Section */
footer {
  padding: 12rem 0 6rem;
  text-align: center;
  border-top: 1px solid var(--panel-border);
}

.finish-line {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 900;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.2);
  line-height: 1;
  font-family: var(--font-mono);
}

.finish-line span {
  color: var(--accent-cyan);
  -webkit-text-stroke: 0;
  text-shadow: 0 0 20px var(--accent-cyan-glow);
}

.github-link {
  font-family: var(--font-mono);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.2s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.github-link:hover {
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

@media (max-width: 1000px) {
  .split-section { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
  .split-section.reverse { direction: ltr; }
  .split-text { margin: 0 auto; }
  .feat-grid { grid-template-columns: 1fr; }
  h1 { font-size: 4rem; }
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  animation: reveal 1s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}
