﻿/* ================================
   styles.css — Crowdfunding Landing (Dark Theme)
   ================================ */

:root {
  --blue: #1E90FF;
  --emerald: #00C896;
  --graphite: #DCE6F9;
  --gray-100: #2C3E50;
  --gray-200: #34495E;
  --gray-600: #A8C0E0;
  --gray-700: #7FA2C5;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  --bg-dark: #0B1220;
  --bg-card: #14213D;
  --text-light: #E6F0FF;
  --text-muted: #B0C4DE;
  --text-accent-blue: #58AFFF;
  --text-accent-green: #00E6A8;
}

body {
  font-family: "Inter", "Poppins", system-ui, sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

a {
  color: var(--text-accent-blue);
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: var(--text-accent-green);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.section { padding: 4rem 0; }

h1, h2, h3 {
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
  margin: 0 0 1rem;
}
h1 { font-size: 2.5rem; font-weight: 800; color: #FFFFFF; }
h2 { font-size: 1.75rem; font-weight: 700; color: var(--text-accent-blue); }
.muted { color: var(--text-muted); }

.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.btn-blue { background: var(--blue); color: #fff; }
.btn-emerald { background: var(--emerald); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--text-accent-blue); color: var(--text-accent-blue); }
.btn:hover { opacity: 0.85; transform: translateY(-1px); }

header {
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav a { color: var(--text-muted); }
.nav a:hover { color: var(--text-accent-blue); }

.gradient-hero {
  background: linear-gradient(180deg, #0E182E 0%, #0B1220 100%);
  text-align: center;
  padding: 5rem 1rem;
}
.gradient-hero h1 { color: #fff; }
.gradient-hero p { color: var(--text-muted); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  transition: 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(30, 144, 255, 0.2);
}
.card h3 { color: var(--text-accent-green); }
.card p { color: var(--text-muted); }

.tabs { display: flex; gap: 0.5rem; }
.tab {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-accent-blue);
  border-radius: var(--radius-lg);
  padding: 0.5rem 1rem;
  cursor: pointer;
}
.tab[aria-selected='true'] {
  background: var(--text-accent-blue);
  color: #fff;
}

footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  background: #0A0F1F;
  color: var(--text-muted);
  text-align: center;
  padding: 2rem 0;
}

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.6s, transform 0.6s; }
.reveal.show { opacity: 1; transform: translateY(0); }

.btn-pulse {
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(30, 144, 255, 0.5); }
  50% { box-shadow: 0 0 20px 5px rgba(30, 144, 255, 0.3); }
}

.badge {
  background: rgba(30,144,255,0.1);
  border: 1px solid rgba(30,144,255,0.3);
  color: var(--text-accent-blue);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  margin: 0.25rem;
}

.logo span {
  color: var(--text-accent-green);
}

input, select, textarea {
  background: #10182B;
  border: 1px solid #1E3A5F;
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 0.6rem 0.75rem;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--text-accent-blue);
  box-shadow: 0 0 0 2px rgba(30,144,255,0.3);
}

.modal .content {
  background: #141C33;
  color: var(--text-light);
}
.cookie .box {
  background: #10182B;
  border-color: #1E3A5F;
  color: var(--text-muted);
}


/* ================================
   Moderate neon accents (fintech style)
   ================================ */

/* Headings: subtle neon halo */
h1 { text-shadow: 0 0 18px rgba(88, 175, 255, 0.18); }
h2 { text-shadow: 0 0 14px rgba(0, 230, 168, 0.12); }

/* Buttons: gentle neon glow on hover (color‑matched) */
.btn-blue:hover {
  box-shadow: 0 0 0 2px rgba(30, 144, 255, 0.20), 0 10px 28px rgba(30, 144, 255, 0.25);
}
.btn-emerald:hover {
  box-shadow: 0 0 0 2px rgba(0, 200, 150, 0.18), 0 10px 28px rgba(0, 200, 150, 0.24);
}
.btn-ghost:hover {
  box-shadow: 0 0 0 2px rgba(88, 175, 255, 0.16), 0 8px 20px rgba(88, 175, 255, 0.18);
}

/* Cards: soft edge glow on hover */
.card {
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute; inset: -2px;
  background: radial-gradient(120px 80px at var(--mx, 50%) var(--my, 50%), rgba(88,175,255,0.14), transparent 60%);
  opacity: 0; pointer-events: none;
  transition: opacity 220ms ease;
}
.card:hover::after { opacity: 1; }

/* Track mouse to move the glow */
.card { --mx: 50%; --my: 50%; }

/* Logo: very subtle breathing glow */
.brand .logo { box-shadow: 0 0 0 0 rgba(0,230,168,0.0); }
@keyframes logoGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(0,230,168,0.0);} 50% { box-shadow: 0 0 24px 2px rgba(0,230,168,0.18);} }
.brand:hover .logo { animation: logoGlow 3.2s ease-in-out 1; }

/* Reduce intensity for users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  h1, h2 { text-shadow: none; }
  .btn-blue:hover, .btn-emerald:hover, .btn-ghost:hover { box-shadow: none; }
  .card::after { display: none; }
}

/* --- Compact header nav & buttons --- */
header .nav a {
  font-size: 0.9rem;          /* было ~0.95–1rem */
  line-height: 1.2;
}

header .btn {
  font-size: 0.6rem;
  padding: 0.3rem 0.6rem;      /* было 0.75rem 1.25rem */
  border-radius: 0.45rem;      /* чуть компактнее визуально */
}

@media (max-width: 1024px) {
  header .nav a { font-size: 0.65rem; }
  header .btn { font-size: 0.65rem; padding: 0.35rem 0.6rem; }
}

