/* 
  NOYANOVA LLC - Premium Stylesheet
  Design System: Modern Corporate Dark Theme with Glassmorphism
*/

:root {
  /* Color Palette */
  --bg-primary: #050b14;
  --bg-secondary: #0a192f;
  --bg-tertiary: rgba(10, 25, 47, 0.7);

  --text-main: #f8f9fa;
  --text-muted: #8892b0;

  --accent-light: #00d2ff;
  --accent-dark: #3a7bd5;
  --accent-gradient: linear-gradient(135deg, var(--accent-light), var(--accent-dark));

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout & Spacing */
  --container-width: 1200px;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Basics */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  /* Offset for sticky header */
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Dynamic Background Glows */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
}

.glow-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: var(--accent-light);
}

.glow-2 {
  bottom: -10%;
  right: -10%;
  width: 40vw;
  height: 40vw;
  background: var(--accent-dark);
}

/* Typography Utility */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

p {
  color: var(--text-muted);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.bg-darker {
  background-color: rgba(0, 0, 0, 0.2);
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-header.center {
  margin: 0 auto 4rem;
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: rgba(0, 210, 255, 0.1);
  color: var(--accent-light);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
}

/* Glassmorphism Panel Utility */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  border-color: rgba(0, 210, 255, 0.3);
  transform: translateY(-5px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-heading);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-bg);
  border-color: var(--accent-light);
}

/* ================= HEADER ================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

.header.scrolled {
  padding: 1rem 0;
  background: var(--bg-tertiary);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-btn {
  padding: 0.5rem 1.25rem;
  border: 1px solid var(--accent-light);
  border-radius: 4px;
  color: var(--accent-light);
  font-weight: 600;
}

.nav-btn:hover {
  background: var(--accent-light);
  color: #000;
}

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

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-subtitle {
  font-family: var(--font-heading);
  color: var(--accent-light);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4rem;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.visual-card {
  border-radius: 20px;
  overflow: hidden;
  padding: 0.5rem;
}

.hero-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 16px;
  filter: brightness(0.8);
  transition: var(--transition-smooth);
}

.visual-card:hover .hero-img {
  filter: brightness(1);
  transform: scale(1.02);
}

/* ================= ABOUT ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img {
  width: 100%;
  height: 600px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
}

.stats-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  padding: 1.5rem;
  text-align: center;
  max-width: 200px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

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

.subsection-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.feature-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.8rem;
  color: var(--accent-light);
  background: rgba(0, 210, 255, 0.1);
  padding: 0.75rem;
  border-radius: 10px;
}

.feature-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.feature-text p {
  font-size: 0.95rem;
}

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

.service-icon-wrapper {
  font-size: 2.5rem;
  color: var(--accent-light);
  margin-bottom: 1.5rem;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.service-desc {
  font-size: 0.95rem;
}

/* ================= PARTNERS ================= */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.partner-card {
  display: flex;
  flex-direction: column;
}

.partner-type {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-light);
  margin-bottom: 1rem;
}

.partner-logo-container {
  height: 80px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.logo-placeholder {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: #fff;
  opacity: 0.8;
}

.partner-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.partner-desc {
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.partner-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-light);
  font-weight: 600;
  font-size: 0.9rem;
}

.partner-link:hover {
  color: #fff;
  gap: 0.75rem;
}

.cta-banner {
  background: var(--accent-gradient);
  border-radius: 16px;
  padding: 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
}

.cta-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
}

.cta-btn {
  background: #fff;
  color: var(--accent-dark);
}

.cta-btn:hover {
  background: #f0f0f0;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

/* ================= CONTACT ================= */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-desc {
  margin-bottom: 2rem;
}

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

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

.method-icon {
  font-size: 1.5rem;
  color: var(--accent-light);
  background: rgba(0, 210, 255, 0.1);
  padding: 0.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-details h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.method-details p {
  font-size: 0.9rem;
  margin: 0;
}

.contact-form-wrapper {
  padding: 3rem;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-light);
  background: rgba(0, 210, 255, 0.05);
}

.form-submit {
  width: 100%;
}

.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
  display: none;
}

/* ================= FOOTER ================= */
.footer {
  background: #02060b;
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-desc {
  margin-top: 1rem;
  max-width: 300px;
  font-size: 0.9rem;
}

.footer-links-col h4,
.footer-social-col h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-links-col a:hover {
  color: var(--accent-light);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  color: var(--text-main);
}

.social-links a:hover {
  background: var(--accent-light);
  color: #000;
  transform: translateY(-3px);
}

.footer-email {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.footer-email:hover {
  color: var(--accent-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

/* ================= ANIMATIONS & RESPONSIVE ================= */

/* Reveal animations for JS observer */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  transition-delay: var(--delay, 0ms);
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}


/* Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-banner {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-tertiary);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    clip-path: circle(0% at 100% 0);
    transition: clip-path 0.4s ease-out;
  }

  .nav-links.nav-open {
    clip-path: circle(150% at 100% 0);
  }

  .hero-container,
  .about-grid,
  .contact-container,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero {
    text-align: center;
    padding-top: 120px;
  }

  .hero-actions {
    justify-content: center;
  }

  .about-visual {
    order: -1;
  }

  .stats-card {
    bottom: 10px;
    right: 10px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.3rem 0.5rem;
}

.lang-switcher i {
  color: var(--accent-light);
  font-size: 1.2rem;
}

.lang-switcher select {
  background: transparent;
  color: var(--text-main);
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
}

.lang-switcher select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

/* ================= PRELOADER ================= */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg-primary);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.preloader-logo {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  /* very faint base */
  position: relative;
  display: inline-block;
}

.preloader-logo::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right,
      rgba(212, 175, 55, 0.2) 20%,
      #FFE898 40%,
      #D4AF37 50%,
      #FFE898 60%,
      rgba(212, 175, 55, 0.2) 80%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: shine 2s linear infinite;
  filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.4));
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* ================= COOKIE BANNER ================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-tertiary);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-top: 1px solid var(--glass-border);
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9900;
  transform: translateY(100%);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner.display-none {
  display: none;
}

.cookie-content {
  flex: 1;
  max-width: 800px;
  margin-right: 2rem;
}

.cookie-content h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.cookie-content p {
  font-size: 0.9rem;
  margin: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 6px;
}

.cookie-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: underline;
}

.cookie-link:hover {
  color: var(--accent-light);
}

@media (max-width: 768px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .cookie-content {
    margin-right: 0;
  }

  .cookie-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}

/* ========================================= */
/* --- NEW PREMIUM FEATURES --- */
/* ========================================= */

/* 2. Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--accent-red);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-med);
  box-shadow: var(--glow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
}