/* ============================================================
   Glosto - CSS Global
   ============================================================ */

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.display,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    letter-spacing: -0.02em;
}

/* Botones globales */
.btn-primary {
    background: #0A1628;
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    transition: all 0.2s;
}
.btn-primary:hover {
    background: #142238;
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -10px rgba(10,22,40,0.4);
}

.btn-cyan {
    background: linear-gradient(135deg, #00D4FF 0%, #0A84FF 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    box-shadow: 0 8px 20px -8px rgba(0,132,255,0.6);
    transition: all 0.2s;
}
.btn-cyan:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px -10px rgba(0,132,255,0.7);
}

/* Cards */
.card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(10,22,40,0.05), 0 4px 12px -4px rgba(10,22,40,0.05);
    border: 1px solid rgba(10,22,40,0.04);
}

/* Utility gradient text */
.gradient-text {
    background: linear-gradient(135deg, #00D4FF 0%, #0A84FF 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Safe area para iOS */
@supports (padding: max(0px)) {
    .safe-top { padding-top: max(1rem, env(safe-area-inset-top)); }
    .safe-bottom { padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
}

/* Animaciones sutiles */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-out;
}

/* Loading spinner */
.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(10,22,40,0.1);
    border-top-color: #0A84FF;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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