/* ========== CSS Variables ========== */
:root {
    --primary-color: #4F46E5;
    --primary-dark: #4338CA;
    --primary-light: #818CF8;
    --secondary-color: #10B981;
    --accent-color: #F59E0B;
    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;
    --bg-light: #F9FAFB;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* ========== Reset & Base Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    overflow-x: hidden;
}

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

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ========== Buttons ========== */
.btn-primary, .btn-secondary, .btn-primary-small, .btn-pricing {
    display: inline-block;
    padding: 14px 32px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-primary-small {
    padding: 10px 24px;
    font-size: 14px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
}

.btn-primary-small:hover {
    background: var(--primary-dark);
}

.btn-pricing {
    width: 100%;
    background: var(--primary-color);
    color: white;
}

.btn-pricing:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========== Navigation ========== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-icon {
    font-size: 32px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
}

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

.nav-menu a.btn-primary-small {
    color: white !important;
}

.nav-menu a.btn-primary-small:hover {
    color: white !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* ========== Hero Section ========== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #F0F4FF 0%, #E8EFFF 50%, #F5F3FF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(139, 92, 246, 0.08) 40%, transparent 70%);
    top: -250px;
    right: -200px;
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite reverse;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s;
    animation-fill-mode: both;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.4s;
    animation-fill-mode: both;
}

.hero-stats {
    display: flex;
    gap: 48px;
    animation: fadeInUp 0.8s ease 0.6s;
    animation-fill-mode: both;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Hero Image Mockup */
.hero-image {
    animation: fadeInUp 0.8s ease 0.4s;
    animation-fill-mode: both;
    position: relative;
}

.hero-image-placeholder {
    position: relative;
}

.mockup-phone {
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 50%, #A855F7 100%);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 25px 50px -12px rgba(99, 102, 241, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    transform: rotate(-5deg);
    transition: all 0.5s ease;
    position: relative;
    z-index: 10;
}

.mockup-phone:hover {
    transform: rotate(0deg) scale(1.05);
    box-shadow: 0 30px 60px -15px rgba(99, 102, 241, 0.5);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #FAFAFA;
    border-radius: 30px;
    padding: 20px 16px;
    overflow: hidden;
    position: relative;
}

.screen-header {
    height: 60px;
    background: linear-gradient(135deg, #6366F1, #8B5CF6);
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.header-title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin-bottom: 2px;
}

.header-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.screen-content {
    flex: 1;
}

.menu-card {
    height: 85px;
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    gap: 12px;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    animation: slideInCard 0.6s ease-out;
    transition: all 0.3s ease;
}

.menu-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.menu-card:nth-child(1) {
    animation-delay: 0.8s;
}

.menu-card:nth-child(2) {
    animation-delay: 1s;
}

.menu-card:nth-child(3) {
    animation-delay: 1.2s;
}

.menu-card-image {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #FEF3C7, #FDE68A);
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.menu-card-image::after {
    content: '🍽️';
    position: absolute;
    font-size: 28px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.menu-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 4px;
}

.menu-card-title {
    height: 12px;
    background: linear-gradient(90deg, #E5E7EB, #F3F4F6);
    border-radius: 4px;
    width: 80%;
}

.menu-card-price {
    height: 10px;
    background: linear-gradient(90deg, #DBEAFE, #E0E7FF);
    border-radius: 4px;
    width: 40%;
}

.phone-bottom-nav {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.nav-dot {
    width: 6px;
    height: 6px;
    background: #D1D5DB;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.nav-dot.active {
    width: 20px;
    background: #6366F1;
    border-radius: 3px;
}

/* Elementos flotantes decorativos */
.floating-element {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    z-index: 1;
}

.element-1 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
    top: 10%;
    right: -20px;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

.element-2 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.1));
    bottom: 20%;
    right: 10%;
    animation: float 8s ease-in-out infinite;
    animation-delay: 1s;
    box-shadow: 0 8px 32px rgba(16, 185, 129, 0.2);
}

.element-3 {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(251, 191, 36, 0.1));
    top: 60%;
    right: -10px;
    animation: float 7s ease-in-out infinite;
    animation-delay: 2s;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.2);
}

/* ========== Features Section ========== */
.features {
    padding: 100px 0;
    background: var(--bg-white);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
}

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

.feature-card {
    padding: 32px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

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

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== Benefits Section ========== */
.benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #F9FAFB 100%);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.benefit-item {
    background: white;
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.benefit-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.benefit-content h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.benefit-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========== Use Cases Section ========== */
.use-cases {
    padding: 100px 0;
    background: var(--bg-white);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.use-case-card {
    padding: 40px 32px;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.use-case-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.use-case-image {
    font-size: 64px;
    margin-bottom: 24px;
}

.use-case-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.use-case-card > p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.use-case-features {
    list-style: none;
}

.use-case-features li {
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 8px;
}

/* ========== Pricing Section ========== */
.pricing {
    padding: 100px 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #EEF2FF 100%);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: start;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 2px solid var(--border-color);
}

.pricing-header h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin: 16px 0;
}

.currency {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0 4px;
}

.period {
    font-size: 18px;
    color: var(--text-secondary);
}

.pricing-description {
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.pricing-features li:last-child {
    border-bottom: none;
}

/* ========== Testimonials Section ========== */
.testimonials {
    padding: 100px 0;
    background: var(--bg-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-content {
    margin-bottom: 24px;
}

.testimonial-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    font-size: 48px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ========== Contact Section ========== */
.contact {
    padding: 100px 0;
    background: linear-gradient(135deg, #EEF2FF 0%, #F9FAFB 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    background: white;
    padding: 64px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: start;
}

.contact-icon {
    font-size: 32px;
}

.contact-item h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* ========== Footer ========== */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 64px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo .logo-text {
    color: white;
}

.footer-section p {
    color: var(--text-light);
    line-height: 1.6;
}

.footer-section h4 {
    color: white;
    margin-bottom: 16px;
    font-size: 16px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--text-light);
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 14px;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    33% {
        transform: translateY(-20px) translateX(10px);
    }
    66% {
        transform: translateY(-10px) translateX(-10px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, 30px) scale(1.1);
    }
}

@keyframes slideInCard {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        padding: 48px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        display: none;
        gap: 16px;
    }

    .nav-menu.active {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-description {
        font-size: 18px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        gap: 32px;
    }

    .mockup-phone {
        width: 250px;
        height: 500px;
    }

    .floating-element {
        display: none;
    }

    .menu-card {
        height: 75px;
    }

    .menu-card-image {
        width: 55px;
        height: 55px;
    }

    .menu-card-image::after {
        font-size: 24px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid,
    .benefits-grid,
    .use-cases-grid {
        grid-template-columns: 1fr;
    }

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

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

    .contact-wrapper {
        grid-template-columns: 1fr;
        padding: 32px;
        gap: 40px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .stat-number {
        font-size: 28px;
    }

    .pricing-header h3 {
        font-size: 20px;
    }

    .amount {
        font-size: 42px;
    }
}

/* ========== Legal Modals ========== */
.legal-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.legal-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: slideUp 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 32px 40px;
    border-bottom: 2px solid var(--border-color);
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 42px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    background: var(--bg-light);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
    overflow-y: auto;
    flex: 1;
}

.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: var(--bg-light);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

.last-updated {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 32px;
    padding: 12px 20px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.modal-body h3 {
    font-size: 24px;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.modal-body h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 12px;
}

.modal-body p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-body ul {
    margin: 16px 0 24px 0;
    padding-left: 0;
    list-style: none;
}

.modal-body ul li {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 12px;
    padding-left: 32px;
    position: relative;
}

.modal-body ul li::before {
    content: '•';
    position: absolute;
    left: 12px;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 20px;
}

.modal-body strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Modal animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* Responsive modal styles */
@media (max-width: 768px) {
    .modal-content {
        max-height: 95vh;
        margin: 10px;
    }

    .modal-header {
        padding: 24px;
    }

    .modal-header h2 {
        font-size: 24px;
    }

    .modal-close {
        font-size: 32px;
        width: 32px;
        height: 32px;
    }

    .modal-body {
        padding: 24px;
    }

    .modal-body h3 {
        font-size: 20px;
        margin-top: 24px;
    }

    .modal-body h4 {
        font-size: 16px;
    }

    .modal-body p,
    .modal-body ul li {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .legal-modal.active {
        padding: 10px;
    }

    .modal-content {
        border-radius: 8px;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-header h2 {
        font-size: 20px;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-body h3 {
        font-size: 18px;
    }

    .modal-body ul li {
        padding-left: 24px;
    }

    .modal-body ul li::before {
        left: 8px;
    }
}
