/* ============================================
   VROOMS MEDIA - Dark Edgy Theme
   ============================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background-color: #0a0a0a;
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
}

/* LAYOUT */
.container {
  width: min(1200px, 90vw);
  margin: 0 auto;
}

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

.section--dark {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 50%, #0a0a0a 100%);
}

/* TYPOGRAPHY */
h1, h2, h3 {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

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

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

p {
  color: #a0a0a0;
}

/* SECTION TAGS */
.section__tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #ff3333;
  margin-bottom: 1rem;
  font-weight: 500;
}

.section__intro {
  font-size: 1.1rem;
  max-width: 500px;
  margin-bottom: 3rem;
  color: #888;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  text-decoration: none;
}

.logo-light {
  width: 180px;
  height: auto;
  animation: logo-glow 3s ease-in-out infinite;
}

@keyframes logo-glow {
  0%, 100% {
    filter: none;
  }
  50% {
    filter: drop-shadow(0 0 8px #ff3333)
            drop-shadow(0 0 15px #ff3333)
            drop-shadow(0 0 30px rgba(255, 51, 51, 0.7));
  }
}

.logo-light--small {
  width: 120px;
}

.logo-text {
  font-family: 'Michroma', 'Eurostile', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: #fff;
  text-transform: uppercase;
}

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

.nav__link {
  font-size: 0.9rem;
  text-decoration: none;
  color: #888;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ff3333;
  transition: width 0.3s ease;
}

.nav__link:hover {
  color: #fff;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--active {
  color: #fff;
}

.nav__link--active::after {
  width: 100%;
}

.nav__button {
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  background: #ff3333;
  color: #fff !important;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
}

.nav__button:hover {
  background: #ff4d4d;
  box-shadow: 0 0 30px rgba(255, 51, 51, 0.5),
              0 0 60px rgba(255, 51, 51, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 51, 51, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 51, 51, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

.hero__content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero__tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #ff3333;
  margin-bottom: 2rem;
  font-weight: 500;
}

.hero__sub {
  font-size: 1.1rem;
  color: #777;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.8;
}

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

/* 3D CUBE */
.hero__3d {
  position: absolute;
  right: 10%;
  top: 50%;
  transform: translateY(-50%);
  perspective: 1000px;
  z-index: 1;
  opacity: 0.15;
}

.cube {
  width: 200px;
  height: 200px;
  position: relative;
  transform-style: preserve-3d;
  animation: cube-rotate 20s linear infinite;
}

@keyframes cube-rotate {
  0% { transform: rotateX(0deg) rotateY(0deg); }
  100% { transform: rotateX(360deg) rotateY(360deg); }
}

.cube__face {
  position: absolute;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(255, 51, 51, 0.3);
  background: rgba(255, 51, 51, 0.02);
}

.cube__face--front  { transform: translateZ(100px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(100px); }
.cube__face--right  { transform: rotateY(90deg) translateZ(100px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(100px); }
.cube__face--top    { transform: rotateX(90deg) translateZ(100px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(100px); }

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn--primary {
  background: #ff3333;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.3);
}

.btn--primary:hover {
  background: #ff4d4d;
  box-shadow: 0 0 30px rgba(255, 51, 51, 0.5),
              0 5px 30px rgba(255, 51, 51, 0.4);
  transform: translateY(-3px);
}

.btn--outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--outline:hover {
  border-color: #ff3333;
  color: #ff3333;
  box-shadow: 0 0 20px rgba(255, 51, 51, 0.2);
  transform: translateY(-3px);
}

.btn--large {
  padding: 1.1rem 2.5rem;
  font-size: 1rem;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--three {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 51, 51, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-8px) rotateX(2deg);
  border-color: rgba(255, 51, 51, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(255, 51, 51, 0.1);
}

.card:hover::before {
  opacity: 1;
}

.card--highlight {
  border-color: rgba(255, 51, 51, 0.3);
  background: linear-gradient(135deg, rgba(255, 51, 51, 0.05) 0%, rgba(255,255,255,0.01) 100%);
  position: relative;
}

.card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #ff3333;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(255, 51, 51, 0.4);
}

.card__icon {
  font-size: 0.8rem;
  font-weight: 600;
  color: #ff3333;
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}

/* ============================================
   STEPS
   ============================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  padding: 2rem;
  border-left: 2px solid rgba(255, 51, 51, 0.3);
  transition: all 0.3s ease;
}

.step:hover {
  border-left-color: #ff3333;
  background: linear-gradient(90deg, rgba(255, 51, 51, 0.05) 0%, transparent 100%);
}

.step__number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #ff3333;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

/* ============================================
   WHO WE WORK WITH
   ============================================ */
.clients-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.clients-content {
  text-align: left;
}

.clients-content h2 {
  text-align: left;
}

.clients-content .section__tag {
  text-align: left;
  color: #ff3333;
}

.clients-content p {
  text-align: left;
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.client-list {
  text-align: left;
}

.client-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.client-item:last-child {
  border-bottom: none;
}

.client-item strong {
  color: #ff3333;
}

.section__closing {
  margin: 1.5rem 0 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

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

.about-content p {
  margin-bottom: 1rem;
}

.about-content ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.about-content li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.about-content li:last-child {
  margin-bottom: 0;
}

.about-content li::marker {
  color: #ff3333;
}

.about-footnote {
  margin-top: 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}



.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.about-sphere {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, 
    rgba(255, 51, 51, 0.2) 0%, 
    rgba(255, 51, 51, 0.05) 50%, 
    transparent 70%);
  border: 1px solid rgba(255, 51, 51, 0.2);
  position: relative;
  animation: sphere-float 6s ease-in-out infinite;
}

.about-sphere::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1px solid rgba(255, 51, 51, 0.1);
  animation: sphere-ring 8s linear infinite;
}

@keyframes sphere-float {
  0%, 100% { transform: translateY(0) rotateX(10deg); }
  50% { transform: translateY(-20px) rotateX(-10deg); }
}

@keyframes sphere-ring {
  0% { transform: rotateZ(0deg); }
  100% { transform: rotateZ(360deg); }
}

/* ============================================
   CTA
   ============================================ */
.section--cta {
  background: linear-gradient(180deg, #0a0a0a 0%, #111 100%);
  text-align: center;
  padding: 8rem 0;
}

.cta {
  max-width: 600px;
  margin: 0 auto;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta > p {
  margin-bottom: 1.5rem;
}

.cta__list {
  text-align: left;
  margin: 0 auto 2rem;
  padding-left: 1.5rem;
  max-width: 500px;
}

.cta__list li {
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.cta__list li::marker {
  color: #ff3333;
}

.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta__note {
  font-size: 0.9rem;
  color: #666;
}

.cta__note a {
  color: #ff3333;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cta__note a:hover {
  color: #ff6666;
}

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

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-family: 'Michroma', 'Eurostile', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: #fff;
}

.footer__right {
  font-size: 0.8rem;
  color: #555;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for cards */
.card-grid .card:nth-child(1)[data-animate] { transition-delay: 0s; }
.card-grid .card:nth-child(2)[data-animate] { transition-delay: 0.1s; }
.card-grid .card:nth-child(3)[data-animate] { transition-delay: 0.2s; }

.steps .step:nth-child(1)[data-animate] { transition-delay: 0s; }
.steps .step:nth-child(2)[data-animate] { transition-delay: 0.15s; }
.steps .step:nth-child(3)[data-animate] { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 900px) {
  .nav__links {
    display: none;
  }
  
  .hero__3d {
    display: none;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-visual {
    order: -1;
  }
  
  .about-sphere {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 5rem 0;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
