* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}
body {
  font-family: 'Inter', sans-serif;
}

/* NAVBAR */
/* NAVBAR */

.navbar{
  position:sticky;
  top:0;
  z-index:1000;

  height:70px;

  display:flex;
  align-items:center;
  justify-content:space-between;

  padding:0 8%;

  background:rgba(255,255,255,0.8);
  backdrop-filter: blur(10px);

  transition:all .3s ease;
}

/* shadow when scrolling */

.navbar.scrolled{
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* LOGO */

.logo{
  position:relative;
}

.logo img{
  height:105px;
  position:absolute;
  top:-45px;
}

/* NAV LINKS */

.nav-links{
  display:flex;
  gap:40px;
}

.nav-links a{
  text-decoration:none;
  color:#1f2937;
  font-weight:500;
  position:relative;
}

/* hover underline animation */

.nav-links a::after{
  content:"";
  position:absolute;
  bottom:-6px;
  left:0;
  width:0;
  height:2px;
  background:#4f46e5;
  transition:.3s;
}

.nav-links a:hover::after{
  width:100%;
}

/* BUTTON */

.btn-primary{
  background:#4f46e5;
  color:white;
  border:none;
  padding:10px 20px;
  border-radius:10px;
  font-weight:500;
  cursor:pointer;
  transition:.3s;
}

.btn-primary:hover{
  background:#4338ca;
}

/* HERO */

/* =============================
   HERO COPYCAT STYLE
============================= */
/* ===============================
   EXACT LOFTY-STYLE HERO
=============================== */

/* =========================
   CLEAN SAAS HERO GRID
========================= */
.hero {
  height: 80vh;
  display: flex;
  align-items: center;
  padding: 0 8%;
  background: radial-gradient(circle at 70% 40%, #111827 0%, #0a0a0a 60%);
}

/* LEFT SIDE */
.hero-left {
  flex: 0 0 45%;
  z-index: 2;
}

.hero-left h1 {
  font-family: 'Playfair Display', serif;
  font-size: 5.5rem;
  line-height: 1.05;
  color: white;
  margin-bottom: 30px;
}

.hero-left p {
  font-size: 1.2rem;
  color: #cbd5e1;
  max-width: 500px;
  margin-bottom: 40px;
}

/* BUTTON */
.btn-primary {
  background: #2563eb;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #1d4ed8;
}

/* RIGHT SIDE */
.hero-right {
  flex: 0 0 55%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SINGLE IMAGE */
.hero-right img {
  width: 120%;
  max-width: 700px;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 60px 120px rgba(0,0,0,0.6);
}


/* FEATURES */

.features {
  padding: 120px 8%;
  text-align: center;
  background: #f9fafb;
}

.features h2 {
  margin-bottom: 60px;
  font-size: 32px;
}

/* GRID */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

/* ERP PARTNERS */
/* ERP PARTNERS SECTION */

.erp-partners{
  max-width: 1100px;
  margin: 0 auto 100px auto;
  text-align: center;
}

/* TITLE */

.partners-title{
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 35px;
}

.team-title{
  font-size:26px;
  color:white;
  margin-bottom:25px;
}

/* LOGO ROW */

.partners-logos{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  flex-wrap: wrap;
}

/* LOGOS */

.partners-logos img{
  height: 200px;
  opacity: .6;
  transition: all .3s ease;
}

/* HOVER EFFECT */

.partners-logos img:hover{
  opacity: 1;
  transform: translateY(-3px) scale(1.05);
}

/* CARD */

.card {
  background: #111827;
  border-radius: 16px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 80px 40px rgba(0,0,0,0.5);

  padding-bottom: 25px;
  min-height: 360px;   /* makes the card taller */

  transform: translateY(40px);
  opacity: 0;
  transition: all .6s ease;
}

/* IMAGE */

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* TEAM SECTION */

.team{
  padding:80px 8%;
  background:#0a0a0a;
}

/* MAIN CARD */

.team-card{
  display:grid;
  grid-template-columns: 1fr 1.4fr;
  align-items:center;
  gap:60px;

  max-width:1200px;
  margin:auto;
}

/* LEFT TEXT */

.team-text{
  padding:60px;
  gap: 200px;
  
}

.team-slide{
  display:none;
  color:#cbd5e1;
}

.team-slide.active{
  display:block;
}

.team-slide h3{
  color:rgb(192, 206, 239);
  font-size:28px;
  margin-top:120px;

}

.team-title{
  color:rgb(17, 120, 255);
  font: size 36px;
  
}

.team-role{
  font-weight:500;
  opacity:.8;
  margin-top:4px;
}

.team-desc{
  margin-top:30px;
  line-height:1.6;
  max-width:420px;
}



/* RIGHT IMAGE */

.team-image{
  display:flex;
  justify-content:center;
}

.team-image img{
  width:100%;
  height:auto;
  border-radius:20px;
}

/* NAME OVER IMAGE */
.team-name{
  position:absolute;
  bottom:190px;

  color:rgb(0, 0, 0);
  font-weight:500;
  font-size:15px;

  text-shadow:0 2px 6px rgba(0,0,0,.6);

  opacity:0;
  transition:.4s;
}

.team-name.active{
  opacity:1;
}

/* línea debajo del nombre */

.team-name::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-px;
  width:35px;
  height:2px;
  background:#3b82f6;
  border-radius:2px;
}

/* posiciones aproximadas de cada persona */

.team-name:nth-of-type(1){
  left:13%;

}

.team-name:nth-of-type(2){
  left:55%;
  transform:translateX(-50%);
}

.team-name:nth-of-type(3){
  right:2%;
}
/* TEXT */

.card h3 {
  margin: 24px 0 12px;
  color: white;
}

.card p {
  padding: 0 25px;
  color: #cbd5e1;
  line-height: 1.6;
}

/* HOVER EFFECT */

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

/* SCROLL ANIMATION */

.card.show {
  transform: translateY(0);
  opacity: 1;
}

/* VISUAL */

.visual {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
}

.visual-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* HOW */

.how {
  padding: 100px 8%;
  text-align: center;
}

.steps {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.step {
  background: #f3f4f6;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
}

/* CTA */

.cta {
  padding: 100px 8%;
  text-align: center;
  background: #f9fafb;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hero,
  .visual {
    flex-direction: column;
    text-align: center;
  }

  .steps {
    flex-direction: column;
  }
}

/* =========================
   MOBILE RESPONSIVE
========================= */

@media (max-width: 900px){

/* NAVBAR */

.navbar{
  padding:0 5%;
}

.nav-links{
  display:none; /* hides menu for now */
}

.logo img{
  height:75px;
  top:-30px;
}


/* HERO */

.hero{
  flex-direction:column;
  text-align:center;
  height:auto;
  padding:120px 6% 80px;
}

.hero-left{
  flex:none;
}

.hero-left h1{
  font-size:2.8rem;
  line-height:1.1;
}

.hero-left p{
  margin:auto;
}

.hero-right{
  margin-top:50px;
}

.hero-right img{
  width:100%;
  max-width:400px;
}


/* FEATURES */

.features{
  padding:80px 6%;
}

.feature-grid{
  grid-template-columns:1fr;
  gap:30px;
}

.card{
  min-height:auto;
}


/* ERP LOGOS */

.partners-logos{
  gap:30px;
}

.partners-logos img{
  height:40px;
}


/* TEAM SECTION */

.team{
  padding:60px 6%;
}

.team-card{
  grid-template-columns:1fr;
  gap:40px;
}

.team-text{
  padding:20px;
  text-align:center;
}

.team-title{
  font-size:28px;
}

.team-slide h3{
  margin-top:40px;
}

.team-desc{
  max-width:none;
  margin:auto;
}

/* IMAGE */

.team-image img{
  width:100%;
}

/* names over image */

.team-name{
  font-size:14px;
  bottom:80px;
}

}


/* =========================
   SMALL PHONES
========================= */

@media (max-width:480px){

.hero-left h1{
  font-size:2.2rem;
}

.hero-left p{
  font-size:1rem;
}

.btn-primary{
  padding:12px 20px;
}

}