/* ===== MAIN STYLES - ALSense ===== */

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

/* ===== ROOT VARIABLES ===== */
:root {
    --vh: 1vh;
    --primary-gradient: linear-gradient(180deg, #4d9191 0%, #40a39b 100%);
    --primary-bg: #4d9191;
}

@supports (-webkit-touch-callout: none) {
    /* CSS específico para Safari iOS */
    :root {
        --vh: calc(var(--vh, 1vh) * 100);
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInPhrase {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes titlePulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.02); }
}

/* ===== GLOBAL BACKGROUND ===== */
html::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: var(--primary-gradient);
    z-index: -9999;
    pointer-events: none;
}

html {
    background: var(--primary-bg) !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden !important;
    height: 100% !important;
    width: 100% !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    min-height: -webkit-fill-available !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--primary-gradient) !important;
    color: #fff;
    overflow-x: hidden !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    min-height: -webkit-fill-available !important;
    height: auto !important;
    padding-top: 90px;
    position: relative;
    margin: 0 !important;
    width: 100% !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* ===== HERO SECTION ===== */
.hero-section {
    min-height: calc(100vh - 90px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 30px;
    background: linear-gradient(45deg, #ffffff, #f0f8ff, #e6f3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.2s both, titlePulse 3s ease-in-out 2s infinite alternate;
    text-shadow: 0 0 30px rgba(255,255,255,0.3);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.8vw, 1.6rem);
    font-weight: 300;
    margin-bottom: 80px;
    opacity: 0.9;
    animation: slideUp 1s ease-out 0.5s both;
    line-height: 1.6;
}

.subtitle-accent {
    font-style: italic;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85em;
    display: inline;
    margin-top: 0.3rem;
}

/* ===== ANIMATION UTILITY CLASSES ===== */
.fade-in-phrase {
    animation: fadeInPhrase 1.2s ease-out both;
}

.fade-in {
    animation: fadeIn 0.8s ease-out both;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.fade-in-delay-1 {
    animation-delay: 0.2s;
}

.fade-in-delay-2 {
    animation-delay: 0.4s;
}

.fade-in-delay-3 {
    animation-delay: 0.6s;
}

.fade-in-delay-4 {
    animation-delay: 0.8s;
}

.fade-in-delay-5 {
    animation-delay: 1s;
}

.scroll-fade {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== DISCOVER BUTTON ===== */
.discover-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 40px auto 0;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
    animation: slideUp 1s ease-out 0.8s both;
    max-width: fit-content;
}

.discover-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.discover-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.discover-btn:hover .discover-arrow {
    transform: translateY(3px);
}

/* ===== FOREST METAPHOR SECTIONS ===== */
.forest-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto 60px auto;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.forest-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.forest-container {
    display: flex;
    align-items: center;
}

.forest-image-left,
.forest-image-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.forest-content-left,
.forest-content-right {
    flex: 1;
    display: flex;
    align-items: center;
}

.forest-text {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    text-align: center;
    margin: 0;
    padding: 0 20px;
    letter-spacing: -0.01em;
}

.image-placeholder {
    width: 300px;
    height: 200px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 2px dashed rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.02);
}

.image-placeholder span {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.image-placeholder p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
    font-weight: 500;
}

/* ===== FOREST SCROLL ANIMATION ===== */
.forest-scroll-section {
    min-height: 150vh;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.forest-content {
    max-width: 1000px;
    width: 100%;
    text-align: center;
    position: relative;
    z-index: 100;
}

.forest-text-container {
    margin-bottom: 2vw;
}

.forest-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.3;
    margin: 0;
    transition: all 0.8s ease;
    position: relative;
    z-index: 100;
}

.forest-container {
    position: relative;
    height: 67vw;
    width: 100vw;
    margin: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.forest-base {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    z-index: 1;
}

.forest-base img {
    width: 100%;
    height: auto;
    display: block;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    -webkit-mask-type: luminance;
    mask-type: luminance;
}

.forest-tree {
    position: absolute;
    bottom: 10vw;
    height: 25vw;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.18));
    transition: all 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 10;
    transform: translateX(-50%);
}

/* Posiciones iniciales (bosque cerrado) */
#tree1 {
    left: 38%;
    height: 35vw;
    bottom: 30vw;
}

#tree2 {
    left: 46%;
    height: 34vw;
    bottom: 28vw;
}

#tree3 {
    left: 54%;
    height: 35.5vw;
    bottom: 29vw;
}

#tree4 {
    left: 62%;
    height: 36vw;
    bottom: 30vw;
}

.forest-path {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: auto;
    object-fit: contain;
    bottom: 0px;
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 30%, transparent 100%);
    -webkit-mask-type: luminance;
    mask-type: luminance;
    opacity: 0;
    z-index: 2;
    transition: opacity 1.5s ease;
}

/* Estado abierto - se activa con JavaScript */
.forest-container.opened #tree1 {
    left: 30%;
}

.forest-container.opened #tree2 {
    left: 40%;
}

.forest-container.opened #tree3 {
    left: 60%;
}

.forest-container.opened #tree4 {
    left: 70%;
}

.forest-container.opened .forest-path {
    opacity: 1;
}



.closed-forest span {
    letter-spacing: -5px;
}

.open-forest span {
    letter-spacing: 8px;
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 100px 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    margin: 80px 0;
}

/* ===== PROBLEM-SOLUTION WRAPPER ===== */
.problem-solution-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 80px 20px;
}

/* ===== CHALLENGE SECTION ===== */
.challenge-section {
    margin-bottom: 120px;
}

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

.challenge-header {
    margin-bottom: 80px;
}

.challenge-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
}

.challenge-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin: 0;
}

.challenge-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.challenge-stat {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.challenge-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.challenge-stat:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.stat-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.stat-number {
    font-size: clamp(2.2rem, 3vw, 3rem);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-unit {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.5;
    max-width: 180px;
}

/* ===== SOLUTION DIVIDER ===== */
.solution-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 100px 0;
    gap: 40px;
}

.divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    max-width: 200px;
}

.divider-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.divider-icon svg {
    width: 24px;
    height: 24px;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== SOLUTION SECTION ===== */
.solution-section {
    margin-top: 120px;
}

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

.solution-header {
    margin-bottom: 80px;
}

.solution-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.solution-main {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    margin: 0;
}

.solution-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(30px);
    border: none;
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.5));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-item.breakthrough::before {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.6), rgba(255, 255, 255, 0.9), rgba(255, 215, 0, 0.6));
}

.feature-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-item:hover::before {
    transform: scaleX(1);
}

.feature-item.breakthrough:hover {
    background: rgba(255, 255, 255, 0.14);
}

.feature-emoji {
    display: none;
}

.feature-content {
    flex: 1;
    text-align: center;
}

.feature-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    margin-top: 0;
}

.feature-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.feature-item.breakthrough h3 {
    color: rgba(255, 255, 255, 0.98);
}

/* ===== SOLUTION CTA BUTTON ===== */
.solution-cta {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

.learn-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.learn-more-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    color: #fff;
    text-decoration: none;
}

.learn-more-btn svg {
    transition: transform 0.3s ease;
}

.learn-more-btn:hover svg {
    transform: translateX(4px);
}

/* ===== CUSTOM FOOTER ===== */
.custom-footer {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(50px);
    color: #fff;
    margin-top: 100px;
    padding: 60px 0 30px 0;
    border-radius: 40px 40px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 15px;
}

.footer-links a::before {
    content: '→';
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
    opacity: 0;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(5px);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 25px;
}

.footer-required {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-required a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-required a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
}

.footer-heart {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

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

/* Tablets: 1024px and below */
@media (max-width: 1024px) {
    .challenge-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    .solution-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .feature-item:last-child {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* Mobile: 768px and below */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        overscroll-behavior: none;
        -webkit-overflow-scrolling: touch;
        min-height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    }
    
    /* Optimización mínima para animaciones en móvil */
    .forest-tree {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
    

    
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative;
        background: var(--primary-bg) !important;
        background: var(--primary-gradient) !important;
    }
    
    html {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        min-height: -webkit-fill-available !important;
        background-attachment: scroll !important;
    }
    
    html::before {
        height: 100vh !important;
        height: 100dvh !important;
        height: -webkit-fill-available !important;
    }
    
    * {
        max-width: 100vw;
        overflow-wrap: break-word;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 0 15px;
        min-height: calc(100vh - 70px);
    }
    
    /* Forest Sections */
    .forest-section {
        padding: 60px 15px;
        margin-bottom: 40px;
    }
    
    .forest-container {
        flex-direction: column;
        text-align: center;
    }
    
    .forest-text {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        padding: 0 10px;
    }
    
    .image-placeholder {
        width: 250px;
        height: 160px;
    }
    
    .image-placeholder span {
        font-size: 2rem;
    }
    
    /* Forest Animation */
    .forest-scroll-section {
        min-height: 150vh;
        padding: 5vw 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .forest-tree {
        height: 120px !important;
        bottom: 40px;
    }
    
    #tree1, #tree2, #tree3, #tree4 {
        height: 130px !important;
    }
    
    .forest-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
        padding: 0 10px;
    }
    
    .forest-text-container {
        position: relative;
        z-index: 100;
    }
    
    /* Problem-Solution Wrapper */
    .problem-solution-wrapper {
        padding: 60px 15px;
    }
    
    /* Challenge Section */
    .challenge-section {
        margin-bottom: 80px;
    }
    
    .challenge-header {
        margin-bottom: 60px;
    }
    
    .challenge-stats {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 40px;
    }
    
    .challenge-stat {
        padding: 30px 20px;
    }
    
    /* Solution Section */
    .solution-section {
        margin-top: 80px;
    }
    
    .solution-header {
        margin-bottom: 60px;
    }
    
    .solution-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
    }
    
    .solution-cta {
        margin-top: 40px;
        margin-bottom: 15px;
    }
    
    .learn-more-btn {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .feature-item {
        padding: 35px 25px;
    }
    
    .feature-item:last-child {
        grid-column: auto;
        max-width: 100%;
    }
    
    .feature-emoji {
        font-size: 2.5rem;
        width: 60px;
        height: 60px;
    }
    
    /* Solution Divider */
    .solution-divider {
        margin: 80px 0;
        gap: 20px;
    }
    
    .divider-line {
        max-width: 80px;
    }
    
    .divider-icon {
        width: 50px;
        height: 50px;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-container {
        padding: 0 20px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    html {
        background: var(--primary-bg) !important;
        background: var(--primary-gradient) !important;
        background-attachment: scroll !important;
        background-size: 100% 100% !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        height: 100% !important;
    }
    
    body {
        min-height: 100vh !important;
        min-height: 100dvh !important;
        height: auto !important;
        padding-top: 70px;
    }
    
    .hero-section {
        min-height: calc(100vh - 70px);
        padding: 20px 15px;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 3.5rem);
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.3rem);
        margin-bottom: 40px;
    }
}

/* Very small screens (480px and below) */
@media (max-width: 480px) {
    /* Footer specific adjustments for very narrow screens */
    .footer-content {
        flex-direction: column !important;
        gap: 25px !important;
        text-align: center !important;
    }
    
    .footer-content > div:first-child {
        justify-content: center !important;
    }
    
    .footer-content > div:last-child {
        text-align: center !important;
    }
    
    .footer-content > div:last-child div {
        justify-content: center !important;
    }
    
    .footer-container {
        padding: 30px 15px 25px 15px !important;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}