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

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.85) 0%, rgba(74, 20, 140, 0.8) 50%, rgba(124, 58, 237, 0.75) 100%);
}

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

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

.hero-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(238, 90, 36, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(238, 90, 36, 0.4);
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
}

.btn-icon {
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover .btn-icon {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .hero-banner {
        min-height: 60vh;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .hero-cta-btn {
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

/* Block 2 */
.featured-tools {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}

.featured-tools::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #5d6d7e;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tool-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.tool-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
}

.tool-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.tool-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.tool-description {
    color: #5d6d7e;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tool-features {
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.feature-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #f39c12;
    font-size: 0.9rem;
}

.rating-text {
    color: #7f8c8d;
    font-size: 0.85rem;
    font-weight: 500;
}

.explore-tools-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.explore-tools-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.4);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.explore-tools-btn:hover .btn-icon {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .featured-tools {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .tool-card {
        padding: 1.5rem;
    }
    
    .explore-tools-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .tool-features {
        justify-content: center;
    }
    
    .tool-rating {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
}

/* Block 3 */
.quantum-computing-insights {
    padding: 80px 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3a 50%, #2d1b69 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.quantum-computing-insights::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                      radial-gradient(circle at 80% 70%, rgba(255, 119, 198, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #a8edea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

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

.quantum-visual-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.quantum-hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.quantum-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
}

.quantum-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00f5ff 0%, #fc466b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 5px;
}

.quantum-content {
    padding-left: 2rem;
}

.quantum-subtitle {
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
}

.quantum-description {
    font-size: 1.1rem;
    color: #b8b9dc;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.quantum-applications {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.application-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.application-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.app-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
}

.app-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.3rem;
}

.app-desc {
    font-size: 0.9rem;
    color: #a8a9dc;
    margin: 0;
}

.quantum-timeline {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: #fff;
}

.timeline-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.timeline-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.timeline-date {
    font-size: 1rem;
    font-weight: 600;
    color: #00f5ff;
    margin-bottom: 1rem;
}

.milestone-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.8rem;
}

.milestone-desc {
    font-size: 0.95rem;
    color: #b8b9dc;
    line-height: 1.5;
    margin: 0;
}

.quantum-cta {
    margin-top: 2rem;
}

.quantum-learn-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 15px 35px;
    border-radius: 50px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.quantum-learn-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .quantum-content {
        padding-left: 0;
        margin-top: 2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .quantum-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .quantum-computing-insights {
        padding: 60px 0;
    }
    
    .quantum-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .timeline-container {
        grid-template-columns: 1fr;
    }
    
    .quantum-timeline {
        padding: 2rem;
    }
    
    .application-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
}

/* Block 4 */
.contact-form {
    background: linear-gradient(135deg, #f5f7ff 0%, #e8f2ff 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    background: url('geometric-pattern.png') repeat;
    opacity: 0.05;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.contact-form .container {
    position: relative;
    z-index: 2;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.form-container {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.contact-form-element {
    width: 100%;
}

.form-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 40px;
}

.form-group {
    position: relative;
}

.form-label {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.label-icon {
    margin-right: 8px;
    color: #667eea;
    font-size: 0.9rem;
}

.form-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafbfc;
    color: #2c3e50;
}

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

.input-underline {
    height: 2px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    margin-top: -2px;
    border-radius: 1px;
}

.form-input:focus + .input-underline {
    transform: scaleX(1);
}

.form-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.feature-text {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.submit-section {
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-animation {
    transition: transform 0.3s ease;
}

.submit-btn:hover .btn-animation {
    transform: translateX(5px);
}

.privacy-notice {
    margin-top: 20px;
    font-size: 0.85rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.privacy-icon {
    color: #28a745;
}

.testimonial-preview {
    max-width: 600px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.testimonial-content {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
}

.testimonial-text {
    flex: 1;
}

.testimonial-quote {
    font-style: italic;
    color: #2c3e50;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.author-name {
    font-weight: 700;
    color: #1a1a2e;
    display: block;
}

.author-title {
    color: #6c757d;
    font-size: 0.85rem;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.rating-stars {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-score {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 60px 0;
    }
    
    .form-title {
        font-size: 2rem;
    }
    
    .form-container {
        padding: 30px 20px;
    }
    
    .form-features {
        grid-template-columns: 1fr;
    }
    
    .testimonial-content {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-avatar {
        align-self: center;
    }
    
    .testimonial-rating {
        flex-direction: column;
        gap: 10px;
    }
}
