/* ==========================================================================
   PARACETACOMM SOLUTIONS - PREMIUM LUXURY DARK EMERALD & GOLD DESIGN SYSTEM
   Exact 1-to-1 Match for Reference Grid, Typography, Glassmorphism & Motion
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark-base: #07100e;
  --bg-surface-1: #0b1a17;
  --bg-surface-2: #102622;
  --bg-surface-3: #16332d;
  
  --accent-gold-primary: #d4af37;
  --accent-gold-hover: #f3ce56;
  --accent-gold-glow: rgba(212, 175, 55, 0.25);
  
  --accent-emerald: #059669;
  --accent-emerald-bright: #10b981;
  --accent-emerald-glow: rgba(16, 185, 129, 0.3);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dark: #0f172a;
  
  --glass-bg: rgba(16, 38, 34, 0.65);
  --glass-border: rgba(212, 175, 55, 0.18);
  --glass-border-hover: rgba(212, 175, 55, 0.5);
  
  --font-heading: 'Outfit', sans-serif;
  --font-subheading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark-base);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0d2621 0%, #07100e 70%);
  min-height: 100vh;
  position: relative;
}

/* --------------------------------------------------------------------------
   SIDEBAR SOCIAL RAIL (Matching reference left edge)
   -------------------------------------------------------------------------- */
.social-rail {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 24px;
  z-index: 100;
}

.social-rail a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.25rem;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(16, 38, 34, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.social-rail a:hover {
  color: var(--accent-gold-primary);
  border-color: var(--accent-gold-primary);
  box-shadow: 0 0 15px var(--accent-gold-glow);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   TOP NAVIGATION HEADER (Matching reference top bar)
   -------------------------------------------------------------------------- */
.top-header {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  padding: 0 4%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(7, 16, 14, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 99;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hamburger-btn {
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.hamburger-btn:hover {
  color: var(--accent-gold-primary);
}

.brand-logo {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 2px;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo span {
  color: var(--accent-gold-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold-primary);
}

.lang-selector {
  color: var(--text-main);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   SCREEN CONTAINER & SLIDE SECTION (Reference Frame 1, 2, 3)
   -------------------------------------------------------------------------- */
.landing-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 80px);
  padding: 40px 6% 60px 80px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

/* Massive Watermark Typography behind Hero */
.watermark-bg {
  position: absolute;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.025);
  letter-spacing: 12px;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}

/* Main Grid Layout matching reference 60 / 40 split */
.hero-content-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  margin-top: 20px;
}

.hero-visual-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-box {
  position: relative;
  width: 100%;
  max-width: 680px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6),
              0 0 40px var(--accent-emerald-glow);
  border: 1px solid var(--glass-border);
  transition: var(--transition-smooth);
}

.hero-img-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.6s ease;
}

.hero-img-box:hover img {
  transform: scale(1.04);
}

/* Nav arrows on sides */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16, 38, 34, 0.7);
  border: 1px solid var(--glass-border);
  color: var(--accent-gold-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10;
  backdrop-filter: blur(8px);
}

.nav-arrow.left { left: -24px; }
.nav-arrow.right { right: -24px; }

.nav-arrow:hover {
  background: var(--accent-gold-primary);
  color: var(--bg-dark-base);
  box-shadow: 0 0 20px var(--accent-gold-glow);
}

/* Hero Right Column Text Content */
.hero-text-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 20px;
  color: var(--accent-gold-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  width: fit-content;
}

.product-tag::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-gold-primary);
  box-shadow: 0 0 8px var(--accent-gold-primary);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.8vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 1px;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  color: var(--accent-gold-primary);
  font-size: 0.85em;
}

.price-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.price-val {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
}

.cta-gold-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  background: transparent;
  border: 2px solid var(--accent-gold-primary);
  color: #ffffff;
  font-family: var(--font-subheading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: fit-content;
  position: relative;
  overflow: hidden;
}

.cta-gold-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
  transition: 0.5s;
}

.cta-gold-btn:hover::before {
  left: 100%;
}

.cta-gold-btn:hover {
  background: var(--accent-gold-primary);
  color: var(--bg-dark-base);
  box-shadow: 0 10px 25px var(--accent-gold-glow);
}

/* --------------------------------------------------------------------------
   SUB-NAVIGATION PILL BAR (Matching Reference sub-bar: + TOP FEATURES, etc.)
   -------------------------------------------------------------------------- */
.sub-nav-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  flex-wrap: wrap;
}

.sub-nav-item {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  border-radius: 20px;
  font-family: var(--font-subheading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.sub-nav-item:hover,
.sub-nav-item.active {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-gold-primary);
  color: var(--accent-gold-primary);
  box-shadow: 0 0 15px var(--accent-gold-glow);
}

/* --------------------------------------------------------------------------
   BOTTOM PAGINATION SLIDER RAIL (Matching reference lower rail)
   -------------------------------------------------------------------------- */
.slider-footer-rail {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding: 16px 24px;
  background: rgba(16, 38, 34, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.model-prev-next {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.model-prev-next:hover {
  color: var(--accent-gold-primary);
}

.dot-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot-pagination span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.dot-pagination span.active {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-gold-primary);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

/* --------------------------------------------------------------------------
   SECTION 2: ABOUT US / ENTERPRISE BLUEPRINT (Reference Screen 2)
   -------------------------------------------------------------------------- */
.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  margin-top: 20px;
}

.about-text-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
  text-transform: uppercase;
}

.about-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.8;
}

.about-description p {
  margin-bottom: 16px;
}

.about-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.about-card:hover {
  border-color: var(--glass-border-hover);
  transform: translateY(-4px);
}

.about-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.about-card-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-card-title {
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-gold-primary);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.about-card-detail {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   SECTION 3: 3D PERSPECTIVE CAROUSEL (Reference Screen 3)
   -------------------------------------------------------------------------- */
.carousel-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
  perspective: 1200px;
}

.carousel-card {
  position: relative;
  width: 320px;
  height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-surface-2);
  border: 1px solid var(--glass-border);
  transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.carousel-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card.side-left {
  transform: rotateY(25deg) scale(0.85) translateX(-20px);
  opacity: 0.5;
}

.carousel-card.side-right {
  transform: rotateY(-25deg) scale(0.85) translateX(20px);
  opacity: 0.5;
}

.carousel-card.center-active {
  transform: rotateY(0deg) scale(1.1);
  opacity: 1;
  z-index: 10;
  border-color: var(--accent-gold-primary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8),
              0 0 30px var(--accent-gold-glow);
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 16px;
  background: linear-gradient(0deg, rgba(7, 16, 14, 0.95), transparent);
  color: #ffffff;
  font-family: var(--font-subheading);
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.tap-prompt {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-gold-primary);
  font-weight: 700;
  margin-top: 10px;
}

/* --------------------------------------------------------------------------
   SECTION 4: WHITEHAT FEATURES GRID & COMPLIANCE
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 28px;
  border-radius: 16px;
  backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-card:hover {
  border-color: var(--accent-gold-primary);
  box-shadow: 0 15px 30px rgba(0,0,0,0.5), 0 0 20px var(--accent-gold-glow);
  transform: translateY(-5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--accent-gold-primary);
  color: var(--accent-gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.feature-title {
  font-family: var(--font-subheading);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
}

.feature-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   LEGAL FOOTER & ROMANIAN COMPLIANCE BLOCK
   -------------------------------------------------------------------------- */
.legal-footer {
  background: #040908;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 6% 40px 80px;
  margin-top: 40px;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-col h4 {
  font-family: var(--font-subheading);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--accent-gold-primary);
  text-transform: uppercase;
}

.footer-col p, .footer-col li {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.footer-col a:hover {
  color: var(--accent-gold-primary);
}

.anpc-badges {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 12px;
}

.anpc-badge-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.anpc-badge-link:hover {
  border-color: var(--accent-gold-primary);
  background: rgba(212, 175, 55, 0.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 16px;
}

/* --------------------------------------------------------------------------
   MODAL WINDOW STYLING (For Legal Documents & Product Details)
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-surface-2);
  border: 1px solid var(--accent-gold-primary);
  border-radius: 16px;
  width: 90%;
  max-width: 760px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.9), 0 0 30px var(--accent-gold-glow);
  position: relative;
  color: var(--text-main);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--accent-gold-primary);
}

.modal-body h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--accent-gold-primary);
  margin-bottom: 16px;
}

.modal-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .social-rail { display: none; }
  .landing-section { padding-left: 6%; }
  .hero-content-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .top-header { padding: 0 20px; }
  .nav-links { display: none; }
  .hero-title { font-size: 2.2rem; }
  .carousel-stage { flex-direction: column; perspective: none; }
  .carousel-card.side-left, .carousel-card.side-right { display: none; }
  .carousel-card.center-active { transform: none; width: 100%; max-width: 340px; }
  .footer-content { grid-template-columns: 1fr; }
  .legal-footer { padding-left: 6%; }
}
