/* Deep Blue Labs - App Store Theme */

:root {
    /* Apple-inspired colors */
    --apple-blue: #007AFF;
    --apple-gray: #F5F5F7;
    --apple-dark-gray: #1D1D1F;
    --apple-light-gray: #86868B;
    --apple-white: #FFFFFF;
    
    /* Deep Blue Labs brand colors */
    --deep-blue: #003366;
    --deep-blue-light: #0066CC;
    --accent-blue: #0099FF;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #003366 0%, #0066CC 100%);
    --gradient-hero: linear-gradient(135deg, #001F3F 0%, #003366 50%, #0066CC 100%);
    --gradient-card: linear-gradient(135deg, rgba(0, 51, 102, 0.1) 0%, rgba(0, 153, 255, 0.1) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--apple-dark-gray);
    background: var(--apple-gray);
    overflow-x: hidden;
}

/* Header */
.deep-blue-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.deep-blue-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--apple-dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    color: var(--apple-blue);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--apple-dark-gray);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/img/background/fondomovil.jpg') center/cover;
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
    color: var(--apple-white);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease;
}

.app-store-badge {
    display: inline-block;
    margin-top: 2rem;
    animation: fadeInUp 1.2s ease;
}

.app-store-badge img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-badge:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--apple-white);
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--deep-blue);
}

.section-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--apple-light-gray);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Apps Section */
.apps-section {
    padding: var(--spacing-xl) 0;
    background: var(--apple-gray);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.app-card {
    background: var(--apple-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    text-align: center;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 25px;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-sm);
}

.app-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.app-tagline {
    font-size: 1rem;
    color: var(--apple-light-gray);
    margin-bottom: 1rem;
    font-weight: 500;
}

.app-description {
    font-size: 0.95rem;
    color: var(--apple-light-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-store-link {
    display: inline-block;
    margin-top: 1rem;
}

.app-store-link img {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.app-store-link:hover img {
    transform: scale(1.05);
}

/* Experience Section */
.experience-section {
    padding: var(--spacing-xl) 0;
    background: var(--gradient-primary);
    color: var(--apple-white);
}

.experience-section .section-title {
    color: var(--apple-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--apple-white);
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--apple-white);
}

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E5E5E7;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: var(--apple-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--apple-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background: var(--gradient-primary);
    color: var(--apple-white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Footer */
.deep-blue-footer {
    background: var(--apple-dark-gray);
    color: var(--apple-white);
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--apple-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-badges img {
    height: 40px;
    width: auto;
}

/* Policy Pages */
.policy-main {
    padding-top: 100px;
    min-height: 100vh;
    background: var(--apple-gray);
}

.policy-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: var(--apple-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 3rem;
}

.policy-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--apple-gray);
}

.policy-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 1rem;
}

.policy-divider {
    height: 2px;
    background: var(--gradient-primary);
    width: 100px;
    margin: 0 auto;
}

.policy-content {
    line-height: 1.8;
    color: var(--apple-dark-gray);
}

.policy-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--deep-blue);
    margin: 2rem 0 1rem;
}

.policy-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin: 1.5rem 0 1rem;
}

.policy-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin: 1.25rem 0 0.75rem;
}

.policy-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--deep-blue);
    margin: 1rem 0 0.5rem;
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--apple-dark-gray);
}

.policy-content ul,
.policy-content ol {
    margin: 1rem 0 1rem 2rem;
}

.policy-content li {
    margin-bottom: 0.5rem;
    color: var(--apple-dark-gray);
}

.policy-content b {
    color: var(--deep-blue);
    font-weight: 600;
}

.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.policy-content th,
.policy-content td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #E5E5E7;
}

.policy-content th {
    background: var(--apple-gray);
    font-weight: 600;
    color: var(--deep-blue);
}

.policy-content tr:hover {
    background: var(--apple-gray);
}

.policy-content a {
    color: var(--apple-blue);
    text-decoration: none;
}

.policy-content a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: var(--apple-white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}


