:root {
    --primary: #ff4d4d;
    --primary-dark: #cc0000;
    --bg-dark: #0a0a0c;
    --bg-card: rgba(255, 255, 255, 0.05);
    --text-main: #ffffff;
    --text-muted: #a0a0aa;
    --accent: #ff8e53;
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    height: 80px;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 12, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--accent);
    box-shadow: 0 4px 20px rgba(255, 142, 83, 0.4);
}

.container--header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--primary);
}

.nav__list {
    display: flex;
    list-style: none;
    gap: 24px;
}

.nav__link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
}

.nav__link:hover {
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 90% 10%, rgba(255, 77, 77, 0.1) 0%, transparent 40%);
}

.hero__grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: center;
}

.hero__title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 500px;
}

/* Card & Glassmorphism */
.card {
    border-radius: 24px;
    padding: 32px;
    position: relative;
}

.glass {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Form Styles */
.form__title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
}

.form__group {
    margin-bottom: 20px;
}

.form__label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form__input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px 16px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form__input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form__location-notice {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

#locationStatus p {
    font-size: 0.85rem;
    line-height: 1.4;
}

.icon-pulse {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 4px;
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 0 0 var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
}

.btn--primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.3);
}

.btn--primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn--primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    filter: grayscale(1);
}

.btn--full {
    width: 100%;
}

.form__small-print {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: #000;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    font-weight: 800;
}

.benefits__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.benefit-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

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

.benefit-card__icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

/* Blog Section */
.blog-preview {
    padding: 100px 0;
}

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

.blog-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.blog-card:hover, .blog-card:focus {
    transform: scale(1.02);
    border-color: var(--primary);
    outline: none;
    cursor: pointer;
}

.blog-card__content {
    padding: 24px;
}

.blog-card__category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
    display: block;
}

.blog-card__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    line-height: 1.3;
}

.blog-card__excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.blog-card__link {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: #000;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 60px;
}

.footer__logo {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer__logo span {
    color: var(--primary);
}

.footer__text {
    color: var(--text-muted);
    max-width: 400px;
    margin-bottom: 32px;
}

.footer__legal {
    display: flex;
    gap: 24px;
}

.footer__legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
}

.footer__bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Mobile Responsiveness */
@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        padding-top: 40px;
    }
    
    .hero__title {
        font-size: 2.75rem;
        text-align: center;
    }
    
    .hero__subtitle {
        text-align: center;
        margin: 0 auto 32px;
    }
    
    .benefits__grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Podcast Section */
.podcast {
    padding: 100px 0;
    background: linear-gradient(to bottom, #000, #0a0a0c);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -50px;
    margin-bottom: 60px;
}

.podcast-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.episode-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.episode-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.episode-date {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
    display: block;
}

.episode-title {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.episode-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-play {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-play:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 77, 77, 0.4);
}

/* NotebookLM Player */
.player-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    z-index: 2000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.player-container.hidden {
    bottom: -200px;
    opacity: 0;
}

.player-glass {
    background: rgba(10, 10, 12, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.player-content {
    display: grid;
    grid-template-columns: 200px 1fr 200px 100px;
    align-items: center;
    gap: 32px;
    position: relative;
}

.player-now-playing {
    font-size: 0.65rem;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 1px;
}

#current-episode-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.player-visualizer {
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
}

#waveform {
    width: 100%;
    height: 100%;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: center;
}

.control-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 0.6rem;
    gap: 4px;
    transition: var(--transition);
    opacity: 0.7;
}

.control-btn:hover {
    opacity: 1;
    color: var(--primary);
}

.play-main {
    background: var(--text-main);
    color: var(--bg-dark);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    opacity: 1;
    justify-content: center;
}

.play-main:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: white;
}

.player-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    grid-column: 1 / -1;
    margin-top: 10px;
}

.player-progress span {
    font-size: 0.75rem;
    color: var(--text-muted);
    min-width: 35px;
}

.progress-bar-container {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: var(--primary);
    border-radius: 2px;
}

.close-btn {
    position: absolute;
    right: -10px;
    top: -10px;
    background: #222;
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--glass-border);
}

@media (max-width: 900px) {
    .player-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .player-visualizer {
        order: -1;
    }
    
    .player-info {
        text-align: center;
    }
    
    .player-container {
        width: 95%;
        bottom: 10px;
    }
    
    .close-btn {
        right: 0;
        top: 0;
    }
}
/* Custom Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid var(--accent);
    border-radius: 24px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: 0 0 30px rgba(255, 142, 83, 0.2);
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.modal-message {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modal-btn {
    min-width: 150px;
}
/* Map Section */
.map-section {
    padding: 100px 0;
    background: #000;
}

.map-wrapper {
    height: 500px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--accent);
}

#parking-map {
    width: 100%;
    height: 100%;
}

.leaflet-popup-content-wrapper {
    background: var(--bg-dark);
    color: white;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaflet-popup-tip {
    background: var(--bg-dark);
}

.popup-title {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.popup-price {
    font-weight: 700;
    font-size: 1.2rem;
    color: #ff8e53;
    margin: 8px 0;
}

.popup-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
}

.popup-status--libre { background: rgba(0, 255, 128, 0.2); color: #00ff80; }
.popup-status--alquilada { background: rgba(255, 77, 77, 0.2); color: #ff4d4d; }

@media (max-width: 900px) {
    .map-wrapper { height: 400px; }
}
