
/* Block 1 */
.hero-banner {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(67, 56, 202, 0.75) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 60px 0;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-primary-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(59, 130, 246, 0.4);
    color: #ffffff;
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    color: #ffffff;
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 80vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-hero,
    .btn-secondary-hero {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 14px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Block 2 */
.legal-expertise-showcase {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.legal-expertise-showcase::before {
    content: '';
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #667eea20, #764ba220);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    z-index: 1;
}

.expertise-content {
    padding-right: 30px;
}

.expertise-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.expertise-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.expertise-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 30px;
}

.expertise-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
    margin-top: 5px;
}

.expertise-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    color: #2c3e50;
}

.feature-icon {
    color: #27ae60;
    font-size: 1.1rem;
}

.expertise-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    position: relative;
}

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

.primary-card {
    width: 70%;
    height: 60%;
    margin-left: auto;
    margin-bottom: 20px;
}

.secondary-card {
    width: 65%;
    height: 35%;
}

.visual-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.visual-card:hover .visual-image {
    transform: scale(1.05);
}

.card-overlay {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.9), rgba(118, 75, 162, 0.9));
    color: white;
    padding: 20px;
    position: relative;
    top: -100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.visual-card:hover .card-overlay {
    opacity: 1;
}

.card-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.card-overlay p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

.floating-badge {
    background: white;
    border-radius: 50px;
    padding: 12px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    top: -250px;
    left: -80px;
    z-index: 3;
    width: fit-content;
}

.floating-badge i {
    font-size: 1.2rem;
}

@media (max-width: 991px) {
    .expertise-content {
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .expertise-title {
        font-size: 2rem;
    }
    
    .expertise-stats {
        justify-content: space-around;
    }
    
    .expertise-visual {
        height: 400px;
    }
    
    .floating-badge {
        left: 0;
        top: -200px;
    }
}

@media (max-width: 768px) {
    .legal-expertise-showcase {
        padding: 60px 0;
    }
    
    .expertise-stats {
        gap: 20px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .expertise-visual {
        height: 350px;
    }
    
    .primary-card, .secondary-card {
        width: 100%;
    }
    
    .floating-badge {
        font-size: 0.8rem;
        padding: 10px 16px;
    }
}

/* Block 3 */
.digital-solutions-hub {
    padding: 120px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.section-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.3rem;
    color: #7f8c8d;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.solution-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.solution-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.card-header {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.solution-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.solution-card:hover .solution-image {
    transform: scale(1.1);
}

.tech-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
}

.tech-badge {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ai-verification .tech-badge {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.blockchain-security .tech-badge {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.cloud-platform .tech-badge {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.card-content {
    padding: 32px;
}

.solution-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 16px;
}

.solution-description {
    color: #7f8c8d;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #667eea;
    font-size: 16px;
}

.feature-item span {
    color: #34495e;
    font-weight: 500;
    font-size: 14px;
}

.innovation-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.metric-card {
    background: white;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.metric-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.metric-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 8px;
    line-height: 1;
}

.metric-label {
    color: #7f8c8d;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .digital-solutions-hub {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.4rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .innovation-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .metric-card {
        padding: 24px 16px;
    }
}

@media (max-width: 480px) {
    .innovation-metrics {
        grid-template-columns: 1fr;
    }
    
    .card-content {
        padding: 24px;
    }
}

/* Block 4 */
.order-form-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.order-form-section::before {
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="1000,100 1000,0 0,100"/></svg>') no-repeat;
    background-size: cover;
    height: 100px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.form-wrapper {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

.form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    text-align: center;
    color: white;
    position: relative;
}

.form-header::after {
    content: '';
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" fill="%23ffffff"><path d="M0,120 C300,40 900,80 1200,20 L1200,120 Z"/></svg>') no-repeat;
    background-size: cover;
    height: 60px;
    width: 100%;
    bottom: -1px;
    left: 0;
    z-index: 1;
}

.header-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.header-icon i {
    font-size: 32px;
    color: white;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 60px 40px;
    align-items: start;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #667eea;
}

.benefit-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 24px;
    color: white;
}

.benefit-text h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.benefit-text p {
    color: #718096;
    margin: 0;
    line-height: 1.5;
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-label i {
    color: #667eea;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.form-control:valid {
    border-color: #48bb78;
}

.input-feedback {
    margin-top: 6px;
    font-size: 0.875rem;
    min-height: 20px;
}

.form-actions {
    margin-top: 16px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.3);
}

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

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-block;
}

.submit-btn.loading i:not(.btn-loading i) {
    display: none;
}

.form-security {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    color: #718096;
    font-size: 0.875rem;
}

.form-security i {
    color: #48bb78;
}

@media (max-width: 992px) {
    .form-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 24px;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-header {
        padding: 40px 24px;
    }
}

@media (max-width: 576px) {
    .order-form-section {
        padding: 40px 0;
    }
    
    .form-title {
        font-size: 1.75rem;
    }
    
    .form-subtitle {
        font-size: 1rem;
    }
    
    .benefit-item {
        padding: 16px;
    }
    
    .benefit-icon {
        width: 48px;
        height: 48px;
    }
    
    .benefit-icon i {
        font-size: 20px;
    }
}
