﻿/* ================================================================
   VOID NOTES — Landing Page
   Smooth Minimalism + Brutalism | Dark Mode
   ================================================================ */

/* RESET */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep:        #0a0a0a;
  --bg-surface:     #111111;
  --bg-elevated:    #1a1a1a;
  --bg-card:        #141414;
  --border-subtle:  #1a1a1a;
  --border-medium:  #2a2a2a;
  --text-primary:   #f0f0f0;
  --text-secondary: #888888;
  --text-muted:     #555555;
  --accent:         #ffffff;
  --font-mono:      'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
  --font-sans:      'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease:           cubic-bezier(0.4, 0, 0.2, 1);
  --transition:     0.3s var(--ease);
  --transition-slow: 0.5s var(--ease);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

::selection {
  background: var(--text-primary);
  color: var(--bg-deep);
}

a { color: inherit; text-decoration: none; }

/* ================================================================
   LAYOUT
   ================================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.divider {
  height: 1px;
  background: var(--border-subtle);
  border: none;
  margin: 0;
}

/* ================================================================
   NAVIGATION
   ================================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.nav-logo img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--text-primary);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-family: var(--font-mono) !important;
  font-size: 0.75rem !important;
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--border-medium);
  color: var(--text-primary) !important;
  transition: all var(--transition) !important;
}

.nav-cta:hover {
  background: var(--text-primary) !important;
  color: var(--bg-deep) !important;
}

.nav-cta::after { display: none !important; }

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 0 6rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,255,255,0.015) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
  padding: 0.4rem 1rem;
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero h1 .void {
  color: var(--text-muted);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 3rem;
  line-height: 1.7;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border: 1px solid var(--border-medium);
  cursor: pointer;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  background: transparent;
  color: var(--text-primary);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-primary);
  transition: left var(--transition);
  z-index: -1;
}

.btn:hover::before { left: 0; }
.btn:hover { color: var(--bg-deep); border-color: var(--text-primary); }

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-deep);
  border-color: var(--text-primary);
}

.btn-primary::before { background: var(--bg-deep); }
.btn-primary:hover { color: var(--text-primary); }

.btn-icon {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  animation: fadeIn 1s ease-out 1s both;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--text-muted), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ================================================================
   SECTION COMMONS
   ================================================================ */
section { padding: 6rem 0; }

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-mono);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.7;
}

/* ================================================================
   FEATURES
   ================================================================ */
.features { padding: 8rem 0; }
.features-header { margin-bottom: 4rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-medium);
  border: 1px solid var(--border-medium);
}

.feature-card {
  background: var(--bg-deep);
  padding: 2.5rem;
  transition: background var(--transition);
  position: relative;
}

.feature-card:hover { background: var(--bg-surface); }

.feature-icon {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: block;
  color: var(--text-muted);
}

.feature-card h3 {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

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

.feature-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
  padding: 0.2rem 0.5rem;
  margin-top: 1rem;
  letter-spacing: 0.05em;
}

/* ================================================================
   VERSIONS
   ================================================================ */
.versions { padding: 8rem 0; }
.versions-header { text-align: center; margin-bottom: 4rem; }
.versions-header .section-desc { margin: 0 auto; }

.versions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.version-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  padding: 2.5rem;
  transition: border-color var(--transition), background var(--transition);
  position: relative;
}

.version-card:hover {
  border-color: var(--text-muted);
  background: var(--bg-elevated);
}

.version-card-highlight {
  border-color: rgba(255, 255, 255, 0.15);
}

.version-card-highlight:hover {
  border-color: var(--text-primary);
}

.version-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-medium);
  padding: 0.3rem 0.7rem;
  margin-bottom: 1.5rem;
}

.version-badge-active {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.version-card h3 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.version-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.version-features {
  list-style: none;
  margin-bottom: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.version-features li {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.version-features li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: var(--text-muted);
  font-weight: 600;
}

.version-actions {
  display: flex;
  gap: 0.75rem;
}

.version-actions .btn {
  font-size: 0.78rem;
  padding: 0.7rem 1.5rem;
}

@media (max-width: 640px) {
  .versions-grid { grid-template-columns: 1fr; }
  .version-actions { flex-direction: column; }
  .version-actions .btn { width: 100%; justify-content: center; }
}

/* ================================================================
   PREVIEW / MOCKUP
   ================================================================ */
.preview { padding: 6rem 0 8rem; }
.preview-header { text-align: center; margin-bottom: 3rem; }
.preview-header .section-desc { margin: 0 auto; }

.mockup-frame {
  border: 1px solid var(--border-medium);
  background: var(--bg-surface);
  overflow: hidden;
  position: relative;
}

.mockup-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-medium);
}

.mockup-dot.red    { background: #ff5f57; }
.mockup-dot.yellow { background: #ffbd2e; }
.mockup-dot.green  { background: #28c840; }

.mockup-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.mockup-body {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  min-height: 420px;
}

/* Sidebar */
.mockup-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding: 1rem 0;
}

.mockup-sidebar-header {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 1rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 0.5rem;
}

.mockup-file {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  cursor: default;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mockup-file:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.mockup-file.active {
  color: var(--text-primary);
  background: var(--bg-elevated);
  border-left: 2px solid var(--text-primary);
}

.mockup-file-icon { opacity: 0.4; font-size: 0.65rem; }

/* Editor */
.mockup-editor {
  border-right: 1px solid var(--border-subtle);
  padding: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.8;
  color: var(--text-secondary);
  background: var(--bg-deep);
}

.mockup-editor .line-num {
  color: var(--text-muted);
  opacity: 0.4;
  display: inline-block;
  width: 2rem;
  text-align: right;
  margin-right: 1rem;
  user-select: none;
}

.mockup-editor .heading { color: #e06c75; }
.mockup-editor .bold    { color: #e5c07b; font-weight: 600; }
.mockup-editor .link    { color: #61afef; }
.mockup-editor .code    { color: #98c379; }
.mockup-editor .comment { color: var(--text-muted); font-style: italic; }
.mockup-editor .tag     { color: #c678dd; }

/* Preview pane */
.mockup-preview {
  padding: 1.25rem;
  background: var(--bg-deep);
}

.mockup-preview h2 {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.mockup-preview h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.mockup-preview p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.mockup-preview .preview-link {
  color: #61afef;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mockup-preview .preview-code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  background: var(--bg-elevated);
  padding: 0.15rem 0.4rem;
  color: #98c379;
}

.mockup-preview .preview-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #c678dd;
  border: 1px solid rgba(198, 120, 221, 0.2);
  padding: 0.1rem 0.4rem;
  margin-right: 0.25rem;
}

.preview-coming-soon {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.gallery-filter {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border-medium);
  padding: 0.5rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter:hover {
  color: var(--text-primary);
  border-color: var(--text-muted);
}

.gallery-filter.active {
  color: var(--bg-deep);
  background: var(--text-primary);
  border-color: var(--text-primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), opacity 0.3s ease;
  opacity: 1;
  cursor: pointer;
}

.gallery-item-wide {
  grid-column: 1 / -1;
}

.gallery-item:hover {
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.gallery-img-wrap {
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.gallery-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover .gallery-img-wrap img {
  transform: scale(1.02);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-zoom {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 0.4rem 1rem;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.3);
}

.gallery-caption {
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.gallery-theme-tag {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 0;
  flex-shrink: 0;
}

.gallery-theme-tag.dark {
  color: #e0e0e0;
  background: #2a2a2a;
  border: 1px solid #3a3a3a;
}

.gallery-theme-tag.light {
  color: #1a1a1a;
  background: #d4d4d4;
  border: 1px solid #c0c0c0;
}

.gallery-name {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: lightboxIn 0.3s var(--ease);
}

@keyframes lightboxIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.lightbox-caption {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-align: center;
  max-width: 600px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: var(--font-mono);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-family: var(--font-mono);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next { display: none; }
}

/* Responsive gallery */
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-filters {
    flex-wrap: wrap;
  }
}

/* ================================================================
   TECH STACK
   ================================================================ */
.tech { padding: 6rem 0; }
.tech-header { text-align: center; margin-bottom: 3rem; }
.tech-header .section-desc { margin: 0 auto; }

.tech-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1px;
  background: var(--border-medium);
  border: 1px solid var(--border-medium);
  max-width: 700px;
  margin: 0 auto;
}

.tech-item {
  background: var(--bg-deep);
  padding: 1.5rem 2rem;
  text-align: center;
  flex: 1;
  min-width: 140px;
  transition: background var(--transition);
}

.tech-item:hover { background: var(--bg-surface); }

.tech-item-name {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tech-item-role {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
  padding: 8rem 0;
  text-align: center;
}

.cta-section .section-title { margin-bottom: 1rem; }
.cta-section .section-desc { margin: 0 auto 2.5rem; }

/* ================================================================
   FOOTER
   ================================================================ */
footer { padding: 3rem 0; }

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-left img { width: 16px; height: 16px; opacity: 0.5; }

.footer-links { display: flex; gap: 1.5rem; }

.footer-links a {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--text-primary); }

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%      { opacity: 0.8; transform: scaleY(1.2); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; }

  .mockup-body { grid-template-columns: 1fr; }
  .mockup-sidebar { display: none; }
  .mockup-editor { border-right: none; border-bottom: 1px solid var(--border-subtle); }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links a { font-size: 1.2rem; }
  .nav-cta { font-size: 0.85rem !important; padding: 0.7rem 1.5rem; }

  .mobile-menu-btn { display: flex; z-index: 101; }

  .hero { padding: 7rem 0 4rem; min-height: auto; }
  .hero h1 { font-size: 2.5rem; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn { width: 100%; justify-content: center; }

  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: 1.75rem; }

  .tech-grid { flex-direction: column; }
  .tech-item { min-width: auto; }

  footer .container {
    flex-direction: column;
    text-align: center;
  }
}
