/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy-dark: #081428;
    --navy-blue: #0e2344;
    --blue-primary: #4a8fe7;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 
                 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: linear-gradient(to bottom, var(--navy-blue) 0%, var(--navy-dark) 100%);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container Principal */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    position: relative;
}

/* Logo */
.logo-container {
    padding-top: 4rem;
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    max-width: 280px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
}

/* Content Section */
.content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--blue-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    line-height: 1.6;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.description strong {
    font-weight: 600;
    color: var(--white);
}

.subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Instagram Button */
.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--blue-primary);
    color: var(--white);
    padding: 0.95rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(74, 143, 231, 0.3);
    cursor: pointer;
}

.instagram-button:hover {
    background: #3a7fd7;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 143, 231, 0.4);
}

.instagram-button:active {
    transform: translateY(0);
}

.instagram-icon {
    width: 24px;
    height: 24px;
}

/* Gears Footer */
.gears-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 2rem;
    opacity: 0.3;
}

.gear {
    animation: rotate 20s linear infinite;
    filter: invert(47%) sepia(52%) saturate(1085%) hue-rotate(185deg) brightness(95%) contrast(89%);
}

.gear-1 {
    animation-direction: normal;
    animation-duration: 15s;
    width: 60px;
    height: 60px;
}

.gear-2 {
    animation-direction: reverse;
    animation-duration: 20s;
    width: 80px;
    height: 80px;
    filter: invert(64%) sepia(53%) saturate(2090%) hue-rotate(185deg) brightness(96%) contrast(88%);
}

.gear-3 {
    animation-direction: normal;
    animation-duration: 18s;
    width: 60px;
    height: 60px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */

/* Tablet */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo {
        max-width: 220px;
    }
    
    .title {
        margin-bottom: 1.25rem;
    }
    
    .instagram-button {
        padding: 0.85rem 1.75rem;
        font-size: 0.95rem;
    }
    
    .gears-container {
        gap: 1rem;
    }
    
    .gear-1,
    .gear-3 {
        width: 50px;
        height: 50px;
    }
    
    .gear-2 {
        width: 70px;
        height: 70px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 1rem;
        justify-content: center;
        gap: 3rem;
    }
    
    .logo-container {
        padding-top: 2rem;
        margin-bottom: 2rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .description,
    .subtitle {
        font-size: 0.95rem;
    }
    
    .subtitle {
        margin-bottom: 1.5rem;
    }
    
    .instagram-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .instagram-icon {
        width: 20px;
        height: 20px;
    }
    
    .gears-container {
        gap: 0.75rem;
        padding-bottom: 0;
        margin-top: 2rem;
    }
    
    .gear-1,
    .gear-3 {
        width: 40px;
        height: 40px;
    }
    
    .gear-2 {
        width: 55px;
        height: 55px;
    }
}

/* Very Small Mobile (iPhone SE, etc) */
@media (max-width: 375px) {
    .logo {
        max-width: 160px;
    }
    
    .title {
        font-size: 1.5rem;
    }
    
    .description,
    .subtitle {
        font-size: 0.9rem;
    }
    
    .instagram-button {
        padding: 0.75rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States for Accessibility */
.instagram-button:focus-visible {
    outline: 3px solid var(--blue-primary);
    outline-offset: 4px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    body {
        background: #000;
    }
    
    .title {
        color: #6bb3ff;
    }
    
    .instagram-button {
        border: 2px solid var(--white);
    }
}
