:root {
    --primary-green: #00C967;
    --primary-blue: #3182e4;
    --dark-gray: #5a5a5a;
    --dark-bg: #0a0a0a;
    --light-bg: #f8f9fa;
    --card-bg: #ffffff;
    --text-dark: #707070;
    --text-darker: #2D302C;
    --text-light: #6c757d;
    --text-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: 
        linear-gradient(195deg, #c8f4e3 0%, #e8f9f3 300px, #ffffff 550px),
        linear-gradient(180deg, transparent 0%, transparent 300px, #ffffff 600px);
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    opacity: 0;
    transition: opacity 2s ease;
    pointer-events: none;
    z-index: 15;
}

body.dark-section-active::before {
    opacity: 1;
}

body.dark-section-active .how-it-works .section-title {
    color: var(--text-dark);
}

body.dark-section-active .how-it-works .highlight-green {
    color: var(--primary-green);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: inherit;
}

.header {
    background: transparent;
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--card-bg);
    border-radius: 50px;
    padding: 6px 18px;
    box-shadow: var(--shadow);
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

/* Scrolled state - even smaller header */
.header.scrolled .header-content {
    padding: 4px 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 16px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Scrolled state - smaller logo */
.header.scrolled .logo img {
    height: 12px;
}

/* Scrolled state - even smaller sign-in button */
.header.scrolled .sign-in-btn {
    padding: 5px 14px;
    font-size: 12px;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 35px;
        margin-left: auto;
        margin-right: 20px;
    }
    
    .nav-link {
        color: var(--text-dark);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: color 0.3s ease;
        white-space: nowrap;
        display: inline-flex;
        align-items: center;
        line-height: 1;
    }
    
    .nav-link:hover {
        color: var(--primary-green);
    }
}

.hamburger-menu {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    font-size: 24px;
    color: var(--text-dark);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 769px) {
    .hamburger-menu {
        display: none;
    }
}

.hamburger-menu:hover {
    color: var(--primary-green);
    transform: translate(-50%, -50%) scale(1.1);
}

.hamburger-menu:active {
    transform: translate(-50%, -50%) scale(0.95);
}

.hamburger-icon,
.close-icon {
    display: block;
    line-height: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: 300;
    font-size: 18px;
}

.close-icon {
    opacity: 0;
    pointer-events: none;
}

.hamburger-menu.active .hamburger-icon {
    opacity: 0;
}

.hamburger-menu.active .close-icon {
    opacity: 1;
}

.sign-in-btn {
    padding: 7px 18px;
    background: #707070;
    color: var(--text-white);
    text-decoration: none;
    border: none;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sign-in-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.sign-in-btn:hover::before {
    width: 200px;
    height: 200px;
}

.sign-in-btn:hover {
    background: #5a5a5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 112, 112, 0.4);
}

.sign-in-btn:active {
    transform: translateY(0);
}

.dropdown-menu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 30px 20px;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 160px;
    width: 90%;
}

.dropdown-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.dropdown-link {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(-10px);
}

.dropdown-menu.active .dropdown-link {
    animation: dropdownFadeIn 0.4s ease-out forwards;
}

.dropdown-menu.active .dropdown-link:nth-child(1) { animation-delay: 0.05s; }
.dropdown-menu.active .dropdown-link:nth-child(2) { animation-delay: 0.1s; }
.dropdown-menu.active .dropdown-link:nth-child(3) { animation-delay: 0.15s; }
.dropdown-menu.active .dropdown-link:nth-child(4) { animation-delay: 0.2s; }
.dropdown-menu.active .dropdown-link:nth-child(5) { animation-delay: 0.25s; }

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-link:hover {
    color: var(--primary-green);
    transform: scale(1.05);
}

.hero {
    background: transparent;
    padding: 80px 0 120px;
    text-align: center;
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content-wrapper {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    width: 100%;
}

.hero-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stars {
    display: flex;
    gap: 4px;
    justify-content: center;
    align-items: center;
    margin-bottom: 0px;
}

.stars img {
    width: 20px;
    height: auto;
}

.trust-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Desktop-only premium layout - Apple style centered */
@media (min-width: 1024px) {
    .hero {
        padding: 80px 0 100px;
        position: relative;
        overflow: visible;
    }
    
    .hero .container {
        position: relative;
        z-index: 2;
        max-width: 1200px;
    }
    
    .hero-content-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 60px;
        margin-bottom: 60px;
    }
    
    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0;
        flex: 1;
        max-width: none;
    }
    
    .stars {
        justify-content: flex-start;
        margin-bottom: 6px;
        animation: fadeInUp 0.6s ease-out 0.1s both;
    }
    
    .stars img {
        width: 18px;
        filter: drop-shadow(0 1px 2px rgba(0, 201, 103, 0.2));
    }
    
    .trust-text {
        font-size: 13px;
        margin-bottom: 32px;
        font-weight: 500;
        letter-spacing: 0.3px;
        animation: fadeInUp 0.6s ease-out 0.2s both;
    }
    
    .hero-product-visual {
        flex: 1;
        max-width: 350px;
    }
}

/* Tablet layout - 2 columns with adjusted spacing */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-content-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        margin-bottom: 50px;
    }
    
    .hero-text-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        flex: 1;
    }
    
    .hero-product-visual {
        flex: 1;
        max-width: 300px;
    }
    
    .stars {
        justify-content: flex-start;
    }
    
    .hero-title {
        text-align: left;
        font-size: 48px;
    }
    
    .hero-subtitle {
        text-align: left;
        margin: 0 0 30px 0;
    }
    
    .cta-button {
        margin: 0;
        display: inline-block;
    }
}


.hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-title .highlight-green {
    color: var(--primary-green);
}

/* General green highlight for all sections */
.highlight-green {
    color: var(--primary-green);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.subtitle-highlight {
    display: inline;
    font-weight: 500;
    color: var(--text-darker);
}

/* Desktop-only premium typography - left aligned */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 64px;
        color: var(--text-dark);
        margin-bottom: 20px;
        line-height: 1.1;
        letter-spacing: -2px;
        animation: fadeInUp 0.8s ease-out 0.3s both;
        text-align: left;
    }
    
    .hero-subtitle {
        font-size: 21px;
        color: #6e6e73;
        max-width: 700px;
        margin: 0 0 40px 0;
        line-height: 1.5;
        font-weight: 400;
        letter-spacing: 0.2px;
        animation: fadeInUp 0.8s ease-out 0.4s both;
        text-align: left;
    }
    
    .subtitle-highlight {
        display: inline;
        font-weight: 500;
        color: var(--text-darker);
    }
}

.members-badge {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
    background: var(--card-bg);
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    transition: transform 0.3s ease;
}

.members-badge:hover {
    transform: scale(1.05);
}

.members-avatars {
    display: flex;
    align-items: center;
    margin-right: 5px;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-green), #00b35c);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-left: -8px;
    border: 2px solid var(--card-bg);
    color: var(--text-white);
}

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

.members-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.members-count {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.members-label {
    font-size: 12px;
    color: var(--text-light);
}

/* Hide members badge on all devices - using product box instead */
.members-badge {
    display: none;
}

.members-avatars {
    display: none;
}

.avatar {
    display: none;
}

.members-info {
    display: none;
}

.members-count {
    display: none;
}

.members-label {
    display: none;
}

/* Product box visual - shown on all devices with Apple-style centered layout */
.hero-product-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    width: 100%;
    margin-top: 30px;
    padding: 0 20px;
}

.product-box-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    animation: fadeInUp 1s ease-out 0.6s both;
    /* Transition removed to prevent jump when scrolling - JS handles transforms directly */
}

.product-box-image {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
    transition: filter 0.4s ease;
}

.product-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 130%;
    background: radial-gradient(circle, rgba(0, 201, 103, 0.06) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

/* Desktop-only: larger product box visual with enhanced effects */
@media (min-width: 1024px) {
    .hero-product-visual {
        margin-top: 40px;
        padding: 0;
    }
    
    .product-box-container {
        max-width: 350px;
    }
    
    .product-box-image {
        filter: drop-shadow(0 30px 80px rgba(0, 0, 0, 0.12));
    }
    
    .hero-product-visual:hover .product-glow {
        opacity: 1;
    }
    
    .hero-product-visual:hover .product-box-image {
        filter: drop-shadow(0 35px 90px rgba(0, 0, 0, 0.15));
    }
}

/* Mobile: Optimized product box sizing, effects and hero layout */
@media (max-width: 767px) {
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero-title {
        font-size: 40px;
        color: var(--text-dark);
        line-height: 1.15;
        letter-spacing: -1.5px;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 32px;
        padding: 0 10px;
    }
    
    .stars img {
        width: 16px;
    }
    
    .trust-text {
        font-size: 13px;
        margin-bottom: 24px;
    }
    
    .hero-product-visual {
        margin-top: 30px;
        padding: 0 15px;
    }
    
    .product-box-container {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .product-box-image {
        filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.08));
    }
}

.cta-button {
    display: inline-block;
    padding: 12px 21px;
    background: var(--primary-blue);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(91, 141, 239, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: #4a7bd8;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(91, 141, 239, 0.5);
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

/* Desktop-only premium button effects - left aligned */
@media (min-width: 1024px) {
    .cta-button {
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        box-shadow: 0 4px 14px rgba(91, 141, 239, 0.25);
        animation: fadeInUp 0.8s ease-out 0.5s both;
        letter-spacing: 0.2px;
        margin: 0;
        display: inline-block;
        width: fit-content;
    }
    
    .cta-button::before {
        background: rgba(255, 255, 255, 0.15);
        transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), height 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .cta-button:hover::before {
        width: 350px;
        height: 350px;
    }
    
    .cta-button:hover {
        transform: translateY(-4px) scale(1.02);
        box-shadow: 0 12px 28px rgba(91, 141, 239, 0.4);
    }
    
    .cta-button:active {
        transform: translateY(-2px) scale(0.99);
        transition: all 0.1s ease;
    }
}

.trust-badges {
    background: #ffffff;
    padding: 0 0 60px;
    text-align: center;
}

/* ========================================
   AS FEATURED IN - APPLE STYLE REDESIGN
   ======================================== */

.trust-badges-inline {
    margin-top: 60px;
    text-align: center;
    padding: 0;
    background: transparent;
    border-radius: 0;
}

.trust-title {
    font-size: 13px;
    color: #6e6e73;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-transform: none;
}

.media-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.media-link {
    font-size: 17px;
    font-weight: 400;
    color: #86868b;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    letter-spacing: -0.2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.media-link:hover {
    color: #1d1d1f;
    transform: scale(1.05);
}

.media-logo {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.media-link:hover .media-logo {
    opacity: 1;
}

/* Desktop: Show grid, hide carousel (only on larger screens) */
@media (min-width: 1024px) {
    .media-grid {
        display: flex;
    }
    
    .media-carousel-wrapper {
        display: none;
    }
}

/* Mobile/Tablet/Small Desktop: Show carousel, hide grid */
@media (max-width: 1023px) {
    .media-grid {
        display: none;
    }
    
    .media-carousel-wrapper {
        display: block;
        margin-top: 20px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .media-carousel-wrapper .embla {
        overflow: hidden;
        width: 100%;
    }
    
    .media-carousel-wrapper .embla__container {
        display: flex;
        flex-wrap: nowrap;
        gap: 30px;
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
        align-items: center;
    }
    
    .media-carousel-wrapper .embla__slide {
        flex: 0 0 auto;
        min-width: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure last slide has trailing gap for continuous loop effect */
    .media-carousel-wrapper .embla__slide:last-child {
        margin-right: 30px;
    }
    
    .carousel-media-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .carousel-media-logo {
        height: 40px;
        width: auto;
        object-fit: contain;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }
    
    .carousel-media-link:active .carousel-media-logo {
        opacity: 1;
    }
}

/* Smaller logos on smaller screens */
@media (max-width: 768px) {
    .carousel-media-logo {
        height: 35px;
    }
}

/* Desktop refinements */
@media (min-width: 1024px) {
    .trust-badges-inline {
        margin-top: 50px;
        padding: 0;
    }
    
    .trust-title {
        margin-bottom: 24px;
    }
    
    .media-grid {
        gap: 40px;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .trust-badges-inline {
        margin-top: 48px;
    }
    
    .media-grid {
        gap: 24px;
    }
}

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.badge {
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-weight: 600;
    font-size: 18px;
    color: var(--text-dark);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.how-it-works {
    background: transparent;
    position: relative;
    transition: background-color 0.8s ease;
    z-index: 20;
}


.top-movers {
    padding: 80px 0;
    background: transparent;
    position: relative;
}

.how-it-works .section-title {
    transition: color 2s ease;
    position: relative;
    z-index: 21;
}

.how-it-works .content-box {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 2s ease, transform 2s ease;
}

.how-it-works.section-visible .content-box {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

.content-box {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 21;
}

.works-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
    position: relative;
    z-index: 21;
}

.works-text {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 21;
}

.description {
    font-size: 16px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}

.description:last-child {
    margin-bottom: 0;
}

.description strong {
    font-weight: 700;
    color: var(--text-dark);
}

.iphone-mockup {
    flex: 1;
    text-align: left;
    margin: 0;
    padding: 0;
    max-width: 600px;
    position: relative;
    z-index: 21;
    /* Pull mockup to left edge - calculate offset from container edge to viewport edge */
    margin-left: calc(((100vw - min(1200px, 100vw)) / -2) - 20px);
}

.iphone-mockup img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    position: relative;
    z-index: 21;
    display: block;
}

/* Cinematic Scroll Storytelling Section */
.scroll-story-wrapper {
    position: relative;
    margin: 0;
    z-index: 21;
}

.scroll-story-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-story-section.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-story-section.fading-out {
    opacity: 0;
    transform: translateY(-30px);
}

.scroll-story-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.scroll-story-text {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin: 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #2a2a2a 0%, #5a5a5a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Add green highlight to specific words */
.scroll-story-section[data-story="1"] .scroll-story-text {
    background: linear-gradient(135deg, var(--primary-green) 0%, #00a354 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-story-section[data-story="2"] .scroll-story-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #4a75d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-story-section[data-story="3"] .scroll-story-text {
    background: linear-gradient(135deg, #2a2a2a 0%, var(--primary-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scroll-story-svg-section {
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-story-svg {
    max-width: 600px;
    width: 90%;
    height: auto;
    opacity: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-story-svg-section:not(.active) .scroll-story-svg {
    opacity: 0;
    transform: scale(0.95);
}

.scroll-story-svg-section.active .scroll-story-svg {
    opacity: 1;
    transform: scale(1);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-story-wrapper {
        margin: 60px 0;
    }
    
    .scroll-story-section {
        min-height: 35vh;
    }
    
    .scroll-story-text {
        font-size: clamp(2rem, 10vw, 3rem);
        padding: 0 10px;
    }
    
    .scroll-story-svg {
        max-width: 100%;
        width: 100%;
        padding: 0;
    }
    
    .scroll-story-svg-section .scroll-story-content {
        padding: 20px 0;
    }
}

.flowchart-svg-container {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.flowchart-svg {
    max-width: 100%;
    height: auto;
    width: 600px;
}

@media (max-width: 768px) {
    .works-layout {
        flex-direction: column;
        gap: 30px;
        align-items: flex-start; /* Align items to left */
    }
    
    .iphone-mockup {
        max-width: 350px;
        margin-left: -20px; /* Offset the 20px container padding */
        margin-right: 0;
        padding: 0;
    }
    
    .iphone-mockup img {
        margin: 0;
        padding: 0;
    }
    
    .works-text {
        text-align: left;
        padding-left: 0;
        padding-right: 0;
    }
    
    .flowchart-svg {
        width: 100%;
        max-width: 400px;
    }
}

/* ========================================
   HOW TO USE - APPLE STYLE REDESIGN
   ======================================== */

.how-to-use {
    background: #ffffff;
}

.how-to-use .section-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.2px;
    text-align: center;
    margin-bottom: 40px;
}

/* Steps Grid - 3 Columns on Desktop */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.step-item {
    position: relative;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #E8E8E8;
    padding: 40px 30px 35px;
    border-radius: 20px;
}

.step-item:hover {
    transform: translateY(-4px);
}

/* Step Number Badge - Top Left Corner */
.step-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #D0D0D0;
    color: #666666;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item:hover .step-number {
    background: #C8C8C8;
}

/* Step Graphic */
.step-graphic {
    width: 100%;
    max-width: 100px;
    height: 100px;
    margin: 10px auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-svg {
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.step-item:hover .step-svg {
    transform: scale(1.05);
}

/* Step Heading */
.step-heading {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

/* Step Text */
.step-text {
    font-size: 17px;
    font-weight: 400;
    color: #6e6e73;
    line-height: 1.5;
    max-width: 340px;
    margin: 0 auto;
}

/* Tablet - Maintain 3 columns */
@media (max-width: 1024px) {    
    .how-to-use .section-title {
        font-size: 40px;
        margin-bottom: 60px;
    }
    
    .steps-grid {
        gap: 36px;
    }
    
    .step-heading {
        font-size: 22px;
    }
    
    .step-text {
        font-size: 16px;
    }
}

/* Mobile - Stack Vertically */
@media (max-width: 768px) {
    .how-to-use {
        padding: 60px 0;
    }
    
    .how-to-use .section-title {
        font-size: 32px;
        letter-spacing: -0.8px;
        margin-bottom: 48px;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 0 20px;
    }
    
    .step-item {
        padding: 35px 25px 30px;
    }
    
    .step-graphic {
        max-width: 80px;
        height: 80px;
        margin: 5px auto 20px;
    }
    
    .step-svg {
        max-height: 70px;
    }
    
    .step-number {
        top: 14px;
        left: 14px;
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .step-heading {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .step-text {
        font-size: 15px;
        max-width: 100%;
    }
}

.cta-center {
    text-align: center;
}

.security {
    padding: 80px 0 40px 0;
    background: #ffffff;
}

.security-intro {
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.security-card {
    background: rgba(255, 255, 255, 0.7);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.security-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
}

.security-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--primary-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.security-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: invert(61%) sepia(59%) saturate(448%) hue-rotate(88deg) brightness(94%) contrast(91%);
}

.security-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.security-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.security-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: block;
}

/* Hide carousel wrapper on desktop (>= 768px) */
@media (min-width: 768px) {
    .security-carousel-wrapper {
        display: none;
    }
}

/* Embla carousel structure for Security slider */
.security-carousel-wrapper .embla {
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.security-carousel-wrapper .embla__container {
    display: flex;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.security-carousel-wrapper .embla__container:active {
    cursor: grabbing;
}

.security-carousel-wrapper .embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 20px;
    box-sizing: border-box;
}

.security-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.carousel-track-wrapper:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    width: 100%;
}

.carousel-card {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.card-content {
    background: #ffffff;
    border-radius: 24px;
    padding: 60px 40px;
    text-align: center;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Mobile-only: Match AI Modules carousel card style */
@media (max-width: 767px) {
    .security-carousel-wrapper .card-content {
        background: #ffffff;
        border-radius: 24px;
        padding: 40px 30px;
        min-height: 320px;
    }
}

.carousel-card {
    padding: 0;
}

.card-content {
    padding: 0;
}

.carousel-card.active .card-content {
    transform: scale(1);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.card-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

/* Mobile-only: Match AI Modules carousel title */
@media (max-width: 767px) {
    .security-carousel-wrapper .card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }
}

.card-description {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    max-width: 320px;
}

/* Mobile-only: Match AI Modules carousel description */
@media (max-width: 767px) {
    .security-carousel-wrapper .card-description {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* Security carousel navigation - default desktop style (hidden on mobile) */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
    color: var(--text-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-arrow:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 201, 103, 0.3);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-arrow-left {
    left: 20px;
}

.carousel-arrow-right {
    right: 20px;
}

/* Security carousel navigation - match AI Modules carousel exactly */
.security-carousel-wrapper .carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.security-carousel-wrapper .carousel-nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.security-carousel-wrapper .carousel-nav-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    border-color: var(--primary-green);
}

.security-carousel-wrapper .carousel-nav-btn:active {
    transform: scale(0.95);
}

.security-carousel-wrapper .carousel-nav-btn svg {
    color: #1d1d1f;
    width: 28px;
    height: 28px;
}

.security-carousel-wrapper .carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mobile: Smaller navigation buttons matching AI Modules */
@media (max-width: 768px) {
    .security-carousel-wrapper .carousel-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .security-carousel-wrapper .carousel-nav-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .security-carousel-wrapper .carousel-navigation {
        margin-top: 20px;
        gap: 12px;
    }
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

/* Mobile-only: Match AI Modules carousel dots style */
@media (max-width: 767px) {
    .security-carousel-wrapper .carousel-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 24px;
    }
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-green);
    width: 24px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .carousel-track-wrapper {
        max-width: 100%;
    }
    
    .card-content {
        padding: 50px 30px;
        min-height: 320px;
    }
    
    .card-title {
        font-size: 22px;
    }
    
    .card-description {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 40px 24px;
        min-height: 300px;
        border-radius: 20px;
    }
    
    .card-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 24px;
    }
    
    .card-icon img {
        width: 42px;
        height: 42px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .card-description {
        font-size: 14px;
    }
    
    .carousel-dots {
        margin-top: 30px;
    }
}

.security-grid-desktop {
    display: none;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Show desktop grid only on desktop (>= 768px) */
@media (min-width: 768px) {
    .security-grid-desktop {
        display: flex;
    }
}

.desktop-card {
    flex: 1;
    max-width: 380px;
}

.desktop-card .card-content {
    height: 100%;
    min-height: 350px;
}

@media (max-width: 1024px) and (min-width: 768px) {
    .security-grid-desktop {
        gap: 20px;
    }
    
    .desktop-card .card-content {
        padding: 50px 30px;
    }
    
    .desktop-card .card-title {
        font-size: 22px;
    }
    
    .desktop-card .card-description {
        font-size: 15px;
    }
}

/* ========================================
   TOP MOVERS 2025 - APPLE STYLE REDESIGN
   ======================================== */

.top-movers {
    padding: 120px 0;
    background: #ffffff;
}

.top-movers .section-title {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -1.2px;
    text-align: center;
    margin-bottom: 12px;
}

.movers-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: #6e6e73;
    text-align: center;
    margin-bottom: 24px;
}

.top-movers .section-intro {
    font-size: 21px;
    font-weight: 400;
    color: #6e6e73;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.5;
}

/* Featured Top 3 Cards */
.featured-movers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.featured-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 201, 103, 0.1);
    border-radius: 24px;
    padding: 48px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.featured-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 16px 48px rgba(0, 201, 103, 0.2);
    border-color: rgba(0, 201, 103, 0.3);
}

.rank-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rank-badge.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.rank-badge.silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%);
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%);
}

.featured-content {
    text-align: center;
}

.featured-company {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.featured-percentage {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #00c967 0%, #009951 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

/* Remaining Stocks Grid */
.movers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.grid-card {
    background: #ffffff;
    border: 1px solid #e5e5e7;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: #00c967;
}

.grid-company {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.grid-percentage {
    font-size: 28px;
    font-weight: 700;
    color: #00c967;
    letter-spacing: -0.5px;
}

/* Mobile-only Expand Button - Hidden on Desktop */
.movers-expand-btn-container {
    display: none;
    text-align: center;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.movers-expand-btn {
    background: transparent;
    border: 1px solid #d2d2d7;
    border-radius: 24px;
    padding: 12px 28px;
    font-size: 17px;
    font-weight: 400;
    color: #1d1d1f;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -0.2px;
}

.movers-expand-btn:hover {
    background: #f5f5f7;
    border-color: #00c967;
}

.movers-expand-btn:active {
    transform: scale(0.98);
}

.expand-icon {
    font-size: 14px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.movers-expand-btn.expanded .expand-icon {
    transform: rotate(180deg);
}

.movers-expand-btn.expanded .expand-text::after {
    content: '';
}

/* Responsive Design - Tablet */
@media (max-width: 1024px) {
    .top-movers {
        padding: 80px 0;
    }
    
    .top-movers .section-title {
        font-size: 40px;
        letter-spacing: -1px;
    }
    
    .movers-subtitle {
        font-size: 19px;
    }
    
    .top-movers .section-intro {
        font-size: 19px;
    }
    
    .featured-movers {
        gap: 20px;
    }
    
    .featured-card {
        padding: 40px 28px;
    }
    
    .featured-company {
        font-size: 22px;
    }
    
    .featured-percentage {
        font-size: 42px;
    }
    
    .movers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 768px) {
    .top-movers {
        padding: 60px 0;
    }
    
    .top-movers .section-title {
        font-size: 32px;
        letter-spacing: -0.8px;
        margin-bottom: 8px;
    }
    
    .movers-subtitle {
        font-size: 17px;
        margin-bottom: 20px;
    }
    
    .top-movers .section-intro {
        font-size: 17px;
        margin-bottom: 40px;
        padding: 0 20px;
    }
    
    .featured-movers {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    .featured-card {
        padding: 36px 24px;
    }
    
    .rank-badge {
        width: 40px;
        height: 40px;
        font-size: 14px;
        top: 16px;
        right: 16px;
    }
    
    .featured-company {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .featured-percentage {
        font-size: 38px;
    }
    
    /* Show expand button on mobile */
    .movers-expand-btn-container {
        display: block;
    }
    
    /* Hide grid by default on mobile */
    .movers-grid {
        display: none;
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 0 20px;
        margin-bottom: 40px;
    }
    
    /* Show grid when expanded */
    .movers-grid.expanded {
        display: grid;
    }
    
    .grid-card {
        padding: 24px 20px;
    }
    
    .grid-company {
        font-size: 17px;
        margin-bottom: 10px;
    }
    
    .grid-percentage {
        font-size: 24px;
    }
}

.results {
    padding: 80px 0;
    background: #ffffff;
}

.results-intro {
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.results-table-container {
    max-width: 500px;
    margin: 0 auto;
    background: #e8e8e8;
    border-radius: 20px;
    padding: 30px;
}

.results-table {
    background: transparent;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 15px 0;
    border-bottom: 2px solid #d0d0d0;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 15px 0;
}

.cell {
    text-align: center;
    font-size: 16px;
    color: #7a7a7a;
    position: relative;
}

.cell-month {
    color: #7a7a7a;
    font-weight: 400;
    text-align: center;
}

.cell-aconsus {
    color: var(--text-dark);
    font-weight: 600;
    border-left: 3px solid #d0d0d0;
}

.cell-sp500 {
    color: #b0b0b0;
    font-weight: 400;
}

.table-header .cell-aconsus,
.table-header .cell-sp500 {
    color: #7a7a7a;
    font-weight: 600;
}

.table-header .cell-month {
    color: #7a7a7a;
    font-weight: 600;
}

.cell.positive {
    font-weight: 600;
}

.cell.negative {
    font-weight: 400;
}

.table-disclaimer {
    text-align: center;
    font-size: 12px;
    color: #999;
    margin-top: 25px;
    margin-bottom: 0;
}

/* Desktop Horizontal Table Styles */
.results-table-desktop {
    display: none;
}

.results-table-mobile {
    display: block;
}

@media (min-width: 769px) {
    .results-table-desktop {
        display: block;
        max-width: 900px;
        margin: 0 auto;
        background: #f0f0f0;
        border-radius: 20px;
        padding: 40px;
        overflow-x: auto;
    }
    
    .results-table-mobile {
        display: none;
    }
}

.results-table-horizontal {
    width: 100%;
    border-collapse: collapse;
    background: transparent;
}

.results-table-horizontal thead th {
    padding: 16px 12px;
    text-align: center;
    font-size: 14px;
    font-weight: 500;
    color: #7a7a7a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #d0d0d0;
}

.results-table-horizontal thead th:first-child {
    text-align: left;
    padding-left: 20px;
}

.results-table-horizontal tbody tr {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.results-table-horizontal tbody tr:last-child {
    border-bottom: none;
}

.results-table-horizontal tbody td {
    padding: 20px 12px;
    text-align: center;
    font-size: 15px;
    color: #7a7a7a;
}

.results-table-horizontal tbody td.label-cell {
    text-align: left;
    padding-left: 20px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Gray line after Month column (on JAN column) */
.results-table-horizontal tbody td:nth-child(2) {
    border-left: 3px solid #d0d0d0;
}

.results-table-horizontal tbody td.positive {
    color: #7a7a7a;
    font-weight: 600;
}

.results-table-horizontal tbody td.negative {
    color: #7a7a7a;
    font-weight: 400;
}

/* YEAR column styling for desktop table */
.results-table-horizontal thead th.year-column {
    font-weight: 700;
    font-size: 15px;
    border-left: 2px solid #d0d0d0;
    background: rgba(0, 0, 0, 0.03);
}

.results-table-horizontal tbody td.year-column {
    font-weight: 700;
    font-size: 16px;
    border-left: 2px solid #d0d0d0;
    background: rgba(0, 0, 0, 0.03);
}

.results-table-horizontal tbody td.year-total {
    color: #7a7a7a;
}

/* YEAR row styling for mobile table */
.results-table .table-row.year-row {
    border-top: 2px solid #d0d0d0;
    background: rgba(0, 0, 0, 0.03);
    font-weight: 700;
    margin-top: 10px;
    padding-top: 10px;
}

.results-table .year-row .cell {
    font-weight: 700;
    font-size: 16px;
}

.results-table .year-row .year-label {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-table .year-row .year-total {
    color: #7a7a7a;
}

.disclaimer {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

.testimonials {
    padding: 80px 0 40px;
    background: #ffffff;
}

.testimonial-wrapper {
    max-width: 600px;
    margin: 0 auto 60px;
}

.testimonial-card {
    background: #EEEEEE;
    padding: 28px 28px 32px;
    border-radius: 16px;
    position: relative;
    margin-bottom: 20px;
    min-height: auto;
}

.quote-mark-top {
    font-size: 60px;
    color: #b0b0b0;
    line-height: 1;
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: Georgia, serif;
}

.quote-mark-bottom {
    font-size: 60px;
    color: #b0b0b0;
    line-height: 1;
    position: absolute;
    bottom: 15px;
    right: 20px;
    font-family: Georgia, serif;
}

.stars {
    display: flex;
    gap: 4px;
    margin-bottom: 0px;
    justify-content: center;
}

.star {
    color: var(--primary-green);
    font-size: 18px;
}

.testimonial-text {
    font-size: 15px;
    color: #5a5a5a;
    line-height: 1.7;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #d0d0d0;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 15px;
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 3px;
}

.author-title {
    font-size: 13px;
    color: #7a7a7a;
}

.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-green);
}

.customer-stories {
    margin-top: 80px;
    text-align: center;
}

.video-wrapper {
    max-width: 600px;
    margin: 40px auto;
}

.video-placeholder {
    background: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
    border-radius: 20px;
    padding: 150px 40px;
    position: relative;
    margin-bottom: 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.play-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-green);
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 20px;
}

.play-button:hover {
    background: white;
    transform: scale(1.1);
}

.video-text {
    font-size: 18px;
    color: #7a7a7a;
    font-weight: 500;
}

/* Testimonials Carousel */
.testimonials-carousel {
    position: relative;
    max-width: 100%;
    margin: 50px auto;
    padding: 0 20px;
}

/* Embla structure for testimonials */
.testimonials-carousel .embla {
    overflow: hidden;
    width: 100%;
}

.testimonials-carousel .embla__container {
    display: flex;
    flex-wrap: nowrap;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    align-items: stretch;
    gap: 12px;
}

.testimonials-carousel .embla__slide {
    flex: 0 0 85%;
    min-width: 0;
}

/* Ensure last card has trailing gap */
.testimonials-carousel .embla__slide:last-child {
    margin-right: 12px;
}

/* Responsive multi-card display for Success Stories */
@media (min-width: 768px) {
    .testimonials-carousel .embla__container {
        gap: 16px;
    }
    .testimonials-carousel .embla__slide {
        flex: 0 0 48%;
    }
}

@media (min-width: 1100px) {
    .testimonials-carousel .embla__container {
        gap: 20px;
    }
    .testimonials-carousel .embla__slide {
        flex: 0 0 32%;
    }
}

@media (min-width: 1800px) {
    .testimonials-carousel .embla__slide {
        flex: 0 0 24%;
    }
}

.testimonial-card {
    width: 100%;
    height: auto;
    background: #EEEEEE;
    border-radius: 16px;
    padding: 28px 28px 32px;
    flex-shrink: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-height: auto;
}

.quote-mark-top {
    font-size: 36px;
    color: #c0c0c0;
    line-height: 1;
    font-family: Georgia, serif;
    margin-bottom: 5px;
}

.quote-mark-image-top {
    width: 28px;
    height: auto;
    margin-bottom: 12px;
}

.quote-mark-image-bottom {
    width: 28px;
    height: auto;
    transform: rotate(180deg);
}

.testimonial-card .stars {
    display: flex;
    justify-content: flex-start;
    gap: 3px;
    margin-bottom: 12px;
}

.testimonial-card .star-icon {
    font-size: 16px;
    color: #00C967;
}

.testimonial-quote {
    font-size: 14px;
    line-height: 1.6;
    color: #5a5a5a;
    margin-bottom: 16px;
    text-align: left;
    flex-grow: 0;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
}

.testimonial-author-info {
    text-align: left;
}

.author-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.author-location {
    font-size: 11px;
    color: #888888;
    line-height: 1.3;
}

.quote-mark-bottom {
    font-size: 36px;
    color: #c0c0c0;
    line-height: 1;
    font-family: Georgia, serif;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.carousel-arrow:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.left {
    left: 0;
}

.carousel-arrow.right {
    right: 0;
}

.carousel-pagination-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-dot.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 5px;
}

.carousel-dot:hover {
    background: var(--primary-green);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

.cta-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.pricing {
    padding: 80px 0;
    background: #ffffff;
}

.pricing-intro {
    font-size: 16px;
    color: var(--text-dark);
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    line-height: 1.8;
}

.countdown-container {
    text-align: center;
    margin-bottom: 50px;
}

.countdown-label {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 500;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    padding: 20px;
    border-radius: 12px;
    min-width: 80px;
    box-shadow: var(--shadow);
}

.time-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-green);
    line-height: 1;
}

.time-label {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

.billing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    margin: 30px auto 10px;
    background: #f5f5f5;
    border-radius: 50px;
    padding: 6px;
    max-width: 420px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1);
}

.billing-option {
    flex: 1;
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: #6a6a6a;
    font-size: 15px;
    font-weight: 500;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.billing-option:hover {
    color: #2a2a2a;
}

.billing-option:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.5);
}

.billing-option.active {
    background: white;
    color: #2a2a2a;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.billing-option:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.pricing-carousel-wrapper {
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Desktop: Reorder pricing cards - Platinum, 3-month, Silver */
@media (min-width: 1025px) {
    .pricing-grid {
        display: flex;
        justify-content: center;
    }
    
    .pricing-grid .pricing-card {
        flex: 1 1 0;
        max-width: 380px;
        min-width: 300px;
    }
    
    .pricing-card.platinum-plan {
        order: 1;
    }
    
    .pricing-card.gold-plan {
        order: 2;
    }
    
    .pricing-card.silver-plan {
        order: 3;
    }
}

.pricing-pagination {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.pricing-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d0d0d0;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}

.pricing-dot:hover {
    background: #a0a0a0;
    transform: scale(1.2);
}

.pricing-dot.active {
    background: var(--primary-green);
    width: 28px;
    border-radius: 5px;
}

.pricing-dot:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 2px;
}

.pricing-card {
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid #d0d0d0;
}

/* Billing period card visibility and animations */
.pricing-card[data-billing-period] {
    display: block;
}

/* Swipe animation keyframes */
@keyframes swipeOutLeft {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

@keyframes swipeInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes swipeOutRight {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes swipeInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Animation classes */
.pricing-card.swipe-out-left {
    animation: swipeOutLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pricing-card.swipe-in-right {
    animation: swipeInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pricing-card.swipe-out-right {
    animation: swipeOutRight 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pricing-card.swipe-in-left {
    animation: swipeInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.pricing-card.hidden {
    display: none;
}

.pricing-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-blue);
}

.silver-plan {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 50%, #f5f5f5 100%);
}

.gold-plan {
    background: linear-gradient(135deg, #f0e5ff 0%, #ffffff 50%, #e5d5ff 100%);
    border-color: #b090ff;
}

.platinum-plan {
    background: linear-gradient(135deg, #e5fff0 0%, #ffffff 50%, #d5ffe5 100%);
    border-color: #90ffb0;
}

.pricing-card .badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.badge-icon {
    width: 16px;
    height: 16px;
}

.pricing-card .badge-bestseller {
    background: linear-gradient(135deg, #b090ff 0%, #9070ff 100%);
    color: white;
}

.pricing-card .badge-bestdeal {
    background: linear-gradient(135deg, #50d890 0%, #30b870 100%);
    color: white;
}

.plan-name {
    font-size: 24px;
    font-weight: 400;
    color: #7a7a7a;
    text-align: center;
    margin-bottom: 20px;
    margin-top: 20px;
}

.plan-color {
    font-weight: 700;
}

.gold-plan .plan-color {
    color: #9070ff;
}

.platinum-plan .plan-color {
    color: #30b870;
}

.price {
    text-align: center;
    margin-bottom: 30px;
}

.original-price {
    font-size: 20px;
    color: #b0b0b0;
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}

.current-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.currency {
    font-size: 28px;
    font-weight: 400;
}

.amount {
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.silver-plan .currency,
.silver-plan .amount {
    color: #5a5a5a;
}

.gold-plan .currency,
.gold-plan .amount {
    color: #9070ff;
}

.platinum-plan .currency,
.platinum-plan .amount {
    color: #30b870;
}

.period {
    font-size: 16px;
    color: #7a7a7a;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    padding: 8px 0;
    color: #7a7a7a;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
}

.checkmark {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
    border: 1.5px solid;
}

.silver-plan .checkmark {
    color: #7a7a7a;
    border-color: #7a7a7a;
}

.gold-plan .checkmark {
    color: #9070ff;
    border-color: #9070ff;
}

.platinum-plan .checkmark {
    color: #30b870;
    border-color: #30b870;
}

.plan-button {
    display: block;
    width: 100%;
    padding: 16px 8px;
    background: var(--primary-blue);
    color: var(--text-white);
    text-decoration: none;
    text-align: center;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.plan-button:hover {
    background: #4a7bd8;
}

.faq {
    padding: 80px 0;
    background: #ffffff;
}

.faq-subtitle {
    text-align: center;
    font-size: 18px;
    color: #8a8a8a;
    margin-bottom: 40px;
    font-weight: 400;
}

.faq-subtitle .highlight-dark {
    color: var(--text-dark);
    font-weight: 600;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 16px;
    background: #f5f5f5;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 24px 28px;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: #6a6a6a;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(0, 0, 0, 0.02);
}

.faq-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    opacity: 0.7;
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    opacity: 1;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    padding: 0 28px 24px 72px;
    color: #7a7a7a;
    line-height: 1.7;
    font-size: 16px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.cta-final {
    padding: 100px 0;
    background: #f5f5f5;
    text-align: center;
    color: var(--text-dark);
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1a1a1a;
}

.cta-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    color: var(--text-dark);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-subtitle strong {
    font-weight: 700;
}

.cta-button-large {
    display: inline-block;
    padding: 18px 50px;
    background: var(--primary-blue);
    color: var(--text-white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 500;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(91, 141, 239, 0.3);
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(91, 141, 239, 0.5);
    background: #4a7bd9;
}

.about {
    padding: 80px 0;
    background: #ffffff;
}

.about-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-image-column {
    width: 100%;
}

.about-text-column {
    width: 100%;
}

.about-title {
    text-align: left;
    margin-bottom: 30px;
}

.about-content {
    max-width: none;
}

.about-content p {
    font-size: 16px;
    color: #7a7a7a;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.hq-image-container {
    position: relative;
    text-align: center;
}

.hq-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
}

.hq-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.image-caption {
    position: absolute;
    bottom: 25px;
    left: 20px;
    padding: 15px 16px;
    border-radius: 35px;
    font-size: 20px;
    color: #EEEEEE;
    font-weight: 500;
    margin: 0;
    backdrop-filter: blur(30px);
    opacity: 1;
}

/* Desktop Layout: Side by Side */
@media (min-width: 769px) {
    .about-layout {
        flex-direction: row;
        gap: 60px;
        align-items: flex-start;
    }
    
    .about-image-column {
        flex: 0 0 50%;
        max-width: 740px;
    }
    
    .about-text-column {
        flex: 1;
    }
}

.footer {
    background: #f5f5f5;
    padding: 60px 20px 40px;
}

.footer .container {
    max-width: 500px;
}

/* Desktop Footer Grid - Hidden on mobile */
.footer-desktop-grid {
    display: none;
}

/* Mobile-only elements - Visible on mobile only */
.footer-mobile-only {
    display: block;
}

.footer-header {
    text-align: center;
    margin-bottom: 30px;
}

.footer-title {
    font-size: 24px;
    font-weight: 600;
    color: #7a7a7a;
    margin-bottom: 15px;
}

.footer-subtitle {
    font-size: 14px;
    color: #7a7a7a;
    line-height: 1.6;
}

.footer-separator {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--primary-green) 50%, transparent 100%);
    margin: 25px 0;
}

.footer-accordion {
    margin-bottom: 30px;
}

/* Desktop Footer Styles */
@media (min-width: 769px) {
    .footer .container {
        max-width: 1200px;
    }
    
    /* Show desktop grid, hide mobile elements */
    .footer-desktop-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 60px;
        margin-bottom: 40px;
    }
    
    .footer-mobile-only {
        display: none;
    }
    
    .footer-column-title {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 20px;
    }
    
    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links li {
        margin-bottom: 12px;
    }
    
    .footer-links li a {
        color: #7a7a7a;
        text-decoration: none;
        font-size: 14px;
        transition: var(--transition);
    }
    
    .footer-links li a:hover {
        color: var(--primary-green);
    }
    
    .footer-brand .footer-title {
        text-align: left;
        margin-bottom: 10px;
    }
    
    .footer-brand .footer-subtitle {
        text-align: left;
        max-width: 250px;
    }
}

.accordion-item {
    margin: 0;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    padding: 15px 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 600;
    color: #7a7a7a;
    transition: var(--transition);
}

.accordion-header:hover {
    color: var(--primary-green);
}

.accordion-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #7a7a7a;
    flex-shrink: 0;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-content.show {
    max-height: 500px;
}

.accordion-content ul {
    list-style: none;
    padding: 10px 0 15px 40px;
}

.accordion-content ul li {
    margin-bottom: 12px;
}

.accordion-content ul li a {
    color: #7a7a7a;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.accordion-content ul li a:hover {
    color: var(--primary-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
}

.footer-bottom p {
    color: #7a7a7a;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .security-grid {
        grid-template-columns: 1fr;
    }
}

/* Pricing carousel mobile/tablet styles - up to 1024px */
@media (max-width: 1024px) {
    .pricing-carousel-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 20px 0;
        margin: 0;
    }
    
    .pricing-carousel-wrapper::-webkit-scrollbar {
        display: none;
    }
    
    .pricing-grid {
        display: flex;
        gap: 16px;
        padding-left: 10vw;
        padding-right: 10vw;
        margin-bottom: 20px;
    }
    
    .pricing-card {
        flex: 0 0 80vw;
        max-width: 400px;
        scroll-snap-align: center;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /* Mobile: Reorder pricing cards - Platinum (yearly), Gold (3months), Silver (monthly) */
    .pricing-card.platinum-plan {
        order: 1;
    }
    
    .pricing-card.gold-plan {
        order: 2;
    }
    
    .pricing-card.silver-plan {
        order: 3;
    }
    
    /* Mobile: Reorder billing toggle buttons to match card order */
    .billing-option[data-period="yearly"] {
        order: 1;
    }
    
    .billing-option[data-period="3months"] {
        order: 2;
    }
    
    .billing-option[data-period="monthly"] {
        order: 3;
    }
    
    /* Mobile: Ensure adequate touch targets and better responsiveness */
    .billing-toggle {
        position: relative;
        z-index: 10;
        margin: 20px auto 10px;
    }
    
    .billing-option {
        min-height: 44px;
        padding: 14px 20px;
        font-size: 14px;
        -webkit-user-select: none;
        user-select: none;
    }
    
    .billing-option:active {
        transform: scale(0.96);
    }
    
    .billing-option.active:active {
        transform: scale(1);
    }
    
    @media (prefers-reduced-motion: no-preference) {
        .pricing-card.active {
            transform: scale(1.05);
        }
    }
    
    .pricing-pagination {
        display: flex;
    }

    .countdown {
        gap: 10px;
    }

    .time-unit {
        min-width: 60px;
        padding: 15px;
    }

    .time-value {
        font-size: 24px;
    }

    .testimonials-carousel {
        padding: 0 15px;
        max-width: 100%;
    }

    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        padding: 24px 24px 28px;
        min-height: auto;
        border-radius: 14px;
    }

    .testimonial-quote {
        font-size: 14px;
    }

    .quote-mark-top,
    .quote-mark-bottom {
        font-size: 32px;
    }

    .carousel-arrow {
        width: 35px;
        height: 35px;
        font-size: 22px;
    }

    .author-name {
        font-size: 15px;
    }

    .author-location {
        font-size: 12px;
    }

    .cta-final {
        padding: 60px 0;
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-subtitle {
        font-size: 18px;
        padding: 0 20px;
    }

    .cta-button-large {
        padding: 16px 40px;
        font-size: 16px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 20px 20px;
        font-size: 16px;
        gap: 12px;
    }
    
    .faq-icon {
        width: 24px;
        height: 24px;
    }
    
    .faq-answer p {
        padding: 0 20px 20px 56px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 50px;
    }

    .hero-title {
        font-size: 28px;
    }

    .members-badge {
        padding: 15px 30px;
    }

    .members-count {
        font-size: 24px;
    }

    .section-title {
        font-size: 24px;
    }
    
    .faq-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .faq-question {
        padding: 18px 16px;
        font-size: 15px;
        gap: 10px;
    }
    
    .faq-icon {
        width: 22px;
        height: 22px;
    }
    
    .faq-answer p {
        padding: 0 16px 18px 48px;
        font-size: 14px;
    }

    .cta-final {
        padding: 50px 0;
    }

    .cta-title {
        font-size: 26px;
        padding: 0 15px;
    }

    .testimonials-carousel {
        padding: 0 12px;
    }

    .testimonial-card {
        min-width: 100%;
        max-width: 100%;
        padding: 20px 18px 24px;
        min-height: auto;
        border-radius: 12px;
    }

    .testimonial-quote {
        font-size: 13px;
    }

    .quote-mark-top,
    .quote-mark-bottom {
        font-size: 28px;
    }

    .carousel-arrow {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }

    .cta-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }

    .cta-button-large {
        padding: 15px 35px;
        font-size: 16px;
    }

    .content-box {
        padding: 25px;
    }

    .testimonial-text {
        font-size: 16px;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Badge Animations */
.badge {
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.05);
    color: var(--primary-green);
}

/* Hero CTA Button - transforms to fixed on scroll */
#heroCtaButton {
    animation: none !important;
}

#heroCtaButton.fixed-position {
    position: fixed !important;
    z-index: 999999;
    margin: 0 !important;
    transition: none !important;
    will-change: transform, top, bottom, left;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    /* JavaScript will handle left positioning, transform, and scale */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #heroCtaButton.fixed-position {
        bottom: 15px;
    }
}

/* Desktop: Hide billing toggle since all plans are visible */
@media (min-width: 1025px) {
    .billing-toggle {
        display: none;
    }
}

/* Desktop: Remove auto margins when button is fixed to ensure proper centering */
@media (min-width: 1024px) {
    #heroCtaButton.fixed-position {
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: inline-block !important;
    }
}

/* iPhone Mockup Slide-in-from-left Animation */
.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 1s ease-out;
}

.slide-in-left.slide-initial {
    opacity: 0;
    transform: translateX(-100px);
}

.slide-in-left.slid-in {
    opacity: 1;
    transform: translateX(0);
}

/* Legal Content Toggle Styles */
/* Desktop: Show regular links, hide mobile toggle buttons and inline content */
.mobile-link {
    display: none;
}

.desktop-link {
    display: inline;
}

.legal-content-inline {
    display: none;
}

/* Mobile: Show toggle buttons, hide regular links */
@media (max-width: 768px) {
    .mobile-link {
        display: inline-block;
        background: none;
        border: none;
        padding: 0;
        color: #7a7a7a;
        text-decoration: none;
        font-size: 14px;
        cursor: pointer;
        transition: var(--transition);
        text-align: left;
        font-family: inherit;
    }
    
    .mobile-link:hover {
        color: var(--primary-green);
    }
    
    .desktop-link {
        display: none;
    }
    
    .legal-content-inline {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, padding 0.3s ease;
        padding: 0;
    }
    
    .legal-content-inline.show {
        display: block;
        max-height: 2000px;
        padding: 15px 0 15px 0;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .legal-text {
        background: #f9f9f9;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
        font-size: 11px;
        line-height: 1.6;
        color: #666;
        max-height: 400px;
        overflow-y: auto;
    }
    
    .legal-text h4 {
        font-size: 12px;
        font-weight: 600;
        color: #333;
        margin: 12px 0 6px 0;
    }
    
    .legal-text h4:first-child {
        margin-top: 0;
    }
    
    .legal-text p {
        margin: 6px 0;
        color: #666;
    }
    
    .legal-text strong {
        color: #333;
        font-weight: 600;
    }
    
    .legal-text::-webkit-scrollbar {
        width: 6px;
    }
    
    .legal-text::-webkit-scrollbar-track {
        background: #f0f0f0;
        border-radius: 3px;
    }
    
    .legal-text::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    
    .legal-text::-webkit-scrollbar-thumb:hover {
        background: #999;
    }
}

/* ================================================
   AI MODULES CAROUSEL - APPLE STYLE (DESKTOP ONLY)
   ================================================ */

.ai-modules-carousel {
    padding: 60px 0;
    background: #ffffff;
    display: block;
}

/* Desktop padding */
@media (min-width: 769px) {
    .ai-modules-carousel {
        padding: 100px 0;
    }
}

.ai-modules-carousel .carousel-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-dark);
    margin: 20px auto 60px;
    max-width: 800px;
    line-height: 1.6;
}

.modules-carousel-wrapper {
    position: relative;
    margin: 0 auto;
    max-width: 1400px;
}

/* Embla structure for AI modules */
.modules-carousel-wrapper .embla {
    overflow: hidden;
    width: 100%;
}

.modules-carousel-wrapper .embla__container {
    display: flex;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.modules-carousel-wrapper .embla__container:active {
    cursor: grabbing;
}

.modules-carousel-wrapper .embla__slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 0 10px;
}

/* Tablet: 2 cards */
@media (min-width: 769px) {
    .modules-carousel-wrapper .embla__slide {
        flex: 0 0 50%;
        padding: 0 15px;
    }
}

/* Desktop: 3 cards */
@media (min-width: 1100px) {
    .modules-carousel-wrapper .embla__slide {
        flex: 0 0 33.333%;
        padding: 0 15px;
    }
}

/* Wide desktop: 4 cards */
@media (min-width: 1800px) {
    .modules-carousel-wrapper .embla__slide {
        flex: 0 0 25%;
        padding: 0 15px;
    }
}

.modules-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

/* Wide desktop: show overflow for all 5 cards */
@media (min-width: 1401px) {
    .modules-carousel-container {
        overflow: visible;
    }
}

.modules-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 20px 20px;
}

/* Desktop: Larger gap */
@media (min-width: 769px) {
    .modules-carousel-track {
        gap: 30px;
        padding: 20px 0;
    }
}

.module-card {
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Desktop: Larger border radius */
@media (min-width: 769px) {
    .module-card {
        border-radius: 32px;
    }
}

.module-card:hover {
    transform: translateY(-6px);
}

.module-image-wrapper {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop: Larger rounded corners */
@media (min-width: 769px) {
    .module-image-wrapper {
        border-radius: 28px;
    }
}

.module-card:hover .module-image-wrapper {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: scale(1.015);
}

.module-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.module-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 16px 0 8px;
    text-align: center;
}

.module-description {
    font-size: 14px;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.4;
    padding: 0 12px;
    margin-bottom: 12px;
}

/* Desktop: Larger text */
@media (min-width: 769px) {
    .module-title {
        font-size: 22px;
        margin: 24px 0 12px;
    }
    
    .module-description {
        font-size: 15px;
        line-height: 1.5;
        padding: 0 15px;
        margin-bottom: 10px;
    }
}

.carousel-nav-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.carousel-nav-btn:hover {
    background: #f8f8f8;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
    border-color: var(--primary-green);
}

.carousel-nav-btn:active {
    transform: scale(0.95);
}

.carousel-nav-btn svg {
    color: #1d1d1f;
    width: 28px;
    height: 28px;
}

.carousel-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d1d6;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-dot:hover {
    background: #86868b;
    transform: scale(1.2);
}

.carousel-dot.active {
    background: var(--primary-green);
    width: 10px;
}

/* Hide 5th dot on tablet/desktop (only show 4 dots when multiple cards are visible) */
@media (min-width: 769px) {
    .ai-modules-carousel .carousel-dot:nth-child(5) {
        display: none;
    }
}

/* These rules are now handled by the main responsive breakpoints above */

/* Tablet-specific sizing (768px-1024px) - reduce image height */
@media (min-width: 768px) and (max-width: 1024px) {
    .module-image-wrapper {
        aspect-ratio: 16/9;
    }
    
    .module-title {
        font-size: 16px;
        margin: 14px 0 8px;
    }
    
    .module-description {
        font-size: 13px;
        line-height: 1.4;
    }
}

/* Navigation Controls Below Carousel */
.carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

/* Mobile: Smaller navigation buttons and compact layout */
@media (max-width: 768px) {
    .carousel-nav-btn {
        width: 44px;
        height: 44px;
    }
    
    .carousel-nav-btn svg {
        width: 22px;
        height: 22px;
    }
    
    .carousel-navigation {
        margin-top: 20px;
        gap: 12px;
    }
    
    .carousel-intro {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .modules-carousel-wrapper {
        max-width: 100%;
    }
    
    .modules-carousel-track {
        padding: 15px 15px;
    }
}

/* ================================================
   DESKTOP OPTIMIZATION (1025px-1400px)
   ================================================ */

@media (min-width: 1025px) and (max-width: 1400px) {
    .ai-modules-carousel {
        padding: 80px 0;
    }
    
    .ai-modules-carousel .carousel-intro {
        font-size: 16px;
        margin: 16px auto 40px;
        max-width: 700px;
    }
    
    .module-image-wrapper {
        aspect-ratio: 4/3;
    }
    
    .module-title {
        font-size: 18px;
        margin: 18px 0 10px;
    }
    
    .module-description {
        font-size: 14px;
        padding: 0 10px;
        margin-bottom: 12px;
    }
    
    .carousel-navigation {
        margin-top: 24px;
    }
    
    .carousel-dots {
        margin-top: 30px;
    }
}

/* ============================================
   WORLD MAP TRUST SECTION - APPLE-STYLE SCROLL ANIMATION
   ============================================ */

.world-map-section {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 600px;
    max-height: 800px;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.world-map-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.world-map-content {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.world-map-image {
    width: 100%;
    height: auto;
    max-width: 1600px;
    display: block;
    margin: 0 auto;
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.15);
    transform-origin: center center;
    will-change: transform, filter;
}

.world-map-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 900px;
    padding: 0 40px;
    pointer-events: none;
    z-index: 10;
    will-change: transform, opacity;
}

.world-map-headline {
    font-size: clamp(36px, 5.5vw, 64px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    will-change: opacity, transform;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1),
                transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.world-map-section.visible .world-map-headline {
    opacity: 1;
    transform: translateY(0);
}

.world-map-subline {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.world-map-section.visible .world-map-subline {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
}

.world-map-caption {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-green);
    opacity: 0;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.world-map-section.scrolled .world-map-caption {
    opacity: 1;
}

/* Smooth GPU-accelerated rendering */
.world-map-section,
.world-map-container,
.world-map-content,
.world-map-image,
.world-map-text {
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    perspective: 1000;
}

/* Tablet responsiveness */
@media (max-width: 1024px) {
    .world-map-text {
        max-width: 700px;
        padding: 0 30px;
    }
    
    .world-map-headline {
        font-size: clamp(30px, 5vw, 52px);
    }
    
    .world-map-image {
        max-width: 1400px;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .world-map-section {
        height: 60vh;
        min-height: 500px;
        max-height: 600px;
        padding: 40px 0;
    }
    
    .world-map-text {
        max-width: 90%;
        padding: 0 20px;
        top: 45%;
    }
    
    .world-map-headline {
        font-size: clamp(28px, 7vw, 42px);
        letter-spacing: -0.02em;
    }
    
    .world-map-image {
        max-width: 100%;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .world-map-section {
        height: 55vh;
        min-height: 450px;
        padding: 30px 0;
    }
    
    .world-map-headline {
        font-size: clamp(24px, 8vw, 36px);
    }
    
    .world-map-text {
        padding: 0 15px;
        top: 42%;
    }
}

/* Reduced motion support for accessibility */
@media (prefers-reduced-motion: reduce) {
    .world-map-section,
    .world-map-container,
    .world-map-image,
    .world-map-headline,
    .world-map-subline,
    .world-map-caption {
        transition: none !important;
        animation: none !important;
    }
    
    .world-map-image {
        transform: scale(1) !important;
    }
    
    .world-map-section.visible .world-map-headline,
    .world-map-section.visible .world-map-subline {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* ============================================
   CUSTOMER STORIES VIDEO CAROUSEL
   ============================================ */

.customer-stories {
    padding: 80px 0;
    text-align: center;
}

.customer-stories .section-title {
    margin-bottom: 16px;
}

.customer-stories .section-subtitle {
    margin-bottom: 48px;
    color: #666;
    font-size: 18px;
}

.video-carousel-wrapper {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.video-carousel-wrapper .embla {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.video-carousel-wrapper .embla__container {
    display: flex;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.video-carousel-wrapper .embla__container:active {
    cursor: grabbing;
}

.video-carousel-wrapper .embla__slide {
    flex: 0 0 auto;
    min-width: 0;
    padding-right: 24px;
}

.video-slide {
    position: relative;
    height: 600px;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-slide video {
    max-height: 600px;
    height: 600px;
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-overlay:hover {
    background: rgba(0, 0, 0, 0.2);
}

.video-overlay.playing {
    opacity: 0;
    pointer-events: none;
}

.video-play-button {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.95;
}

.video-play-button:hover {
    transform: scale(1.1);
    opacity: 1;
}

.video-play-button svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.customer-stories .carousel-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
}

.customer-stories .carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
}

.customer-stories .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.customer-stories .carousel-dot:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.customer-stories .carousel-dot.active {
    background: #00D084;
    transform: scale(1.3);
}

.customer-stories .cta-center {
    text-align: center;
}

.customer-stories .cta-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 24px !important;
    background-color: var(--primary-blue) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: background-color 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 1px 3px 1px rgba(60, 64, 67, 0.15) !important;
    cursor: pointer !important;
}

.customer-stories .cta-button:hover {
    background-color: #1557b0 !important;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15) !important;
}

@media (max-width: 768px) {
    .customer-stories {
        padding: 48px 0;
    }

    .video-carousel-wrapper {
        padding: 0 5px;
    }

    .video-slide {
        border-radius: 12px;
        height: 500px;
    }

    .video-slide video {
        max-height: 500px;
        height: 500px;
    }

    .customer-stories .carousel-navigation {
        margin-top: 20px;
        gap: 12px;
    }

    .customer-stories .cta-text {
        font-size: 20px;
    }

}

@media (max-width: 480px) {
    .video-carousel-wrapper {
        padding: 0 5px;
    }

    .video-slide {
        height: 500px;
        border-radius: 12px;
    }

    .video-slide video {
        max-height: 500px;
        height: 500px;
    }

    .video-play-button svg {
        width: 60px;
        height: 60px;
    }
}
