@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
@import url('../../res/fonts/ttinterphases.css');
@import url('../../res/fonts/Inter.css');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: #fff;
  background-color: rgb(82, 0, 0);
  min-height: 100vh;
  overflow-x: hidden;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  margin: 0; 
  position: relative; 
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    url('../../res/placeholderbg.jpg') center center / cover no-repeat;
  background-attachment: fixed;
  animation: fadeIn 2s ease-in forwards;
  z-index: -1;
}

/* NAVBAR */
.navbar {
  width: 100%;
  padding: 15px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: linear-gradient(90deg, #BEBEBE 0%, #FFF 33.17%, #FFF 64.47%, #B9B9B9 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  position: absolute;
  left: 20px;
  z-index: 101;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: #6e0000;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-center {
  list-style: none;
  display: flex;
  gap: 50px;
}

.nav-center li a {
  text-decoration: none;
  color: #6e0000;
  font-weight: 550;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
  position: relative;
  box-shadow: none !important;
}

.nav-center li a:hover {
  transform: translateY(-2px);
  color: #500000;
  box-shadow: none !important;
}

.arrow {
  transform: rotate(-90deg);
  font-size: 0.8rem;
  margin-top: 2px;
  color: #6e0000;
}

.nav-right {
  list-style: none;
  position: absolute;
  right: 140px;
  top: 50%;
  transform: translateY(-50%);
}

.signin-btn {
  background: #6e0000;
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 400;
  text-decoration: none;
  letter-spacing: -0.8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease;
}

.signin-btn:hover {
  background: #500000;
}

/* HERO SECTION */  
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  flex: 1;
  padding: 100px 120px 0 120px;
  position: relative;
}

.hero-left {
  padding-left: 5px;
  margin: 0;
  top: 0;
}

.hero-left h1 {
  margin: 0; 
  padding: 0;
  font-size: clamp(6vw, 6vw, 8.5rem);
  font-family: 'TT Interphases Pro', sans-serif;
  font-weight: 700;
  text-shadow: 0 -1px 0 #fff, 0 1px 0 #4e0000, 0 2px 0 #4e0000, 0 3px 0 #4e0000, 0 4px 0 #4e0000, 0 5px 0 #5e0000,
               0 8px 30px rgba(0, 0, 0, 0.4), 0 4px 15px rgba(0, 0, 0, 0.3);
  line-height: 0.9;
  letter-spacing: -2px;
  margin-top: 50px;
}

.hero-left h1 .animate-line {
  display: inline-block; 
  opacity: 0; 
  transform: translateX(-20px); 
  animation: slideRightFade 0.6s ease-out forwards; 
}

.hero-left h3,img .animate-line {
  display: inline-block; 
  opacity: 0; 
  transform: translateX(-20px); 
  animation: slideRightFade 0.8s ease-out forwards; 
}

@keyframes slideRightFade {
  0% {
    opacity: 0;
    transform: translateX(-20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideLeftFade {
  0% {
    opacity: 0;
    transform: translateX(20px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero-left h1 .animate-line:nth-child(1) {
  animation-delay: 0.5s;
}
.hero-left h1 .animate-line:nth-child(3) {
  animation-delay: 0.6s;
}
.hero-left h1 .animate-line:nth-child(5) {
  animation-delay: 0.7s;
}

.hero-left h3,img .animate-line:nth-child(6) {
  animation-delay: 0.8s;
}

.line img  .animate-line:nth-child(7) {
  animation-delay: 2s;
}

.hero-left h3 {
  margin: 15px 0 0 0; 
  font-family: 'TT Interphases Pro', sans-serif;
  font-weight: 400;
  font-size: 30px;
  gap: 5px;
  letter-spacing: -1.2px;
  display: flex;
  position: relative;
  z-index: 10;
  text-shadow:  0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-left img {
  transform: translate(4px,4px);
}

.hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
}

.emphasized {
  font-weight: 700;
  color: #74BCFF;
}

.text-with-line {
  border-right: 3px solid #ffffff;
  padding-right: 20px;
  max-width: 520px;
  padding-bottom: 10px;
  margin-left: auto;
  margin-right: 0;
  text-align: end;
  margin-top: 120px;
  transform: translateY(200px);
  animation: fadeIn 2.3s ease-in forwards;
}

.text-with-line p {
  font-size: 1.5rem;
  letter-spacing: -0.7px;
  text-shadow: 1px 2px 0.8px rgba(0, 0, 0, 0.48);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.5;
  color: #fff;
}

.buttons {
  position: static; 
  transform: none;  
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  gap: 15px;
  margin-top: 25px; 
  color: #FFF;
  text-shadow: 1px 2px 0.8px rgba(0, 0, 0, 0.48);
  font-family: Inter;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.8px;
  animation: fadeIn 2.5s ease-in forwards;
}

.btn-group {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
}

.btn-note {
  font-size: 12px;
  color: #ccc;
  font-style: italic;
  margin: 0;
  text-align: left;
  margin-top: -10px;
  padding-left: 5px;
  align-self: flex-start;
}

.btn {
  padding: 12px 32px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background: #41a1fa;
  color: #fff;
  justify-content: center;
  align-items: center;
  border-radius: 32px;
  background: #41A1FA;
  font-weight: 400;
  position: relative;
  overflow: hidden;
  font-size: 1.5rem;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary i {
  margin-left: 10px;
  transition: transform 0.3s ease;
}

.btn-primary:hover i {
  transform: translateX(12px);
}

.btn-outline {
  border-radius: 10px;
  border: 2px solid #FFF;
  color: #fff;
  font-weight: 400;
  width: 110px;
  height: 34px;
  padding-left: 0;
  padding-right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  transform: translateX(3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.rah-logo {
  height: 32px;
  margin-top: -2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  vertical-align: middle;
}

.hero-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  position: absolute;
  right: 120px;
  top: 150px; 
  transform: none;
  margin: 0;
  padding: 0;
  animation: fadeIn 2s ease-in forwards;
}

.hero-right .buttons {
  position: absolute;
  bottom: -60px;
  right: 0;
}

.powered {
  font-size: 0.95rem;
  letter-spacing: -0.5px;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}

.powered img {
  height: 25px;
  margin-top: -2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logos {
  display: flex;
  align-items: center;
  gap: 6px;
}

.logos img {
  height: 55px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.logos img:hover {
  transform: scale(1.05);
}

.hero-shadow {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: -1;
  pointer-events: none;
}

.hero-shadow img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: bottom;
}

/* INFO SECTIONS */
.info-section {
  width: 100%;
  padding: 80px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.info-section--light {
  background: rgba(255, 255, 255, 0.04);
}

.info-card {
  width: 100%;
  max-width: 1100px;
  background: rgba(15, 15, 15, 0.92);
  border-radius: 18px;
  padding: 32px 40px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card--narrow {
  max-width: 900px;
}

.info-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f87171;
  margin-bottom: 4px;
}

.info-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #b91c1c, #f97316);
  margin-bottom: 20px;
}

.info-heading {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 6px;
  color: #fecaca;
}

.info-body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #f5f5f5;
  margin-bottom: 10px;
}

.services-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 32px;
}

.services-left {
  padding-right: 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.services-right {
  padding-left: 8px;
}

.services-plan {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 14px;
  background: radial-gradient(circle at top left, rgba(248, 113, 113, 0.35), transparent 55%),
              rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.services-plan-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.services-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 4px;
}

.services-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #fee2e2;
}

.services-note {
  font-size: 0.85rem;
  color: #e5e7eb;
  margin-bottom: 10px;
}

.services-included-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 10px 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fecaca;
}

.services-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.services-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.services-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: #4ade80;
  font-size: 0.8rem;
}

.services-form-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.services-form-subtitle {
  font-size: 0.9rem;
  color: #e5e7eb;
  margin-bottom: 14px;
}

.services-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-form .form-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.services-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e5e7eb;
}

.services-form input {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  font-size: 0.9rem;
}

.services-form input::placeholder {
  color: #9ca3af;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.phone-field {
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-field span {
  font-size: 0.9rem;
  padding: 6px 8px;
  border-radius: 8px;
  background: rgba(30, 64, 175, 0.9);
}

.services-cta {
  margin-top: 10px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: linear-gradient(90deg, #b91c1c, #f97316);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.services-cta:hover {
  filter: brightness(1.05);
}

.services-form-note {
  margin-top: 6px;
  font-size: 0.8rem;
  color: #e5e7eb;
}

footer {
  color: #fff;
  text-align: center;
  padding: 40px 0;
  position: relative;
  font-size: 10px;
  z-index: 5;
  bottom: 0;
  animation: fadeIn 5s ease-in forwards;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 5px;
}

.footer-links a:hover {
  text-decoration: underline;
}

.top-left-ellipse {
  position: absolute;
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 356px;
  background: rgba(43, 191, 255, 0.54);
  filter: blur(69px);
}

/* LINE IMAGE - Desktop default */
.line {
  transform: translateY(-80px);
  width: 67%;
  height: auto;
  display: block;
}

.line:nth-child(3) {
  animation: fadeIn 2s ease-in forwards;
}

/* ============================================
   MOBILE RESPONSIVE STYLES
   ============================================ */

.desktop-br {
  display: inline;
}

/* Tablet and below (768px) */
@media (max-width: 1051px) {
 
  /* Navbar Mobile */
  .navbar {
    padding: 15px 20px;
    min-height: 60px;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-center {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: linear-gradient(180deg, #BEBEBE 0%, #FFF 50%, #B9B9B9 100%);
    padding: 20px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  .nav-center.active {
    transform: translateX(0);
  }

  .nav-center li {
    width: 100%;
    border-bottom: 1px solid rgba(110, 0, 0, 0.1);
  }

  .nav-center li:last-child {
    border-bottom: none;
  }

  .nav-center li a {
    padding: 15px 10px;
    width: 100%;
    justify-content: space-between;
  }

  .nav-right {
    position: fixed;
    top: calc(60px + 165px);
    right: auto;
    left: 0;
    width: 100%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background: linear-gradient(180deg, #B9B9B9 0%, #BEBEBE 100%);
    padding: 15px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  }

  .nav-right.active {
    transform: translateX(0);
  }

  .nav-right li {
    width: 100%;
  }

  .signin-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  /* Hero Section Mobile */
  .hero {
    padding: 80px 20px 40px 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-left {
    padding-left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    order: 1;
  }

  .hero-left h1 {
    font-size: clamp(3.5rem, 18vw, 6rem);
    margin-top: 40px;
    text-align: center;
  }

  .hero-left h3 {
    font-size: clamp(1.2rem, 5vw, 1.8rem);
    justify-content: center;
    text-align: center;
    margin: 10px 0;
  }

  .line {
    width: 40%;
    transform: translateY(0px);
    margin-top: 5px;
    margin-bottom: 20px;
  }

  .hero-left .hero-content {
    order: 10;
  }

  .text-with-line {
    position: static;
    border-right: none;
    border-left: none;
    padding-right: 0;
    padding-left: 0;
    margin: 0 auto 30px auto;
    text-align: center;
    max-width: 100%;
    transform: translateY(0);
    order: 2;
  }

  .text-with-line p {
    font-size: clamp(1.1rem, 5vw, 1.4rem);
    text-align: center;
  }

  .desktop-br {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
    width: 100%;
  }

  .buttons {
    align-items: center;
    width: 100%;
    margin-top: 0;
  }

  .btn-group {
    justify-content: center;
    width: 100%;
  }

  .btn-primary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .btn-note {
    text-align: center;
    align-self: center;
    padding-left: 0;
  }

  .hero-right {
    position: static;
    margin-top: 40px;
    align-items: center;
    order: 3;
  }

  .text-with-line {
    order: 2;
    width: 70%;
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
    padding-right: 0;
    margin-bottom: 18px;
  }

  .services-right {
    padding-left: 0;
  }

  .info-section {
    padding: 40px 20px;
  }

  .info-card {
    padding: 24px 20px;
  }
}

/* Small mobile  */
@media (max-width: 480px) {
  .hero-left h1 {
    margin-top: 70px;
    font-size: 4.5rem;
    letter-spacing: -0.5px;
  }

  .hero-left h3 {
      margin-top: 20px;
    font-size: 1.5rem;
  }

  .line {
    width: 50%;
  }

  .text-with-line p {
    font-size: 1rem;
  }

  .btn-primary {
    font-size: 1.5rem;
    padding: 10px 24px;
  }

  .form-row--split {
    grid-template-columns: 1fr;
  }
}

/* */
@media (max-width: 360px) {
  .hero-left h1 {
    margin-top: 50px;
    font-size: 3.7rem;
    letter-spacing: -0.5px;
  }

  .hero-left h3 {
      margin-top: 10px;
    font-size: 1.3rem;
  }

  .line {
    width: 50%;
  }

  .text-with-line p {
    font-size: 1rem;
  }

  .btn-primary {
    font-size: 1.2rem;
    padding: 10px 24px;
  }

  .form-row--split {
    grid-template-columns: 1fr;
  }
}