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

:root {
  --primary-dark: #1a0536;
  --primary: #6d28d9;
  --primary-bright: #8b5cf6;
  --primary-light: #ddd6fe;
  --primary-pale: #ede9fe;
  --accent: #a78bfa;
  --accent-bright: #c4b5fd;
  --dark: #0f172a;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --white: #ffffff;
  --radius: 12px;
  --radius-lg: 20px;
  --green-dark: #064e3b;
  --green: #059669;
  --green-bright: #10b981;
  --green-light: #d1fae5;
  --green-pale: #ecfdf5;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Buttons */
.btn-accent {
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: var(--white);
  border: none;
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 14px rgba(109,40,217,0.3);
}

.btn-accent:hover {
  background: linear-gradient(135deg, #5b21b6, #6d28d9);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(109,40,217,0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 11px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

.btn-outline {
  display: inline-block;
  text-decoration: none;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  padding: 13px 32px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

.btn-lg {
  padding: 16px 44px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(8,3,18,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 44px;
  width: auto;
}

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

.nav a {
  margin-left: 32px;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent-bright);
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.lang-btn {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background 0.2s, border-color 0.2s;
}

.lang-btn:hover {
  background: rgba(255,255,255,0.2);
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

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

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #080312 0%, #1a0536 35%, #2d0a5e 65%, #4c1d95 100%);
  display: flex;
  align-items: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-text h1 span {
  color: var(--accent-bright);
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  max-width: 460px;
}

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

/* Floating blocks */
.hero-visual {
  position: relative;
  height: 420px;
}

.float-block {
  position: absolute;
  border-radius: var(--radius);
  opacity: 0.15;
  animation: floatUp 6s ease-in-out infinite;
}

.b1 { width: 80px; height: 80px; background: var(--primary-bright); top: 10%; right: 10%; animation-delay: 0s; }
.b2 { width: 60px; height: 60px; background: var(--accent); top: 55%; right: 5%; animation-delay: 1s; }
.b3 { width: 100px; height: 100px; background: var(--primary); top: 70%; right: 40%; animation-delay: 2s; }
.b4 { width: 50px; height: 50px; background: var(--white); top: 5%; right: 55%; animation-delay: 0.5s; }
.b5 { width: 70px; height: 70px; background: var(--accent-bright); top: 40%; right: 60%; animation-delay: 1.5s; }

@keyframes floatUp {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

/* Metric cards in hero */
.metric-card {
  position: absolute;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  min-width: 200px;
  animation: floatUp 5s ease-in-out infinite;
}

.mc1 { top: 15%; right: 15%; animation-delay: 0.3s; }
.mc2 { top: 55%; right: 25%; animation-delay: 1.8s; }

.metric-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  font-weight: 500;
  margin-bottom: 4px;
}

.metric-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.metric-bar {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  overflow: hidden;
}

.metric-fill {
  height: 100%;
  background: var(--accent-bright);
  border-radius: 3px;
  transition: width 1.5s ease;
}

/* Value section */
.value {
  padding: 100px 0;
  background: #0d0219;
}

.value-intro {
  text-align: center;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.6);
  max-width: 680px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

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

.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(139,92,246,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(109,40,217,0.2);
  border-color: rgba(139,92,246,0.3);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--white);
}

.value-icon svg {
  width: 24px;
  height: 24px;
}

.value-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--white);
}

.value-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* Platform / Dashboard */
.platform {
  padding: 100px 0;
  background: #110325;
}

.platform h2, .benefits h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--white);
}

.section-sub {
  text-align: center;
  color: rgba(255,255,255,0.5);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.dashboard {
  background: rgba(139,92,246,0.06);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  display: grid;
  grid-template-columns: 200px 1fr;
  overflow: hidden;
  border: 1px solid rgba(139,92,246,0.2);
}

.dash-sidebar {
  background: var(--primary-dark);
  padding: 28px 0;
}

.dash-nav-item {
  padding: 12px 24px;
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.dash-nav-item:hover {
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.05);
}

.dash-nav-item.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
  border-left: 3px solid var(--accent-bright);
}

.dash-main {
  padding: 32px;
  background: rgba(139,92,246,0.04);
}

.dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.dash-header h3 {
  font-size: 1.2rem;
  color: var(--white);
}

.dash-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.kpi {
  background: rgba(139,92,246,0.1);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.kpi-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
}

.kpi-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

.dash-objectives {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.obj-row {
  display: grid;
  grid-template-columns: 1fr 200px 50px;
  align-items: center;
  gap: 16px;
}

.obj-name {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
}

.obj-bar {
  height: 8px;
  background: rgba(139,92,246,0.15);
  border-radius: 4px;
  overflow: hidden;
}

.obj-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-bright));
  border-radius: 4px;
  transition: width 1.2s ease;
}

.obj-pct {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  text-align: right;
}

/* Benefits */
.benefits {
  padding: 100px 0;
  background: #0d0219;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.benefit {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(139,92,246,0.15);
  transition: border-color 0.25s, transform 0.25s;
  background: rgba(255,255,255,0.03);
}

.benefit:hover {
  border-color: rgba(139,92,246,0.4);
  transform: translateY(-4px);
}

.benefit-num {
  display: inline-block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-light);
  margin-bottom: 12px;
}

.benefit h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--white);
}

.benefit p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* CTA */
.cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #080312, #1a0536, #4c1d95);
  text-align: center;
}

.cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

/* Footer */
.footer {
  padding: 28px 0;
  background: #050110;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer p {
  color: var(--gray);
  font-size: 0.85rem;
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8,3,18,0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  width: 100%;
  max-width: 400px;
  position: relative;
  transform: translateY(24px) scale(0.95);
  transition: transform 0.3s;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--gray);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--dark);
}

.modal-header {
  text-align: center;
  margin-bottom: 28px;
}

.modal-logo {
  text-align: center;
  margin-bottom: 6px;
}

.modal-logo img {
  height: 56px;
  width: auto;
}

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

.modal-header h2 {
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
}

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

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--dark);
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
}

.modal-footer-text {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--gray);
}

.modal-footer-text a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.modal-footer-text a:hover {
  text-decoration: underline;
}

/* Register modal */
.modal-register {
  max-width: 460px;
}

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

.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.2s;
  outline: none;
  background: var(--white);
  color: var(--dark);
  cursor: pointer;
}

.form-group select:focus {
  border-color: var(--primary);
}

/* Pricing */
.pricing { padding: 100px 0; background: #110325; }
.pricing h2 { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 12px; color: var(--white); }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.pricing-card { background: rgba(255,255,255,0.03); border: 2px solid rgba(139,92,246,0.15); border-radius: 20px; padding: 36px 28px; text-align: center; position: relative; transition: transform 0.25s, box-shadow 0.25s; }
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(109,40,217,0.2); }
.pricing-popular { border-color: var(--primary); box-shadow: 0 8px 32px rgba(109,40,217,0.15); }

/* Plan color dots */
.plan-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}
.plan-dot-red { background: #ef4444; box-shadow: 0 0 8px rgba(239,68,68,0.4); }
.plan-dot-orange { background: #f59e0b; box-shadow: 0 0 8px rgba(245,158,11,0.4); }
.plan-dot-green { background: #10b981; box-shadow: 0 0 8px rgba(16,185,129,0.4); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--primary); color: var(--white); padding: 4px 20px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.pricing-header h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 8px; }
.pricing-price { font-size: 2.8rem; font-weight: 800; color: var(--white); margin-bottom: 24px; }
.pricing-price span { font-size: 0.9rem; font-weight: 500; color: rgba(255,255,255,0.5); }
.pricing-features { list-style: none; text-align: left; margin-bottom: 28px; }
.pricing-features li { padding: 8px 0; font-size: 0.9rem; color: rgba(255,255,255,0.5); border-bottom: 1px solid rgba(255,255,255,0.05); }
.btn-pricing { padding: 13px 24px; border-radius: 10px; font-size: 0.95rem; font-weight: 600; cursor: pointer; border: 2px solid var(--primary); background: transparent; color: var(--primary); transition: all 0.2s; display: inline-block; }
.btn-pricing:hover { background: var(--primary-pale); }
.btn-pricing-primary { background: var(--primary); color: var(--white); }
.btn-pricing-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }

/* Contact */
.contact-section { padding: 80px 0; background: #0d0219; }
.contact-section h2 { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 12px; color: var(--white); }
.contact-form { max-width: 600px; margin: 0 auto; background: rgba(255,255,255,0.04); padding: 36px; border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); border: 1px solid rgba(139,92,246,0.15); }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; color: rgba(255,255,255,0.8); }
.contact-form input, .contact-form textarea, .contact-form select { width: 100%; padding: 12px 14px; border: 2px solid rgba(139,92,246,0.2); border-radius: 10px; font-size: 0.9rem; outline: none; transition: border-color 0.2s; font-family: inherit; background: rgba(255,255,255,0.05); color: var(--white); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus { border-color: var(--primary); }
.contact-form textarea { resize: vertical; }
.contact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-text h1 { font-size: 2.4rem; }
  .hero-sub { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { height: 120px; position: relative; margin-top: 20px; }
  .float-block { transform: scale(0.5); }
  .metric-card { display: none; }
  .dashboard { grid-template-columns: 1fr; }
  .dash-sidebar { display: none; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .obj-row { grid-template-columns: 1fr 120px 40px; }
  .value { padding: 60px 0; }
  .platform { padding: 60px 0; }
  .benefits { padding: 60px 0; }
  .cta { padding: 60px 0; }
  .pricing { padding: 60px 0; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin: 0 auto; }
  .pricing-card { padding: 28px 22px; }
  .pricing-price { font-size: 2.2rem; }
  .btn-pricing { padding: 12px 20px; font-size: 0.9rem; }
}

@media (max-width: 768px) {
  .nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .hero-text h1 { font-size: 1.8rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-buttons { flex-direction: column; align-items: center; gap: 12px; }
  .hero-buttons .btn-accent,
  .hero-buttons .btn-outline { width: auto; min-width: 200px; padding: 12px 28px; font-size: 0.9rem; }
  .cta h2 { font-size: 1.4rem; }
  .cta .btn-accent.btn-lg { width: auto; min-width: 200px; padding: 14px 32px; }
  .footer-inner { flex-direction: column; gap: 8px; text-align: center; }
  .value-intro { font-size: 0.95rem; }
  .platform h2, .benefits h2, .pricing h2, .contact-section h2 { font-size: 1.4rem; }
  .value-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .contact-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px 20px; margin: 0 12px; }
  .contact-form .btn-accent { width: auto; min-width: 180px; }
  .pricing-card { padding: 28px 22px; }
  .pricing-price { font-size: 2.2rem; }
  .btn-pricing { width: auto; min-width: 180px; margin: 0 auto; display: block; }

  /* Modals responsive */
  .modal {
    margin: 12px;
    padding: 28px 18px;
    max-width: calc(100vw - 24px);
    max-height: 92vh;
    overflow-y: auto;
  }
  .modal-register { max-width: calc(100vw - 24px); }
  .modal-logo img { height: 44px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-group input, .form-group select, .form-group textarea {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
  .form-group { margin-bottom: 14px; }
  .btn-accent.btn-full { width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: 80px; min-height: auto; padding-bottom: 60px; }
  .hero-text h1 { font-size: 1.5rem; }
  .hero-sub { font-size: 0.88rem; max-width: 320px; margin: 0 auto 28px; }
  .hero-buttons .btn-accent { min-width: 160px; padding: 11px 24px; font-size: 0.88rem; }
  .value-card { padding: 24px 20px; }
  .benefit { padding: 22px 18px; }
  .cta h2 { font-size: 1.2rem; }
  .cta p { font-size: 0.88rem; }
  .cta .btn-accent.btn-lg { min-width: 160px; padding: 12px 28px; font-size: 0.9rem; }
  .modal { padding: 20px 14px; border-radius: 14px; }
  .modal-logo img { height: 36px; }
  .pricing-grid { max-width: 100%; }
  .pricing-card { padding: 24px 18px; }
  .pricing-price { font-size: 2rem; }
  .contact-section { padding: 50px 0; }
  .contact-form { padding: 20px 16px; }
  .footer { padding: 20px 0; }
  .logo img { height: 36px; }
}


/* Pricing and Contact are defined before responsive section above */
