/*=============================================
=            Mockup Section                   =
=============================================*/
.mockup-section {
  background-color: #f5f5f5;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 200px 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
}

.mockup-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.mockup-title {
  font-family: 'Vinila', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #020202;
  margin: 0 0 0.75rem;
  line-height: 2.5rem;
}

.mockup-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  color: #797979;
  font-weight: 575;
  margin: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.device-showcase {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 700px;
}

.mockup-image {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}

/*=============================================
=            Floating Logos                   =
=============================================*/

.floating-logo {
  position: absolute;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  top: 50%; left: 50%;
  z-index: 20;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.3);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* iOS Safari fixes */
  -webkit-transform: translate(-50%, -50%) scale(0.3);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
}

.floating-logo.logo-shoot { opacity: 1; }

.floating-logo img {
  width: 100%; height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.floating-logo.logo-1 { 
  border-radius: 50%; 
  -webkit-border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, white);
}
.floating-logo.logo-1 img { object-fit: cover; }

.floating-logo.logo-2 { 
  border-radius: 15%; 
  -webkit-border-radius: 15%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, white);
}

.floating-logo.logo-4 { 
  border-radius: 15%; 
  -webkit-border-radius: 15%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, white);
}

.floating-logo.logo-6 { 
  border-radius: 50%; 
  -webkit-border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, white);
}
.floating-logo.logo-6 img { object-fit: cover; }

.floating-logo.logo-8 { 
  border-radius: 50%; 
  -webkit-border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, white);
}

.floating-logo.logo-9.logo-shoot { 
  border-radius: 50%; 
  -webkit-border-radius: 50%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, white);
}
.floating-logo.logo-9 img { object-fit: cover; }

.floating-logo.logo-10 { 
  border-radius: 15%; 
  -webkit-border-radius: 15%;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(white, white);
}

.floating-logo.logo-small { width: 60px; height: 60px; }
.floating-logo.logo-medium { width: 75px; height: 75px; }
.floating-logo.logo-large { width: 90px; height: 90px; }

.logo-1.logo-shoot { 
  transform: translateX(-250%) translateY(-220%) rotate(-2deg);
  -webkit-transform: translateX(-250%) translateY(-220%) rotate(-2deg);
}
.logo-2.logo-shoot { 
  transform: translateX(140%) translateY(120%) rotate(4deg);
  -webkit-transform: translateX(140%) translateY(120%) rotate(4deg);
}
.logo-3.logo-shoot { 
  transform: translateX(-300%) translateY(-115%) rotate(-10deg);
  -webkit-transform: translateX(-300%) translateY(-115%) rotate(-10deg);
}
.logo-4.logo-shoot { 
  transform: translateX(-260%) translateY(180%) rotate(-16deg);
  -webkit-transform: translateX(-260%) translateY(180%) rotate(-16deg);
}
.logo-5.logo-shoot { 
  transform: translateX(310%) translateY(-200%) rotate(-10deg);
  -webkit-transform: translateX(310%) translateY(-200%) rotate(-10deg);
}
.logo-6.logo-shoot { 
  transform: translateX(125%) translateY(-350%);
  -webkit-transform: translateX(125%) translateY(-350%);
}
.logo-7.logo-shoot { 
  transform: translateX(250%) translateY(-90%);
  -webkit-transform: translateX(250%) translateY(-90%);
}
.logo-8.logo-shoot { 
  transform: translateX(-100%) translateY(-540%) rotate(-6deg);
  -webkit-transform: translateX(-100%) translateY(-540%) rotate(-6deg);
}
.logo-9.logo-shoot { 
  transform: translateX(355%) translateY(0%);
  -webkit-transform: translateX(355%) translateY(0%);
}
.logo-10.logo-shoot { 
  transform: translateX(-352%) translateY(-385%) rotate(4deg);
  -webkit-transform: translateX(-352%) translateY(-385%) rotate(4deg);
}

/*=============================================
=            Features Section                 =
=============================================*/

.features-section {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #000;
}

.features-section .scroll-area { height: 600vh; width: 100%; }

.features-fixed-content {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}

.features-fixed-content.is-fixed {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100vh;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.features-fixed-content.is-absolute-bottom {
  position: absolute;
  top: auto; bottom: 0; left: 0;
  width: 100%; height: 100vh;
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.features-inner {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  position: relative;
}

/*=============================================
=            Center Content                   =
=============================================*/

.center-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
  position: relative;
}

.eyebrow-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.eyebrow-container.visible { opacity: 1; transform: translateY(0); }

.eyebrow-chip {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 16px;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.eyebrow-line {
  width: 1px; height: 40px;
  margin: 16px auto 0;
  border-left: 1px dashed rgba(255, 255, 255, 0.4);
}

.main-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px 0 0;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}

.main-title.visible { opacity: 1; transform: translateY(0); }

.main-title .title-line {
  font-family: 'Vinila', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

/*=============================================
=            Floating Items                   =
=============================================*/

.floating-item {
  position: absolute;
  top: 50%;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.5s;
}

.floating-item-left { left: 8%; transform: translateY(calc(-50% + 100px)); }
.floating-item-right { right: 8%; left: auto; transform: translateY(calc(-50% + 100px)); }

.floating-item.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
}

.floating-item.exited {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.5s;
}

.floating-item-left.exited { transform: translateY(calc(-50% - 100px)); }
.floating-item-right.exited { transform: translateY(calc(-50% - 100px)); }

/*=============================================
=            Stat Card                        =
=============================================*/

.stat-card {
  background: transparent;
  padding: 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  max-width: 380px;
}

.stat-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  color: #ffffff;
  font-size: 1.3rem;
}

.stat-content h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 8px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.stat-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  line-height: 1.6;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  max-width: 320px;
}

/*=============================================
=            Floating Card                    =
=============================================*/

.floating-card {
  background: transparent;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  max-width: 380px;
}

.floating-card-link {
  text-decoration: none;
  cursor: pointer;
}

.floating-card-link:hover .floating-card-image { border-radius: 50%; }
.floating-card-link:hover .floating-card-image img { transform: scale(1.1); }

.floating-card-image {
  width: 110px; height: 110px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.1);
}

.floating-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.floating-card-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding-top: 0;
}

.card-category {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.7);
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  width: fit-content;
}

.floating-card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin: 0;
}

.floating-card-description {
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 0;
  max-width: 280px;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.meta-dot { opacity: 0.5; }

/*=============================================
=            CTA Mockup Section              =
=============================================*/

.cta-mockup-section {
  background-color: #000;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 60px 40px;
  margin-top: -100px;
}

.cta-mockup-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-mockup-container.visible { opacity: 1; transform: translateY(0); }

.cta-mockup-image { width: 100%; max-width: 350px; margin: 0; }

.cta-mockup-image img {
  width: 100%; height: auto;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(226, 254, 169, 0.15));
}

.cta-mockup-title {
  font-family: 'Vinila', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0;
  line-height: 1;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cta-mockup-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
  margin: 0;
  max-width: 500px;
  line-height: 1.6;
  margin-bottom: -50px;
}

/* =========================================================================
   MOBILE (≤ 700px)
   ========================================================================= */
@media (max-width: 700px) {
  .mockup-section { padding: 120px 20px 40px; margin-top: 30px; }
  .mockup-title { font-size: clamp(1.4rem, 8vw + 0.5rem, 1.8rem); line-height: 1.2; margin-bottom: 1rem; }
  .mockup-subtitle { font-size: clamp(0.8rem, 4vw + 0.2rem, 1rem); line-height: 1.5; }
  .device-showcase { min-height: 500px; padding: 40px 0; }
  .mockup-image { max-width: 220px; }
  
  .floating-logo.logo-small { width: 45px; height: 45px; }
  .floating-logo.logo-medium { width: 55px; height: 55px; }
  .floating-logo.logo-large { width: 70px; height: 70px; }
  
  .logo-1.logo-shoot { transform: translateX(-220%) translateY(-180%) rotate(-2deg); }
  .logo-2.logo-shoot { transform: translateX(120%) translateY(100%) rotate(4deg); }
  .logo-3.logo-shoot { transform: translateX(-220%) translateY(-100%) rotate(-10deg); }
  .logo-4.logo-shoot { transform: translateX(-200%) translateY(150%) rotate(-16deg); }
  .logo-5.logo-shoot { transform: translateX(250%) translateY(-180%) rotate(-10deg); }
  .logo-6.logo-shoot { transform: translateX(100%) translateY(-280%); }
  .logo-7.logo-shoot { transform: translateX(200%) translateY(-80%); }
  .logo-8.logo-shoot { transform: translateX(-80%) translateY(-500%) rotate(-6deg); }
  .logo-9.logo-shoot { transform: translateX(280%) translateY(0%); }
  .logo-10.logo-shoot { transform: translateX(-280%) translateY(-320%) rotate(4deg); }

  .features-section .scroll-area { height: auto; }
  
  .features-fixed-content {
    position: relative !important;
    height: auto;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background: #000;
  }
  
  .features-inner { min-height: auto; padding: 60px 20px; display: flex; flex-direction: column; align-items: center; gap: 40px; }
  
  .eyebrow-container { opacity: 0; transform: translateY(-20px); transition: opacity 0.8s ease, transform 0.8s ease; }
  .eyebrow-container.mobile-visible { opacity: 1; transform: translateY(0); }
  .eyebrow-chip { font-size: 0.65rem; padding: 6px 14px; }
  .eyebrow-line { height: 30px; margin: 12px auto 0; }
  
  .main-title { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease 0.2s, transform 0.8s ease 0.2s; margin: 15px 0 20px; }
  .main-title.mobile-visible { opacity: 1; transform: translateY(0); }
  .main-title .title-line { font-size: clamp(2rem, 8vw + 0.5rem, 2.8rem); line-height: 1.1; }
  
  .floating-item {
    position: relative !important;
    left: auto !important; right: auto !important; top: auto !important;
    width: 100%; max-width: 100%;
    margin-bottom: 35px;
    opacity: 0;
    transform: translateY(30px);
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0.6s;
  }
  
  .floating-item.mobile-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s 0s;
  }
  
  .stat-card { flex-direction: column; align-items: center; text-align: center; max-width: 100%; gap: 15px; }
  .stat-icon { width: 48px; height: 48px; font-size: 1.1rem; }
  .stat-content h3 { font-size: clamp(1.4rem, 6vw + 0.3rem, 1.8rem); text-align: center; }
  .stat-content p { font-size: clamp(0.75rem, 3.5vw + 0.2rem, 0.85rem); max-width: 100%; text-align: center; }
  
  .floating-card { flex-direction: column; align-items: center; text-align: center; max-width: 100%; gap: 15px; }
  .floating-card-image { width: 100px; height: 100px; }
  .floating-card-content { align-items: center; }
  .card-category { font-size: 0.6rem; }
  .floating-card-title { font-size: clamp(1rem, 4.5vw + 0.2rem, 1.2rem); text-align: center; }
  .floating-card-description { font-size: clamp(0.8rem, 3.5vw + 0.15rem, 0.9rem); max-width: 100%; text-align: center; }
  .card-meta { font-size: 0.7rem; justify-content: center; }
  
  .cta-mockup-section { min-height: auto; padding: 60px 20px; margin-top: 0; }
  .cta-mockup-container { gap: 20px; }
  .cta-mockup-image { max-width: 280px; }
  .cta-mockup-title { font-size: clamp(2rem, 8vw + 0.5rem, 2.5rem); white-space: normal; line-height: 1.1; }
  .cta-mockup-subtitle { font-size: clamp(0.9rem, 4vw + 0.2rem, 1rem); line-height: 1.5; margin-bottom: -30px; }
}

/* =========================================================================
   PORTRAIT TABLETS (701px - 1000px)
   ========================================================================= */
@media (min-width: 701px) and (max-width: 1000px) {
  .floating-item-left { left: 2%; }
  .floating-item-right { right: 2%; }
  
  .stat-card, .floating-card { max-width: 230px; gap: 15px; }
  .stat-icon { width: 42px; height: 42px; font-size: 1rem; }
  .stat-content h3 { font-size: 1.15rem; margin-bottom: 6px; }
  .stat-content p { font-size: 0.65rem; max-width: 220px; line-height: 1.5; }
  
  .floating-card { gap: 15px; }
  .floating-card-image { width: 80px; height: 80px; }
  .floating-card-content { gap: 8px; }
  .card-category { font-size: 0.55rem; padding: 4px 10px; }
  .floating-card-title { font-size: 0.9rem; line-height: 1.3; }
  .floating-card-description { font-size: 0.7rem; max-width: 200px; line-height: 1.4; }
  .card-meta { font-size: 0.6rem; gap: 6px; }
  
  .eyebrow-chip { font-size: 0.6rem; padding: 6px 12px; }
  .eyebrow-line { height: 35px; }
  .main-title { margin: 15px 0 0; }
  .main-title .title-line { font-size: 1.9rem; line-height: 1; }
}

/* =========================================================================
   LANDSCAPE TABLETS & SMALL LAPTOPS (1001px - 1400px)
   ========================================================================= */
@media (min-width: 1001px) and (max-width: 1400px) {
  .floating-item-left { left: clamp(2%, 6% - 0.4vw, 4%); }
  .floating-item-right { right: clamp(2%, 6% - 0.4vw, 4%); }
  
  .stat-card, .floating-card { max-width: clamp(320px, 220px + 10vw, 380px); }
  .stat-icon { width: clamp(50px, 42px + 1vw, 56px); height: clamp(50px, 42px + 1vw, 56px); font-size: clamp(1.15rem, 0.95rem + 0.2vw, 1.3rem); }
  .stat-content h3 { font-size: clamp(1.5rem, 1.1rem + 0.5vw, 1.8rem); }
  .stat-content p { font-size: clamp(0.75rem, 0.65rem + 0.15vw, 0.8rem); max-width: clamp(300px, 220px + 8vw, 320px); }
  
  .floating-card-image { width: clamp(100px, 90px + 1vw, 110px); height: clamp(100px, 90px + 1vw, 110px); }
  .floating-card-title { font-size: clamp(1.05rem, 0.9rem + 0.2vw, 1.15rem); }
  .floating-card-description { font-size: clamp(0.8rem, 0.7rem + 0.15vw, 0.85rem); max-width: clamp(260px, 200px + 6vw, 280px); }
  .card-category { font-size: clamp(0.62rem, 0.52rem + 0.1vw, 0.65rem); padding: clamp(4px, 2px + 0.2vw, 5px) clamp(11px, 9px + 0.3vw, 12px); }
  .card-meta { font-size: clamp(0.72rem, 0.62rem + 0.1vw, 0.75rem); }
  
  .main-title .title-line { font-size: clamp(2rem, 2rem + 0.6vw, 3rem); }
  .eyebrow-chip { font-size: clamp(0.67rem, 0.57rem + 0.1vw, 0.7rem); }
}