* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
}

.main-header {
    background: linear-gradient(90deg, #2c3e50, #4e97d3);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.main-header h1 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 2rem auto;
    max-width: 800px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.tab {
    flex: 1;
    padding: 1.2rem;
    border: none;
    background-color: white;
    color: #333;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab:hover {
    background-color: #f8f9fa;
    color: #4e97d3;
}

.tab.active {
    background-color: #4e97d3;
    color: white;
    border-bottom: 3px solid #2c3e50;
}

.content {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

#text-box {
    background-color: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    line-height: 1.8;
    color: #333;
    min-height: 400px;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Our Product styling */
.product-header {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.product-tagline {
    font-size: 1.3rem;
    color: #4e97d3;
    margin-bottom: 2rem;
    font-weight: 500;
}

.bullet-points {
    margin: 2.5rem 0;
    padding-left: 0;
}

.bullet-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.bullet-item:hover {
    transform: translateX(5px);
    background: #edf2f7;
}

.bullet-icon {
    background: #4e97d3;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    flex-shrink: 0;
}

.bullet-text {
    flex: 1;
}

.bullet-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.bullet-description {
    color: #666;
    font-size: 0.95rem;
}

/* About Us styling */
.about-header {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.about-text {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.mission-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.mission-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

/* CV Builder styling */
.cv-builder-container {
    text-align: center;
    padding: 2rem;
}

.cv-header {
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.cv-subtitle {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cv-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.feature {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.feature i {
    font-size: 2rem;
    color: #4e97d3;
    margin-bottom: 1rem;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.cv-button {
    background: linear-gradient(90deg, #4e97d3, #2c3e50);
    color: white;
    border: none;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cv-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(78, 151, 211, 0.4);
}

.legal-footer {
    position: bottom;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #2c3e50, #4e97d3);
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    padding: 1rem;
    margin-top: -20px;
}

.legal-btn {
    background: rgba(255,255,255,0.9);
    color: #2c3e50;
    border: 2px solid #4e97d3;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.legal-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    z-index: 1001;
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 2% auto;
    padding: 0;
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    overflow: hidden;
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    background: linear-gradient(90deg, #2c3e50, #4e97d3);
    color: white;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 400;
}

.close-modal {
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.close-modal:hover {
    background: rgba(255,255,255,0.2);
}

.modal-body {
    padding: 2rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    background: #f8f9fa;
    padding: 1rem 2rem;
    text-align: center;
    border-top: 1px solid #e9ecef;
    color: #666;
    font-size: 0.9rem;
}

/* Legal tabs styling */
.legal-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
}

.legal-tab {
    flex: 1;
    padding: 1rem;
    background: #f8f9fa;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0;
}

.legal-tab:hover {
    background: #e9ecef;
    color: #4e97d3;
}

.legal-tab.active {
    background: white;
    color: #4e97d3;
    border-bottom-color: #4e97d3;
}

/* Legal content styling */
.legal-section {
    display: none;
}

.legal-section.active {
    display: block;
}

.legal-section h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.legal-section h4 {
    color: #4e97d3;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
}

.legal-section p {
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #444;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    color: #444;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Cookie table styling */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.cookie-table th {
    background: #f8f9fa;
    padding: 1rem;
    text-align: left;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.cookie-table td {
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    color: #555;
}

.cookie-table tr:hover {
    background: #f8f9fa;
}

/* Cookie consent buttons */
.cookie-consent {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

/* Responsive design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .legal-tabs {
        flex-direction: column;
    }
    
    .legal-tab {
        text-align: left;
    }
    
    .cookie-consent {
        flex-direction: column;
    }
    
    .modal-body {
        max-height: 70vh;
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .modal-header h2 {
        font-size: 1.4rem;
    }
    
    .legal-section h3 {
        font-size: 1.3rem;
    }
}

.legal-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    margin-bottom: 2rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
}

@media (max-width: 768px) {
    .legal-tabs {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .legal-tabs {
        grid-template-columns: 1fr;
    }
}

.legal-tab {
    padding: 0.8rem 0.5rem;
    background: #f8f9fa;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
    border-radius: 5px 5px 0 0;
    font-size: 0.9rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.legal-tab:hover {
    background: #e9ecef;
    color: #4e97d3;
}

.legal-tab.active {
    background: white;
    color: #4e97d3;
    border-bottom-color: #4e97d3;
    font-weight: 600;
}
