/* ============================================
   BRIDGING INNOVATION - ROMANIA MARKET
   Professional Purple Theme Matching Presentation
   ============================================ */

/* === CSS VARIABLES === */
:root {
  /* Primary Colors - Purple Theme from Presentation */
  --primary: #7c3aed;
  --primary-dark: #6d28d9;
  --primary-light: #a78bfa;
  --secondary: #ec4899;
  --accent: #f59e0b;
  
  /* Backgrounds */
  --bg-dark: #1e1b4b;
  --bg-darker: #0f172a;
  --bg-card: rgba(30, 27, 75, 0.8);
  --bg-glass: rgba(124, 58, 237, 0.1);
  
  /* Text Colors */
  --text-primary: #f8fafc;
  --text-secondary: #e2e8f0;
  --text-muted: #cbd5e1;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #7c3aed 50%, #ec4899 100%);
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 0 2rem;
  
  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.5);
  
  /* Transitions */
  --transition: 0.3s ease;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-darker);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(236, 72, 153, 0.15) 0%, transparent 50%);
  animation: backgroundPulse 20s ease infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes backgroundPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

/* === CONTAINER & LAYOUT === */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: var(--container-padding);
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(30, 27, 75, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
  border-bottom: 1px solid rgba(124, 58, 237, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-menu a {
  color: var(--text-secondary);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  cursor: pointer;
}

/* === HERO SECTION === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  opacity: 0.15;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-glow);
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  margin-bottom: 1rem;
}

.highlight {
  color: var(--secondary);
  font-weight: 700;
}

.hero-tagline {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--primary-light);
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.hero-description strong {
  color: var(--primary-light);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
  padding: 2rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

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

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(124, 58, 237, 0.6);
}

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

.btn-secondary:hover {
  background: var(--bg-glass);
  transform: translateY(-2px);
}

/* === GLASSMORPHISM CARDS === */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: var(--primary);
}

/* === SECTION HEADERS === */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.2rem;
  margin-top: 1rem;
}

/* === ABOUT SECTION === */
.about-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

.leader-profile {
  display: flex;
  gap: 2rem;
  align-items: start;
}

.leader-avatar {
  width: 150px;
  height: 150px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: white;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.leader-info h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.leader-title {
  color: var(--primary-light);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.leader-experience {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.leader-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.specialty-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-glass);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.9rem;
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.community-card {
  text-align: center;
}

.community-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

.community-stats {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.community-stat {
  background: var(--bg-glass);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(124, 58, 237, 0.3);
}

.community-stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary-light);
  margin-bottom: 0.25rem;
}

/* === SERVICES SECTION === */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2.5rem;
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: var(--gradient-primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: var(--shadow-glow);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-features {
  list-style: none;
  text-align: left;
  margin-top: 1.5rem;
}

.service-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-features li i {
  color: var(--secondary);
}

/* === APPROACH / TIMELINE === */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: calc(50% + 3rem);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: calc(50% + 3rem);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: var(--shadow-glow);
  z-index: 2;
}

.timeline-content {
  padding: 2rem;
}

.timeline-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-glow);
}

.timeline-content h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.timeline-features {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 1rem;
}

.timeline-features li {
  padding: 0.5rem;
  background: var(--bg-glass);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
}

/* === EXPERTISE / TECHNOLOGIES === */
.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.tech-category h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.tech-item {
  background: var(--bg-glass);
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(124, 58, 237, 0.2);
  transition: var(--transition);
}

.tech-item:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.tech-item i {
  font-size: 0.5rem;
  color: var(--primary-light);
}

/* === CONTACT SECTION === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  box-shadow: var(--shadow-glow);
  flex-shrink: 0;
}

.contact-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.contact-details p {
  margin: 0;
}

.cta-box {
  padding: 2rem;
  text-align: center;
  background: var(--gradient-primary);
  color: white;
}

.cta-box h3 {
  color: white;
  margin-bottom: 1rem;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
}

.cta-box .btn-primary {
  background: white;
  color: var(--primary);
}

.cta-box .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.contact-form {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-darker);
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group textarea {
  resize: vertical;
}

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

/* === FOOTER === */
.footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(124, 58, 237, 0.3);
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}

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

.footer-section h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-section p,
.footer-section li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

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

.footer-section a {
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--primary-light);
  padding-left: 5px;
}

.footer-tagline {
  font-style: italic;
  color: var(--primary-light);
  margin-top: 1rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  color: var(--text-muted);
}

.confidential {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

/* === BACK TO TOP === */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-glow);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    margin-right: 0;
  }
  
  .timeline-dot {
    left: 30px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: calc(100vh - 70px);
    background: rgba(30, 27, 75, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .leader-profile {
    flex-direction: column;
    text-align: center;
  }
  
  .leader-avatar {
    margin: 0 auto;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-features {
    grid-template-columns: 1fr;
  }
  
  .tech-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .tech-grid {
    grid-template-columns: 1fr;
  }
}