/* Previne scroll-ul orizontal pe mobil */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
:root {
  --bg-dark: #090d16;
  --bg-card: #111827;
  --bg-border: #1f293d;
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --accent-cyan: #06b6d4;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Helpers */
.gradient-text {
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.green-text {
  color: #10b981;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--bg-border);
}

.btn-secondary:hover {
  border-color: var(--text-muted);
}

.btn-large {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
}

.full-width {
  width: 100%;
}

/* Navbar */
.navbar {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  background-color: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo .highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Section */
.hero {
  padding: 5rem 0 3rem;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border-radius: 50px;
  background-color: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

.hero-subtext {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

/* App Mockup */
.mockup-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.mockup-header {
  padding: 0.75rem 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid var(--bg-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background-color: #ef4444; }
.dot.yellow { background-color: #f59e0b; }
.dot.green { background-color: #10b981; }

.mockup-title {
  margin-left: auto;
  margin-right: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: monospace;
}

.mockup-body {
  display: flex;
  height: 280px;
}

.mockup-sidebar {
  width: 20%;
  border-right: 1px solid var(--bg-border);
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bar {
  height: 8px;
  background-color: var(--bg-border);
  border-radius: 4px;
}
.bar-short { width: 40%; }
.bar-medium { width: 70%; }
.bar-full { width: 100%; }

.mockup-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mockup-cards {
  display: flex;
  gap: 1rem;
}

.card-metric {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-border);
  padding: 1rem;
  border-radius: 8px;
  text-align: left;
}

.card-metric span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.card-metric h4 {
  font-size: 1.3rem;
  margin: 0.2rem 0;
}

.card-metric small {
  font-size: 0.7rem;
}

.mockup-chart {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--bg-border);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0) 100%);
  border-top: 2px solid var(--primary);
}

/* Features Section */
.features-section, .pricing-section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 2rem;
  transition: transform 0.2s, border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.5);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--bg-border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

.popular-badge {
  position: absolute;
  top: -12px;
  right: 2rem;
  background-color: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.75rem;
  border-radius: 20px;
}

.pricing-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  min-height: 40px;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.price span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 400;
}

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* Footer */
.footer {
  border-top: 1px solid var(--bg-border);
  padding: 3rem 0;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--text-main);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.25rem; }
  .nav-links { display: none; }
  .mockup-body { flex-direction: column; height: auto; }
  .mockup-sidebar { width: 100%; border-right: none; border-bottom: 1px solid var(--bg-border); }
}
/* Fix-uri responsive pentru mobil */
@media (max-width: 768px) {
  /* Ascunde linkurile din navigație pe ecrane mici */
  .nav-links, 
  nav ul {
    display: none !important;
  }

  /* Impiedică ruperea textului în butoanele din header */
  header nav a,
  header .btn-primary,
  header .btn-header,
  header .btn-project {
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 0.5rem 0.8rem !important;
  }
}