body {
    min-height: 100vh;
    justify-content: center;
    padding: 1rem 0;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
}

.demo-title {
    font-family: 'Lusitana', serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #03312e;
    margin-bottom: 0.8rem;
    line-height: 1.1;
}

.demo-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    color: #1e1e1e;
    margin-bottom: 2rem;
    line-height: 1.4;
    opacity: 0.8;
}

.demo-description {
    margin-bottom: 2rem;
}

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

.feature-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1.2rem;
    border-radius: 16px;
    border: 1px solid rgba(3, 49, 46, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(3, 49, 46, 0.15);
    background: rgba(255, 255, 255, 0.9);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #03312e;
    margin-bottom: 0.8rem;
    font-family: 'Geist', sans-serif;
}

.feature-item p {
    font-size: 0.95rem;
    color: #1e1e1e;
    line-height: 1.4;
    opacity: 0.8;
}

.demo-cta-section {
    text-align: center;
    margin-bottom: 2rem;
}

.demo-button {
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, #03312e, #1e1e1e);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Geist', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 200px;
    position: relative;
    overflow: hidden;
}

.demo-button:hover {
    transform: translateY(-3px);
        background: #fff;
    background: linear-gradient(135deg, #1e1e1e, #03312e);
}

.demo-note {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
    opacity: 0.7;
}

.demo-note a {
    color: #666;
    text-decoration: none;
    opacity: 0.7;
}

.demo-note a:hover {
    color: #03312e;
    opacity: 1;
    text-decoration: underline;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    overflow: hidden;
    flex-direction: column;
}

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

.modal-container {
    max-width: 800px;
    width: 100%;
    height: auto;
    max-height: 90vh; 
    overflow: hidden;
    margin: 0 auto;
    min-height: 100vh;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.form-container {
    background: #fff;
    padding: 1.7rem 1.2rem 1.3rem 1.2rem;
    border-radius: 20px;
}

.form-title {
    font-family: 'Geist', serif;
    font-size: 2.0rem;
    font-weight: 700;
    color: #03312e;
    margin-bottom: 0.1rem;
    text-align: center;
    line-height: 1;
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-label {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.1rem;
    color: #03312e;
    font-family: 'Geist', sans-serif;
    text-align: left;
}

.form-input,
.form-select {
    padding: 1rem 1.2rem;
    border: 2px solid rgba(3, 49, 46, 0.2);
    border-radius: 12px;
    font-size: 0.8rem;
    font-family: 'Geist', sans-serif;
    background: white;
    transition: all 0.3s ease;
    color: #1e1e1e;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #03312e;
    box-shadow: 0 0 0 3px rgba(3, 49, 46, 0.1);
    transform: translateY(-1px);
}

.form-input::placeholder {
    color: #999;
    opacity: 0.7;
}

.form-select {
    cursor: pointer;
}

.form-select option {
    padding: 0.5rem;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 0.3rem;       
    padding-top: 0.3rem;      
    border-top: none; 
}

.form-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Geist', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 140px;
    position: relative;
    overflow: hidden;
}

.form-button.primary {
    background: linear-gradient(135deg, #03312e, #1e1e1e);
    color: white;
}

.form-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(3, 49, 46, 0.3);
    background: linear-gradient(135deg, #1e1e1e, #03312e);
}


@media (max-width: 768px) {
    .form-container {
        padding: 2rem;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .form-button {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .demo-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        padding: 1rem;
    }
    
    .demo-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
        min-width: 160px;
    }
    
    .form-container {
        padding: 1.5rem;
    }
    
    .form-title {
        font-size: 1.6rem;
    }
    
    .form-input,
    .form-select {
        padding: 0.9rem 1rem;
    }
    
    .form-button {
        padding: 0.9rem 1.5rem;
        font-size: 0.95rem;
    }
}