/* ===== FinovaExp — Educație Financiară ===== */
:root {
  --navy: #0B1E47;
  --navy-2: #1E3A8A;
  --royal: #2563EB;
  --sky: #38BDF8;
  --ice: #E0F2FE;
  --ice-2: #F0F9FF;
  --light: #F8FAFC;
  --gray: #64748B;
  --gray-2: #94A3B8;
  --line: #E2E8F0;
  --dark: #0F172A;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.12);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

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

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

a { color: var(--royal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-2); }

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

h1, h2, h3, h4 {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin-bottom: 0.6rem; }
p  { color: #334155; }

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--royal);
  background: var(--ice);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 14px;
}

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 44px; width: auto; }
.nav-menu {
  display: flex; gap: 6px; align-items: center;
  list-style: none;
}
.nav-menu a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  border-radius: 10px;
  transition: all var(--transition);
}
.nav-menu a:hover { background: var(--ice); color: var(--royal); }
.nav-menu a.active {
  background: linear-gradient(135deg, var(--navy-2), var(--royal));
  color: var(--white);
}
.menu-toggle {
  display: none; background: none; border: 0;
  width: 44px; height: 44px; cursor: pointer;
  border-radius: 10px;
}
.menu-toggle span {
  display: block; width: 24px; height: 2.5px;
  background: var(--dark); margin: 5px auto;
  border-radius: 2px; transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  font-weight: 600; font-size: 0.98rem;
  border-radius: 12px; border: 0; cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy-2), var(--royal));
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37, 99, 235, 0.38); color: var(--white); }
.btn-outline {
  background: transparent; color: var(--navy-2);
  border: 2px solid var(--ice);
}
.btn-outline:hover { background: var(--ice); border-color: var(--royal); color: var(--royal); }

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 90px 0 80px;
  background:
    radial-gradient(1100px 600px at 100% 0%, rgba(56, 189, 248, 0.18), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(37, 99, 235, 0.10), transparent 60%),
    linear-gradient(180deg, #F0F9FF 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero h1 span {
  background: linear-gradient(120deg, var(--royal), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-lead {
  font-size: 1.12rem; color: #475569;
  margin: 20px 0 32px; max-width: 540px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; max-width: 520px;
}
.stat .num {
  font-size: 1.9rem; font-weight: 800;
  background: linear-gradient(135deg, var(--navy-2), var(--sky));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat .label { font-size: 0.84rem; color: var(--gray); margin-top: 2px; }

.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; object-fit: cover;
}
.hero-card {
  position: absolute; background: var(--white);
  border-radius: 16px; padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: flex; gap: 14px; align-items: center;
}
.hero-card .icon {
  width: 44px; height: 44px;
  background: var(--ice);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--royal); font-size: 1.4rem;
}
.hero-card .text strong { font-size: 0.95rem; }
.hero-card .text span { display: block; font-size: 0.8rem; color: var(--gray); }
.hero-card.c1 { top: 20px; left: -20px; }
.hero-card.c2 { bottom: 20px; right: -20px; }

/* ===== SECTIONS ===== */
section { padding: 80px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head p { color: #475569; font-size: 1.05rem; margin-top: 8px; }

/* ===== FEATURES CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--ice);
}
.feature-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ice-2), var(--ice));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--royal);
}
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--gray); font-size: 0.95rem; }

/* ===== INFO STRIP ===== */
.info-strip {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 60%, var(--royal) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  position: relative;
}
.info-strip::before {
  content: ''; position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(56,189,248,0.25), transparent 70%);
  top: -100px; right: -80px;
}
.info-strip h2 { color: var(--white); }
.info-strip p { color: rgba(255, 255, 255, 0.82); margin: 12px 0 0; }
.info-strip ul { list-style: none; display: grid; gap: 14px; }
.info-strip ul li {
  display: flex; gap: 12px; align-items: flex-start;
  color: rgba(255, 255, 255, 0.92);
}
.info-strip ul li svg { flex-shrink: 0; color: var(--sky); margin-top: 3px; }

/* ===== QUOTE ===== */
.quote-block {
  background: linear-gradient(135deg, var(--ice-2), var(--white));
  border-left: 5px solid var(--royal);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 880px; margin: 0 auto;
  position: relative;
}
.quote-block::before {
  content: '"'; position: absolute;
  top: 6px; left: 26px;
  font-size: 5rem; line-height: 1;
  color: var(--royal); opacity: 0.18;
  font-family: Georgia, serif;
}
.quote-block blockquote {
  font-size: 1.25rem; font-style: italic;
  color: var(--navy); line-height: 1.55;
  font-weight: 500;
}
.quote-block cite {
  display: block; margin-top: 14px; font-style: normal;
  color: var(--gray); font-weight: 600; font-size: 0.95rem;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  margin-top: 40px;
}
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 28px;
}
.step-num {
  position: absolute; top: -20px; left: 26px;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy-2), var(--royal));
  color: var(--white);
  font-weight: 700; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}
.step h3 { margin-top: 14px; }
.step p { color: var(--gray); font-size: 0.95rem; }

/* ===== ABOUT PAGE ===== */
.page-hero {
  padding: 70px 0 60px;
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(56, 189, 248, 0.16), transparent 60%),
    linear-gradient(180deg, var(--ice-2) 0%, var(--white) 100%);
  text-align: center;
}
.page-hero p { color: #475569; max-width: 720px; margin: 16px auto 0; font-size: 1.1rem; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split-img img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; object-fit: cover;
}
.split-text h2 { margin-bottom: 16px; }
.split-text p { color: #475569; margin-bottom: 14px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.value-card {
  text-align: center;
  background: linear-gradient(180deg, var(--white), var(--ice-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 26px;
}
.value-card .v-icon {
  width: 62px; height: 62px; margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-2), var(--royal));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--gray); font-size: 0.95rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
}
.team-info { padding: 22px 18px; }
.team-info h3 { margin-bottom: 4px; }
.team-info .role { color: var(--royal); font-weight: 600; font-size: 0.9rem; }
.team-info p { color: var(--gray); margin-top: 10px; font-size: 0.92rem; }

/* ===== ANALIZE PAGE ===== */
.analiza {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.analiza.reverse { direction: rtl; }
.analiza.reverse > * { direction: ltr; }
.analiza img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3; object-fit: cover;
}
.analiza-text .topic-tag {
  display: inline-block;
  background: var(--ice);
  color: var(--royal);
  font-weight: 700; font-size: 0.78rem;
  padding: 6px 14px; border-radius: 100px;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.analiza-text h2 { margin-bottom: 14px; }
.analiza-text p { color: #475569; margin-bottom: 14px; }
.analiza-text ul {
  list-style: none; margin-top: 8px;
}
.analiza-text ul li {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 10px; color: #334155;
}
.analiza-text ul li::before {
  content: ''; width: 10px; height: 10px; border-radius: 3px;
  background: linear-gradient(135deg, var(--royal), var(--sky));
  margin-top: 8px; flex-shrink: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 980px; margin: 0 auto;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.contact-card .c-icon {
  width: 60px; height: 60px; margin: 0 auto 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ice-2), var(--ice));
  color: var(--royal);
  display: flex; align-items: center; justify-content: center;
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--gray); font-size: 0.95rem; }
.contact-card a:hover { color: var(--royal); }

.social-bar {
  margin-top: 50px; text-align: center;
}
.social-bar h3 { margin-bottom: 18px; }
.social-icons {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
}
.social-icons a {
  width: 52px; height: 52px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-2), var(--royal));
  color: var(--white);
  transition: transform var(--transition), box-shadow var(--transition);
}
.social-icons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
  color: var(--white);
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 880px; margin: 0 auto;
  padding: 60px 0;
}
.legal-content h2 {
  margin-top: 36px; margin-bottom: 12px;
  font-size: 1.45rem;
}
.legal-content h3 {
  margin-top: 22px; margin-bottom: 10px;
  font-size: 1.15rem; color: var(--navy);
}
.legal-content p, .legal-content li { color: #334155; margin-bottom: 12px; }
.legal-content ul { padding-left: 22px; }
.legal-content .updated {
  color: var(--gray); font-size: 0.9rem;
  background: var(--ice-2); display: inline-block;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--dark) 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p { color: rgba(255, 255, 255, 0.65); margin: 14px 0 18px; font-size: 0.95rem; }
.footer-brand .logo-light img { filter: brightness(0) invert(1); height: 38px; }
.footer-col h4 {
  color: var(--white); font-size: 0.95rem;
  margin-bottom: 18px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
}
.footer-col ul li a:hover { color: var(--sky); }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}
.footer-social a:hover { background: var(--royal); color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a { color: rgba(255, 255, 255, 0.7); }
.footer-bottom a:hover { color: var(--sky); }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 22px; left: 22px; right: 22px;
  max-width: 720px; margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25), 0 0 0 1px var(--line);
  display: none;
  z-index: 1000;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}
.cookie-banner.visible {
  display: flex; opacity: 1; transform: translateY(0);
  flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between;
}
.cookie-text { flex: 1; min-width: 260px; }
.cookie-text strong { display: block; margin-bottom: 4px; color: var(--dark); font-size: 1rem; }
.cookie-text p { color: var(--gray); font-size: 0.9rem; line-height: 1.5; }
.cookie-text a { color: var(--royal); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .hero-grid, .split, .info-strip, .analiza, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .info-strip { padding: 40px 28px; }
  .analiza.reverse { direction: ltr; }
  .hero { padding: 60px 0; }
  .hero-card.c1 { top: 14px; left: 14px; }
  .hero-card.c2 { bottom: 14px; right: 14px; }
  .footer-grid { gap: 30px; }
}
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--white);
    padding: 14px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu a { padding: 12px 14px; }
  section { padding: 60px 0; }
  .hero { padding: 50px 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .stat .num { font-size: 1.4rem; }
  .hero-card { padding: 12px 14px; }
  .hero-card .icon { width: 36px; height: 36px; font-size: 1.1rem; }
  .hero-card .text strong { font-size: 0.85rem; }
  .hero-card .text span { font-size: 0.72rem; }
  .quote-block { padding: 28px 22px; }
  .quote-block blockquote { font-size: 1.05rem; }
  .legal-content { padding: 40px 0; }
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 18px 20px; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; justify-content: center; }
}
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
