/* Robin Media Apps - App Store Theme */

/* CSS Variables - Modern App Store Style */
:root {
    /* Apple-inspired Colors */
    --apple-blue: #007AFF;
    --apple-dark-blue: #0051D5;
    --apple-light-blue: #5AC8FA;
    
    /* App Store Colors */
    --app-store-black: #000000;
    --app-store-white: #FFFFFF;
    --app-store-gray: #F5F5F7;
    --app-store-dark-gray: #1D1D1F;
    --app-store-text: #1D1D1F;
    --app-store-light-text: #86868B;
    
    /* Robin Media Colors */
    --robin-primary: #667eea;
    --robin-secondary: #764ba2;
    --robin-accent: #f093fb;
    
    /* Gradients - Clean & Modern */
    --hero-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --apps-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --about-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --experience-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --contact-gradient: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --footer-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Reset & Base Styles */
* {
    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(--app-store-text);
    background: var(--app-store-gray);
    overflow-x: hidden;
}

/* Header - Modern App Store Style */
.robin-header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    color: var(--app-store-text);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: var(--robin-primary);
    letter-spacing: -0.02em;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: var(--app-store-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--robin-primary);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.icon-bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--app-store-text);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.robin-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hero-gradient);
    color: var(--app-store-white);
    position: relative;
    overflow: hidden;
    padding-top: 80px;
}

.robin-hero::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 {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 40px 20px;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.3em;
    margin-bottom: 40px;
    opacity: 0.9;
    font-weight: 400;
    animation: fadeInUp 1s ease;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease;
}

.app-store-badge {
    display: inline-block;
    width: 180px;
    height: 60px;
    line-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Section Styles */
.robin-section {
    padding: 100px 0;
    position: relative;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
    color: var(--app-store-text);
}

.section-subtitle {
    font-size: 1.2em;
    text-align: center;
    color: var(--app-store-light-text);
    margin-bottom: 50px;
    font-weight: 400;
}

/* About Section */
.about-section {
    background: var(--about-gradient);
    color: var(--app-store-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Experience Section */
.experience-section {
    background: var(--experience-gradient);
    color: var(--app-store-white);
}

.experience-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.experience-content p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* Apps Section */
.apps-section {
    background: var(--apps-gradient);
    color: var(--app-store-white);
    padding: 100px 0;
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.app-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: left;
    color: var(--app-store-text);
}

.app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.app-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.app-name {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--app-store-text);
    letter-spacing: -0.02em;
}

.app-tagline {
    font-size: 1.1em;
    color: var(--app-store-light-text);
    margin-bottom: 15px;
    font-weight: 500;
}

.app-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--app-store-text);
    margin-bottom: 25px;
}

.app-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-store-badge-small {
    display: inline-block;
    width: 140px;
    height: 45px;
    line-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.app-store-badge-small:hover {
    transform: scale(1.05);
}

.app-store-badge-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Contact Section */
.contact-section {
    background: var(--contact-gradient);
    color: var(--app-store-white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.95);
    color: var(--app-store-text);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--app-store-white);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--app-store-white);
    color: var(--robin-primary);
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
.robin-footer {
    background: var(--footer-gradient);
    color: var(--app-store-white);
    padding: 60px 0 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

.footer-brand p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-app-store {
    margin-top: 15px;
}

.app-store-badge-footer {
    display: inline-block;
    width: 135px;
    height: 40px;
    line-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.app-store-badge-footer:hover {
    transform: scale(1.05);
}

.app-store-badge-footer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.footer-section h4 {
    font-size: 1.1em;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--app-store-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--app-store-white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .app-store-badge {
        width: 150px;
        height: 50px;
    }
}

/* Policy Pages Styles */
.policy-main {
    padding-top: 80px;
    min-height: calc(100vh - 200px);
    background: var(--app-store-gray);
}

.policy-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background: var(--app-store-white);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.policy-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--robin-primary);
}

.policy-header h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--robin-primary);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}

.policy-content {
    color: var(--app-store-text);
    line-height: 1.8;
}

.policy-content h1,
.policy-content h2,
.policy-content h3,
.policy-content h4 {
    color: var(--robin-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.policy-content h1 {
    font-size: 2em;
}

.policy-content h2 {
    font-size: 1.75em;
}

.policy-content h3 {
    font-size: 1.5em;
}

.policy-content h4 {
    font-size: 1.25em;
}

.policy-content p {
    margin-bottom: 15px;
    color: var(--app-store-text);
}

.policy-content ul,
.policy-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.policy-content li {
    margin-bottom: 10px;
    color: var(--app-store-text);
}

.policy-content b,
.policy-content strong {
    color: var(--robin-primary);
    font-weight: 600;
}

.policy-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: var(--app-store-white);
}

.policy-content th {
    background: var(--robin-primary);
    color: var(--app-store-white);
    padding: 12px;
    text-align: left;
    font-weight: 600;
}

.policy-content td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.policy-content tr:hover {
    background: rgba(102, 126, 234, 0.05);
}

.policy-content a {
    color: var(--robin-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--robin-secondary);
    text-decoration: underline;
}

