    /* ======================================================
       ROOT VARIABLES
    ====================================================== */
    :root {
      --color-gold: #c9a24d;
      --color-charcoal: #1f1f1f;
      --color-gray: #5f5f5f;
      --color-light: #f7f7f7;
      --color-red: #e63946;
      --font-primary: 'Inter', system-ui, sans-serif;
      --radius: 12px;
      --transition: 0.3s ease;
      --header-height: 90px;
    }

    /* ======================================================
       BASE
    ====================================================== */
    *, *::before, *::after { box-sizing: border-box; }
    body { margin:0; font-family: var(--font-primary); color: var(--color-charcoal); background: var(--color-light); overflow-x:hidden; }
    h1,h2,h3,h4 { margin:0; font-weight:700; color: var(--color-charcoal); }
    p { margin:0 0 1.5rem; color: var(--color-gray); }
    a { text-decoration:none; color: inherit; transition: color var(--transition);}
    a:hover { color: var(--color-gold); }
    .container { max-width: 1200px; margin:0 auto; padding:0 1.5rem; }

    /* ======================================================
       HEADER
    ====================================================== */
    header { 
      position: fixed; top:0; left:0; width:100%; height: var(--header-height);
      background: rgba(255,255,255,0.95); backdrop-filter: blur(6px);
      z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
      display: flex; align-items:center; justify-content:center;
    }

    .header-inner { 
      display:flex; align-items:center; justify-content: space-between; 
      width:100%; max-width:1200px; padding:1rem 1.5rem; position: relative;
    }

    .logo img { max-height: 80px; transition: transform var(--transition); }
    .logo img:hover { transform: scale(1.05); }

    /* Desktop nav */
    header > nav { display:flex; gap:2rem; }
    header > nav a { font-weight:600; position: relative; }
    header > nav a::after { content:''; position:absolute; bottom:-4px; left:0; width:0; height:2px; background: var(--color-gold); transition: width var(--transition);}
    header > nav a:hover::after, header > nav a.active::after { width:100%; }

    .social-icons { display:flex; gap:1rem; position:relative; }
    .social-icons a { font-size:1.6rem; color: var(--color-gold); transition: transform var(--transition);}
    .social-icons a:hover { transform: scale(1.3); }

    /* Red underline asymmetry under socials */
    .social-icons::after {
      content: ''; position:absolute; bottom:-4px; left:10%; width:80%; height:3px; background: var(--color-red); transform: skewX(-20deg);
      border-radius: 2px;
    }

    /* Mobile hamburger */
    .menu-toggle { display:none; font-size:2rem; background:none; border:none; cursor:pointer; }
    @media(max-width:768px){
      header > nav { display:none; } /* hide desktop nav */
      .menu-toggle { display:block; color: var(--color-charcoal); }
    }

    /* ======================================================
       HERO
    ====================================================== */
    .hero { display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; min-height:90vh; padding:0 1.5rem; color:white; }
    .hero h1 { font-size:clamp(2rem,5vw,3rem); margin-bottom:1rem; text-shadow:0 2px 8px rgba(0,0,0,0.3);}
    .hero p { font-size:1.2rem; max-width:600px; margin-bottom:2rem; text-shadow:0 1px 4px rgba(0,0,0,0.2); }

    /* 3D BUTTON EFFECT */
    .hero a {
      padding:0.75rem 2rem;
      background: var(--color-gold);
      color:#141414;
      border-radius: var(--radius);
      font-weight:600;
      position: relative;
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .hero a::after {
      content:''; position:absolute; inset:0; border-radius:var(--radius); box-shadow:0 6px 0 #a58436; z-index:-1; transform: translateY(4px);
    }
    .hero a:hover { transform: translateY(-2px); }
    .hero a:hover::after { transform: translateY(6px); }

    /* ======================================================
       FEATURES / SERVICES
    ====================================================== */
    .features { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:2rem; margin:6rem 0; }
    .feature-card { background:white; padding:2rem; border-radius:var(--radius); box-shadow:0 4px 20px rgba(0,0,0,0.08); transition: transform var(--transition); text-align:center; }
    .feature-card:hover { transform:translateY(-8px); }
    .feature-card i { font-size:2.5rem; color:var(--color-gold); margin-bottom:1rem; }

    /* ======================================================
       FOOTER
    ====================================================== */
    footer {
      background: #141414;
      color: #e6e6e6;
      padding: 4rem 1.5rem;
    }
    .footer-inner { display:flex; flex-wrap:wrap; gap:3rem; max-width:1200px; margin:0 auto; }
    .footer-left, .footer-right { flex:1 1 300px; min-width:280px; }
    .footer-left h3, .footer-right h3 { color: var(--color-gold); margin-bottom:1rem; }
    .footer-left p { color:#aaa; margin-bottom:0.5rem; }
    .footer-social { display:flex; gap:1rem; margin:0.5rem 0 1rem 0; }
    .footer-social a { font-size:1.8rem; color: #c9a24d; transition: transform 0.3s, color 0.3s; }
    .footer-social a:hover { transform:scale(1.2); color:#fff; }
    .contact-form { display:flex; flex-direction:column; gap:1rem; margin-top:1rem; }
    .contact-form input, .contact-form textarea { padding:0.75rem 1rem; border-radius:8px; border:1px solid #333; background:#1f1f1f; color:#fff; font-size:1rem; width:100%; }
    .contact-form input::placeholder, .contact-form textarea::placeholder { color:#aaa; }
    .contact-form button { padding:0.75rem 1.5rem; background: #c9a24d; border:none; border-radius:8px; color:#141414; font-weight:600; cursor:pointer; transition: background 0.3s, transform 0.2s; align-self:flex-start; }
    .contact-form button:hover { background:#a58436; transform: translateY(-2px); }
    .footer-legal { margin-top:1.5rem; font-size:0.875rem; color:#aaa; }
    .footer-legal a { color:#aaa; text-decoration:none; margin-right:0.5rem; transition: color 0.3s; }
    .footer-legal a:hover { color:var(--color-gold); }
    .footer-right a { display:block; color:#e6e6e6; margin-bottom:0.75rem; transition: color 0.3s; }
    .footer-right a:hover { color: var(--color-gold); }
    .footer-right .copy { margin-top:2rem; font-size:0.875rem; color:#aaa; }
    @media(max-width:768px){
      .footer-inner { flex-direction:column; gap:2rem; }
      .footer-left, .footer-right { flex:1 1 100%; }
      .footer-social { justify-content:flex-start; }
      .footer-legal, .footer-right .copy { text-align:left; }
    }

    /* DISABLE TEXT SELECTION */
    body, * { user-select:none; -webkit-user-select:none; -moz-user-select:none; -ms-user-select:none; }

    /* HERO ANIMATION */
    .hero-content { opacity:0; transform: translateY(30px); transition: opacity 1s ease-out, transform 1s ease-out; }
    .hero-content.visible { opacity:1; transform: translateY(0); }

    /* MOBILE MENU PANEL */
    .mobile-menu { position:fixed; top:0; right:-100%; width:280px; height:100%; background:#fff; z-index:1001; padding:4rem 1.5rem; transition:right 0.3s ease; box-shadow:-4px 0 12px rgba(0,0,0,0.2); display:flex; flex-direction:column; gap:2rem; }
    .mobile-menu.is-open { right:0; }
    .mobile-menu nav { display:flex; flex-direction:column; gap:1.2rem; }
    .mobile-menu nav a { font-size:1.4rem; font-weight:600; color:#1f1f1f; text-decoration:none; transition: color 0.3s; }
    .mobile-menu nav a:hover { color: var(--color-gold); }
    .mobile-menu .close-menu { position:absolute; top:1rem; right:1rem; font-size:2.5rem; background:none; border:none; cursor:pointer; color:#1f1f1f; z-index:1100; }
                              /* ======================================================
   DESKTOP NAV FIX
====================================================== */
header nav a {
  font-size: 1.2rem;       /* slightly bigger */
  margin-left: 2rem;       /* spacing between links */
}

header nav a:first-child {
  margin-left: 0;          /* no left margin on first link */
}

/* ======================================================
   MOBILE NAV / HAMBURGER
====================================================== */
@media(max-width:768px) {
  /* hide the desktop nav */
  header > nav {
    display: none !important;
  }

  /* mobile menu panel links */
  .mobile-menu nav a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-charcoal);
    padding: 0.75rem 0;
    transition: color var(--transition);
  }

  .mobile-menu nav a:hover {
    color: var(--color-gold);
  }

  /* optional: add spacing at top so menu doesn't start under header */
  .mobile-menu {
    padding-top: calc(var(--header-height) + 2rem);
  }
}
/* --- DESKTOP NAV LINK UNDERLINE --- */
@media(min-width: 769px) {
  header nav a {
    position: relative; /* needed for underline */
  }

  header nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red); /* red underline */
    transition: width var(--transition);
  }

  header nav a:hover::after,
  header nav a.active::after {
    width: 100%; /* expand underline on hover */
  }
}

/* --- MOBILE FIX: hide desktop nav and only show hamburger menu --- */
@media(max-width:768px){
  header nav {
    display: none !important; /* ensure desktop links are hidden */
  }
}
/* MOBILE MENU LOGO */
.mobile-menu-logo {
  text-align: center;
  margin-bottom: 2rem;
}

.mobile-menu-logo img {
  max-width: 160px;
  height: auto;
}
                              
                              /* MOBILE MENU SOCIAL ICONS */
.mobile-social {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0,0,0,0.1);
  justify-content: center;
}

.mobile-social a {
  font-size: 2rem;
  color: #c9a24d;
  transition: transform 0.3s ease, color 0.3s ease;
}

.mobile-social a:hover {
  transform: scale(1.3);
  color: #e63946; /* nice contrast on hover */
}
/* ======================================================
   DE CE SITECODEX – FULL WIDTH SECTION
====================================================== */
.why-sitecodex {
  width: 100%;
  background: #f7f7f7;
  padding: 6rem 2rem;
  }

.why-inner {
  max-width: 1400px; /* wider than normal container */
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

/* Reuse feature-card but enhance it */
.why-sitecodex .feature-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-sitecodex .feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 18px 50px rgba(0,0,0,0.12);
}

.why-sitecodex .feature-card i {
  font-size: 3rem;
  color: var(--color-gold);
  margin-bottom: 1.5rem;
}

.why-sitecodex .feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.why-sitecodex .feature-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
}

/* Mobile */
@media (max-width: 900px) {
  .why-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .why-sitecodex {
    padding: 4rem 1.5rem;
  }
}
/* ======================================================
   DE CE SITECODEX – TITLE
====================================================== */
.why-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.why-header h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 0.75rem;
}

.why-header h2 span {
  color: var(--color-gold);
}

.why-header p {
  font-size: 1.1rem;
  color: #666;
}

                              /* ======================================================
   SCROLL REVEAL ANIMATION
====================================================== */
.reveal {
  opacity: 0;
  transform: translateX(140px) rotateY(-12deg) scale(0.9);
  filter: blur(12px);
  transition:
    opacity 0.7s ease-out,
    transform 0.7s cubic-bezier(.16,.84,.44,1),
    filter 0.7s ease;
  transform-origin: left center;
}

.reveal.active {
  opacity: 1;
  transform: translateX(0) rotateY(0) scale(1);
  filter: blur(0);
}



/* Stagger effect */
.reveal:nth-child(1) { transition-delay: 0.1s; }
.reveal:nth-child(2) { transition-delay: 0.25s; }
.reveal:nth-child(3) { transition-delay: 0.4s; }

html,
body {
  width: 100%;
  overflow-x: hidden;
}
@media (max-width: 768px) {
  .reveal {
    transform: translateX(60px) scale(0.95);
    filter: blur(8px);
  }

  .reveal.active {
    transform: translateX(0) scale(1);
  }
}
/* CTA Buttons after De ce SiteCodex */
.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem 0; /* spacing from features section */
}

.cta-buttons .btn-primary {
  padding: 0.75rem 2rem;
  background: var(--color-gold);
  color: #141414;
  border-radius: var(--radius);
  font-weight: 600;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  display: inline-block;
}

/* 3D effect */
.cta-buttons .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 6px 0 #a58436;
  z-index: -1;
  transform: translateY(4px);
}

.cta-buttons .btn-primary:hover {
  transform: translateY(-2px);
}

.cta-buttons .btn-primary:hover::after {
  transform: translateY(6px);
}

/* Responsive */
@media(max-width:768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }
}
                              /* Wrapper for buttons below section */
.cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 2rem;
margin: 0.5rem 0 7.5rem 0;        /* space from section */
  opacity: 0;           /* start hidden for animation */
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Make visible when scroll reaches them */
.cta-buttons-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons 3D style */
.cta-buttons-wrapper .btn-primary {
  padding: 0.75rem 2rem;
  background: var(--color-gold);
  color: #141414;
  border-radius: var(--radius);
  font-weight: 600;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  display: inline-block;
}

.cta-buttons-wrapper .btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: 0 6px 0 #a58436;
  z-index: -1;
  transform: translateY(4px);
}

.cta-buttons-wrapper .btn-primary:hover {
  transform: translateY(-2px);
}

.cta-buttons-wrapper .btn-primary:hover::after {
  transform: translateY(6px);
}

/* Responsive */
@media(max-width:768px){
  .cta-buttons-wrapper {
    flex-direction: column;
    gap: 1rem;
  }
}
/*landscape*/
.hero {
  padding-top: 5rem; /* must be at least header height */
  box-sizing: border-box;
}
.hero {
  padding-bottom: 2rem;
}



@media screen and (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: calc(80vh - 5rem);
    padding-top: 6rem;
  }
}
.mobile-menu.active {
  display: block;
}
@media screen and (max-width: 768px) and (orientation: landscape) {
  .mobile-menu {
    height: 100dvh;
  }
}
#contactMessage {
    display: block !important;        /* ensure it’s not hidden */
    opacity: 0 !important;            /* start invisible for fade */
    padding: 10px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
    margin-top: 10px !important;
    font-weight: bold !important;
    background-color: #4caf50 !important; /* green for success */
    color: #fff !important;
    transition: opacity 0.5s ease !important;
    pointer-events: none; /* avoid blocking clicks */
    z-index: 9999; /* above everything */
    position: relative;
}

#contactMessage.show {
    opacity: 1 !important;            /* fade in */
}

#contactMessage {
    display: block !important;
    opacity: 0 !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    text-align: center !important;
    margin-top: 8px !important;      /* ensures space below button */
    font-weight: bold !important;
    background-color: #4caf50 !important; /* green for success */
    color: #fff !important;
    transition: opacity 0.5s ease !important;
    pointer-events: none;
    z-index: 10;                      /* above nearby elements */
    position: relative;
    width: 100%;                       /* full width of form */
    box-sizing: border-box;
}
#contactMessage {
    transition: opacity 0.8s ease !important;  /* slightly slower fade */
}
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  height: 80vh; /* same as section */
  width: 100%;
  max-width: 1000px;
  text-align: center;
}

/* Push h2 to bottom on desktop */
@media (min-width: 768px) {
  .hero-content h2 {
    margin-top: auto;
  }
}



