:root {
    --primary-color: #00e5ff;
    --bg-dark: #0f0f13;
    --card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Landing Page Layout */
.page-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 15, 19, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.hero {
    padding: 160px 0 100px 0;
    display: flex;
    align-items: center;
    gap: 50px;
    min-height: 90vh;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(to right, #fff, #00e5ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    border: 8px solid #222;
    background: #000;
    position: relative;
    overflow: hidden;
}

.features {
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 24px;
    transition: transform 0.3s, border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.store-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.store-btn {
    height: 50px;
    padding: 0 25px;
    background: #000;
    border: 1px solid #333;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    transition: border-color 0.3s;
}

.store-btn:hover {
    border-color: var(--primary-color);
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        margin: 0 auto 40px auto;
    }
    
    .nav-links {
        display: none;
    }
}

/* Background con Movimiento Animado */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: 
        linear-gradient(rgba(15, 15, 19, 0.7), rgba(15, 15, 19, 0.8)),
        url('assets/images/login_bg.png');
    background-size: cover;
    background-position: center;
    animation: slowZoom 30s infinite alternate ease-in-out;
}

@keyframes slowZoom {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.1); }
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-color);
    border-radius: 40px;
    padding: 60px 50px;
    width: 100%;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    z-index: 10;
    position: relative;
    margin: 80px auto;
}


.logo {
    font-size: 50px;
    margin-bottom: 25px;
    display: inline-block;
}

h1 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -1px;
    color: white;
    margin-bottom: 8px;
}

.subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    margin-left: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.25s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.btn-primary {
    width: 100%;
    padding: 18px;
    background: transparent;
    border: 1px solid var(--primary-color);
    color: white;
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 25px;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}

.footer-links {
    margin-top: 40px;
}

.footer-links p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* RESPONSIVE DESIGN */
@media (max-width: 600px) {
    body {
        padding: 20px;
    }
    
    .glass-card {
        padding: 40px 30px;
        border-radius: 30px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.8rem;
        letter-spacing: 2px;
    }
}

/* Dashboard Specifics */
.main-nav {
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}

.nav-brand {
    font-size: 1.2rem;
    cursor: pointer;
    font-weight: 900;
}

.nav-brand span {
    font-size: 0.6rem;
    color: var(--text-secondary);
    margin-left: 8px;
}

.badge-superadmin {
    background: var(--primary-color);
    color: black;
    font-size: 10px;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 5px;
}

.nav-user {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.btn-logout {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 900;
    font-size: 0.7rem;
    border: 1px solid var(--primary-color);
    padding: 8px 15px;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-logout:hover {
    background: var(--primary-color);
    color: black;
}

.dashboard-main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.pet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.pet-card-web {
    text-align: left;
    padding: 30px;
}

.pet-avatar-mini {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.weight-indicator {
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.weight-value {
    color: var(--primary-color);
    font-weight: 900;
    font-size: 1.1rem;
}

/* Custom Premium Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 35px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    text-align: center;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-overlay.active .modal-content {
    transform: scale(1.0);
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.modal-message {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.modal-debug {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px dashed var(--border-color);
    text-align: left;
}

.modal-debug-title {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    color: var(--text-secondary);
    margin-bottom: 10px;
    display: block;
    letter-spacing: 1px;
}

.modal-debug-content {
    font-family: 'Space Mono', monospace;
    font-size: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 12px;
    border-radius: 12px;
    color: #ffd700;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

.modal-close-btn {
    padding: 12px 30px;
    background: var(--primary-color);
    color: black;
    border: none;
    border-radius: 12px;
    font-weight: 900;
    cursor: pointer;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    box-shadow: 0 10px 20px rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
}
