/* Island Storm Labs - App Store & Google Play Theme */

/* CSS Variables - Modern App Store & Google Play Style */
:root {
    /* App Store Colors */
    --apple-blue: #007AFF;
    --apple-dark-blue: #0051D5;
    --apple-light-blue: #5AC8FA;
    --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;
    
    /* Google Play Colors */
    --google-green: #34A853;
    --google-blue: #4285F4;
    --google-yellow: #FBBC04;
    --google-red: #EA4335;
    
    /* Island Storm Colors */
    --island-primary: #667eea;
    --island-secondary: #764ba2;
    --island-accent: #f093fb;
    
    /* Gradients */
    --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%);
    --contact-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 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;
    color: var(--app-store-text);
    background: var(--app-store-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header - Modern App Store Style */
.island-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(--island-primary);
    letter-spacing: -0.02em;
}

.main-nav ul {
    display: flex;
    list-style: none;
    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(--island-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: 0.3s;
}

/* Hero Section */
.island-hero {
    background: var(--hero-gradient);
    color: var(--app-store-white);
    padding: 150px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.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: 300;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-badges {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.app-store-badge,
.google-play-badge {
    display: inline-block;
    width: 180px;
    height: 60px;
    line-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.app-store-badge:hover,
.google-play-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img,
.google-play-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.google-play-badge {
    background: white;
    border-radius: 5px;
    padding: 2px;
}

.google-play-badge img {
    filter: none;
    opacity: 1;
}

/* Section Styles */
.island-section {
    padding: 100px 0;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.1em;
    color: var(--app-store-light-text);
    text-align: center;
    margin-bottom: 50px;
}

/* About Section */
.about-section {
    background: var(--app-store-white);
    color: var(--app-store-text);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--app-store-light-text);
    margin-bottom: 20px;
}

/* Apps Section */
.apps-section {
    background: var(--apps-gradient);
    color: var(--app-store-white);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.app-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    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: 1.8em;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--app-store-text);
    letter-spacing: -0.02em;
}

.app-tagline {
    font-size: 1em;
    color: var(--app-store-light-text);
    margin-bottom: 15px;
    font-weight: 500;
}

.app-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--app-store-text);
    margin-bottom: 20px;
}

.app-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.app-store-badge-small,
.google-play-badge-small {
    display: inline-block;
    width: 140px;
    height: 45px;
    line-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    position: relative;
}

.app-store-badge-small:hover,
.google-play-badge-small:hover {
    transform: scale(1.05);
}

.app-store-badge-small img,
.google-play-badge-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.google-play-badge-small {
    background: white;
    border-radius: 5px;
    padding: 2px;
}

.google-play-badge-small img {
    filter: none;
    opacity: 1;
}

/* Experience Section */
.experience-section {
    background: var(--about-gradient);
    color: var(--app-store-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-card {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1em;
    opacity: 0.9;
}

/* 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: 20px;
}

.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 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: var(--app-store-white);
    color: var(--island-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 10px 30px rgba(0, 0, 0, 0.2);
}

/* Footer */
.island-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;
    font-weight: 700;
}

.footer-brand p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.footer-brand .hero-badges {
    gap: 15px;
}

.app-store-badge-footer,
.google-play-badge-footer {
    display: inline-block;
    width: 135px;
    height: 40px;
    line-height: 0;
    overflow: hidden;
    transition: transform 0.3s ease;
    vertical-align: middle;
    position: relative;
}

.app-store-badge-footer:hover,
.google-play-badge-footer:hover {
    transform: scale(1.05);
}

.app-store-badge-footer img,
.google-play-badge-footer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.google-play-badge-footer {
    background: white;
    border-radius: 5px;
    padding: 2px;
}

.google-play-badge-footer img {
    filter: none;
    opacity: 1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    font-size: 1.1em;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: var(--app-store-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section 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);
    }
}

/* Mobile Menu */
@media (max-width: 768px) {
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .main-nav ul li a {
        display: block;
        padding: 15px 0;
        width: 100%;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5em;
    }
    
    .hero-subtitle {
        font-size: 1.1em;
    }
    
    .section-title {
        font-size: 2em;
    }
    
    .apps-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .app-store-badge,
    .google-play-badge {
        width: 150px;
        height: 50px;
    }
    
    .app-store-badge img,
    .google-play-badge img {
        width: 100%;
        height: 100%;
    }
}

/* 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(--island-primary);
}

.policy-header h1 {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--island-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(--island-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(--island-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(--island-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(--island-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.policy-content a:hover {
    color: var(--island-secondary);
    text-decoration: underline;
}

.policy-content .cambio {
    color: var(--island-primary);
    font-weight: 500;
}

@media (max-width: 768px) {
    .policy-container {
        padding: 20px 15px;
    }
    
    .policy-header h1 {
        font-size: 2em;
    }
    
    .policy-content h1 {
        font-size: 1.75em;
    }
    
    .policy-content h2 {
        font-size: 1.5em;
    }
    
    .policy-content table {
        font-size: 0.9em;
    }
    
    .policy-content th,
    .policy-content td {
        padding: 8px;
    }
}

