/*
 * بسم الله الرحمن الرحيم
 * Bismillah Hir Rahman Nir Raheem
 * In the name of Allah, The Most Gracious, The Most Merciful
 */

/* ======================================
   =============== BIG NUMBER CARDS ===============
   ======================================
 */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 24px;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    overflow: visible;
    height: auto !important;
    /* CHANGED: Remove fixed height */
    min-height: 320px;
    /* ADDED: Use min-height instead */
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8b5cf6, #f43f5e);
    transform: scaleX(0);
    transition: transform 300ms ease;
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-number {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 500;
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 12px;
}

.stat-label {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.5;
    /* Keep text truncation but ensure it works */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* INCREASED: Allow more lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-bottom: 16px;
}

/* ======================================
   =============== PRIVACY FLOW SECTION ===============
   ======================================
 */
.privacy-flow {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 32px;
    margin: 32px 0;
}

.flow-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 32px;
}

.flow-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin: 32px 0;
}

.flow-step {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 600px;
}

.flow-arrow {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #f43f5e);
    position: relative;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 10px solid #f43f5e;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.flow-box {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-xl);
    padding: 16px 24px;
    flex: 1;
    text-align: center;
    color: white;
    font-weight: 600;
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

.profit-box {
    background: rgba(236, 72, 153, 0.2);
    border: 2px solid rgba(236, 72, 153, 0.4);
}

.how-they-profit {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 24px;
    margin-top: 32px;
}

.profit-title {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.profit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.profit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.875rem, 1.75vw, 1.125rem);
}

.profit-item::before {
    content: '▸';
    color: #f43f5e;
    font-weight: bold;
    font-size: 1.2em;
}

.warning-text {
    background: rgba(239, 68, 68, 0.2);
    border: 2px solid rgba(239, 68, 68, 0.4);
    border-radius: var(--radius-xl);
    padding: 16px 24px;
    text-align: center;
    margin: 32px 0;
}

.warning-text h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #ef4444;
    margin-bottom: 8px;
}

.warning-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 600;
}

/* ======================================
   =============== AUTO SCROLL INFO SECTION ===============
   ======================================
 */
.auto-scroll-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 24px;
    margin: 32px 0;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.auto-scroll-content {
    position: absolute;
    width: 100%;
    animation: scrollUp 20s linear infinite;
}

.auto-scroll-container:hover .auto-scroll-content {
    animation-play-state: paused;
}

@keyframes scrollUp {
    0% {
        transform: translateY(100%);
    }

    100% {
        transform: translateY(-100%);
    }
}

.auto-scroll-item {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
}

.auto-scroll-item:last-child {
    border-bottom: none;
}

.auto-scroll-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-2xl);
    flex-shrink: 0;
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
}

.auto-scroll-text {
    flex: 1;
}

.auto-scroll-title {
    font-weight: 600;
    color: white;
    margin-bottom: 4px;
    font-size: var(--text-lg);
}

.auto-scroll-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--text-sm);
    line-height: 1.4;
}

/* ======================================
   =============== TRACKING METHODS SECTION ===============
   ======================================
 */
.tracking-methods {
    margin: 32px 0;
}

.tracking-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 24px;
}

.islamic-reminder {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-2xl);
    padding: 20px;
    text-align: center;
    margin-bottom: 32px;
}

.islamic-reminder h3 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #ef4444;
    font-weight: 600;
    margin-bottom: 8px;
}

.islamic-reminder p {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    font-style: italic;
}

.tracking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.tracking-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 24px;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
}

.tracking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(139, 92, 246, 0.3);
}

.tracking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
    transition: left 0.6s ease;
}

.tracking-card:hover::before {
    left: 100%;
}

.tracking-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tracking-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-3xl);
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
}

.tracking-card-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white;
}

.tracking-list {
    list-style: none;
    padding: 0;
}

.tracking-list li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
    font-size: var(--text-base);
}

.tracking-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: #f43f5e;
    font-weight: bold;
}

/* ======================================
   =============== ETHICAL IMPACT SECTION ===============
   ======================================
 */
/* Ethical Impact Section */
.ethical-impact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 32px;
    margin: 45px 0;
}

.impact-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 32px;
}

.impact-amount {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 800;
    color: white;
    text-align: center;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #8b5cf6, #f43f5e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    line-height: 1;
}

.impact-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1rem, 2vw, 1.25rem);
    text-align: center;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* ======================================
   =============== BIG TECH VS ETHICAL ALTERNATIVES SECTION ===============
   ======================================
 */
.alternatives-section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: 32px;
    margin: 32px 0;
}

.alternatives-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    text-align: center;
    margin-bottom: 24px;
}

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

.company-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 20px;
    transition: all 300ms ease;
}

.company-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.company-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.company-name {
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
}

.company-market-share {
    font-weight: 600;
    color: #8b5cf6;
}

.company-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.company-features li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
    font-size: var(--text-sm);
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-features li::before {
    content: '▸';
    color: #f43f5e;
    font-weight: bold;
}

.recommended-alternative {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-lg);
    padding: 16px;
    margin-top: 16px;
}

.recommended-alternative h4 {
    color: #8b5cf6;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.recommended-alternative p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* ======================================
   =============== ZIKR BOX SECTION ===============
   ======================================
 */
.zikr-box {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: var(--radius-2xl);
    padding: 24px;
    text-align: center;
    margin: 32px 0;
}

.zikr-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-lg);
    line-height: 1.6;
    font-style: italic;
}

/* ======================================
   =============== QUICK START SECTION ===============
   ======================================
 */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(139, 92, 246, 0.1) 0%,
            rgba(236, 72, 153, 0.1) 50%,
            rgba(139, 92, 246, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-card:hover::before {
    opacity: 1;
}

.gradient-border {
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, #8b5cf6, #f43f5e, #8b5cf6);
    border-radius: 1rem;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
    animation: gradient-shift 3s ease infinite;
}

.glass-card:hover .gradient-border {
    opacity: 1;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.guide-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 80px;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(139, 92, 246, 0.1) 50%,
            transparent 100%);
    transition: left 0.6s ease;
}

.guide-card:hover::before {
    left: 100%;
}

.guide-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #f43f5e 100%);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.icon-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guide-card:hover .icon-circle::after {
    opacity: 1;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: white;
}

.card-description {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
}

.arrow-icon {
    opacity: 0;
    transform: translateX(4px);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}

.guide-card:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

.view-all-link {
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
}

.view-all-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #8b5cf6, #f43f5e);
    transition: width 0.3s ease;
}

.view-all-link:hover::after {
    width: 100%;
}

.view-all-link:hover {
    color: #f43f5e;
    text-shadow: 0 0 10px rgba(244, 63, 94, 0.3);
}

/* ======================================
   =============== HERO SECTION ===============
   ======================================
 */
.progress-bar-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    height: 6px;
    overflow: hidden;
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.progress-bar {
    background: linear-gradient(90deg, #8B5CF6 0%, #EC4899 100%);
    height: 100%;
    width: 0;
    transition: none;
}

.progress-point {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #8B5CF6, #EC4899);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.8),
        0 0 20px rgba(139, 92, 246, 0.6),
        0 0 30px rgba(139, 92, 246, 0.4);
    left: 0;
    transition: none;
}

.impact-impact-description {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-weight: 300;
}

/* ======================================
   =============== PRIVACY FLOW SWIPE SECTION ===============
   ======================================
 */
/* Main section styling - FIXED: Removed margin to prevent navbar conflicts */
.section {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    /* FIXED: REMOVED margin: 2rem auto; - This was causing navbar positioning issues */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    max-width: 1200px;
}

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

.section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #8b5cf6;
    padding-bottom: 0.5rem;
    text-align: center;
    font-weight: 700;
}

.swipe-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.swipe-track {
    display: flex;
    height: 100%;
    width: 300%;
    transform: translateX(0);
    transition: transform 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.swipe-item {
    min-width: 33.33%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swipe-item h3 {
    background: linear-gradient(135deg, #8b5cf6, #a855f7, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.swipe-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 400px;
    text-align: left;
}

.swipe-item ul li {
    color: white;
    margin: 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.swipe-item p {
    color: #ef4444;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    margin-top: 1rem;
    padding-top: 1rem;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.swipe-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.swipe-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.swipe-dot.active {
    background: #8b5cf6;
    transform: scale(1.2);
}

.swipe-dot:hover {
    background: rgba(139, 92, 246, 0.6);
    transform: scale(1.1);
}

@keyframes slideBackAndForth {

    0%,
    20% {
        transform: translateX(0);
        /* Slide 1 */
    }

    25% {
        transform: translateX(-33.33%);
        /* Transition to Slide 2 */
    }

    30%,
    50% {
        transform: translateX(-33.33%);
        /* Slide 2 */
    }

    65% {
        transform: translateX(-66.66%);
        /* Transition to Slide 3 */
    }

    60%,
    80% {
        transform: translateX(-66.66%);
        /* Slide 3 */
    }

    90%,
    100% {
        transform: translateX(0);
        /* Slide 1 (restart) */
    }
}

/* Container wrapper */
.container-ethical {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ======================================
   =============== ANIMATIONS ===============
   ======================================
 */
.swipe-item {
    animation: fadeIn 0.8s ease forwards;
}

.swipe-item:nth-child(2) {
    animation-delay: 0.2s;
}

.swipe-item:nth-child(3) {
    animation-delay: 0.4s;
}

.swipe-item:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.3);
}

.swipe-item:hover h3 {
    color: #a855f7;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
    animation: bounce 2s infinite;
}

.scroll-indicator.hidden {
    opacity: 0;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ======================================
   =============== RESPONSIVE STYLES ===============
   ======================================
 */
@media (max-width: 768px) {
    .glass-card {
        padding: 1rem;
        margin: 1rem;
    }

    .hero-text {
        font-size: 1.5rem;
    }

    .guide-card {
        padding: 1rem;
        gap: 0.75rem;
        min-height: 70px;
    }

    .icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .card-title {
        font-size: 1rem;
    }

    .card-description {
        font-size: 0.75rem;
    }

    .section {
        padding: 1.5rem;
        margin: 1.5rem 1rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .swipe-container {
        height: 350px;
        margin: 1rem auto;
    }

    .swipe-item {
        min-width: 100%;
        padding: 1.5rem;
    }

    .swipe-item h3 {
        font-size: 1.25rem;
    }

    .swipe-item ul li {
        font-size: 0.9rem;
    }

    .swipe-item p {
        font-size: 1rem;
    }

    .swipe-indicators {
        margin-top: 0.5rem;
    }
}

/* ======================================
   =============== PERFORMANCE OPTIMIZATION ===============
   ======================================
 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}