/* ===== Page Header ===== */
.page-header {
    padding: 150px 0 80px;
    background: var(--bg-darker);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    position: relative;
}

/* ===== About Page ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    background: var(--gradient-1);
    border-radius: 20px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.company-info {
    background: var(--bg-darker);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
}

.info-card h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card h3 i {
    color: var(--primary);
}

.info-card p, .info-card ul {
    color: var(--text-secondary);
}

.info-card ul li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.info-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* ===== Services Page ===== */
.services-full {
    background: var(--bg-darker);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.service-item:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.service-item:nth-child(even) {
    direction: rtl;
}

.service-item:nth-child(even) > * {
    direction: ltr;
}

.service-icon-large {
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    min-height: 250px;
}

.service-item:nth-child(2) .service-icon-large {
    background: var(--gradient-2);
}

.service-item:nth-child(3) .service-icon-large {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.service-item:nth-child(4) .service-icon-large {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.service-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-details p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-features span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* ===== Solutions Page ===== */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.solution-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.3s ease;
}

.solution-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.solution-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 25px;
}

.solution-card:nth-child(2) .solution-icon {
    background: var(--gradient-2);
}

.solution-card:nth-child(3) .solution-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

.solution-card:nth-child(4) .solution-icon {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.solution-card:nth-child(5) .solution-icon {
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.solution-card:nth-child(6) .solution-icon {
    background: linear-gradient(135deg, #84cc16 0%, #10b981 100%);
}

.solution-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.solution-card p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Contact Page ===== */
.contact-section {
    background: var(--bg-darker);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    margin-bottom: 5px;
}

.contact-item-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.contact-form .btn {
    width: 100%;
}

/* ===== Legal Pages ===== */
.legal-content {
    background: var(--bg-darker);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 50px;
}

.legal-container h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
    color: var(--primary);
}

.legal-container h2:first-child {
    margin-top: 0;
}

.legal-container h3 {
    font-size: 1.2rem;
    margin: 25px 0 15px;
}

.legal-container p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.8;
}

.legal-container ul {
    color: var(--text-secondary);
    margin-bottom: 15px;
    padding-left: 25px;
}

.legal-container ul li {
    margin-bottom: 10px;
    position: relative;
    list-style: disc;
}

.legal-container .update-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
    .about-intro {
        grid-template-columns: 1fr;
    }

    .about-image {
        height: 300px;
    }

    .service-item {
        grid-template-columns: 1fr;
    }

    .service-item:nth-child(even) {
        direction: ltr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .legal-container {
        padding: 30px 20px;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }
}
