/* FileLock Secure Page Styles - Updated to match main website design */

/* Hero Section */
.filelock-hero {
    background: #212529; /* Match main site bg-dark */
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.filelock-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-title .gradient-text {
    background: linear-gradient(45deg, #f6d365, #fda085, #f6c0f2, #c3cfe2);
    -webkit-background-clip: text;
    background-clip: text;
    font-size: 4rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 0, 0, 0.2), 0 0 5px rgba(0, 0, 0, 0.1);
    transform: perspective(500px) rotateX(5deg) rotateY(5deg);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
    color: #ffffff;
}

.hero-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(240, 191, 108, 0.3);
}

.badge-ios {
    background: rgba(240, 191, 108, 0.2);
    border: 1px solid rgba(240, 191, 108, 0.3);
    color: #f0bf6c;
}

.badge-swift {
    background: rgba(240, 191, 108, 0.2);
    border: 1px solid rgba(240, 191, 108, 0.3);
    color: #f0bf6c;
}

.badge-secure {
    background: rgba(240, 191, 108, 0.2);
    border: 1px solid rgba(240, 191, 108, 0.3);
    color: #f0bf6c;
}

.badge-offline {
    background: rgba(240, 191, 108, 0.2);
    border: 1px solid rgba(240, 191, 108, 0.3);
    color: #f0bf6c;
}

.hero-image {
    text-align: center;
}

.app-preview {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: perspective(1000px) rotateY(-15deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.app-preview:hover {
    transform: perspective(1000px) rotateY(-10deg) rotateX(2deg);
}

/* Section Styles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #f6d365, #fda085, #f6c0f2, #c3cfe2);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: #212529; /* Match main site bg-dark */
    color: #ffffff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #3d3e42; /* Match main site card background */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out paused;
    border: 1px solid rgba(240, 191, 108, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(240, 191, 108, 0.1), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(240, 191, 108, 0.3);
    background: #4a4b4f;
}

.feature-icon {
    text-align: center;
    margin-bottom: 25px;
}

.feature-img {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-img {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 8px 0;
    color: #cccccc;
    position: relative;
    padding-left: 25px;
    transition: color 0.3s ease;
}

.feature-list li:hover {
    color: #f0bf6c;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #f0bf6c; /* Match main site accent color */
    font-weight: bold;
    font-size: 1.1rem;
}

/* Security Section */
.security-section {
    padding: 100px 0;
    background: #343a40; /* Slightly lighter dark background */
    color: #ffffff;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.security-item {
    text-align: center;
    padding: 30px;
    border-radius: 15px;
    background: #3d3e42; /* Match main site card background */
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out paused;
    border: 1px solid rgba(240, 191, 108, 0.1);
    position: relative;
    overflow: hidden;
}

.security-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f6d365, #fda085, #f6c0f2, #c3cfe2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.security-item:hover::before {
    transform: scaleX(1);
}

.security-item:hover {
    transform: translateY(-5px);
    background: #4a4b4f;
    border-color: rgba(240, 191, 108, 0.3);
    color: white;
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #f0bf6c; /* Match main site accent color */
    transition: transform 0.3s ease;
}

.security-item:hover .security-icon {
    transform: scale(1.1);
}

.security-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.security-item p {
    line-height: 1.6;
    opacity: 0.9;
    color: #cccccc;
}

/* App Structure Section */
.app-structure-section {
    padding: 100px 0;
    background: #212529; /* Match main site bg-dark */
    color: #ffffff;
}

.structure-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.structure-item {
    background: #3d3e42; /* Match main site card background */
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out paused;
    position: relative;
    border: 1px solid rgba(240, 191, 108, 0.1);
}

.structure-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f6d365, #fda085, #f6c0f2, #c3cfe2);
    border-radius: 15px 15px 0 0;
}

.structure-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: #4a4b4f;
    border-color: rgba(240, 191, 108, 0.3);
}

.structure-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #f0bf6c; /* Match main site accent color */
    transition: transform 0.3s ease;
}

.structure-item:hover .structure-icon {
    transform: scale(1.1);
}

.structure-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.structure-item p {
    color: #cccccc;
    line-height: 1.6;
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: #343a40; /* Slightly lighter dark background */
    color: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gallery-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out paused;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 2px solid transparent;
}

.gallery-img:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(240, 191, 108, 0.3);
}

.gallery-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    transition: color 0.3s ease;
}

.gallery-item:hover h4 {
    color: #f0bf6c;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: #212529; /* Match main site bg-dark */
    color: white;
    text-align: center;
    border-top: 1px solid rgba(240, 191, 108, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #f6d365, #fda085, #f6c0f2, #c3cfe2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    color: #ffffff;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.btn {
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.btn::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 ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: #f0bf6c; /* Match main site accent color */
    color: #333;
    border: 2px solid #f0bf6c;
}

.btn-primary:hover {
    background: transparent;
    color: #f0bf6c;
    transform: translateY(-3px);
    border-color: #f0bf6c;
    box-shadow: 0 10px 25px rgba(240, 191, 108, 0.3);
}

.btn-outline {
    background: transparent;
    color: #f0bf6c; /* Match main site accent color */
    border: 2px solid #f0bf6c;
}

.btn-outline:hover {
    background: #f0bf6c;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(240, 191, 108, 0.3);
}

/* App Store Button Special Styling */
.btn-primary .bi-apple {
    font-size: 1.2rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .gradient-text {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .security-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .structure-timeline {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .filelock-hero {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .gradient-text {
        font-size: 2.5rem;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .features-section,
    .security-section,
    .app-structure-section,
    .gallery-section,
    .cta-section {
        padding: 60px 0;
    }
    
    .feature-card {
        padding: 25px;
    }
    
    .security-item {
        padding: 20px;
    }
    
    .structure-item {
        padding: 25px;
    }
    
    .cta-buttons {
        gap: 12px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 180px;
    }
}
