@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg-dark: #0a0a0f;
  --bg-card: #111118;
  --bg-card-hover: #1a1a24;
  --accent: #ff6b35;
  --accent-dim: rgba(255, 107, 53, 0.15);
  --accent-glow: rgba(255, 107, 53, 0.4);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #606070;
  --border: rgba(255, 255, 255, 0.08);
  --border-accent: rgba(255, 107, 53, 0.5);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

img {
  max-width: 100%;
  display: block;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

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

.logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-primary);
  letter-spacing: 2px;
}

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

.logo-image {
  max-width: 80px;
  height: auto;
}

.logo-group {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.header-slogan {
  display: flex;
  flex-direction: column;
  gap: 0;
  font-size: 0.65rem;
  letter-spacing: 3px;
  color: var(--text-secondary);
  text-transform: uppercase;
  line-height: 1.1;
  margin-top: -6px;
}

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

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-auth {
  display: flex;
  gap: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--accent-glow);
  opacity: 1;
}

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

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  opacity: 1;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  z-index: 2;
}

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

.hero-image {
  max-width: 700px;
  width: 100%;
  margin: 24px auto;
  border-radius: 12px;
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.2), 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  margin-bottom: 24px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-subtitle a {
  text-decoration: underline;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-windows-only {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.cta-important {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  text-align: center;
  padding: 8px 14px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: 8px;
  max-width: 500px;
}

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

.cta-full-version {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-price {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 8px;
  text-align: center;
}

.toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  z-index: 9999;
  animation: toast-in 0.3s ease;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

#mid-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 300vh;
  z-index: 1;
  pointer-events: none;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
  z-index: 2;
  background: transparent;
}

.section::before {
  display: none;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.feature-card {
  background: rgba(17, 17, 24, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

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

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Video Section */
.video-section {
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
  background: transparent;
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.5);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.screenshot-item {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.screenshot-item:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

.screenshot-placeholder {
  aspect-ratio: 3/4;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.screenshot-item img {
  width: 100%;
  height: 420px;
  object-fit: contain;
  display: block;
  background: var(--bg-dark);
}

.screenshot-info {
  padding: 16px;
  background: rgba(17, 17, 24, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.screenshot-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #fff7a0;
}

.screenshot-info p {
  color: #fff7a0;
  font-size: 0.85rem;
}

/* Contact Section */
.contact-section {
  border-top: 1px solid var(--border);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: rgba(17, 17, 24, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.contact-form .form-group {
  margin-bottom: 24px;
}

.contact-form .form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 500;
}

.contact-form .form-group input,
.contact-form .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .form-group input::placeholder,
.contact-form .form-group textarea::placeholder {
  color: var(--text-muted);
}

.contact-form .form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn {
  width: 100%;
}

/* Footer */
.footer {
  background: rgba(17, 17, 24, 0.5);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo-group {
  align-items: flex-start;
}

.footer-brand .header-slogan {
  margin-top: -4px;
}

.footer-links h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.footer-legal-info {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 8px;
  opacity: 0.4;
}

.footer-legal-info a {
  color: var(--text-muted);
  opacity: 0.7;
}

/* Auth Pages */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
}

.auth-card {
  background: rgba(17, 17, 24, 0.85);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  width: 100%;
  max-width: 420px;
}

.cta-section {
  border-top: 1px solid var(--border);
}

.auth-header {
  text-align: center;
  margin-bottom: 40px;
}

.auth-header h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-secondary);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group input::placeholder {
  color: var(--text-muted);
}

.form-error {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 8px;
}

.auth-footer {
  text-align: center;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Dashboard */
.dashboard-page {
  min-height: 100vh;
  padding-top: 100px;
  padding-bottom: 60px;
}

.dashboard-header {
  margin-bottom: 40px;
}

.dashboard-welcome {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.dashboard-welcome span {
  color: var(--accent);
  font-weight: 600;
}

.dashboard-title {
  font-size: 2rem;
  margin-bottom: 8px;
}

.dashboard-subtitle {
  color: var(--text-secondary);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.dashboard-card {
  background: rgba(17, 17, 24, 0.6);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
}

.dashboard-card h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.dashboard-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.software-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child {
  border-bottom: none;
}

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

.info-value {
  font-weight: 500;
}

.info-value.version {
  font-family: 'Orbitron', sans-serif;
  color: var(--accent);
}

.download-section {
  text-align: center;
  padding: 20px 0;
}

.download-btn {
  width: 100%;
  padding: 16px 24px;
  font-size: 1rem;
}

.cooldown-display {
  margin-top: 16px;
  padding: 12px;
  background: var(--bg-dark);
  border-radius: 8px;
  text-align: center;
}

.cooldown-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.cooldown-timer {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--accent);
}

.success-message {
  padding: 16px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  color: #22c55e;
  text-align: center;
  margin-top: 16px;
}

.success-message a {
  display: block;
  margin-top: 8px;
  font-size: 0.9rem;
}

/* Alert */
.alert {
  padding: 14px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.alert-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, rgba(17, 17, 24, 0.98) 0%, rgba(26, 26, 36, 0.98) 100%);
  border-top: 1px solid var(--border-accent);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  backdrop-filter: blur(12px);
  animation: slideUp 0.4s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin: 0;
  flex: 1;
}

.cookie-banner a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 8px 16px;
  font-size: 0.8rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.cookie-banner .btn:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.cookie-banner .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.cookie-banner .btn-primary:hover {
  background: #ff8555;
  border-color: #ff8555;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    padding: 16px;
    gap: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* Utility */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 16px;
}

.hidden {
  display: none !important;
}
