/* EditShare EFS Storage Page Styles */

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== MAIN CONTAINER ===== */
.efs {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 70vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    background-image: url('../editshare_img/efs-hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 2rem;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.8) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(51, 65, 85, 0.4) 100%);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.hero__subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    min-width: 140px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-color: #f59e0b;
}

.btn--primary:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.btn:not(.btn--primary) {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn:not(.btn--primary):hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #0f172a, #1e293b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section__lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    text-align: center;
    color: #6b7280;
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}

/* ===== CARDS GRID ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #0f172a, #334155);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: #334155;
}

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

.card__title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
    background: linear-gradient(135deg, #0f172a, #334155);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card__text {
    color: #64748b;
    line-height: 1.6;
}

/* ===== BADGES ===== */
.badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
    margin-top: 2rem;
}

.badge {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #334155;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a, #334155);
    transition: left 0.3s ease;
    z-index: 1;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(51, 65, 85, 0.2);
    color: white;
    border-color: #334155;
}

.badge:hover::before {
    left: 0;
}

.badge:hover {
    position: relative;
    z-index: 2;
}

/* ===== FAQ ===== */
.faq {
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq:hover {
    border-color: #334155;
    box-shadow: 0 4px 15px rgba(51, 65, 85, 0.1);
}

.faq__q {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    background: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
    color: #1e293b;
    list-style: none;
}

.faq__q:hover {
    background: #f1f5f9;
}

.faq__q::after {
    content: '+';
    position: absolute;
    right: 2rem;
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: #334155;
}

.faq[open] .faq__q::after {
    transform: rotate(45deg);
}

.faq__a {
    padding: 0 2rem 1.5rem;
    color: #6b7280;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

/* ===== CTA SECTION ===== */
.cta {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.cta > * {
    position: relative;
    z-index: 2;
}

.cta__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(45deg, #fff, #e2e8f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta__text {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .hero {
        min-height: 60vh;
        padding: 2rem 1rem;
    }
    
    .hero__cta {
        flex-direction: column;
        align-items: center;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .badges {
        gap: 1rem;
    }
    
    .badge {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .cta {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 1.5rem 1rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
    
    .card {
        padding: 2rem 1.5rem;
    }
    
    .badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
    
    .faq__q,
    .faq__a {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}