:root {
  --black: #0a0a0a;
  --white: #f8f6f1;
  --accent: #ff4d1c;
  --accent2: #ff8c42;
  --gray: #888;
  --card-bg: #111;
  --border: #1e1e1e;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture subtilă */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--white);
  text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a:focus { color: var(--white); outline: none; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--accent2) !important; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  z-index: 300;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,10,0.98);
  backdrop-filter: blur(16px);
  z-index: 150;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.mobile-menu.open {
  display: flex;
  opacity: 1;
}
.mobile-menu a {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray);
  text-decoration: none;
  letter-spacing: -1px;
  padding: 10px 0;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--white); }
.mobile-menu .mobile-cta {
  margin-top: 20px;
  background: var(--accent);
  color: var(--white) !important;
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 1.1rem !important;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(255,77,28,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,77,28,0.1);
  border: 1px solid rgba(255,77,28,0.3);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  width: fit-content;
  animation: fadeUp 0.6s ease both;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  max-width: 900px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.1s ease both;
}
h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray);
  max-width: 580px;
  margin-bottom: 48px;
  font-weight: 300;
  line-height: 1.75;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-sub strong { color: var(--white); font-weight: 500; }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  animation: fadeUp 0.6s 0.4s ease both;
  flex-wrap: wrap;
}
.stat-num {
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}
.stat-num span { color: var(--accent); }
.stat-label { color: var(--gray); font-size: 0.85rem; margin-top: 4px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== TRUST BAR ===== */
.trust-bar {
  background: #0d0d0d;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 5%;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  overflow-x: auto;
}
.trust-bar span {
  color: var(--gray);
  font-size: 0.82rem;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  background: var(--accent);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover,
.btn-primary:focus { background: var(--accent2); transform: translateY(-2px); color: var(--white); outline: none; }

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 400;
  font-size: 1rem;
  transition: all 0.2s;
}
.btn-secondary:hover,
.btn-secondary:focus { border-color: var(--gray); transform: translateY(-2px); color: var(--white); outline: none; }

/* ===== SECTIONS ===== */
section { padding: 100px 5%; }

.section-tag {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 16px;
}

h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 20px;
}

.section-desc {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
  margin-bottom: 60px;
}

/* ===== SERVICES ===== */
#servicii { background: #0d0d0d; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2px;
  border: 2px solid var(--border);
}
.service-card {
  background: var(--card-bg);
  padding: 40px 36px;
  transition: background 0.2s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--accent);
  transition: height 0.3s;
}
.service-card:hover { background: #161616; }
.service-card:hover::before { height: 100%; }
.service-icon { font-size: 2rem; margin-bottom: 20px; }
.service-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}
.service-card p { color: var(--gray); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }
.service-price {
  font-family: 'Syne', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}
.service-price small {
  font-size: 0.75rem;
  color: var(--gray);
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  display: block;
  margin-top: 2px;
}

/* ===== PRICING ===== */
#preturi { background: var(--black); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.price-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}
.price-card:hover { border-color: rgba(255,77,28,0.4); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, rgba(255,77,28,0.05) 0%, transparent 60%);
}
.price-badge {
  position: absolute;
  top: -12px; left: 36px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}
.price-name {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.price-amount {
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}
.price-amount span { font-size: 1.2rem; color: var(--gray); font-weight: 400; }
.price-desc {
  color: var(--gray);
  font-size: 0.85rem;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.price-features li {
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.price-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-features li.no::before { content: '✗'; color: #444; }
.price-features li.no { color: #444; }

/* ===== PORTFOLIO ===== */
#portofoliu { background: #0d0d0d; }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}
.portfolio-item {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  background: var(--card-bg);
}
.portfolio-item:hover { border-color: rgba(255,77,28,0.4); transform: translateY(-3px); }
.portfolio-preview {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.portfolio-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,77,28,0.04) 0%, transparent 60%);
}
.portfolio-emoji { font-size: 2.5rem; position: relative; z-index: 1; }
.portfolio-info { padding: 20px 24px; }
.portfolio-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.portfolio-info p { color: var(--gray); font-size: 0.8rem; margin-bottom: 12px; }
.portfolio-link {
  color: var(--accent);
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.2s;
}
.portfolio-link:hover { gap: 8px; }

/* ===== MOLDOVA BANNER ===== */
.moldova-banner {
  background: linear-gradient(135deg, #0a1a10 0%, #060e08 100%);
  border-top: 1px solid rgba(0, 160, 70, 0.2);
  border-bottom: 1px solid rgba(0, 160, 70, 0.2);
  padding: 80px 5%;
}
.moldova-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
}
.moldova-flag { font-size: 3.5rem; flex-shrink: 0; }
.moldova-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 12px;
  letter-spacing: -1px;
}
.moldova-content h2 em { font-style: normal; color: #00c050; }
.moldova-content p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; max-width: 480px; }

/* ===== PROCESS ===== */
#proces { background: var(--black); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
}
.process-step {
  padding: 40px 32px;
  border: 1px solid var(--border);
  margin: -1px;
  transition: background 0.2s;
}
.process-step:hover { background: #0d0d0d; }
.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255,77,28,0.15);
  line-height: 1;
  margin-bottom: 16px;
}
.process-step h3 { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.process-step p { color: var(--gray); font-size: 0.85rem; line-height: 1.6; }
.step-time {
  display: inline-block;
  background: rgba(255,77,28,0.1);
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 12px;
  letter-spacing: 0.5px;
}

/* ===== DESPRE ===== */
.despre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 960px;
}
.despre-cards { display: flex; flex-direction: column; gap: 12px; }
.despre-card {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 18px 24px;
}
.despre-card-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.despre-card-value {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ===== FAQ ===== */
#faq { background: #0d0d0d; }
.faq-list { max-width: 800px; display: flex; flex-direction: column; gap: 2px; }
.faq-item {
  border: 1px solid var(--border);
  margin: -1px 0;
  background: var(--card-bg);
  transition: background 0.2s;
}
.faq-item:hover { background: #161616; }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--white);
  font-family: 'Syne', sans-serif;
  font-size: 0.97rem;
  font-weight: 600;
  padding: 22px 28px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  letter-spacing: -0.3px;
  transition: color 0.2s;
}
.faq-q:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.faq-icon { color: var(--accent); font-size: 1.4rem; font-weight: 300; flex-shrink: 0; transition: transform 0.3s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 28px 22px; color: var(--gray); font-size: 0.95rem; line-height: 1.7; }
.faq-a p strong { color: var(--white); }
.faq-a.open { display: block; }

/* ===== CONTACT ===== */
#contact { background: #0a0a0a; text-align: center; }
.contact-box { max-width: 680px; margin: 0 auto; }
.contact-options {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 36px;
  text-decoration: none;
  color: var(--white);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 185px;
  flex: 1;
  max-width: 220px;
}
.contact-card:hover,
.contact-card:focus { border-color: var(--accent); background: rgba(255,77,28,0.05); transform: translateY(-3px); color: var(--white); outline: none; }
.contact-card-icon { font-size: 1.8rem; }
.contact-card-label { font-size: 0.72rem; color: var(--gray); text-transform: uppercase; letter-spacing: 1px; }
.contact-card-value { font-family: 'Syne', sans-serif; font-size: 0.95rem; font-weight: 700; }
.contact-card-note { font-size: 0.72rem; color: #555; }

/* ===== FOOTER ===== */
footer {
  padding: 40px 5% 24px;
  border-top: 1px solid var(--border);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.footer-nav {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-nav a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: var(--gray); font-size: 0.82rem; }
.footer-geo { color: #555 !important; }
.footer-legal a { color: #555; text-decoration: none; font-size: 0.78rem; }
.footer-legal a:hover { color: var(--gray); }

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  background: #25d366; /* WhatsApp green */
  color: var(--white);
  padding: 14px 22px;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  box-shadow: 0 8px 32px rgba(37,211,102,0.35);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.floating-cta:hover { background: #1ebe5d; transform: translateY(-2px); box-shadow: 0 12px 40px rgba(37,211,102,0.45); color: var(--white); }

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .moldova-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .moldova-flag { font-size: 3rem; }
  .moldova-content p { max-width: 100%; }
  .moldova-content .btn-primary { align-self: center; }
  .despre-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  h1 { letter-spacing: -1px; }
  .hero-stats { gap: 28px; }
  .trust-bar { gap: 16px; }
  .contact-options { flex-direction: column; align-items: center; }
  .contact-card { max-width: 100%; width: 100%; }
  footer { flex-direction: column; text-align: center; }
  .footer-top { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

/* ===== AI SERVICE CARD ===== */
.service-card--ai {
  background: linear-gradient(135deg, #0f0f0f 0%, #111 100%);
  border-top: 2px solid rgba(99, 102, 241, 0.4);
  position: relative;
}
.service-card--ai::after {
  content: 'NOU';
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.4);
  color: #818cf8;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 3px 8px;
  border-radius: 100px;
}
.service-card--ai::before { background: #6366f1; }
.service-card--ai h3 { color: var(--white); }
.service-card--ai p strong { color: #a5b4fc; font-weight: 500; }
.service-ai-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}
.service-ai-tags span {
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #818cf8;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.service-card--ai .service-price { color: #818cf8; }

/* ===== FOCUS VISIBLE (Accesibilitate) ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
