/* ============================================================
   ROOT VARIABLES & BASE RESET
   ============================================================ */
:root {
  --black: #0a0a0a;
  --dark: #0d0d0d;
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --white: #ffffff;
  --gray: #a1a1aa;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --nav-height: 78px;
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--white);
  background-color: var(--dark);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ============================================================
   NAVBAR CORE
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 13, 13, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 1000;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  z-index: 1002;
}

.logo img {
  width: 42px;
  height: 42px;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.logo-text span {
  color: var(--primary);
}

/* Desktop Navigation */
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

/* Actions Group */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.icon-group {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-icon {
  color: var(--text-secondary);
  font-size: 1.1rem;
  position: relative;
  text-decoration: none;
  transition: var(--transition);
}

.nav-icon:hover {
  color: var(--white);
}

.badge {
  position: absolute;
  top: -6px;
  right: -8px;
  width: 16px;
  height: 16px;
  font-size: 0.65rem;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ============================================================
   SEARCH LOGIC (DESKTOP & MOBILE)
   ============================================================ */
.search-container {
  position: relative;
  display: flex;
  align-items: center;
}

/* Desktop Search (Static) */
.search-input {
  width: 220px;
  padding: 0.6rem 1rem 0.6rem 2.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition);
}

.search-toggle-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1rem;
  position: absolute;
  left: 12px;
  pointer-events: none;
  /* Icon is just visual on desktop */
  z-index: 2;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

/* Mobile Search (Expandable) */
@media (max-width: 992px) {
  .search-toggle-btn {
    position: static;
    pointer-events: all;
    cursor: pointer;
    padding: 5px;
  }

  .search-input {
    position: absolute;
    right: 0;
    width: 0;
    opacity: 0;
    padding: 0;
    pointer-events: none;
    background: #1a1a1a;
  }

  .search-container.active .search-input {
    width: 180px;
    opacity: 1;
    padding: 0.6rem 1rem 0.6rem 2.5rem;
    pointer-events: all;
    border-color: var(--primary);
  }
}

/* ============================================================
   HAMBURGER & FULLSCREEN MENU
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hamburger Animation */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Fullscreen Overlay */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: circle(0% at 90% 5%);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.menu-overlay.active {
  clip-path: circle(150% at 90% 5%);
}

.menu-close-btn {
  position: absolute;
  top: 25px;
  right: 5%;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: var(--transition);
}

.menu-close-btn:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.overlay-links {
  list-style: none;
  text-align: center;
}

.overlay-links a {
  display: block;
  font-size: clamp(2.5rem, 10vw, 4.5rem);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  margin: 1rem 0;
  letter-spacing: -2px;
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition);
}

.menu-overlay.active .overlay-links a {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(0.1s * var(--i));
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    height: 70px;
  }
}

@media (max-width: 480px) {
  .icon-group {
    gap: 0.8rem;
  }

  .logo-text {
    display: none;
    /* Keep just the logo icon on tiny screens for space */
  }
}






/* ============================================================
   YOUR ORIGINAL CSS — 100% UNCHANGED
   ============================================================ */
.hero-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.hero-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 5%;
  overflow: hidden;
}

.text-content {
  display: flex;
  flex-direction: column;
  width: 100%;
  will-change: transform;
  z-index: 10;
  gap: clamp(0.3rem, 1.5vh, 0.8rem);
  /* TIGHTER gaps */
}

.line {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: lightgray;
  font-size: 7.5rem;
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: -0.03em;
  will-change: transform, font-size;
  transition: font-size 0.3s ease;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.cta-line {
  margin: 0 auto;
  color: lightgray;
  font-size: 7.5rem;
  font-weight: 400;
  line-height: 0.95;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.03em;
  will-change: transform, font-size;
  transition: font-size 0.3s ease;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.line-left,
.line-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  will-change: transform;
  flex-shrink: 0;
  white-space: nowrap;
}

.line-right lottie-player {
  width: 80px !important;
  height: 80px !important;
  margin-bottom: 20px;
  scale: 2.2;
}

.line,
.cta-line,
.line-left,
.line-right,
.phone-parallax-container {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
}

/* Smooth transitions everywhere */
* {
  will-change: auto;
}

.inline-imgs {
  display: flex;
  position: relative;
  width: 190px;
  height: 64px;
  will-change: transform;
  flex-shrink: 0;
}

.inline-imgs img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 16px;
  position: absolute;
  border: 1px solid rgba(0, 0, 0, 0.04);
  will-change: transform;
}

.inline-imgs img:hover {
  transform: translateY(-6px);
  transition: all linear 0.4s;
}

.more-box:hover {
  transform: translateY(-6px);
  transition: all linear 0.4s;
}

.inline-imgs img:nth-child(1) {
  left: 0;
  z-index: 1;
}

.inline-imgs img:nth-child(2) {
  left: 48px;
  z-index: 2;
}

.more-box {
  left: 100px;
  z-index: 4;
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: #a4a4a47a;
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  letter-spacing: 0.2px;
  font-weight: 400;
  color: #222;
  position: absolute;
  border: 1px solid #ffffff22;
  will-change: transform;
}

.cta-btn {
  background: #8b5cf6;
  color: #fff;
  margin-top: 20px;
  padding: 1.5rem 1.5rem;
  font-size: 1.5rem;
  font-weight: 400;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  margin-left: 25px;
  will-change: transform;
  white-space: nowrap;
}

.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.5);
}

.phone-parallax-container {
  position: absolute;
  bottom: calc(-40px - 3vh);
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  z-index: 5;
  will-change: transform;
}

.phone-showcase {
  position: relative;
  width: 100%;
  max-width: 350px;
  filter: drop-shadow(0px 10px 40px rgba(85, 85, 85, 0.3));
  will-change: transform;
  pointer-events: auto;
  z-index: 0;
}

.phone-mockup {
  width: 100%;
  height: 700px;
  position: relative;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
}

.phone-screen {
  position: absolute;
  top: 1%;
  left: 3%;
  width: 93%;
  height: 97%;
  background: #000;
  border-radius: 50px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.app-slide {
  position: absolute;
  pointer-events: none;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3.5rem;
  box-sizing: border-box;
  opacity: 0;
  background: linear-gradient(135deg, #1f1f1f 0%, #000, #1f1f1f 100%);
  will-change: transform, opacity;
}

.app-slide.active {
  pointer-events: auto;
  z-index: 2;
}

.app-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0.5rem;
  width: 100%;
}

.app-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  border-radius: 18px;
  background: rgba(187, 157, 157, 0.05);
  padding: 4px;
  box-sizing: border-box;
  will-change: transform;
}

.active .app-logo {
  animation: logoFloat 3s ease-in-out infinite;
}

.app-title {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-align: center;
  letter-spacing: -0.5px;
}

.app-subtitle {
  color: #777;
  font-size: 0.7rem;
  text-align: center;
  max-width: 80%;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.app-benefits {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 4.5rem 0;
  text-align: left;
  gap: 0.8rem;
}

.app-benefit {
  display: flex;
  align-items: flex-start;
  color: white;
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(8px);
  line-height: 1.5;
  will-change: transform, opacity;
}

.active .app-benefit {
  opacity: 1;
  transform: translateY(0);
}

.active .app-benefit:nth-child(1) {
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.active .app-benefit:nth-child(2) {
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

.active .app-benefit:nth-child(3) {
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.35s;
}

.active .app-benefit:nth-child(4) {
  transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.45s;
}

.app-benefit:before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300BFFF'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z'/%3E%3C/svg%3E");
  margin-right: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.price-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}

.price-comparison {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1rem;
  margin: 0 0 1rem;
}

.price-original {
  color: #ff6b6b;
  font-size: 1.1rem;
  font-weight: 500;
  position: relative;
}

.price-original:after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: #ff6b6b;
  transform: rotate(-4deg);
}

.price-toolsparrow {
  color: #6e6e73;
  border: 1px solid #ffffff34;
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -1px;
  position: relative;
  will-change: transform;
}

.subscribe-button {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
  color: white;
  border: none;
  padding: 0.7rem;
  width: 85%;
  max-width: 240px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.3px;
  will-change: transform;
  pointer-events: auto !important;
}

.subscribe-button:hover {
  transform: translateY(-2px);
}

.phone-navigation {
  position: absolute;
  width: 90%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  z-index: 10;
}

.nav-button {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.2s ease;
  color: #fff;
}

.nav-button:hover {
  opacity: 1;
}

.dynamic-indicator {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 16px;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.indicator-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #8b5cf6;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-8px) scale(1.03);
  }
}

/* ============================================================
   PHONE CONTENT RESPONSIVE - REPLACE ALL MEDIA QUERIES BELOW
   ============================================================ */

/* Tablet: 768px - 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  .text-content {
    gap: 0.6rem;
  }

  .line-right lottie-player {
    width: 70px !important;
    height: 70px !important;
    scale: 2;
  }

  /* Your existing tablet styles + phone content... */
  .phone-parallax-container {
    bottom: calc(-20px + 4vh);
  }

  .line,
  .cta-line {
    font-size: 3.8rem;
  }

  .inline-imgs {
    width: 130px;
    height: 52px;
  }

  .inline-imgs img,
  .more-box {
    width: 52px;
    height: 52px;
  }

  .inline-imgs img:nth-child(2) {
    left: 34px;
  }

  .more-box {
    left: 68px;
    font-size: 0.82rem;
  }

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

  .phone-showcase {
    max-width: 290px;
  }

  .phone-mockup {
    height: 580px;
  }

  /* NEW: PERFECT RESPONSIVE PHONE CONTENT */
  .app-slide {
    padding: 2.8rem 2.2rem !important;
  }

  .app-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 0.4rem;
  }

  .app-title {
    font-size: 1.15rem;
    margin-bottom: 0.2rem;
  }

  .app-subtitle {
    font-size: 0.68rem;
  }

  .app-benefits {
    margin: 3.5rem 0;
    gap: 0.75rem;
  }

  .app-benefit {
    font-size: 0.88rem;
    line-height: 1.45;
  }

  .price-comparison {
    gap: 0.9rem;
    margin-bottom: 0.9rem;
  }

  .price-toolsparrow {
    font-size: 1.25rem;
    padding: 1.8px 9px;
  }

  .subscribe-button {
    width: 82%;
    padding: 0.65rem;
    font-size: 0.95rem;
    max-width: 225px;
  }

  .phone-navigation {
    width: 88%;
    padding: 11px 18px;
  }

  .nav-button {
    width: 34px;
    height: 34px;
  }
}

/* Mobile: <768px */
@media (max-width: 768px) {
  .hero-content {
    padding-bottom: max(8vh, 60px);
  }

  .text-content {
    gap: 0.4rem;
  }

  /* PERFECT mobile spacing */
  .line-right lottie-player {
    width: 65px !important;
    height: 65px !important;
    margin-bottom: 15px;
    scale: 2;
  }

  .line,
  .cta-line {
    font-size: 3.8rem;
    white-space: nowrap;
  }

  .inline-imgs {
    width: 130px;
    height: 52px;
  }

  .inline-imgs img,
  .more-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .inline-imgs img:nth-child(2) {
    left: 28px;
  }

  .more-box {
    left: 58px;
    font-size: .85rem;
  }

  .cta-btn {
    padding: 1rem 1rem;
    font-size: 1.2rem;
    margin-left: 8px;
    margin-top: 8px;
  }

  .phone-parallax-container {
    bottom: calc(-20px - 5vh);
  }

  .phone-showcase {
    max-width: 260px;
  }

  .phone-mockup {
    height: 520px;
  }

  /* NEW: RESPONSIVE PHONE CONTENT */
  .app-slide {
    padding: 2.2rem 1.6rem !important;
  }

  .app-logo {
    width: 48px;
    height: 48px;
    margin-bottom: 0.35rem;
  }

  .app-title {
    font-size: 1.05rem;
    margin-bottom: 0.18rem;
  }

  .app-subtitle {
    font-size: 0.65rem;
  }

  .app-benefits {
    margin: 3rem 0;
    gap: 0.7rem;
  }

  .app-benefit {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .price-comparison {
    gap: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .price-toolsparrow {
    font-size: 1.15rem;
    padding: 1.6px 8px;
  }

  .subscribe-button {
    width: 84%;
    padding: 0.62rem;
    font-size: 0.92rem;
    max-width: 210px;
  }

  .phone-navigation {
    width: 89%;
    padding: 10px 16px;
  }

  .nav-button {
    width: 32px;
    height: 32px;
  }
}

/* Small Mobile: <550px */
@media (max-width: 550px) {
  .phone-parallax-container {
    height: auto;
    margin-bottom: 80px;
    bottom: calc(-20px - 5vh);
  }

  .text-content {
    gap: 0.3rem;
  }

  /* TIGHT spacing for small screens */
  .line-right lottie-player {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 12px;
    scale: 2;
  }

  .line,
  .cta-line {
    font-size: 2.6rem;
  }

  .inline-imgs {
    width: 100px;
    height: 32px;
  }

  .inline-imgs img,
  .more-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
  }

  .inline-imgs img:nth-child(2) {
    left: 22px;
  }

  .more-box {
    left: 45px;
    font-size: 0.7rem;
  }

  .cta-btn {
    padding: .85rem 0.7rem;
    font-size: .95rem;
  }

  .phone-showcase {
    max-width: 230px;
  }

  .phone-mockup {
    height: 460px;
  }

  /* NEW: SMALL MOBILE RESPONSIVE */
  .app-slide {
    padding: 1.9rem 1.4rem !important;
  }

  .app-logo {
    width: 44px;
    height: 44px;
  }

  .app-title {
    font-size: 0.98rem;
  }

  .app-subtitle {
    font-size: 0.62rem;
  }

  .app-benefits {
    margin: 2.6rem 0;
    gap: 0.65rem;
  }

  .app-benefit {
    font-size: 0.78rem;
  }

  .price-original {
    font-size: 0.85rem;
  }

  .price-toolsparrow {
    font-size: 0.95rem;
    padding: 1.4px 7px;
  }

  .subscribe-button {
    width: 86%;
    padding: 0.48rem;
    font-size: 0.75rem;
    max-width: 195px;
  }

  .phone-navigation {
    width: 90%;
    padding: 9px 14px;
  }
}

/* Extra Small: <400px */
@media (max-width: 400px) {
  
  .line-right lottie-player {
    width: 55px !important;
    height: 55px !important;
    margin-bottom: 12px;
    scale: 1.6;
  }

  .line,
  .cta-line {
    font-size: 2rem;
  }

  .text-content {
    gap: 0.1rem;
  }

  .inline-imgs {
    right: 10px;
    width: 70px;
    height: 34px;
  }

  .inline-imgs img,
  .more-box {
    width: 34px;
    height: 34px;
  }

  .inline-imgs img:nth-child(2) {
    left: 18px;
  }

  .more-box {
    left: 34px;
    font-size: 0.42rem;
  }

  .cta-btn {
    padding: 0.75rem 0.55rem;
    font-size: 0.85rem;
  }

  .phone-showcase {
    max-width: 210px;
  }

  .phone-mockup {
    height: 420px;
  }

  /* NEW: EXTRA SMALL RESPONSIVE */
  .app-slide {
    padding: 1.6rem 1.2rem !important;
  }

  .app-logo {
    width: 40px;
    height: 40px;
  }

  .app-title {
    font-size: 0.92rem;
  }

  .app-subtitle {
    font-size: 0.58rem;
  }

  .app-benefits {
    margin: 2.3rem 0;
    gap: 0.6rem;
  }

  .app-benefit {
    font-size: 0.68rem;
  }

  .price-original {
    font-size: 0.75rem;
  }

  .price-toolsparrow {
    font-size: 0.9rem;
    padding: 1.2px 6px;
  }

  .subscribe-button {
    width: 88%;
    padding: 0.35rem;
    font-size: 0.7rem;
    max-width: 180px;
  }

  .phone-navigation {
    width: 91%;
    padding: 8px 12px;
  }

  .nav-button {
    width: 30px;
    height: 30px;
  }
}

/* Low Height Fix */
@media (max-height: 700px) {
  .hero-content {
    padding-bottom: max(10vh, 90px);
  }

  .phone-parallax-container {
    bottom: -80px;
  }

  .app-benefits {
    margin: 2rem 0 !important;
  }
}

@media (max-width: 768px) {
  /* Hero container is tall so user can scroll through it */
  .hero-container {
    min-height: 200vh !important;
    overflow: visible !important;
  }
 
  /* hero-content sticks in viewport while hero-container scrolls */
  .hero-content {
    position: sticky !important;
    top: 0;
    height: 100vh;
    overflow: hidden;
    padding-bottom: 0;
  }

  .phone-parallax-container {
    bottom: calc(-40px - 3vh);
    transition: none !important;
    height: 100vh;
  }
 
  
  .phone-parallax-container,
  .phone-showcase,
  .line-left,
  .line-right,
  .text-content {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }
}














/* Apple Store-style header */

.section-header {
  padding: 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px 0;
  max-width: 100%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 500;
  color: #6e6e6e;
  line-height: 1.35;
  white-space: normal;
  word-wrap: break-word;
  hyphens: auto;
}

.slider-container {
  max-width: 100%;
  margin-top: 80px;
}

.slider-track {
  padding-left: 5rem;
  padding-right: 5rem;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 40px;
  padding-top: 40px;
}


.slider-track::-webkit-scrollbar {
  display: none;
}

.slider-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.card {
  flex: 0 0 360px;
  background: #eee;
  border-radius: 24px;
  /* box-shadow: 0 10px 30px rgba(70, 70, 70, 0.5); */
  padding: 34px;
  min-height: 380px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  scroll-snap-align: start;
}

.card:hover {
  /* transform: translateY(-5px); */
  transform: scale(1.03);
}

.card h3 {
  font-size: 20px;
  color: #1d1d1f;
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  color: #6e6e73;
  margin-bottom: 15px;
}

.card img.mockup,
.card video {
  width: 100%;
  border-radius: 14px;
  object-fit: cover;
  margin-top: auto;
}

.card video {
  max-height: 180px;
}

lottie-player {
  position: relative;
  top: 30px;
}

.controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin: 0 10px;
}

.c-btn {
  background: #d2d2d7;
  border: none;
  padding: 8px 12px;
  font-size: 15px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.c-btn:hover {
  background: #b0b0b5;
}




/* ============================================================
   RESPONSIVE BREAKPOINTS - PROFESSIONAL PERFECTION
   ============================================================ */

/* Large Desktop */
@media (min-width: 1400px) {
  .section-header {
    flex-direction: row;
    align-items: end;
    gap: 12px;
    padding: 0 5rem;
  }

  .section-subtitle {
    white-space: nowrap;
  }
}

/* Desktop */
@media (min-width: 1025px) and (max-width: 1399px) {
  .section-header {
    flex-direction: row;
    align-items: baseline;
    gap: 10px;
    padding: 0 5rem;
  }
}

/* Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
  .section-header {
    flex-direction: column;
    padding: 0 5rem;
    gap: 6px 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section-header {
    padding: 0 2rem;
    gap: 6px 0;
    margin-top: 10vh;
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.8rem, 9vw, 2.4rem);
  }

  .section-subtitle {
    font-size: clamp(1rem, 5.5vw, 1.3rem);
    line-height: 1.4;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .section-header {
    padding: 0 2rem;
    gap: 5px 0;
  }

  .section-subtitle {
    font-size: 1rem;
    line-height: 1.45;
  }
}















/* MAIN SECTION – FULLY RESPONSIVE WRAPPER */
.section {
  display: flex;
  flex-direction: column;
  padding: 60px clamp(16px, 5vw, 80px);
  margin: 80px 0;
  gap: 32px;
  color: #fff;
  width: 100%;
  max-width: 1600px;
  overflow-x: hidden;
}

/* FLEX ROWS – STACK ON TABLETS & MOBILES */
.row {
  display: flex;
  gap: 32px;
  align-items: stretch;
  flex-wrap: wrap;
}

/* BASE CARD STYLES – ALL ORIGINAL DESIGN PRESERVED */
.m-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 28px;
  background: #1a1a1a;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
}

/* ========== LEFT BIG CARDS (ADOBE + MICROSOFT 365) ========== */
.left-card {
  flex: 2;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 48px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(45deg, #ff00cc94, #5f5fff94, #F8B87E94);
  border-radius: 30px;
}

.left-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #ff00cc, #5f5fff, #F8B87E);
  z-index: -1;
  border-radius: inherit;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.left-card:hover::before {
  opacity: 0.6;
}

.left-card .top {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 2;
}

.left-card .top img {
  width: 70px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 255, 0.3));
}

.left-card h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin: 0;
  background: linear-gradient(90deg, #fff, #aaa);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.left-card p {
  color: #ddd;
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.left-card .logos {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
  margin-bottom: 10px;
  z-index: 2;
}

.left-card .logos img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
  padding: 7px;
  border-radius: 14px;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* PREVIEW IMAGE – SMOOTH 3D HOVER EFFECT (EXACTLY AS REQUESTED) */
.left-card .preview {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 90%;
  max-width: 300px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: right right;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  border-top-left-radius: 28px;
  opacity: 0.85;
}

.left-card:hover .preview {
  transform: perspective(1000px) rotateY(-12deg) rotateX(4deg) scale(1.04);
}

/* ========== RIGHT CARD STYLES (Prime & ChatGPT) ========== */
.right-card {
  flex: 1;
  min-width: 260px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Amazon Prime Card */
.prime-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0a2748 100%);
  border-radius: 30px;
}

.prime-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #00a8e8, rgba(0, 168, 232, 0));
  border-radius: 0 0 0 100%;
  z-index: 0;
}

.prime-card .top {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  z-index: 2;
}

.prime-card .top img {
  width: 55px;
  filter: drop-shadow(0 0 10px rgba(0, 168, 232, 0.5));
}

.prime-card h3 {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}

.prime-card .desc {
  font-size: 0.9rem;
  color: #ccc;
  margin: 8px 0 0;
}

/* TV PREVIEW – HOVER MOVEMENT (3D) */
.amz-preview {
  position: relative;
  margin-top: auto;
  bottom: -40px;
  left: 20%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.prime-card:hover .amz-preview {
  transform: perspective(1000px) translateX(-18px) translateY(12px) rotateY(5deg) scale(1.05);
}

.tv-wrapper {
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
}

.tv-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  z-index: 2;
  position: relative;
}

.screen-content {
  position: absolute;
  top: 4%;
  left: 7%;
  width: 98%;
  height: 85%;
  object-fit: cover;
  z-index: 1;
  border-radius: 4px;
}

/* ChatGPT+ Card */
.gpt-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #0d281e 100%);
  border-radius: 30px;
}

.gpt-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #00ffaa, rgba(0, 255, 170, 0));
  border-radius: 100% 0 0 0;
  z-index: 0;
}

.gpt-card .top {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  z-index: 2;
}

.gpt-card .top img {
  width: 50px;
  filter: drop-shadow(0 0 10px rgba(0, 255, 170, 0.3));
}

.gpt-card h3 {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}

.gpt-card .desc {
  font-size: 0.9rem;
  color: #ccc;
  margin: 8px 0 0;
}

.chatgpt-ui-preview {
  margin-top: auto;
  width: 100%;
  padding-top: 24px;
  position: relative;
  bottom: -20px;
  left: 0;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.gpt-card:hover .chatgpt-ui-preview {
  transform: perspective(1000px) translateX(-20px) translateY(8px) rotateY(3deg) scale(1.04);
}

.chatgpt-ui-preview img {
  width: 100%;
  height: auto;
  max-height: 210px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: block;
}

/* ========== MICROSOFT 365 CARD ========== */
.ms365-card {
  background: linear-gradient(45deg, #4bd8fbb8, #b781eeb1, #164797b7);
  flex: 2;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  padding: 30px;
  gap: 40px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
}

.ms365-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #4bd8fb, #b781ee, #164797);
  z-index: -1;
  border-radius: inherit;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.ms365-card:hover::before {
  opacity: 0.6;
}

.ms365-card .top {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 2;
}

.ms365-card .top img {
  width: 60px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

.ms365-card h2 {
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin: 0;
  background: linear-gradient(90deg, #fff, #e0e0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.ms365-card p {
  color: #f0f0f0;
  margin: 10px 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.ms365-card .logos {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
  z-index: 2;
}

.ms365-card .logos img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.15);
  padding: 7px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.ms365-card .preview {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 90%;
  max-width: 420px;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: right right;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  border-top-left-radius: 28px;
  opacity: 0.85;
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.ms365-card:hover .preview {
  transform: perspective(1000px) rotateY(-12deg) rotateX(4deg) scale(1.04);
}

/* Price tag */
.price-tag {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 15px;
  color: white;
  letter-spacing: 1px;
  display: inline-block;
  background: rgba(155, 155, 155, 0.2);
  padding: 5px 14px;
  border-radius: 40px;
  backdrop-filter: blur(10px);
  width: fit-content;
}

.price-tag span {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* CTA Buttons - fully responsive */
.adb-cta-button {
  background: linear-gradient(90deg, #0066ff, #9400ff);
  color: #fff;
  border: none;
  padding: 12px 24px;
  width: fit-content;
  min-width: 180px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
  z-index: 2;
  position: relative;
  overflow: hidden;
  font-family: inherit;
  text-align: center;
}

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

.adb-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 102, 255, 0.5);
}

.adb-cta-button:hover::before {
  left: 100%;
}

.ms365-button {
  background: linear-gradient(90deg, #1e88e5, #6c42be);
  box-shadow: 0 5px 20px rgba(30, 136, 229, 0.3);
}

a {
  text-decoration: none;
}

/* ========== PERFECT RESPONSIVENESS – ALL DEVICES ========== */
@media (max-width: 1100px) {
  .row {
    gap: 28px;
  }

  .left-card .preview,
  .ms365-card .preview {
    width: 100%;
    max-width: 320px;
    opacity: 0.8;
  }
}

@media (max-width: 900px) {
  .row {
    flex-direction: column;
  }

  .left-card,
  .right-card,
  .ms365-card {
    width: 100%;
    flex: auto;
  }

  .left-card .preview,
  .ms365-card .preview {
    width: 100%;
    height: 90%;
    max-width: 300px;
    opacity: 0.75;
    border-top-left-radius: 24px;
  }

  .chatgpt-ui-preview {
    bottom: -5px;
  }

  .amz-preview {
    left: 30%;
  }

  .tv-wrapper {
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 40px 20px;
    gap: 28px;
  }

  .left-card,
  .ms365-card,
  .right-card {
    padding: 24px 22px;
  }

  .left-card .top img,
  .ms365-card .top img {
    width: 55px;
  }

  .left-card h2,
  .ms365-card h2 {
    font-size: 1.6rem;
  }

  .left-card .logos img,
  .ms365-card .logos img {
    width: 38px;
    height: 38px;
    padding: 5px;
  }

  .price-tag {
    font-size: 0.9rem;
  }

  .adb-cta-button {
    width: 100%;
    text-align: center;
    min-width: unset;
  }

  .left-card .preview,
  .ms365-card .preview {
    width: 100%;
    max-width: 300px;
    height: 100%;
    opacity: 0.7;
  }

  .chatgpt-ui-preview img {
    max-height: 180px;
  }

  .prime-card:hover .amz-preview,
  .gpt-card:hover .chatgpt-ui-preview {
    transform: perspective(1000px) translateX(-8px) translateY(8px) scale(1.03);
  }
}

@media (max-width: 580px) {
  .section {
    padding: 32px 16px;
  }

  .left-card,
  .ms365-card,
  .right-card {
    padding: 20px 18px;
  }

  .left-card .top img {
    width: 48px;
  }

  .ms365-card .top img {
    width: 48px;
  }

  .prime-card .top img {
    width: 44px;
  }

  .gpt-card .top img {
    width: 42px;
  }

  h2,
  .left-card h2,
  .ms365-card h2 {
    font-size: 1.4rem;
  }

  .prime-card h3,
  .gpt-card h3 {
    font-size: 1.3rem;
  }

  .left-card .logos img,
  .ms365-card .logos img {
    width: 34px;
    height: 34px;
  }

  .price-tag {
    font-size: 0.8rem;
  }

  .left-card .preview,
  .ms365-card .preview {
    width: 100%;
    max-width: 260px;
    opacity: 0.6;
    right: -2px;
    bottom: -2px;
  }

  .amz-preview {
    left: 20%;
    bottom: -30px;
  }

  .tv-wrapper {
    max-width: 340px;
  }

  .chatgpt-ui-preview img {
    max-height: 150px;
  }

  .chatgpt-ui-preview {
    bottom: 0px;
  }
}

@media (max-width: 450px) {

  .left-card .preview,
  .ms365-card .preview {
    width: 100%;
    opacity: 0.55;
    max-width: 240px;
  }

  .left-card .logos,
  .ms365-card .logos {
    gap: 10px;
  }
}

@media (min-width: 1800px) {
  .section {
    max-width: 1800px;
    padding: 80px 40px;
  }

  .left-card .preview,
  .ms365-card .preview {
    width: 100%;
    max-width: 340px;
  }

  .row {
    gap: 48px;
  }
}

/* Ensure images always visible and crisp */
img {
  max-width: 100%;
  display: block;
}

.logos img,
.top img {
  display: inline-block;
}



























.product-slider-container {
  overflow: hidden;
  position: relative;
}

.product-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 40px 6rem;
  padding-left: 5rem;
  padding-right: 5rem;
}

.product-slider-track::-webkit-scrollbar {
  display: none;
}

.product-slider-track {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-card {
  flex: 0 0 320px;
  background: #eee;
  border-radius: 20px;
  padding: 24px;
  min-height: 380px;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
  position: relative;
}

.product-card h3 {
  color: #1d1d1f;
}

.category-label {
  font-size: 14px;
  font-weight: 600;
  color: #6e6e73;
  letter-spacing: .5px;
  margin-bottom: 6px;
}

.product-card:hover {
  transform: scale(1.02);
  transition: all ease-in-out .3s;
}

.discount-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #1d1d1f;
  color: #eee;
  padding: 8px 8px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 300;
}

.product-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* keep product image clean */
.product-image {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin: 20px 0;
  display: block;
  position: relative;
  z-index: 2;
}


/* base shadow under the product */
.product-wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 10px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  filter: blur(7px);
  z-index: 1;
  pointer-events: none;
}

.product-price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.current-price {
  font-size: 1.1rem;
  font-weight: 600;
  color: #eee;
  padding: 3px 7px;
  border-radius: 10px;
  background-color: #1d1d1f;
}

.original-price {
  font-size: 1rem;
  color: #666;
  font-weight: 400;
  text-decoration: line-through;
}

.product-controls {
  position: sticky;
  bottom: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
  margin-right: 10px;
}

.product-btn {
  background: #eee;
  color: #1d1d1f;
  border: none;
  padding: 10px 15px;
  font-size: 15px;
  border-radius: 12px;
  cursor: pointer;
  transition: .2s;
}

.product-btn:hover {
  background: #bbb;
}


.explore-card {
  position: relative;
  overflow: hidden;
}

.exp-header h3 {
  font-size: 1.6rem;
}

.explore-images-container {
  position: relative;
  width: 100%;
  height: 180px;
  margin: 20px 0;
}

.explore-image {
  position: absolute;
  height: 200px;
  object-fit: contain;
  transition: all 0.4s ease;
}

.exp-tv-image {
  left: -160px;
  bottom: 5px;
}

.phone-image {
  right: -15px;
  bottom: -120px;
  height: 210px;
}

.explore-card:hover .exp-tv-image {
  transform: translateX(5px) translateY(-3px);
}

.explore-card:hover .phone-image {
  transform: translateX(-5px) translateY(-3px);
}

@media(max-width:768px) {

  .slider-track,
  .product-slider-track {
    padding: 20px 2rem;
  }

  .card,
  .product-card {
    flex: 0 0 280px;
  }

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









/* dummy content to show footer at bottom (just for demo) */
.dummy-space {
  flex: 1;
}

/* ========== FOOTER STYLES – FULLY RESPONSIVE, ORIGINAL DESIGN INTACT ========== */
.footer {
  color: #aaa;
  margin-top: 6rem;
  /* reduced from 10rem for better spacing on all devices, but still spacious */
  width: 100%;
  background: #0a0a0c;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  border-bottom: 1px solid #222;
  border-top: 1px solid #555;
  padding: 60px 6rem;
  padding-left: 7rem;
  padding-right: 5rem;
}

/* Left Brand Area */
.footer-left {
  flex: 1;
}

.footer-logo {
  width: 140px;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #aaa;
  line-height: 1.6;
}

/* Right side: links & contact */
.footer-right {
  display: flex;
  gap: 80px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: 24px;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  font-size: 1rem;
  text-decoration: none;
  color: #aaa;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a:hover {
  color: #fff;
}

/* optional underline effect (preserved) */
.footer-links a:hover::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #fff;
}

.footer-contact p {
  font-size: 1rem;
  margin: 15px 0;
  color: #aaa;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-contact i {
  color: #777;
  font-size: 0.9rem;
  width: 22px;
  transition: color 0.3s;
}

.footer-contact p:hover i {
  color: #fff;
}

/* bottom bar */
.footer-bottom {
  text-align: center;
  padding: 24px 20px;
  font-size: 0.85rem;
  color: #777;
  letter-spacing: 0.3px;
  border-top: none;
  background: #0a0a0c;
}

/* ========== PERFECT RESPONSIVENESS – CENTERED ON MOBILE ========== */
@media (max-width: 1024px) {
  .footer-inner {
    padding: 50px 4rem;
    gap: 50px;
  }

  .footer-right {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .footer-inner {
    flex-direction: column;
    align-items: center;
    /* center content horizontally */
    text-align: center;
    gap: 40px;
    padding: 50px 2rem;
  }

  .footer-left {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-logo {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-right {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
  }

  .footer-links,
  .footer-contact {
    text-align: center;
    width: 100%;
  }

  .footer-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .footer-contact i {
    width: auto;
  }
}

@media (max-width: 600px) {
  .footer {
    margin-top: 4rem;
  }

  .footer-inner {
    padding: 40px 1.5rem;
    gap: 32px;
  }

  .footer-logo {
    width: 120px;
  }

  .footer-tagline {
    font-size: 0.85rem;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 1.1rem;
    margin-bottom: 18px;
  }

  .footer-links li {
    margin-bottom: 12px;
  }

  .footer-links a,
  .footer-contact p {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding: 18px 16px;
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .footer-inner {
    padding: 32px 1.2rem;
  }

  .footer-contact p {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .footer-contact i {
    margin-bottom: 4px;
  }
}
