/* Homepage Specific Styles*/
/* Mobile First Design - Builds on top of styles global.css */

/* Homepage Enhanced CSS Variables */
:root {
    --homepage-glass-bg: rgba(26, 26, 46, 0.85);
    --homepage-glass-border: rgba(0, 212, 255, 0.15);
    --showcase-card-bg: rgba(255, 255, 255, 0.03);
    --showcase-card-border: rgba(255, 255, 255, 0.1);
    --showcase-device-bg: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    --impact-teaser-bg: rgba(46, 213, 115, 0.05);
    --impact-teaser-border: rgba(46, 213, 115, 0.15);
    --about-teaser-bg: rgba(255, 255, 255, 0.02);
    --final-cta-bg: rgba(26, 26, 46, 0.9);
}



/* =================================================
   ENHANCED HERO WITH INTEGRATED JOURNEY SELECTOR
   ================================================= */

/* Hero Journey Selector Integration */
.hero-journey-selector {
    margin: 3rem 0 2rem 0;
    text-align: center;
}

.journey-selector-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.4;
}

.hero-journey-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    max-width: 1000px;
    margin: 0 auto 1rem;
}

.hero-journey-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 212, 255, 0.15);
    border-radius: 15px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: var(--text-light);
    font-family: inherit;
}

.hero-journey-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    border-radius: 13px;
}

.hero-journey-btn:hover::before,
.hero-journey-btn.active::before {
    opacity: 0.1;
}

.hero-journey-btn:hover,
.hero-journey-btn.active {
    transform: translateY(-5px) scale(1.02);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(0, 212, 255, 0.15);
}

.hero-journey-btn .journey-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.3rem;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.hero-journey-btn .journey-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.hero-journey-btn .journey-subtitle {
    font-size: 0.85rem;
    color: var(--text-gray);
    opacity: 0.9;
    line-height: 1.3;
}

/* Enhanced Hero Buttons */
.hero-journey-cta {
    position: relative;
    overflow: hidden;
}

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

.hero-journey-cta:hover::before {
    left: 100%;
}


/* =================================================
   JOURNEY EXPERIENCE (STICKY & SMOOTH)
   ================================================= */
.journey-experience-section {
    background: var(--primary-dark);
    position: relative;
    display: flex;
    padding-top: 5vh;
    padding-bottom: 5vh;
    border-top:1px solid (var(--glass-border));
}

/* === NEW: Sticky Container for the Device === */
.journey-device-container {
    /* Make the device container sticky */
    position: sticky;
    top: calc(var(--nav-height, 80px) + 5vh); /* Stick below the nav bar with margin */
    
    /* Layout */
    width: 45%;
    height: 90vh; /* Make it almost full-height */
    max-height: 700px;
    padding-left: 5%;
    
    /* Child layout */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    
    /* Performance */
    will-change: transform;
}

/* === NEW: Journey Device Selector === */
.journey-device-selector {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    backdrop-filter: blur(5px);
    margin-bottom: 0.5rem; 
}


@media screen and (max-width: 768px) {
    .journey-device-selector {
        margin-bottom: 0rem; /* Remove bottom margin on mobile */
    }
    
}

.device-journey-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.device-journey-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.device-journey-btn.active {
    border-color: var(--accent-blue);
    background: rgba(0, 212, 255, 0.15);
    transform: scale(1.1);
}

.journey-device-mockup {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 3/4; /* Maintain aspect ratio */
    background: linear-gradient(145deg, #2a2a3e, #1a1a2e);
    border-radius: 25px;
    padding: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 60px rgba(0, 212, 255, 0.1);
    transition: all 0.5s ease;
    position: relative;
}

.journey-device-screen {
    width: 100%; height: 100%; background: #000; border-radius: 15px; overflow: hidden; border: 2px solid rgba(0, 212, 255, 0.3); position: relative;
}
.journey-screen { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; display: flex; align-items: center; justify-content: center; }
.journey-screen.active { opacity: 1; }
.journey-screen img { width: 100%; height: 100%; object-fit: cover; border-radius: 13px; }
.placeholder-content { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(45deg, rgba(0, 212, 255, 0.1), rgba(255, 0, 110, 0.1)); color: var(--text-gray); font-size: 1.3rem; font-weight: 600; text-align: center; line-height: 1.4; border-radius: 13px; }

/* Progress Indicator */
.journey-progress-indicator { 
    display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.progress-dots { display: flex; gap: 1rem; }
.progress-dot { width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, 0.3); transition: all 0.3s ease; position: relative; cursor: pointer; border: none; }
.progress-dot.active { background: var(--accent-blue); transform: scale(1.3); box-shadow: 0 0 15px rgba(0, 212, 255, 0.5); }
.progress-dot.active::after { content: ''; position: absolute; inset: -4px; border: 2px solid rgba(0, 212, 255, 0.3); border-radius: 50%; animation: pulse-ring 2s infinite; }
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.progress-labels { font-size: 0.85rem; color: var(--text-gray); font-weight: 500; text-align: center; }

/* Scrolling Text Container (Left Side) */
.journey-text-container {
    width: 55%;
    padding: 0 5% 0 2rem;
    position: relative;
}
.journey-path { display: none; }
.journey-path.active { display: block; }

.journey-step {
    min-height: 90vh; /* Each step takes up vertical space */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    max-width: 600px;
    opacity: 0.4; /* Inactive steps are dimmed */
    transition: opacity 0.4s ease;
}
.journey-step.active-step {
    opacity: 1; /* Active step is fully visible */
}

/* Step Content Styling */
.step-indicator { display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem; }

.step-number { 
    width: 60px; 
    height: 60px; 
    border-radius: 50%; 
    background: var(--gradient-primary); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.4rem; 
    font-weight: 800; 
    color: white; 
    flex-shrink: 0; 
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.3); 
}

.step-label { 
    font-size: 0.9rem; 
    font-weight: 600; 
    color: var(--accent-blue); 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
}

.section-title { 
    font-size: 2.5rem; 
    font-weight: 800; 
    line-height: 1.2; 
    margin-bottom: 1.5rem; 
    background: var(--gradient-primary); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
    background-clip: text; 
}

.section-description { font-size: 1.1rem; color: var(--text-gray); line-height: 1.6; margin-bottom: 2rem; }

.problem-stats, .result-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }

.stat-item, .benefit-item { 
    padding: 1.5rem; 
    text-align: center; 
    transition: all 0.3s ease; 
    border-radius: 15px; }

.stat-item { 
    background: rgba(255, 0, 110, 0.1); 
    border: 1px solid rgba(255, 0, 110, 0.2); }

.benefit-item { background: rgba(46, 213, 115, 0.1); border: 1px solid rgba(46, 213, 115, 0.2); }
.stat-number, .benefit-number { font-size: 2rem; font-weight: 800; display: block; margin-bottom: 0.5rem; }

.stat-number { 
    color: var(--accent-pink); }

.benefit-number { color: var(--accent-green); font-size: 2.5rem; }
.solution-features { display: flex; gap: 1rem; flex-wrap: wrap; margin: 2rem 0; }
.feature-item { background: rgba(0, 212, 255, 0.1); border: 1px solid rgba(0, 212, 255, 0.2); border-radius: 25px; padding: 0.5rem 1rem; display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-light); font-weight: 500; }

/* Pricing & CTA */
.pricing-info { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); border-radius: 15px; padding: 2rem; margin: 2rem 0; text-align: center; }
.price-amount { font-size: 2rem; font-weight: 800; background: var(--gradient-pricing); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.journey-cta { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.journey-cta .btn { flex: 1; min-width: 200px; text-align: center; }



/* =================================================
   MOBILE RESPONSIVE DESIGN
   ================================================= */

@media (max-width: 1200px) {
    .journey-device-container {
        width: 350px;
        height: 450px;
    }
    
    .journey-device-mockup {
        max-width: 300px;
        height: 350px;
    }
    
    .journey-text-container {
        width: 60%;
    }
}

@media (max-width: 1024px) {
    .journey-device-container {
        right: 2%;
        width: 300px;
        height: 400px;
    }
    
    .journey-device-mockup {
        max-width: 250px;
        height: 300px;
        padding: 15px;
    }
    
    .journey-text-container {
        width: 65%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    /* Mobile: Stack Layout */
    .journey-experience-section {
        flex-direction: column;
        align-items: center;
        padding: 2rem 1rem;
        min-height: auto;
    }
    
    /* Mobile: Fixed device becomes normal flow */

    /* Mobile: Make device container sticky */
    .journey-device-container {
    display: flex; /* Re-enable the container */
    position: sticky; 
    top: 50px; /* Stick it below your navbar. Adjust this value if your nav height changes. */
    z-index: 10; /* Ensure it sticks above the text content. */
    width: 100%;
    height: auto; /* Let content decide height */
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 0;
    background: #0a0a1af2;
    border-bottom: 1px solid var(--glass-border);
    border-radius:32px;
    }
    
    .journey-device-mockup {
    width: 100%;
    max-width: 200px; 
    height: 200px;  
    padding: 10px;
    margin: 0 auto;
    }

    .progress-dots { 
    display: flex; 
    gap: 1rem; 
    padding-bottom:10px;
    }
    
    /* Mobile: Text container becomes normal flow */
    .journey-text-container {
    width: 100%;
    min-height: auto;
    padding: 0 1rem;
    order: 2;
    }
    
    .journey-step {
        height: auto;
        min-height: 60vh;
        padding: 2rem 1rem;
        max-width: none;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .problem-stats,
    .result-benefits {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .solution-features {
        justify-content: center;
    }
    
    .journey-cta {
        flex-direction: column;
    }
    
    .journey-cta .btn {
        width: 100%;
        min-width: auto;
    }
    
    .progress-labels {
        font-size: 0.8rem;
        display:none;
    }
    
    /* Hero journey selector mobile */
    .hero-journey-options {
        grid-template-columns: auto auto;
        gap: 0.8rem;
    }
    
    .hero-journey-btn {
        min-height: 100px;
        padding: 1.2rem 1rem;
    }
    
    .hero-journey-btn .journey-icon {
        font-size: 2rem;
    }
    
    .hero-journey-btn .journey-title {
        font-size: 1rem;
    }
    
    .hero-journey-btn .journey-subtitle {
        font-size: 0.8rem;
        display: none !important; /* Hide subtitle on mobile for cleaner look */
    }
    
    .journey-selector-title {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .journey-device-mockup {
        width: 150px;
        height: 150px;
        padding: 10px;
    }
    
    .journey-step {
        padding: 1.5rem 0.5rem;
        min-height: 50vh;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-journey-btn {
        min-height: 90px;
        padding: 1rem 0.8rem;
    }
    
    .placeholder-content {
        font-size: 1.1rem;
    }
}

/* =================================================
   PERFORMANCE OPTIMIZATIONS
   ================================================= */

/* Will-change for animated elements */
.journey-screen,
.journey-step,
.hero-journey-btn,
.journey-device-mockup {
    will-change: transform, opacity;
}

/* Remove will-change after animations complete */
.journey-screen:not(.active),
.journey-step:not(.active) {
    will-change: auto;
}


/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .journey-screen,
    .journey-step,
    .hero-journey-btn,
    .progress-dot.active::after {
        animation: none !important;
        transition: none !important;
    }
    
    .hero-journey-btn:hover,
    .hero-journey-btn.active {
        transform: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-journey-btn,
    .journey-device-mockup,
    .pricing-info {
        border-width: 2px;
        background: rgba(255, 255, 255, 0.1);
    }
}

/* =================================================
   ENHANCED VISUAL EFFECTS
   ================================================= */

/* Add subtle glow to active journey button */
.hero-journey-btn.active {
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 40px rgba(0, 212, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Device hover effect */
.journey-device-mockup:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(0, 212, 255, 0.2);
}

/* Smooth step transitions */
@keyframes stepFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.journey-step.active {
    animation: stepFadeIn 0.8s ease-out;
}


/* =================================================
   SOCIAL IMPACT TEASER SECTION
   ================================================= */

.social-impact-teaser {
    padding: 4rem 1rem;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.social-impact-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(46, 213, 115, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(46, 213, 115, 0.04) 0%, transparent 50%);
    z-index: 1;
}

.impact-teaser-container {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    width: 100%;
}

.impact-teaser-content {
    text-align: center;
    background: var(--homepage-glass-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--impact-teaser-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(46, 213, 115, 0.1);
}

.impact-teaser-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    animation: impactPulse 3s ease-in-out infinite;
}

@keyframes impactPulse {
    0%, 100% { 
        transform: scale(1); 
        filter: drop-shadow(0 0 10px rgba(46, 213, 115, 0.3)); 
    }
    50% { 
        transform: scale(1.05); 
        filter: drop-shadow(0 0 20px rgba(46, 213, 115, 0.5)); 
    }
}

.impact-teaser-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-impact);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.impact-teaser-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.impact-teaser-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.impact-stat {
    background: var(--impact-teaser-bg);
    border: 1px solid var(--impact-teaser-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.impact-stat:hover {
    background: rgba(46, 213, 115, 0.08);
    border-color: rgba(46, 213, 115, 0.25);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-negative);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.btn-impact {
    background: var(--gradient-impact);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-impact:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(46, 213, 115, 0.3);
}

/* =================================================
   ABOUT KEVIN TEASER SECTION
   ================================================= */

.about-teaser {
    padding: 4rem 1rem;
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}

.about-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 30% 70%, rgba(0, 212, 255, 0.04) 0%, transparent 50%);
    z-index: 1;
}

.about-teaser-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    width: 100%;
}

.about-teaser-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.about-teaser-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 3px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.about-teaser-image:hover {
    transform: scale(1.05);
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
}

.about-teaser-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-teaser-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.about-teaser-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.about-teaser-highlights {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--about-teaser-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.3);
    color: var(--text-light);
}

.highlight-icon {
    font-size: 1rem;
}

/* =================================================
   FINAL CTA SECTION
   ================================================= */

.final-cta-section {
    padding: 4rem 1rem;
    background: var(--primary-dark);
    position: relative;
    overflow: hidden;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 25% 75%, rgba(255, 0, 110, 0.04) 0%, transparent 50%);
    z-index: 1;
}

.final-cta-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.final-cta-content {
    text-align: center;
    background: var(--final-cta-bg);
    backdrop-filter: blur(15px);
    border: 1px solid var(--homepage-glass-border);
    border-radius: 20px;
    padding: 3rem 2rem;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.2),
        0 0 60px rgba(0, 212, 255, 0.1);
}

.final-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.final-cta-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.final-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.btn-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    width: 100%;
    max-width: 280px;
}

/* =================================================
   ENHANCED FOOTER STYLES
   ================================================= */

/* Enhanced footer specifically for homepage */
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem 1rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
    margin: 0.5rem 0 0 0;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.footer-column h4 {
    color: var(--accent-blue);
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

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

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-column ul li a:hover {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.footer-copyright,
.footer-made-with {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin: 0;
}

.footer-social {
    margin-top: 0.5rem;
}

.footer-social a {
    transition: all 0.3s ease;
}

.footer-social a:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

/* =================================================
   RESPONSIVE BREAKPOINTS
   ================================================= */

/* Tablet Styles (768px and up) */
@media (min-width: 768px) {
    /* Services Showcase */
    .services-showcase-section {
        padding: 5rem 2rem;
    }
    
    .showcase-title {
        font-size: 2.8rem;
    }
    
    .showcase-subtitle {
        font-size: 1.1rem;
    }
    
    .showcase-device-container {
        max-width: 400px;
        height: 250px;
        padding: 16px;
    }
    
    .showcase-service-card {
        width: 300px;
        padding: 2rem;
    }
    
    /* Better tablet positioning */
    .showcase-service-card[data-service="tourism"] {
        top: -80px;
        left: 50%;
    }
    
    .showcase-service-card[data-service="restaurant"] {
        top: 50%;
        right: -40px;
    }
    
    .showcase-service-card[data-service="kickstart"] {
        bottom: -80px;
        left: 50%;
    }
    
    .showcase-service-card[data-service="custom"] {
        top: 50%;
        left: -40px;
    }
    
    /* Social Impact Teaser */
    .social-impact-teaser {
        padding: 5rem 2rem;
    }
    
    .impact-teaser-title {
        font-size: 2.5rem;
    }
    
    .impact-teaser-stats {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    /* About Teaser */
    .about-teaser {
        padding: 5rem 2rem;
    }
    
    .about-teaser-content {
        grid-template-columns: auto 1fr;
        text-align: left;
        gap: 3rem;
    }
    
    .about-teaser-image {
        width: 150px;
        height: 150px;
        margin: 0;
    }
    
    .about-teaser-title {
        font-size: 2.5rem;
    }
    
    .about-teaser-highlights {
        justify-content: flex-start;
    }
    
    /* Final CTA */
    .final-cta-section {
        padding: 5rem 2rem;
    }
    
    .final-cta-title {
        font-size: 2.8rem;
    }
    
    .final-cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn-large {
        width: auto;
        min-width: 200px;
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
    
    .footer-main {
        grid-template-columns: 1fr 2fr;
        gap: 3rem;
    }
    
    .footer-brand {
        text-align: left;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* Desktop Styles (1024px and up) */
@media (min-width: 1024px) {
    /* Enhanced showcase for desktop */
    .services-showcase-section {
        padding: 6rem 2rem;
    }
    
    .showcase-title {
        font-size: 3.5rem;
    }
    
    .showcase-subtitle {
        font-size: 1.3rem;
    }
    
    .showcase-device-container {
        max-width: 500px;
        height: 320px;
        padding: 20px;
    }
    
    .showcase-service-card {
        width: 350px;
        padding: 2.5rem;
    }
    
    /* Desktop positioning - more spread out */
    .showcase-service-card[data-service="tourism"] {
        top: -100px;
        left: 50%;
    }
    
    .showcase-service-card[data-service="restaurant"] {
        top: 50%;
        right: -60px;
    }
    
    .showcase-service-card[data-service="kickstart"] {
        bottom: -100px;
        left: 50%;
    }
    
    .showcase-service-card[data-service="custom"] {
        top: 50%;
        left: -60px;
    }
    
    /* Enhanced animations for desktop */
    .showcase-service-card:hover {
        transform: scale(1.05) translateY(-5px);
    }
    
    /* Enhanced hover for tourism card */
    .showcase-service-card[data-service="tourism"]:hover {
        transform: translateX(-50%) scale(1.05) translateY(-5px);
    }
    
    .showcase-service-card[data-service="kickstart"]:hover {
        transform: translateX(-50%) scale(1.05) translateY(-5px);
    }
    
    /* Impact teaser desktop */
    .social-impact-teaser {
        padding: 6rem 2rem;
    }
    
    .impact-teaser-content {
        padding: 4rem 3rem;
    }
    
    .impact-teaser-title {
        font-size: 3rem;
    }
    
    .impact-teaser-description {
        font-size: 1.2rem;
    }
    
    /* About teaser desktop */
    .about-teaser {
        padding: 6rem 2rem;
    }
    
    .about-teaser-content {
        gap: 4rem;
    }
    
    .about-teaser-image {
        width: 180px;
        height: 180px;
    }
    
    .about-teaser-title {
        font-size: 3rem;
    }
    
    .about-teaser-description {
        font-size: 1.2rem;
    }
    
    /* Final CTA desktop */
    .final-cta-section {
        padding: 6rem 2rem;
    }
    
    .final-cta-content {
        padding: 4rem 3rem;
    }
    
    .final-cta-title {
        font-size: 3.5rem;
    }
    
    .final-cta-description {
        font-size: 1.2rem;
    }
    
    /* Footer desktop */
    .footer-container {
        padding: 4rem 2rem 2rem;
    }
    
    .footer-main {
        grid-template-columns: 1fr 3fr;
        gap: 4rem;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .showcase-device-container {
        max-width: 600px;
        height: 380px;
    }
    
    .showcase-service-card {
        width: 380px;
        padding: 3rem;
    }
    
    /* Even more spread out positioning */
    .showcase-service-card[data-service="tourism"] {
        top: -120px;
    }
    
    .showcase-service-card[data-service="restaurant"] {
        right: -80px;
    }
    
    .showcase-service-card[data-service="kickstart"] {
        bottom: -120px;
    }
    
    .showcase-service-card[data-service="custom"] {
        left: -80px;
    }
}

/* =================================================
   PERFORMANCE OPTIMIZATIONS
   ================================================= */

/* Will-change for animated elements */
.showcase-service-card {
    will-change: transform, opacity;
}

.showcase-device-container {
    will-change: transform;
}

.showcase-screen-content {
    will-change: opacity, transform;
}

.impact-teaser-icon {
    will-change: transform;
}

/* Remove will-change after animations complete */
.showcase-service-card:not(.visible) {
    will-change: auto;
}

.showcase-screen-content:not(.active) {
    will-change: auto;
}

/* =================================================
   ACCESSIBILITY & PERFORMANCE
   ================================================= */

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .showcase-service-card,
    .showcase-device-container,
    .showcase-screen-content,
    .impact-teaser-icon {
        animation: none !important;
        transition: none !important;
    }
    
    .showcase-service-card {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    
    .showcase-screen-content.active {
        transform: scale(1);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .showcase-service-card {
        border-width: 2px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .showcase-device-container {
        border: 2px solid var(--accent-blue);
    }
    
    .impact-teaser-content,
    .final-cta-content {
        border-width: 2px;
        background: rgba(255, 255, 255, 0.1);
    }
}

/* Print styles */
@media print {
    .services-showcase-section,
    .social-impact-teaser,
    .about-teaser,
    .final-cta-section {
        background: white !important;
        color: black !important;
    }
    
    .showcase-service-card,
    .impact-teaser-content,
    .final-cta-content {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* =================================================
   MOBILE PERFORMANCE OPTIMIZATIONS
   ================================================= */

/* Reduce backdrop-filter on mobile for better performance */
@media (max-width: 768px) {
    .showcase-service-card,
    .impact-teaser-content,
    .final-cta-content {
        backdrop-filter: blur(5px);
    }
    
    /* Disable expensive hover effects on mobile */
    .showcase-service-card:hover,
    .showcase-device-container:hover,
    .impact-stat:hover,
    .about-teaser-image:hover,
    .highlight-item:hover {
        transform: none;
    }
    
    /* Simplify animations on mobile */
    .impact-teaser-icon {
        animation: none;
    }
}

/* =================================================
   UTILITY CLASSES FOR HOMEPAGE
   ================================================= */

/* Animation delays for staggered effects */
.showcase-service-card:nth-child(1) {
    transition-delay: 0.1s;
}

.showcase-service-card:nth-child(2) {
    transition-delay: 0.2s;
}

.showcase-service-card:nth-child(3) {
    transition-delay: 0.3s;
}

.showcase-service-card:nth-child(4) {
    transition-delay: 0.4s;
}

/* Hidden utility for JavaScript interactions */
.js-hidden {
    opacity: 0;
    visibility: hidden;
}

.js-visible {
    opacity: 1;
    visibility: visible;
}

/* Smooth transitions for dynamic content */
.smooth-transition {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Focus styles for keyboard navigation */
.showcase-dot:focus,
.showcase-service-card:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* =================================================
   HOMEPAGE SPECIFIC OVERRIDES
   ================================================= */

/* Override global button styles for homepage CTAs */
.homepage-cta {
    position: relative;
    overflow: hidden;
}

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

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

/* Enhanced loading states */
.loading-placeholder {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 25%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Dark mode enhancements (if needed) */
@media (prefers-color-scheme: dark) {
    :root {
        --homepage-glass-bg: rgba(15, 15, 25, 0.9);
        --showcase-card-bg: rgba(255, 255, 255, 0.05);
    }
}