/* ===== CSS Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #3b82f6;
  --secondary: #7c3aed;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;

  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --bg-card-hover: #334155;
  --bg-light: #f8fafc;
  --bg-section: #f1f5f9;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dark: #1e293b;
  --text-muted: #64748b;

  --border: #334155;
  --border-light: #e2e8f0;

  --gradient-primary: linear-gradient(
    135deg,
    #2563eb 0%,
    #7c3aed 50%,
    #06b6d4 100%
  );
  --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1) 0%,
    rgba(124, 58, 237, 0.1) 100%
  );

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 40px rgba(37, 99, 235, 0.3);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-icon {
  font-size: 1.5rem;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition);
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  z-index: -1;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(37, 99, 235, 0.15) 0%,
    transparent 70%
  );
  animation: float 20s ease-in-out infinite;
}

.hero-bg::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(124, 58, 237, 0.1) 0%,
    transparent 70%
  );
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(30px, -30px);
  }
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-light);
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

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

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 60px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--text-secondary);
}

/* ===== Phone Mockup ===== */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-mockup {
  width: 280px;
  height: 580px;
  background: #1a1a1a;
  border-radius: 40px;
  padding: 12px;
  box-shadow: var(--shadow-xl), var(--shadow-glow);
  position: relative;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 24px;
  background: #000;
  border-radius: 20px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  border-radius: 32px;
  padding: 48px 16px 16px;
  display: flex;
  flex-direction: column;
}

.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.add-btn {
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.screen-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.project-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  animation: slideIn 0.5s ease forwards;
  opacity: 0;
}

.project-card:nth-child(1) {
  animation-delay: 0.2s;
}
.project-card:nth-child(2) {
  animation-delay: 0.4s;
}
.project-card:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.project-icon {
  font-size: 1.5rem;
}

.project-info {
  flex: 1;
}

.project-name {
  font-weight: 600;
  font-size: 0.9rem;
}

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

.screen-nav {
  display: flex;
  justify-content: space-around;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.screen-nav .active {
  color: var(--primary);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg-darker);
}

.section-gradient {
  background: var(--gradient-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 100px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Overview Grid ===== */
.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.overview-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.overview-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.overview-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.overview-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
}

.overview-card ul {
  list-style: none;
}

.overview-card li {
  padding: 8px 0;
  color: var(--text-secondary);
  position: relative;
  padding-left: 20px;
}

.overview-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary);
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.feature-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.1);
  border-radius: var(--radius-md);
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.feature-endpoints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-endpoints span {
  font-size: 0.7rem;
  padding: 4px 8px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary-light);
  border-radius: 4px;
  font-family: "SF Mono", monospace;
}

/* ===== Tech Stack ===== */
.comparison-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.comparison-card {
  background: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  position: relative;
}

.comparison-card.winner {
  border-color: var(--success);
  box-shadow: 0 0 40px rgba(16, 185, 129, 0.2);
}

.comparison-badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 6px 16px;
  background: var(--success);
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
}

.comparison-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.tech-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.comparison-header h3 {
  flex: 1;
  font-size: 1.25rem;
}

.score {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-light);
}

.comparison-list {
  list-style: none;
}

.comparison-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.comparison-list li:last-child {
  border-bottom: none;
}

.check {
  color: var(--success);
  font-weight: 600;
}

.neutral {
  color: var(--warning);
}

.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.tech-item:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.tech-item .tech-icon {
  font-size: 2rem;
}

.tech-item span {
  font-weight: 600;
}

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

/* ===== Architecture ===== */
.architecture-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 60px;
}

.arch-layer {
  width: 100%;
  max-width: 500px;
  padding: 24px;
  border-radius: var(--radius-md);
  text-align: center;
}

.arch-layer.presentation {
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.2),
    rgba(37, 99, 235, 0.1)
  );
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.arch-layer.domain {
  background: linear-gradient(
    135deg,
    rgba(124, 58, 237, 0.2),
    rgba(124, 58, 237, 0.1)
  );
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.arch-layer.data {
  background: linear-gradient(
    135deg,
    rgba(6, 182, 212, 0.2),
    rgba(6, 182, 212, 0.1)
  );
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.arch-layer.core {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2),
    rgba(16, 185, 129, 0.1)
  );
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.layer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  margin-bottom: 12px;
}

.layer-content {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.layer-content span {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.85rem;
}

.arch-arrow {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.folder-structure {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
}

.folder-structure h3 {
  margin-bottom: 20px;
}

.folder-structure pre {
  background: var(--bg-darker);
  padding: 24px;
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.folder-structure code {
  font-family: "SF Mono", "Fira Code", monospace;
  font-size: 0.85rem;
  line-height: 1.8;
  color: var(--text-secondary);
}

/* ===== Screens Section ===== */
.screens-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--text-secondary);
  color: var(--text-primary);
}

.tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.screen-panel {
  display: none;
}

.screen-panel.active {
  display: block;
}

.screen-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.screen-item {
  text-align: center;
}

.screen-preview {
  margin-bottom: 16px;
}

.mini-screen {
  width: 180px;
  height: 320px;
  background: var(--bg-card);
  border-radius: 24px;
  padding: 20px 12px 12px;
  margin: 0 auto;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mini-screen.admin {
  background: linear-gradient(135deg, var(--bg-card), rgba(124, 58, 237, 0.1));
}

.mini-logo {
  font-size: 2rem;
  text-align: center;
  margin: 20px 0;
}

.mini-title {
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
}

.mini-title.small {
  font-size: 0.9rem;
  margin: 8px 0;
}

.mini-btn {
  height: 32px;
  background: var(--primary);
  border-radius: 8px;
}

.mini-btn.outline {
  background: transparent;
  border: 1px solid var(--border);
}

.mini-input {
  height: 28px;
  background: var(--bg-darker);
  border-radius: 6px;
}

.mini-input.tall {
  height: 60px;
}

.mini-header {
  font-size: 0.8rem;
  font-weight: 600;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.mini-card {
  height: 50px;
  background: var(--bg-darker);
  border-radius: 8px;
}

.mini-nav {
  margin-top: auto;
  height: 24px;
  background: var(--bg-darker);
  border-radius: 4px;
}

.mini-search {
  height: 24px;
  background: var(--bg-darker);
  border-radius: 12px;
}

.mini-chips {
  height: 20px;
  display: flex;
  gap: 4px;
}

.mini-chips::before,
.mini-chips::after {
  content: "";
  width: 40px;
  height: 20px;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 10px;
}

.mini-avatar {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  margin: 8px auto;
}

.mini-text {
  height: 40px;
  background: var(--bg-darker);
  border-radius: 4px;
}

.mini-avatars {
  height: 24px;
  display: flex;
  justify-content: center;
  gap: -8px;
}

.mini-topic {
  height: 40px;
  background: var(--bg-darker);
  border-radius: 6px;
  border-left: 3px solid var(--primary);
}

.mini-message {
  height: 50px;
  background: var(--bg-darker);
  border-radius: 8px;
}

.mini-input-bar {
  margin-top: auto;
  height: 28px;
  background: var(--bg-darker);
  border-radius: 14px;
}

.mini-stats {
  height: 40px;
  display: flex;
  gap: 8px;
}

.mini-stats::before,
.mini-stats::after {
  content: "";
  flex: 1;
  background: rgba(124, 58, 237, 0.2);
  border-radius: 6px;
}

.mini-menu-item {
  height: 36px;
  background: var(--bg-darker);
  border-radius: 6px;
}

.mini-user-row {
  height: 36px;
  background: var(--bg-darker);
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 8px;
}

.mini-user-row::before {
  content: "";
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
}

.mini-app-card {
  height: 60px;
  background: var(--bg-darker);
  border-radius: 8px;
  border-left: 3px solid var(--warning);
}

.screen-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.screen-item p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ===== API Section ===== */
.api-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.api-group {
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.api-group h3 {
  font-size: 1rem;
  margin-bottom: 16px;
}

.endpoint {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.endpoint:last-child {
  border-bottom: none;
}

.method {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.method.get {
  background: rgba(16, 185, 129, 0.2);
  color: var(--success);
}
.method.post {
  background: rgba(37, 99, 235, 0.2);
  color: var(--primary-light);
}
.method.patch {
  background: rgba(245, 158, 11, 0.2);
  color: var(--warning);
}
.method.delete {
  background: rgba(239, 68, 68, 0.2);
  color: var(--error);
}

.path {
  font-family: "SF Mono", monospace;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* ===== Timeline ===== */
.timeline {
  max-width: 700px;
  margin: 0 auto;
}

.timeline-item {
  display: flex;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 48px;
  width: 2px;
  height: calc(100% - 48px);
  background: var(--border);
}

.timeline-marker {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.timeline-content {
  flex: 1;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.timeline-content h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content li {
  padding: 6px 0;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.timeline-content li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
}

/* ===== Metrics ===== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
}

.metric-value {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.metric-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-period {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ===== Documents ===== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.doc-card {
  background: var(--bg-card);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  display: block;
}

.doc-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.doc-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.doc-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.doc-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.doc-link {
  color: var(--primary-light);
  font-weight: 500;
  font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
  background: var(--bg-darker);
  padding: 60px 0 24px;
  border-top: 1px solid var(--border);
}

.footer-content {
  text-align: center;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-description {
    margin: 0 auto 32px;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 40px;
  }

  .phone-mockup {
    width: 240px;
    height: 500px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .section {
    padding: 60px 0;
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }

  .comparison-container {
    grid-template-columns: 1fr;
  }
}

/* ===== Signature ===== */
.signature {
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.author-link {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition);
}

.author-link:hover {
  opacity: 0.8;
}
