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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Hero Section with Video Background */
.hero {
    position: relative;
    color: white;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    margin: 0;
    padding: 0;
}

.hero-video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    display: block;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 1;
    padding: 4rem 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.conference-info {
    margin-bottom: 2rem;
    max-width: 800px;
}

.conference {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.venue {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.btn-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.hero-description {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 1.8;
}

.hero-description p {
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

/* Section Navigation at Bottom of Video */
.section-navigation-bottom {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 20px;
}

.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-direction: column;
    gap: 6px;
    width: 48px;
    height: 48px;
    justify-content: center;
    align-items: center;
}

.mobile-menu-toggle:hover {
    transform: scale(1.1);
}

.mobile-menu-toggle .dot {
    width: 24px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.section-nav-menu {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-nav-btn {
    display: inline-block;
    padding: 0.6rem 1.2rem;
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    white-space: nowrap;
}

.section-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: white;
}

.section-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.section-nav-btn.active {
    background-color: rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    color: white;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.4);
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.bg-light {
    background-color: #c9d1da;
}

/* Overview Section */
.overview-section {
    padding: 2rem 0;
    background-color: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.overview-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.overview-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.system-diagram {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Mobile responsive for overview */
@media (max-width: 768px) {
    .overview-content {
        gap: 1.5rem;
    }
    
    .overview-text p {
        font-size: 1.1rem;
    }
}


.two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch;
    min-height: 400px;
}

.text-content {
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.image-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    justify-content: center;
}

.system-diagram,
.feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.image-content .feature-image {
    width: 100%;
    height: auto;
    object-fit: cover;
}


/* Steerability Demo */
.steerability-demo {
    text-align: center;
}

.cycling-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(102, 126, 234, 0.1);
    color: #333;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    margin: 1rem auto;
    font-size: 1.1rem;
    font-weight: 500;
    border: 1px solid rgba(102, 126, 234, 0.2);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
    animation: pulse 3s infinite;
     text-align: center;
}

.hint-icon {
    font-size: 1.2rem;
    animation: rotate 3s linear infinite;
}

.hint-text {
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

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


.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.demo-item {
    text-align: center;
}

.demo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-image:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.demo-item:hover .trajectory-cycle-button {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.demo-item:hover .trajectory-cycle-button .cycle-indicator {
    opacity: 1;
    transform: scale(1.1);
}

.demo-image.loading {
    opacity: 0.7;
    filter: blur(1px);
}

.demo-image.error {
    filter: grayscale(0.3);
    opacity: 0.8;
}

.demo-caption {
    font-style: italic;
    font-size: 1.1rem;
    color: #666;
}

/* Trajectory Controls */
.trajectory-controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.trajectory-cycle-button {
    padding: 0.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(102, 126, 234, 0.4);
    position: relative;
    width: 56px;
    height: 56px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.2);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2), rgba(118, 75, 162, 0.2));
    backdrop-filter: blur(15px);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trajectory-cycle-button:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
}

.trajectory-cycle-button:active {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.25);
}

.cycle-indicator {
    font-size: 1.6rem;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    z-index: 1;
    position: relative;
}

.trajectory-cycle-button:hover .cycle-indicator {
    transform: rotate(180deg);
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.trajectory-label {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
    white-space: nowrap;
    transition: all 0.3s ease;
}

.trajectory-cycle-button:hover .trajectory-label {
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

/* Results Section */
.results-content {
    text-align: center;
}

.environments-tested {
    margin-bottom: 1rem;
}

.env-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.env-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid transparent;
}

.env-item:hover {
    transform: translateY(-5px);
    border-color: rgba(102, 126, 234, 0.3);
    background-color: rgba(102, 126, 234, 0.05);
}

.env-item.selected {
    border-color: #667eea;
    background-color: rgba(102, 126, 234, 0.1);
    transform: translateY(-3px);
}

.env-item.selected .env-image {
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.3);
}

.env-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.env-controls {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.reset-env-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.reset-env-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.reset-env-btn:active {
    transform: translateY(0);
}

.env-instruction {
    font-style: italic;
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.performance-comparison {
    margin-top: 1rem;
}

.method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.method-item {
    background: white;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.method-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.method-item.vamos-method {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
}

.method-item h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.method-item.vamos-method h4 {
    color: #667eea;
    font-weight: 600;
}

.method-metrics {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: rgba(0,0,0,0.02);
    border-radius: 6px;
}

.metric-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.vamos-method .metric-value {
    color: #667eea;
}

.current-env-display {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.current-env-display span {
    font-weight: 500;
    color: #667eea;
    font-size: 1rem;
    flex: 1;
}

.inline-reset-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    white-space: nowrap;
}

.inline-reset-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.inline-reset-btn:active {
    transform: translateY(0);
}

/* Metric value animations */
.metric-value.updating {
    transform: scale(1.1);
    color: #667eea;
}

.metric-value.updated {
    animation: metricUpdate 0.5s ease;
}

@keyframes metricUpdate {
    0% {
        transform: scale(1.1);
        background-color: rgba(102, 126, 234, 0.2);
    }
    100% {
        transform: scale(1);
        background-color: transparent;
    }
}

/* Method Section */
.method-content {
    max-width: 1000px;
    margin: 0 auto;
}

.method-overview {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.method-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.method-component {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.training-data {
    text-align: center;
}

.data-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.data-item {
    text-align: center;
}

.data-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

/* Team Section */
.team-section {
    padding: 4rem 0;
    text-align: center;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-member {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    text-align: center;
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Citation Section */
.citation-section {
    padding: 4rem 0;
    background-color: #2c3e50;
    color: white;
}

.citation-box {
    background-color: #34495e;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
    overflow-x: auto;
}

.citation-box pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.citation-box code {
    color: #ecf0f1;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .two-column {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 200px;
        justify-content: center;
    }
    
    .method-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
    
    .demo-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .trajectory-cycle-button {
        width: 48px;
        height: 48px;
        padding: 0.6rem;
    }
    
    .cycle-indicator {
        font-size: 1.4rem;
    }
    
    .cycling-hint {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
        margin: 0.8rem auto;
        max-width: 90%;
    }
    
    .hint-icon {
        font-size: 1rem;
    }
    
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: flex;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1000;
    }
    
    .section-nav-menu {
        display: none;
        position: fixed;
        top: 80px;
        left: 20px;
        right: auto;
        width: 280px;
        background: transparent;
        padding: 1rem;
        flex-direction: column;
        gap: 1rem;
        z-index: 999;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
    }
    
    .section-nav-menu.mobile-open {
        display: flex;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border-radius: 12px;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }
    
    .section-nav-menu.mobile-open .section-nav-btn {
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
        text-align: left;
        width: 100%;
        margin: 0;
        color: white;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
        font-weight: 500;
        border-radius: 8px;
        transition: all 0.3s ease;
    }
    
    .section-nav-menu.mobile-open .section-nav-btn:hover {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        transform: translateX(5px);
        box-shadow: none;
        color: white;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .content-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .metric {
        font-size: 2rem;
    }
    
    .team-grid,
    .data-sources,
    .env-grid {
        grid-template-columns: 1fr;
    }
    
    .demo-grid {
        grid-template-columns: 1fr;
    }
    
    .section-nav-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }
    
    .section-nav-btn {
        width: 200px;
        text-align: center;
    }
}

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

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

.content-section > .container > * {
    animation: fadeInUp 0.6s ease-out;
}

/* Hover Effects */
.result-item:hover,
.method-component:hover,
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.demo-image:hover,
.env-image:hover,
.data-image:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

/* Focus States for Accessibility */
.btn:focus,
button:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* Modal Popup Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: auto;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: all 0.3s ease;
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #f45d4b, #a10202);
    color: white;
    border-radius: 16px 16px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.modal-close {
    background: transparent;
    border: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
}

.modal-body p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #333;
    text-align: center;
}

.modal-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid #eee;
    background: #f8f9fa;
    border-radius: 0 0 16px 16px;
    text-align: center;
}

.modal-btn {
    background: linear-gradient(135deg, #a10202, #f45d4b);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.modal-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

/* Animation for modal entrance */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-overlay.show .modal-content {
    animation: modalFadeIn 0.3s ease-out;
}

/* Mobile responsive modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-width: none;
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .modal-btn {
        width: 100%;
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .hero {
        background: none;
        color: black;
        padding: 2rem 0;
    }
    
    .action-buttons {
        display: none;
    }
    
    .video-section {
        display: none;
    }
    
    .modal-overlay {
        display: none;
    }
}
