/* ============================================
   LUXORA IT LTD — Main Stylesheet
   ============================================ */

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

/* === CSS VARIABLES === */
:root {
  --black: #080808;
  --white: #f5f5f5;
  --accent: #2d7dd2;
  --accent2: #4a9ae8;
  --accent-glow: rgba(45, 125, 210, 0.12);
  --grey: #777;
  --grey-light: #2a2a2a;
  --grey-border: #1c1c1c;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

/* === BASE === */
html {
  scroll-behavior: smooth;
  font-size: 17px;
  overflow-x: hidden;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

nav, .preloader, .mobile-menu, section, .stats-ribbon, .marquee-wrap, footer {
  position: relative;
  z-index: 1;
}

::selection {
  background: var(--accent);
  color: var(--white);
}

a {
  color: inherit;
  text-decoration: none;
}

/* === PRELOADER === */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-logo {
  width: 220px;
  height: auto;
  border-radius: 6px;
  animation: fadeIn 0.6s ease forwards;
}

.preloader-text {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  color: var(--grey);
  overflow: hidden;
}

.preloader-text span {
  display: inline-block;
  animation: slideUp 0.5s ease forwards;
  animation-delay: 0.3s;
  opacity: 0;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* === NAVIGATION === */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 8, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-logo img {
  height: 34px;
  width: auto;
  border-radius: 3px;
}

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

.nav-links a {
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.3s;
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem !important;
  border-radius: 2px;
  font-weight: 800 !important;
  transition: background 0.3s ease, transform 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent2) !important;
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

/* === HAMBURGER === */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === MOBILE MENU === */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--sans);
  font-size: 2.8rem;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.03em;
  transition: color 0.3s;
}

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

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(2rem, 6vw, 8rem);
  position: relative;
  overflow: hidden;
}

#site-cloth {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
  z-index: 0;
}

.hero-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.hero-glow-2 {
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 125, 210, 0.06) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
}

.hero > *:not(.hero-glow):not(.hero-glow-2) {
  position: relative;
  z-index: 1;
}

.hero-tag {
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-tag::before {
  content: '';
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--sans);
  font-size: clamp(3.2rem, 8.5vw, 8.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 900;
  max-width: 1200px;
  margin-bottom: 2rem;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: rgba(245, 245, 245, 0.52);
  max-width: 580px;
  line-height: 1.7;
  margin-bottom: 3rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: var(--accent);
  color: var(--white);
  padding: 1rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent2);
  transform: translateY(-2px);
}

.btn-primary .arrow {
  transition: transform 0.3s ease;
}

.btn-primary:hover .arrow {
  transform: translateX(4px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: transparent;
  color: var(--white);
  padding: 0.95rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid rgba(245, 245, 245, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* === STATS RIBBON === */
.stats-ribbon {
  display: flex;
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
  overflow: hidden;
}

.stats-ribbon .stat {
  flex: 1;
  padding: 2.8rem clamp(1.5rem, 3vw, 3rem);
  border-right: 1px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stats-ribbon .stat:last-child {
  border-right: none;
}

.stat-value {
  font-family: var(--sans);
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--white);
  display: block;
}

.stat-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--grey);
}

/* === SECTION LAYOUT === */
.section {
  padding: clamp(5rem, 10vw, 10rem) clamp(2rem, 6vw, 8rem);
}

.section-tag {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-tag::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: var(--sans);
  font-size: clamp(2.6rem, 5.5vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 1000px;
  margin-bottom: 1.5rem;
}

.section-title em {
  font-style: normal;
  color: var(--accent);
}

.section-desc {
  font-size: clamp(1.0rem, 1.15vw, 1.15rem);
  color: rgba(245, 245, 245, 0.45);
  max-width: 600px;
  line-height: 1.75;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* === MARQUEE === */
.marquee-wrap {
  overflow: hidden;
  border-bottom: 1px solid var(--grey-border);
  padding: 1.4rem 0;
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(245, 245, 245, 0.2);
  flex-shrink: 0;
}

.marquee-track span.dot {
  color: var(--accent);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* === WHY AI CARDS === */
.why-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--grey-border);
}

.why-card {
  padding: clamp(1.8rem, 2.5vw, 2.8rem);
  border-right: 1px solid var(--grey-border);
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
}

.why-card:last-child {
  border-right: none;
}

.why-card:hover {
  background: rgba(45, 125, 210, 0.05);
}

.why-card-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.why-card h3 {
  font-family: var(--sans);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.why-card p {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.4);
  line-height: 1.7;
  font-weight: 500;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}

.why-card:hover::after {
  width: 100%;
}

/* === NUMBERS SECTION === */
.numbers-section {
  background: rgba(45, 125, 210, 0.03);
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--grey-border);
}

.number-item {
  padding: clamp(2rem, 3vw, 3.5rem);
  border-right: 1px solid var(--grey-border);
  text-align: center;
}

.number-item:last-child {
  border-right: none;
}

.number-item .big {
  font-family: var(--sans);
  font-size: clamp(2.5rem, 4.5vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.number-item .desc {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.45);
  line-height: 1.6;
}

/* === SERVICES === */
.services-grid {
  margin-top: 4rem;
}

.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--grey-border);
  cursor: default;
  transition: all 0.3s ease;
  gap: 1.5rem;
}

.service-row:first-child {
  border-top: 1px solid var(--grey-border);
}

.service-row:hover {
  padding-left: 1.5rem;
}

.service-row:hover .service-name {
  color: var(--accent);
}

.service-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--grey);
  letter-spacing: 0.1em;
  width: 60px;
}

.service-name {
  font-family: var(--sans);
  font-size: clamp(1.5rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.3s ease;
}

.service-desc {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.35);
  max-width: 420px;
  text-align: right;
  font-weight: 500;
  line-height: 1.6;
}

/* === ABOUT === */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  margin-top: 4rem;
  align-items: start;
}

.about-text {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  color: rgba(245, 245, 245, 0.55);
  line-height: 1.8;
  font-weight: 500;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-text strong {
  color: var(--white);
  font-weight: 800;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  border-left: 1px solid var(--grey-border);
  padding-left: clamp(2rem, 3vw, 4rem);
}

.about-value-tag {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.about-value h4 {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.about-value p {
  font-size: 0.9rem;
  color: rgba(245, 245, 245, 0.4);
  line-height: 1.6;
  font-weight: 500;
}

/* === WHY CHOOSE US === */
.choose-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--grey-border);
}

.choose-item {
  padding: clamp(1.8rem, 2.5vw, 2.8rem);
  border-right: 1px solid var(--grey-border);
  position: relative;
  transition: background 0.4s ease;
}

.choose-item:last-child {
  border-right: none;
}

.choose-item:hover {
  background: rgba(45, 125, 210, 0.05);
}

.choose-icon {
  font-size: 1.8rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}

.choose-item h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.choose-item p {
  font-size: 0.85rem;
  color: rgba(245, 245, 245, 0.4);
  line-height: 1.6;
  font-weight: 500;
}

/* === TESTIMONIALS === */
.testimonial-section {
  background: rgba(45, 125, 210, 0.03);
  border-top: 1px solid var(--grey-border);
  border-bottom: 1px solid var(--grey-border);
}

.testimonials-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 4rem;
  border: 1px solid var(--grey-border);
}

.testimonial {
  padding: clamp(2.5rem, 3.5vw, 4rem);
  position: relative;
}

.testimonial:first-child {
  border-right: 1px solid var(--grey-border);
}

.testimonial-quote {
  font-family: var(--serif);
  font-size: 5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.4;
}

.testimonial p {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  line-height: 1.75;
  color: rgba(245, 245, 245, 0.65);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* === CONTACT === */
.contact-section {
  position: relative;
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  margin-top: 4rem;
  align-items: start;
}

.contact-big-text {
  font-family: var(--sans);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.contact-big-text em {
  font-style: normal;
  color: var(--accent);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  border-left: 1px solid var(--grey-border);
  padding-left: clamp(2rem, 3vw, 4rem);
}

.contact-item-label {
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.contact-item-value {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.65);
}

.contact-item-value a {
  transition: color 0.3s;
}

.contact-item-value a:hover {
  color: var(--accent);
}

/* === FOOTER === */
footer {
  padding: 3rem clamp(2rem, 6vw, 8rem);
  border-top: 1px solid var(--grey-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .footer-left {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--grey);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

footer .footer-right {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(245, 245, 245, 0.3);
  letter-spacing: 0.08em;
}

/* === REVEAL ANIMATIONS === */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === RESPONSIVE — TABLET === */
@media (max-width: 1024px) {
  .why-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    border-top: 1px solid var(--grey-border);
  }
  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .number-item:nth-child(2) {
    border-right: none;
  }
  .number-item:nth-child(3),
  .number-item:nth-child(4) {
    border-top: 1px solid var(--grey-border);
  }
  .choose-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .choose-item:nth-child(3) {
    border-right: none;
  }
  .choose-item:nth-child(4),
  .choose-item:nth-child(5) {
    border-top: 1px solid var(--grey-border);
  }
  .service-desc {
    display: none;
  }
}

/* === RESPONSIVE — MOBILE === */
@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .hero {
    padding: 0 1.5rem;
    min-height: 90vh;
  }
  .section {
    padding: clamp(3rem, 8vw, 6rem) 1.5rem;
  }
  .stats-ribbon {
    flex-direction: column;
  }
  .stats-ribbon .stat {
    border-right: none;
    border-bottom: 1px solid var(--grey-border);
    padding: 1.5rem;
  }
  .stats-ribbon .stat:last-child {
    border-bottom: none;
  }
  .why-cards {
    grid-template-columns: 1fr;
  }
  .why-card {
    border-right: none;
    border-bottom: 1px solid var(--grey-border);
  }
  .why-card:last-child {
    border-bottom: none;
  }
  .why-card::after {
    display: none;
  }
  .numbers-grid {
    grid-template-columns: 1fr 1fr;
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-values {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--grey-border);
    padding-top: 2rem;
  }
  .choose-grid {
    grid-template-columns: 1fr;
  }
  .choose-item {
    border-right: none;
    border-bottom: 1px solid var(--grey-border);
  }
  .choose-item:last-child {
    border-bottom: none;
  }
  .testimonials-wrap {
    grid-template-columns: 1fr;
  }
  .testimonial:first-child {
    border-right: none;
    border-bottom: 1px solid var(--grey-border);
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-details {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--grey-border);
    padding-top: 2rem;
  }
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
