/* ======================================
   DESKTOP / MOBILE CONTENT SWITCHER
   ====================================== */

/* Desktop content - visible on desktop, hidden on mobile */
.desktop-content {
  display: block;
}

.mobile-content {
  display: none;
}

@media (max-width: 768px) {
  .desktop-content {
    display: none !important;
  }

  .mobile-content {
    display: block !important;
  }
}

/* ======================================
   MOBILE STYLES - Pixel-Perfect Figma Design
   ====================================== */

@media (max-width: 768px) {
  :root {
    --white: #ffffff;
    --accent: #ed2066;
    --main: #17181d;
    --gray-bg: #f3f3f5;
    --border: #eaeaea;
  }

  .mobile-container {
    position: relative;
    width: 100%;
    max-width: 402px;
    margin: 0 auto;
    background: var(--white);
  }

  /* Hero Section */
  .mobile-content .hero-section {
    position: relative;
    width: 100%;
    height: 770px;
    border-radius: 0 0 50px 50px;
    overflow: hidden;
  }

  .mobile-content .hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* Header */
  .mobile-content .header {
    position: absolute;
    top: 57px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 10;
  }

  .mobile-content .logo {
    width: 137px;
    height: 48px;
  }

  .mobile-content .language-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
  }

  .mobile-content .globe-icon {
    width: 16px;
    height: 16px;
  }

  .mobile-content .download-btn {
    border: 1px solid var(--white);
    border-radius: 30px;
    padding: 12px 16px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
  }

  /* Hero Content */
  .mobile-content .hero-content {
    position: absolute;
    top: 382px;
    left: 20px;
    right: 20px;
  }

  .mobile-content .hero-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    color: var(--white);
    text-align: center;
    margin-bottom: 36px;
  }

  .mobile-content .hero-stats {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    color: var(--white);
    text-align: center;
    margin-bottom: 24px;
  }

  .mobile-content .cta-button {
    background: var(--accent);
    border-radius: 30px;
    padding: 12px 16px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    margin: 0 auto;
  }

  /* About Section */
  .mobile-content .about-section {
    padding: 80px 20px 0;
  }

  .mobile-content .section-badge {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 37px;
  }

  .mobile-content .section-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    color: var(--main);
    margin-bottom: 30px;
  }

  /* Content Box */
  .mobile-content .content-box {
    background: var(--gray-bg);
    border-radius: 50px;
    padding: 34px 20px;
    margin-bottom: 10px;
  }

  .mobile-content .content-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: var(--main);
    margin-bottom: 31px;
  }

  .mobile-content .content-text:last-child {
    margin-bottom: 0;
  }

  .mobile-content .content-text-small {
    font-size: 16px;
  }

  .mobile-content .highlight-text {
    font-weight: 800;
  }

  /* Avatars */
  .mobile-content .avatars-row {
    display: flex;
    gap: 0;
    margin-bottom: 35px;
  }

  .mobile-content .avatar {
    width: 80.444px;
    height: 80.444px;
    border-radius: 50%;
    margin-left: -10px;
  }

  .mobile-content .avatar:first-child {
    margin-left: 0;
  }

  /* CTA Box */
  .mobile-content .cta-box {
    border: 1px solid var(--accent);
    border-radius: 50px;
    padding: 35px 20px;
    margin-bottom: 60px;
  }

  .mobile-content .cta-text {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: var(--main);
    margin-bottom: 33px;
  }

  /* Features Section */
  .mobile-content .features-section {
    padding: 100px 20px 0;
  }

  .mobile-content .feature-item {
    margin-bottom: 80px;
  }

  .mobile-content .phones-container {
    position: relative;
    height: 456.157px;
    margin-bottom: 40px;
  }

  /* Phone positioning */
  .mobile-content .phone-large-left {
    position: absolute;
    left: 0;
    top: 0;
    width: 222px;
    height: 456.157px;
  }

  .mobile-content .phone-small-right {
    position: absolute;
    right: 0;
    top: 46.04px;
    width: 177.188px;
    height: 364.078px;
  }

  .mobile-content .phone-image-large {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .mobile-content .phone-image-small {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  /* Reversed phones for Feature 2 */
  .mobile-content .phone-small-left {
    position: absolute;
    left: 0;
    top: 46.04px;
    width: 177.188px;
    height: 364.078px;
  }

  .mobile-content .phone-large-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 222px;
    height: 456.157px;
  }

  .mobile-content .feature-title-pink {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    color: var(--accent);
    margin-bottom: 20px;
  }

  .mobile-content .feature-description {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--main);
  }

  /* Couples Section */
  .mobile-content .couples-section {
    background: var(--gray-bg);
    border-radius: 50px;
    padding: 65px 20px;
    margin: 0 0 60px;
  }

  .mobile-content .couples-badge {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    color: var(--accent);
    margin-bottom: 37px;
  }

  .mobile-content .couples-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    color: var(--main);
    margin-bottom: 40px;
  }

  .mobile-content .couples-description {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: var(--main);
    margin-bottom: 40px;
  }

  .mobile-content .video-phones {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 456.16px;
    margin-bottom: 32px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .mobile-content .video-phones::-webkit-scrollbar {
    display: none;
  }

  .mobile-content .video-phone {
    position: relative;
    flex: 0 0 219.886px;
    width: 219.886px;
    height: 456.157px;
    scroll-snap-align: start;
  }

  .mobile-content .phone-frame {
    position: relative;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 35.238px;
  }

  .mobile-content .phone-image {
    position: absolute;
    top: 9.4px;
    left: 9.26px;
    width: 202.032px;
    height: 437.892px;
    border-radius: 28px;
    object-fit: cover;
  }

  .mobile-content .video-overlay {
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
  }

  .mobile-content .video-logo {
    width: 140px;
    height: 50px;
  }

  .mobile-content .play-button {
    position: absolute;
    bottom: 128px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: #f73f61;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
  }

  .mobile-content .play-icon {
    width: 40px;
    height: 40px;
  }

  .mobile-content .pagination-dots {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
  }

  .mobile-content .couples-pagination {
    margin-top: 0;
  }

  .mobile-content .dot {
    width: 6px;
    height: 6px;
    background: var(--main);
    border-radius: 4px;
    opacity: 0.16;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .mobile-content .dot-active {
    width: 24px;
    height: 6px;
    opacity: 1;
  }

  /* Stories Section */
  .mobile-content .stories-section {
    padding: 70px 20px;
  }

  .mobile-content .stories-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    color: var(--main);
    margin-bottom: 50px;
  }

  .mobile-content .stories-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-bottom: 20px;
    padding-right: 20px;
  }

  .mobile-content .stories-carousel::-webkit-scrollbar {
    display: none;
  }

  .mobile-content .story-card {
    position: relative;
    flex: 0 0 290px;
    width: 290px;
    height: 526px;
    scroll-snap-align: start;
  }

  .mobile-content .stories-pagination {
    margin-top: 20px;
  }

  .mobile-content .story-gradient {
    position: absolute;
    width: 290px;
    height: 526px;
    background: linear-gradient(90deg, #f3f3f5 0%, rgba(243, 243, 245, 0) 100%);
    border-radius: 50px;
  }

  .mobile-content .story-image {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 270px;
    height: 270px;
    border-radius: 40px 40px 40px 10px;
    object-fit: cover;
  }

  .mobile-content .story-name {
    position: absolute;
    top: 303px;
    left: 31px;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    color: var(--main);
  }

  .mobile-content .story-text {
    position: absolute;
    top: 339px;
    left: 31px;
    width: 220px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--main);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .mobile-content .story-read {
    position: absolute;
    top: 473px;
    left: 31px;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .mobile-content .story-read-text {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent);
  }

  .mobile-content .arrow-icon {
    width: 14px;
    height: 14px;
  }

  /* FAQ Section */
  .mobile-content .faq-section {
    padding: 70px 20px;
  }

  .mobile-content .faq-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    color: var(--main);
    margin-bottom: 70px;
  }

  .mobile-content .faq-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 56px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-content .faq-tab {
    background: var(--gray-bg);
    border-radius: 20px;
    padding: 5px 20px;
    font-family: 'SF Pro Display', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: var(--main);
    white-space: nowrap;
  }

  .mobile-content .faq-tab-active {
    background: var(--main);
    color: var(--white);
  }

  .mobile-content .faq-category-content {
    display: block;
  }

  .mobile-content .faq-category-content.hidden {
    display: none !important;
  }

  .mobile-content .faq-item {
    border-top: 1px solid var(--border);
    padding: 24px 0;
  }

  .mobile-content .faq-item:last-child {
    border-bottom: 1px solid var(--border);
  }

  .mobile-content .faq-question {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.2;
    color: var(--main);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
  }

  .mobile-content .faq-question-active {
    color: var(--accent);
  }

  .mobile-content .faq-arrow {
    width: 24px;
    height: 24px;
    transform: rotate(90deg);
    transition: transform 0.3s;
  }

  .mobile-content .faq-arrow-active {
    transform: rotate(270deg) scaleY(-1);
  }

  .mobile-content .faq-answer {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: var(--main);
    margin-top: 24px;
    display: none;
  }

  .mobile-content .faq-answer-active {
    display: block;
  }

  /* Footer Section */
  .mobile-content .footer-section {
    position: relative;
    width: 100%;
    height: 890px;
    border-radius: 50px 50px 0 0;
    overflow: hidden;
  }

  .mobile-content .footer-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .mobile-content .footer-content {
    position: relative;
    padding: 326px 20px 34px;
    z-index: 1;
  }

  .mobile-content .footer-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    color: var(--white);
    text-align: center;
    margin-bottom: 36px;
  }

  .mobile-content .footer-stats {
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    color: var(--white);
    text-align: center;
    margin-bottom: 24px;
  }

  .mobile-content .social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    margin-bottom: 32px;
  }

  .mobile-content .social-icon-wrapper {
    width: 52px;
    height: 52px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
  }

  .mobile-content .social-icon-wrapper:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
  }

  .mobile-content .social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .mobile-content .footer-links {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 1.2;
    color: var(--white);
    opacity: 0.5;
  }

  .mobile-content .footer-copyright {
    margin-bottom: 16px;
  }

  .mobile-content .footer-link {
    color: var(--white);
    text-decoration: none;
    margin-right: 24px;
  }
}

/* ======================================
   OLD MOBILE RESPONSIVE STYLES
   (Kept for compatibility)
   ====================================== */

@media (max-width: 768px) {
  /* ====================================
     БАЗОВАЯ НАСТРОЙКА
     ==================================== */

  * {
    box-sizing: border-box;
  }

  html {
    font-size: 16px;
  }

  html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #ffffff;
  }

  body {
    display: block;
  }

  .page-wrapper {
    width: 100vw;
    max-width: 100vw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
  }

  .landing-page {
    width: 100vw;
    max-width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    background-color: #ffffff;
  }

  .landing-page::before {
    display: none !important;
  }

  /* ====================================
     СКРЫТЬ ВСЕ ДЕСКТОПНЫЕ ЭЛЕМЕНТЫ
     ==================================== */

  .landing-page .phone-mockup,
  .landing-page .phone-mockup-6,
  .landing-page .phone-mockup-7,
  .landing-page .phone-mockup-8,
  .landing-page .phone-mockup-9,
  .landing-page .phone-mockup-10,
  .landing-page .phone-mockup-11,
  .landing-page .phone-mockup-12,
  .landing-page .content-box-1,
  .landing-page .content-box-2,
  .landing-page .content-box-3,
  .landing-page .content-box-4,
  .landing-page .content-box-5,
  .landing-page .content-box-6,
  .landing-page .content-box-7,
  .landing-page .vuesax-linear-task,
  .landing-page .vuesax-linear,
  .landing-page .vuesax-linear-2,
  .landing-page .vuesax-linear-edit,
  .landing-page .shield-chevron,
  .landing-page .sketch-logo,
  .landing-page .nav-about,
  .landing-page .nav-features,
  .landing-page .nav-stories,
  .landing-page .feature-title-verification,
  .landing-page .feature-desc-verification,
  .landing-page .text-wrapper-18,
  .landing-page .text-wrapper-19,
  .landing-page .text-wrapper-20,
  .landing-page .text-wrapper-21,
  .landing-page .img-3,
  .landing-page .text-wrapper-29,
  .landing-page .vector,
  .landing-page .text-wrapper-30,
  .landing-page .text-wrapper-31,
  .landing-page .text-wrapper-32,
  .landing-page .text-wrapper-33,
  .landing-page .text-wrapper-34,
  .landing-page .text-wrapper-35,
  .landing-page .text-wrapper-36,
  .landing-page .text-wrapper-37,
  .landing-page .vuesax-linear-arrow-wrapper,
  .landing-page .img-wrapper,
  .landing-page .video-carousel-next-btn,
  .landing-page .video-carousel-prev-btn,
  .landing-page .carousel-prev-btn,
  .landing-page .carousel-next-btn {
    display: none !important;
  }

  /* ====================================
     HERO SECTION (0-770px)
     ==================================== */

  /* Фоновое изображение героя */
  .landing-page .hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 770px;
    border-radius: 0 0 50px 50px;
    object-fit: cover;
    z-index: 1;
    content: url('images/mobile/rectangle-592-mobile.webp');
  }

  /* Логотип */
  .landing-page .logo-image {
    position: absolute;
    top: 57px;
    left: 50%;
    transform: translateX(-50%);
    width: 137px;
    height: 48px;
    z-index: 10;
  }

  /* Кнопка "Скачать" */
  .landing-page .view-wrapper {
    position: absolute;
    top: 61px;
    right: 20px;
    left: auto;
    width: 104px;
    height: 40px;
    padding: 12px 16px;
    border-radius: 30px;
    border: 1px solid #ffffff;
    background: transparent;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .landing-page .btn-text-download {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 16.8px;
    color: #ffffff;
  }

  /* Селектор языка */
  .landing-page .language-selector {
    position: absolute;
    top: 71px;
    left: 193px;
    width: auto;
    height: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .landing-page .vuesax-linear-global {
    width: 16px;
    height: 16px;
  }

  .landing-page .text-wrapper-24 {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 20px;
    color: #ffffff;
  }

  /* Заголовок героя */
  .landing-page .hero-subtitle {
    position: absolute;
    top: 382px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43.2px;
    letter-spacing: -1.08px;
    text-align: center;
    color: #ffffff;
    z-index: 5;
  }

  /* Текст "Более 40 000 пользователей" */
  .landing-page .p {
    position: absolute;
    top: 596px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 21.6px;
    text-align: center;
    color: #ffffff;
    z-index: 5;
  }

  /* Кнопка "Создать анкету" в героя */
  .landing-page .view {
    position: absolute;
    top: 690px;
    left: 20px;
    width: 362px;
    height: 60px;
    border-radius: 30px;
    background-color: #ed2066;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }

  .landing-page .view .btn-text-create {
    font-family: "SF Pro Display", sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 21.6px;
    color: #ffffff;
  }

  /* ====================================
     ABOUT SECTION (850-1539px)
     ==================================== */

  /* Бейдж "Что такое Zawajy?" */
  .landing-page .about-badge {
    position: absolute;
    top: 850px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 26px;
    color: #ed2066;
    text-align: left;
    z-index: 5;
  }

  /* Заголовок "Здесь мусульмане встречают свою любовь" */
  .landing-page .div {
    position: absolute;
    top: 887px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43.2px;
    letter-spacing: -1.08px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* Серый фон */
  .landing-page .about-info-box {
    position: absolute;
    top: 1053px;
    left: 0;
    width: 100vw;
    height: 476px;
    background-color: #f3f3f5;
    border-radius: 50px;
    z-index: 1;
  }

  /* Описание приложения */
  .landing-page .about-description {
    position: absolute;
    top: 1087px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* Аватары */
  .landing-page .avatar-1,
  .landing-page .avatar-2,
  .landing-page .avatar-3,
  .landing-page .avatar-4,
  .landing-page .avatar-5 {
    position: absolute;
    top: 1261.78px;
    width: 80.44px;
    height: 80.44px;
    border-radius: 50%;
    border: 3px solid #ffffff;
    object-fit: cover;
    z-index: 5;
  }

  .landing-page .avatar-5 {
    left: 20px;
    content: url('images/mobile/ellipse-125-mobile.webp');
  }

  .landing-page .avatar-4 {
    left: 90.39px;
    content: url('images/mobile/ellipse-128-mobile.webp');
  }

  .landing-page .avatar-3 {
    left: 160.78px;
    content: url('images/mobile/ellipse-127-mobile.webp');
  }

  .landing-page .avatar-2 {
    left: 231.17px;
    content: url('images/mobile/ellipse-126-mobile.webp');
  }

  .landing-page .avatar-1 {
    left: 301.56px;
    content: url('images/mobile/ellipse-124-mobile.webp');
  }

  /* Миссия */
  .landing-page .about-mission {
    position: absolute;
    top: 1377px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* ====================================
     CTA SECTION (1539-1763px)
     ==================================== */

  .landing-page .rectangle-20 {
    position: absolute;
    top: 1539px;
    left: 0;
    width: 100vw;
    height: 224px;
    border-radius: 50px;
    border: 1px solid #ed2066;
    background: transparent;
    z-index: 1;
  }

  .landing-page .div-2 {
    position: absolute;
    top: 1594px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 25.2px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  .landing-page .view-3 {
    position: absolute;
    top: 1721px;
    left: 20px;
    width: 362px;
    height: 60px;
    background-color: #ed2066;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
  }

  /* ====================================
     FEATURES SECTION (1843-4442px)
     ==================================== */

  /* Заголовок секции */
  .landing-page .feature-title-app {
    position: absolute;
    top: 1843px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 26px;
    color: #ed2066;
    text-align: left;
    z-index: 5;
  }

  .landing-page .about-subtitle {
    position: absolute;
    top: 1880px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43.2px;
    letter-spacing: -1.08px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* PHONE MOCKUPS - FEATURE 1 */
  .landing-page .phone-mockup-2 {
    position: absolute;
    top: 2076px;
    left: 20px;
    width: 220px;
    height: 456px;
    display: block !important;
    z-index: 5;
  }

  .landing-page .phone-mockup-2 .iphone-frame-2 {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .landing-page .phone-mockup-2 .img-2 {
    position: absolute;
    top: 9.4px;
    left: 9.28px;
    width: 202px;
    height: 437.89px;
    border-radius: 30px;
    object-fit: cover;
    content: url('images/mobile/image-phone1.webp');
  }

  .landing-page .phone-mockup-3 {
    position: absolute;
    top: 2122px;
    left: 205px;
    width: 175.5px;
    height: 364px;
    display: block !important;
    z-index: 5;
  }

  .landing-page .phone-mockup-3 .iphone-frame {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .landing-page .phone-mockup-3 .img {
    position: absolute;
    top: 7.5px;
    left: 7.41px;
    width: 161.25px;
    height: 349.5px;
    border-radius: 25px;
    object-fit: cover;
    content: url('images/mobile/telegram-cloud-1.webp');
  }

  /* Feature 1: "Все в рамках шариата" */
  .landing-page .feature-title-sharia {
    position: absolute;
    top: 2572.16px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 33.6px;
    color: #ed2066;
    text-align: left;
    z-index: 5;
  }

  .landing-page .feature-desc-witness {
    position: absolute;
    top: 2664.16px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* PHONE MOCKUPS - FEATURE 2 (нужно добавить в HTML если нет) */

  /* Feature 2: "Фильтры по мазхабу" */
  .landing-page .feature-title-filters {
    position: absolute;
    top: 3376.31px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 33.6px;
    color: #ed2066;
    text-align: left;
    z-index: 5;
  }

  .landing-page .feature-desc-filters {
    position: absolute;
    top: 3504.31px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* PHONE MOCKUPS - FEATURE 3 */
  .landing-page .phone-mockup-4 {
    position: absolute;
    top: 3720px;
    left: 20px;
    width: 220px;
    height: 456px;
    display: block !important;
    z-index: 5;
  }

  .landing-page .phone-mockup-4 .iphone-frame-2 {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .landing-page .phone-mockup-4 .image {
    position: absolute;
    top: 9.4px;
    left: 9.28px;
    width: 202px;
    height: 437.89px;
    border-radius: 30px;
    object-fit: cover;
    content: url('images/mobile/image-1.webp');
  }

  .landing-page .phone-mockup-5 {
    position: absolute;
    top: 3766px;
    left: 205px;
    width: 175.5px;
    height: 364px;
    display: block !important;
    z-index: 5;
  }

  .landing-page .phone-mockup-5 .iphone-frame {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .landing-page .phone-mockup-5 .img {
    position: absolute;
    top: 7.5px;
    left: 7.41px;
    width: 161.25px;
    height: 349.5px;
    border-radius: 25px;
    object-fit: cover;
    content: url('images/mobile/image-2.webp');
  }

  /* Feature 3: "Возможность не отображать фотографии" */
  .landing-page .feature-title-photos {
    position: absolute;
    top: 4216.47px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 33.6px;
    color: #ed2066;
    text-align: left;
    z-index: 5;
  }

  .landing-page .feature-desc-photos {
    position: absolute;
    top: 4308.31px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* ====================================
     VIDEO SECTION (4482-5376px)
     ==================================== */

  .landing-page .social-links {
    position: absolute;
    top: 4482px;
    left: 0;
    width: 100vw;
    height: 894px;
    z-index: 1;
  }

  .landing-page .rectangle-10 {
    position: absolute;
    top: 4482px;
    left: 0;
    width: 100vw;
    height: 894px;
    background-color: #f3f3f5;
    border-radius: 50px;
    z-index: 1;
  }

  .landing-page .text-wrapper-27 {
    position: absolute;
    top: 4537px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 26px;
    color: #ed2066;
    text-align: left;
    z-index: 5;
  }

  .landing-page .text-wrapper-26 {
    position: absolute;
    top: 4584px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43.2px;
    letter-spacing: -1.08px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  .landing-page .text-wrapper-25 {
    position: absolute;
    top: 4718px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 22.4px;
    color: #17181d;
    text-align: left;
    z-index: 5;
  }

  /* Video carousel - горизонтальный скролл */
  .landing-page .video-carousel-wrapper {
    position: absolute;
    top: 4878px;
    left: 0;
    width: 100vw;
    height: 456px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    z-index: 5;
  }

  .landing-page .video-carousel-track {
    display: flex;
    gap: 24px;
    padding: 0 20px;
  }

  /* ====================================
     STORIES SECTION (5436-6068px)
     ==================================== */

  .landing-page .stories-container {
    position: absolute !important;
    top: 5436px !important;
    left: 0 !important;
    width: 100vw !important;
    height: 632px !important;
    z-index: 1 !important;
  }

  .landing-page .text-wrapper-42 {
    position: absolute !important;
    top: 0 !important;
    left: 20px !important;
    width: 362px !important;
    font-family: "Manrope", sans-serif !important;
    font-weight: 300 !important;
    font-size: 36px !important;
    line-height: 43.2px !important;
    letter-spacing: -1.08px !important;
    color: #17181d !important;
    text-align: left !important;
    z-index: 5 !important;
  }

  .landing-page .carousel-track-wrapper {
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100vw !important;
    height: 526px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    z-index: 5 !important;
  }

  .landing-page .carousel-track-wrapper::before,
  .landing-page .carousel-track-wrapper::after {
    display: none !important;
  }

  .landing-page .carousel-track {
    display: flex !important;
    gap: 10px !important;
    padding: 0 20px !important;
  }

  /* ====================================
     FAQ SECTION (6118px+)
     ==================================== */

  .faq-footer-wrapper {
    position: relative;
    width: 100vw;
    padding: 0;
    margin-top: 6118px;
  }

  .faq-footer-wrapper .faq-section {
    position: relative !important;
    width: 100%;
    padding: 0 20px;
    margin: 0;
  }

  .landing-page .text-wrapper-48 {
    position: relative;
    width: 100%;
    max-width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43.2px;
    letter-spacing: -1.08px;
    color: #17181d;
    margin-bottom: 30px;
  }

  .landing-page .faq-category-wrapper {
    width: 100%;
  }

  .landing-page .faq-item-wrapper {
    width: 100%;
  }

  .landing-page .faq-question {
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 16px;
    line-height: 19.2px;
    color: #17181d;
  }

  .landing-page .faq-answer {
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 19.6px;
    color: #17181d;
  }

  /* ====================================
     FOOTER SECTION
     ==================================== */

  .faq-footer-wrapper .feature-element-4 {
    position: relative !important;
    width: 100vw;
    height: 890px;
    margin: 60px 0 0 0;
  }

  .landing-page .rectangle-11 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 890px;
    border-radius: 50px 50px 0 0;
    object-fit: cover;
  }

  .landing-page .zawajy-5 {
    position: absolute;
    top: 107px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 43.2px;
    letter-spacing: -1.08px;
    color: #ffffff;
    text-align: center;
  }

  .landing-page .text-wrapper-28 {
    position: absolute;
    top: 331px;
    left: 20px;
    width: 362px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 21.6px;
    color: #ffffff;
    text-align: center;
  }

  .landing-page .view-2 {
    position: absolute;
    top: 425px;
    left: 20px;
    width: 362px;
    height: 60px;
    background-color: #ed2066;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Социальные ссылки */
  .landing-page .footer-links {
    position: absolute;
    top: 525px;
    left: 20px;
    width: 362px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
  }

  .landing-page .footer-links a {
    position: relative !important;
    width: 52px;
    height: 52px;
  }

  .landing-page .rectangle-12,
  .landing-page .rectangle-13,
  .landing-page .rectangle-14,
  .landing-page .rectangle-15,
  .landing-page .rectangle-16,
  .landing-page .rectangle-17,
  .landing-page .rectangle-18,
  .landing-page .rectangle-19 {
    position: relative !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 30px;
  }

  .landing-page .social-icon,
  .landing-page .facebook-negative,
  .landing-page .instagram-negative,
  .landing-page .telegram-negative,
  .landing-page .tiktok-negative,
  .landing-page .youtube-negative,
  .landing-page .frame,
  .landing-page .ru,
  .landing-page .twitter {
    position: absolute !important;
    top: 16px !important;
    left: 16px !important;
    width: 20px !important;
    height: 20px !important;
  }

  /* Footer bottom text */
  .landing-page .feature-element-5 {
    position: absolute;
    top: 617px;
    left: 20px;
    width: 324px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    opacity: 0.5;
  }

  .landing-page .text-wrapper-38,
  .landing-page .text-wrapper-39,
  .landing-page .text-wrapper-40 {
    position: relative !important;
    width: 100% !important;
    font-family: "Manrope", sans-serif;
    font-weight: 700;
    font-size: 10px;
    line-height: 14px;
    color: #ffffff;
    text-align: left;
  }

  /* ====================================
     STORIES SECTION - Созданные семьи
     ==================================== */

  .stories-section {
    padding: 60px 0 40px;
    background-color: #ffffff;
    overflow-x: auto;
    overflow-y: visible;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .stories-section::-webkit-scrollbar {
    display: none;
  }

  .stories-title {
    font-family: "Manrope", sans-serif;
    font-weight: 300;
    font-size: 36px;
    line-height: 1.2;
    letter-spacing: -1.08px;
    color: #17181d;
    margin: 0 0 30px 20px;
    padding: 0;
    white-space: normal;
    display: block;
  }

  /* Story card - точная копия из Figma */
  .stories-section .story-card {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 290px;
    height: 526px;
    margin-right: 10px;
    border-radius: 50px;
    overflow: visible;
    white-space: normal;
  }

  .stories-section .story-card:first-of-type {
    margin-left: 20px;
  }

  .stories-section .story-card:last-of-type {
    margin-right: 20px;
  }

  /* Градиент поверх всей карточки */
  .story-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 290px;
    height: 526px;
    background: linear-gradient(90deg, #f3f3f5 0%, rgba(243, 243, 245, 0) 100%);
    border-radius: 50px;
    pointer-events: none;
    z-index: 1;
  }

  /* Фото внутри карточки */
  .story-image {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 270px;
    height: 270px;
    object-fit: cover;
    border-radius: 40px 40px 40px 10px;
    display: block;
    z-index: 0;
  }

  /* Имя пары */
  .story-name {
    position: absolute;
    top: 297px;
    left: 30px;
    width: 220px;
    font-family: "Manrope", sans-serif;
    font-weight: 800;
    font-size: 18px;
    line-height: 1.2;
    color: #17181d;
    margin: 0;
    z-index: 2;
    white-space: normal;
  }

  /* Текст истории */
  .story-text {
    position: absolute;
    top: 333px;
    left: 30px;
    width: 220px;
    height: 122px;
    font-family: "Manrope", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.4;
    color: #17181d;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    z-index: 2;
    white-space: normal;
  }

  /* Кнопка "Читать" */
  .story-read {
    position: absolute;
    top: 467px;
    left: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    z-index: 2;
  }

  .story-read-text {
    font-family: "Manrope", sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    color: #ed2066;
  }

  .story-read .arrow-icon {
    width: 14px;
    height: 14px;
    object-fit: contain;
  }

  /* Pagination dots */
  .pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 20px;
    white-space: normal;
  }

  .pagination-dots .dot {
    width: 6px;
    height: 6px;
    border-radius: 4px;
    background-color: #17181d;
    opacity: 0.16;
  }

  .pagination-dots .dot.dot-active {
    width: 24px;
    height: 6px;
    opacity: 1;
  }

  /* ====================================
     DESKTOP HTML ADAPTATION - index.html
     Адаптация для классов из index.html
     ==================================== */

  /* Скрыть кнопки карусели на мобильных */
  .carousel-prev-btn,
  .carousel-next-btn {
    display: none !important;
  }

  /* Stories container - для desktop HTML */
  .landing-page .stories-container {
    position: absolute !important;
    top: 5436px !important;
    left: 0 !important;
    width: 100vw !important;
    height: 632px !important;
    z-index: 1 !important;
  }

  /* Carousel track wrapper - горизонтальный скролл */
  .landing-page .carousel-track-wrapper {
    position: absolute !important;
    top: 70px !important;
    left: 0 !important;
    width: 100vw !important;
    height: 526px !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    white-space: nowrap !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .carousel-track-wrapper::-webkit-scrollbar {
    display: none !important;
  }

  .carousel-track {
    display: inline-flex !important;
    gap: 10px !important;
    padding: 0 20px !important;
    white-space: nowrap !important;
  }

  /* Story cards - desktop classes */
  .story-card-1,
  .story-card-2,
  .story-card-3,
  .story-card-4 {
    position: relative !important;
    display: inline-block !important;
    vertical-align: top !important;
    width: 290px !important;
    height: 526px !important;
    margin: 0 !important;
    border-radius: 50px !important;
    overflow: visible !important;
    white-space: normal !important;
    flex-shrink: 0 !important;
  }

  /* Gradient background */
  .image-2 {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 290px !important;
    height: 526px !important;
    background: linear-gradient(90deg, #f3f3f5 0%, rgba(243, 243, 245, 0) 100%) !important;
    border-radius: 50px !important;
    pointer-events: none !important;
    z-index: 1 !important;
  }

  /* Story image */
  .image-3 {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    width: 270px !important;
    height: 270px !important;
    object-fit: cover !important;
    border-radius: 40px 40px 40px 10px !important;
    display: block !important;
    z-index: 0 !important;
  }

  /* Story text */
  .text-wrapper-43 {
    position: absolute !important;
    top: 333px !important;
    left: 30px !important;
    width: 220px !important;
    height: 122px !important;
    font-family: "Manrope", sans-serif !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: #17181d !important;
    margin: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 6 !important;
    -webkit-box-orient: vertical !important;
    z-index: 2 !important;
    white-space: normal !important;
  }

  /* Story name */
  .text-wrapper-44 {
    position: absolute !important;
    top: 297px !important;
    left: 30px !important;
    width: 220px !important;
    font-family: "Manrope", sans-serif !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
    color: #17181d !important;
    margin: 0 !important;
    z-index: 2 !important;
    white-space: normal !important;
  }

  /* Read button */
  .story-read-btn {
    position: absolute !important;
    top: 467px !important;
    left: 30px !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    z-index: 2 !important;
  }

  .text-wrapper-45 {
    font-family: "Manrope", sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    color: #ed2066 !important;
  }

  .story-read-btn .arrow-up-right {
    width: 14px !important;
    height: 14px !important;
    object-fit: contain !important;
  }
}
