/*
Theme Name: Hommis Landing Theme
Description: Tema personalizado para la landing page de Hommis - Tinder para casas y habitaciones
Version: 1.0
Author: Hommis Team
Text Domain: hommis-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
/* CAMBIO FORZADO - Poppins 800 */


/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Contact form styles */
.contact-form-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.6rem;
    color: #1F2D52;
}

.contact-form {
    margin-top: 0.5rem;
}

.contact-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem;
}

.contact-form label {
    color: #1F2D52;
    font-weight: 600;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    width: 100%;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1F2D52;
    background: #FFFFFF;
    box-shadow: 0 2px 8px rgba(31,45,82,0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #1F2D52;
    box-shadow: 0 4px 14px rgba(31,45,82,0.12);
}

.contact-form .form-actions {
    margin-top: 1rem;
}

.contact-form .button.primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1F2D52, #2A3A5F);
    color: #FFFFFF;
    border: 0;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(31,45,82,0.18);
}

.contact-form .button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(31,45,82,0.22);
}

.notice.success {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
    border-radius: 10px;
}

.notice.error {
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
    border-radius: 10px;
}

@media (max-width: 768px) {
    .contact-form-title {
        font-size: 1.4rem;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #1F2D52;
    background-color: #FFFFFF;
    overflow-x: hidden;
    font-size: 14px;
    padding-top: 80px; /* Compensar header fijo */
}

/* Variables CSS */
:root {
    --primary-color: #1F2D52;
    --secondary-color: #6B7280;
    --background-color: #FFFFFF;
    --light-background: #F8FAFC;
    --text-color: #1F2D52;
    --text-light: #6B7280;
    --border-radius: 25px;
    --transition: all 0.3s ease;
}

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

/* Header */
.site-header {
    background: transparent;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.5rem 0;
    }
}

.site-header.scrolled {
    background: rgba(0, 0, 0, 0.8); /* Franja negra con opacidad baja */
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 768px) {
    .header-right {
        gap: 0.5rem;
    }
}

.site-logo img {
    height: 40px;
    filter: none; /* Logo azul inicialmente */
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .site-logo img {
        height: 28px;
    }
}

.site-header.scrolled .site-logo img {
    filter: brightness(0) invert(1); /* Logo blanco al hacer scroll */
}

/* Language Switcher */
.language-switcher {
    position: relative;
}

.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-current {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .lang-current {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }
}

.site-header.scrolled .lang-current {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.lang-current:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lang-current::after {
    content: '▼';
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-current::after {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(31, 45, 82, 0.2);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 0.75rem 1rem;
    color: #1F2D52;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid #F8FAFC;
}

.lang-option:last-child {
    border-bottom: none;
}

.lang-option:hover {
    background: #F8FAFC;
    color: #1F2D52;
}

.lang-option.active {
    background: #1F2D52;
    color: white;
}

.site-header.scrolled .lang-current {
    background: rgba(31, 45, 82, 0.1);
    border-color: rgba(31, 45, 82, 0.2);
    color: #1F2D52;
}

.site-header.scrolled .lang-current:hover {
    background: rgba(31, 45, 82, 0.2);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: #6B7280;
}

.site-header.scrolled .main-navigation a {
    color: #1F2D52;
}

.site-header.scrolled .main-navigation a:hover {
    color: #6B7280;
}

.cta-button {
    background: #1F2D52;
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.cta-button:hover {
    background: #6B7280;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: #FFFFFF;
    background-image: 
        linear-gradient(135deg, #F8FAFC 0%, transparent 20%),
        linear-gradient(135deg, transparent 80%, #E5E7EB 100%);
    background-size: 100% 100%;
    background-position: 0 0, 0 0;
    padding: 100px 0 40px;
    text-align: center;
}

.hero-content {
    text-align: center;
    margin-bottom: 20px;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    background: linear-gradient(135deg, #1F2D52, #6B7280);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #1F2D52;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #1F2D52;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
}

.btn-primary:hover {
    background: #6B7280;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(31, 45, 82, 0.3);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #1F2D52;
    border: 2px solid #1F2D52;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary:hover {
    background: #1F2D52;
    color: white;
    transform: translateY(-3px);
}

/* Download Buttons */
.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
}

.download-btn.google-play {
    background: #000;
    color: white;
}

.download-btn.app-store {
    background: #000;
    color: white;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.download-btn i {
    font-size: 1.2rem;
}

.download-btn span {
    display: inline;
}

@media (max-width: 768px) {
    .download-btn span {
        display: none;
    }
    
    .download-btn {
        padding: 10px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        justify-content: center;
    }
    
    .download-btn i {
        font-size: 1.2rem;
    }
}

/* Counters Section */
.counters-section {
    padding: 60px 0;
    background: #1F2D52;
    color: white;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.counter-item {
    padding: 1rem;
}

.counter-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.counter-label {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1F2D52, #6B7280);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile Mockup Section */
.mobile-mockup-section {
    padding: 60px 0 40px;
    background: #F8FAFC;
    background-image: 
        linear-gradient(135deg, #FFFFFF 0%, transparent 20%),
        linear-gradient(135deg, transparent 80%, #E5E7EB 100%);
    background-size: 100% 100%;
    background-position: 0 0, 0 0;
}

.mockup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 608px; /* Relación 1320/2868 = 0.46 */
    background: #1F2D52;
    border-radius: 35px;
    padding: 8px;
    box-shadow: 0 20px 60px rgba(31, 45, 82, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center; /* Centrado para evitar cortes */
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(31, 45, 82, 0.4);
}

.phone-screen:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 18px;
    background: #1F2D52;
    border-radius: 9px;
    z-index: 10;
}

.mockup-info {
    max-width: 500px;
}

.mockup-info h1,
.mockup-info h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1F2D52, #6B7280);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: #1F2D52;
    font-family: 'Poppins', 'Inter', sans-serif;
}

.mockup-info p {
    font-size: 1.1rem;
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    /* CAMBIO FORZADO - Solo 3 recuadros */
}

.features-list li {
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(31, 45, 82, 0.1);
}

.features-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 45, 82, 0.15);
    border-color: #1F2D52;
}

.features-list li i {
    color: #1F2D52;
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.features-list li span {
    color: #1F2D52;
    font-weight: 700;
    font-size: 1rem;
    display: block;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    color: #1F2D52;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(31, 45, 82, 0.1);
    box-shadow: 0 8px 25px rgba(31, 45, 82, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1F2D52, #6B7280);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(31, 45, 82, 0.2);
    border-color: rgba(31, 45, 82, 0.2);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1F2D52, #2A3A5F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px rgba(31, 45, 82, 0.3);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(31, 45, 82, 0.4);
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1F2D52;
}

.feature-card p {
    color: #6B7280;
}

/* User Types Section */
.user-types-section {
    padding: 60px 0;
    background: #F8FAFC;
}

.user-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

@media (max-width: 768px) {
    .user-types-section {
        padding: 40px 0;
    }
    
    .user-types-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .user-type-card {
        padding: 2rem;
    }
    
    .user-type-card h3 {
        font-size: 1.5rem;
        line-height: 1.1;
    }
    
    .user-type-icon {
        width: 80px;
        height: 80px;
    }
    
    .user-type-icon i {
        font-size: 2rem;
    }
}

.user-type-card {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(31, 45, 82, 0.1);
}

.user-type-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #1F2D52, #6B7280);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.user-type-icon i {
    font-size: 2.5rem;
    color: white;
}

.user-type-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1F2D52;
    line-height: 1.2;
    max-width: 100%;
    word-wrap: break-word;
}

.user-type-card p {
    color: #6B7280;
    margin-bottom: 1.5rem;
}

.user-features {
    list-style: none;
    text-align: left;
}

.user-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: #1F2D52;
}

.user-features i {
    color: #1F2D52;
}

/* Pricing Section */
.pricing-section {
    padding: 80px 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.pricing-card {
    background: #F8FAFC;
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.pricing-card.featured {
    background: #1F2D52;
    color: white;
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #6B7280;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.pricing-card.featured .pricing-badge {
    background: #6B7280;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card.featured h3 {
    color: white;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-card.featured .price {
    color: white;
}

.price-period {
    font-size: 1rem;
    opacity: 0.8;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    text-align: left;
}

.pricing-features i {
    font-size: 1.2rem;
}

.pricing-card.featured .pricing-features i {
    color: white;
}

/* Footer */
.site-footer {
    background: #1F2D52;
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #6B7280;
}


/* Legal Links in Footer */
.legal-links {
    margin-top: 1rem;
    text-align: center;
}

.legal-links a {
    color: #6B7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.legal-links .separator {
    color: #6B7280;
    margin: 0 0.5rem;
}

/* Mobile Mockup Section Responsive */
@media (max-width: 768px) {
    .mobile-mockup-section {
        padding: 40px 0 30px !important;
        margin-top: 0 !important;
    }
    
    .mockup-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .mockup-info h1 {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .mockup-info p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .phone-mockup {
        width: 240px; /* Más pequeño para móvil */
        height: 522px; /* Relación 1320/2868 = 0.46 */
    }
    
    .phone-notch {
        width: 100px; /* Proporcional para móvil */
        height: 15px; /* Proporcional para móvil */
        top: 10px;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .features-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        margin: 1.5rem 0;
    }
    
    .features-list li {
        padding: 1rem;
    }
    
    .features-list li i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .features-list li span {
        font-size: 0.8rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-navigation {
        display: none;
    }

    .hero-content {
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-section {
        padding: 80px 0 30px;
    }

    .mobile-mockup-section {
        padding: 30px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .mockup-container {
        flex-direction: column;
        text-align: center;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
        padding: 6px;
    }

    .mockup-info h2 {
        font-size: 2rem;
    }

    .user-types-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .site-logo img {
        height: 32px;
    }
    
    .language-switcher {
        display: block;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}

.wp-block-columns {
    margin: 0;
}

/* Override WordPress default styles */
.entry-content {
    margin: 0;
}

.entry-header {
    margin: 0;
}

/* Custom page template styles */
.page-template-landing-page .site-main {
    margin: 0;
}

.page-template-landing-page .entry-content {
    padding: 0;
}

/* Legal Pages Styles */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(31, 45, 82, 0.1);
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1F2D52;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Poppins', 'Inter', sans-serif;
}

.last-updated {
    text-align: center;
    color: #6B7280;
    font-style: italic;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-content {
    padding: 0 2rem;
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1F2D52;
    margin-bottom: 1rem;
    border-bottom: 2px solid #E5E7EB;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1F2D52;
    margin-bottom: 0.8rem;
    margin-top: 1.5rem;
}

.legal-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1F2D52;
    margin-bottom: 0.6rem;
    margin-top: 1rem;
}

.legal-content p {
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
    color: #4B5563;
    line-height: 1.6;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: #1F2D52;
    font-weight: 600;
}

@media (max-width: 768px) {
    .legal-page {
        margin: 1rem;
        padding: 1.5rem 0;
    }
    
    .legal-page h1 {
        font-size: 2rem;
    }
    
    .legal-content {
        padding: 0 1.5rem;
    }
    
    .legal-content h2 {
        font-size: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.3rem;
    }
    
    .legal-content h4 {
        font-size: 1.1rem;
    }
}
