* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-bottom: 50px;
}

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

header {
    background-color: #e91e63;
    color: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto 30px;
}

.highlight {
    background: #ffeb3b;
    color: #000;
    padding: 3px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 50px 0;
}

.feature-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: #e91e63;
}

.upload-section {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px;
    text-align: center;
    margin: 50px 0;
}

.upload-section h2 {
    margin-bottom: 25px;
    color: #1a237e;
}

.upload-area {
    border: 2px dashed #e91e63;
    border-radius: 10px;
    padding: 40px 20px;
    margin: 20px 0;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    min-height: 200px;
}

.upload-area.file-uploaded {
    border-color: #4CAF50;
    background-color: #e8f5e9;
}

.upload-area:hover, .upload-area.drag-over {
    background-color: #fff0f5;
    border-color: #d81b60;
}

.upload-area.drag-over {
    background-color: #e3f2fd;
    border-color: #2196F3;
}

.upload-area p {
    color: #666;
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    background: #e91e63;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
    text-decoration: none;
}

.btn:hover {
    background: #d81b60;
}

.btn:disabled {
    background: #bdbdbd;
    cursor: not-allowed;
}

.btn-processing {
    background: #ff9800;
    animation: pulse 1.5s infinite;
}

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

.btn-secondary {
    background: #424242;
}

.btn-secondary:hover {
    background: #333;
}

.faq {
    margin: 50px 0;
}

.faq h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a237e;
}

.faq-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f5f5f5;
}

.faq-header:hover {
    background: #eee;
}

.faq-content {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-content.active {
    max-height: 500px;
    padding: 20px;
}

footer {
    background: #333;
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 15px;
    color: #e91e63;
}

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

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

.footer-section a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
}

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

.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: white;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    padding: 30px;
    position: relative;
    animation: popup 0.4s forwards;
}

@keyframes popup {
    from {transform: translateY(-50px); opacity: 0;}
    to {transform: translateY(0); opacity: 1;}
}

.popup-content h2 {
    margin-bottom: 20px;
    color: #1a237e;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 25px;
}

.popup button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    flex: 1;
    margin: 0 5px;
}

.btn-agree {
    background: #4CAF50;
    color: white;
}

.btn-disagree {
    background: #f44336;
    color: white;
}

.disclaimer {
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
    padding: 15px;
    margin: 30px 0;
    border-radius: 0 4px 4px 0;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    nav ul {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul li {
        margin: 10px 0;
    }
}

.hidden {
    display: none;
}

.payment-thankyou {
    text-align: center;
    padding: 40px 20px;
    max-width: 600px;
    margin: 0 auto;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.payment-thankyou h2 {
    color: #1a237e;
    margin-bottom: 20px;
}

.payment-thankyou p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.download-link {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
    margin-top: 20px;
}

.download-link:hover {
    background: #45a049;
}

/* Stiluri specifice pentru paginile de Termeni și Condiții și Politică de Confidențialitate */

.page-header {
    background-color: #1a237e;
    color: white;
    padding: 20px 0;
    text-align: center;
    margin-bottom: 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.document-content {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.document-content h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #1a237e;
}

.document-content h2 {
    color: #e91e63;
    margin: 25px 0 15px;
    font-size: 1.8rem;
}

.document-content h3 {
    color: #1a237e;
    margin: 20px 0 10px;
    font-size: 1.4rem;
}

.document-content p {
    margin-bottom: 15px;
    text-align: justify;
}

.document-content ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.document-content li {
    margin-bottom: 8px;
}

.highlight {
    background-color: #e3f2fd;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 600;
}

.consent-section {
    text-align: center;
    padding: 30px;
    background: #e8f5e9;
    border-radius: 10px;
    margin-top: 20px;
    border: 1px solid #4caf50;
}

.consent-section h3 {
    color: #1a237e;
    margin-bottom: 15px;
}

.btn-document {
    display: inline-block;
    background: #e91e63;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
}

.btn-document:hover {
    background: #d81b60;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(233, 30, 99, 0.4);
}

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

.legal-info {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #1a237e;
}

.data-protection {
    background: #e8f5e9;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #4CAF50;
}

.signature {
    margin-top: 30px;
    text-align: right;
    font-style: italic;
    color: #555;
}

.last-updated {
    text-align: center;
    color: #777;
    margin: 20px 0;
    font-style: italic;
}

.page-footer {
    text-align: center;
    margin-top: 30px;
    color: #666;
    font-size: 0.9rem;
}

/* File upload feedback styles */
.file-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.file-icon {
    font-size: 48px;
    margin-bottom: 10px;
    color: #e91e63;
}

.file-name {
    font-weight: bold;
    font-size: 1.2rem;
    color: #1a237e;
    margin-bottom: 5px;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-size {
    color: #666;
    font-size: 0.9rem;
}

.upload-instructions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upload-status {
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #e8f5e9;
    color: #2e7d32;
    border-radius: 5px;
    border-left: 4px solid #4CAF50;
    text-align: left;
    font-weight: 500;
}

/* Responsive styles */
@media (max-width: 768px) {
    .document-content {
        padding: 25px;
    }
    
    .document-content h1 {
        font-size: 1.8rem;
    }
    
    .btn-document {
        width: 100%;
        padding: 15px;
    }
    
    .upload-area {
        padding: 30px 15px;
    }
    
    .file-name {
        font-size: 1rem;
    }
    
    .popup-content {
        padding: 20px;
    }
}