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

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image {
    width: 100%;
    height: 70vh;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 100%;
    padding: 0 15px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 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-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(13, 110, 253, 0.3);
}

.hero-cta-button:hover {
    background: linear-gradient(135deg, #0056b3 0%, #004494 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.4);
    color: white;
}

.hero-cta-button:active {
    transform: translateY(-1px);
}

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

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-cta-button {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
}

/* Block 2 */
.smart-features {
    padding: 120px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.smart-features::before {
    content: '';
    background: radial-gradient(circle at 20% 80%, rgba(13, 110, 253, 0.1) 0%, transparent 50%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.smart-features .container {
    position: relative;
    z-index: 2;
}

.features-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.features-description {
    font-size: 1.2rem;
    color: #6c757d;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.feature-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: #6c757d;
    margin: 0;
    line-height: 1.6;
}

.features-gallery {
    position: relative;
    height: 100%;
    min-height: 500px;
}

.gallery-grid {
    position: relative;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.main-image {
    grid-column: 1 / 3;
    grid-row: 1;
    height: 250px;
}

.secondary-image {
    grid-column: 1;
    grid-row: 2;
}

.tertiary-image {
    grid-column: 2;
    grid-row: 2;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

@media (max-width: 991px) {
    .smart-features {
        padding: 80px 0;
    }
    
    .features-title {
        font-size: 2.5rem;
        text-align: center;
    }
    
    .features-description {
        text-align: center;
    }
    
    .gallery-grid {
        margin-top: 3rem;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
    }
    
    .main-image {
        grid-column: 1;
        grid-row: 1;
        height: 200px;
    }
    
    .secondary-image {
        grid-column: 1;
        grid-row: 2;
    }
    
    .tertiary-image {
        grid-column: 1;
        grid-row: 3;
    }
}

@media (max-width: 576px) {
    .features-title {
        font-size: 2rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
}

/* Block 3 */
.neural-wellness {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.wellness-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.wellness-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.wellness-dashboard {
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    padding: 2rem;
    color: #333;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 2rem;
}

.dashboard-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    gap: 1rem;
}

.pulse-indicator {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid #667eea;
    border-radius: 50%;
    animation: pulse-ring 2s ease-out infinite;
}

.pulse-core {
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    animation: pulse-core 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

@keyframes pulse-core {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.dashboard-title h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.dashboard-title p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-3px);
}

.metric-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.metric-data {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.metric-unit {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 0.2rem;
}

.metric-label {
    font-size: 0.85rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-trend {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.metric-trend.up {
    background: #d4edda;
    color: #155724;
}

.metric-trend.down {
    background: #f8d7da;
    color: #721c24;
}

.metric-trend.stable {
    background: #fff3cd;
    color: #856404;
}

.adaptation-log {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.5rem;
}

.adaptation-log h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.log-entries {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.log-entry {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #667eea;
}

.log-time {
    font-weight: 600;
    color: #667eea;
    font-size: 0.9rem;
    min-width: 50px;
}

.log-action {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.4;
}

.wellness-gallery {
    margin-bottom: 2rem;
}

.wellness-image {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.wellness-image.primary {
    height: 250px;
    margin-bottom: 1rem;
}

.gallery-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.wellness-image.secondary,
.wellness-image.tertiary {
    height: 120px;
}

.wellness-benefits {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
}

.wellness-benefits h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.benefit-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .neural-wellness {
        padding: 3rem 0;
    }
    
    .wellness-main-title {
        font-size: 2rem;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }
    
    .metric-card {
        justify-content: center;
        text-align: center;
    }
    
    .log-entry {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .gallery-stack {
        grid-template-columns: 1fr;
    }
}

/* Block 4 */
.quantum-order {
    background: linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 50%, #16213e 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    color: white;
}

.quantum-order::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.quantum-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
}

.quantum-particles {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff;
    animation: particleFloat 6s infinite ease-in-out;
}

.particle-1 { top: 10px; left: 20px; animation-delay: 0s; }
.particle-2 { top: 30px; left: 60px; animation-delay: 1.2s; background: #ff00ff; box-shadow: 0 0 10px #ff00ff; }
.particle-3 { top: 20px; left: 100px; animation-delay: 2.4s; }
.particle-4 { top: 50px; left: 140px; animation-delay: 3.6s; background: #ff00ff; box-shadow: 0 0 10px #ff00ff; }
.particle-5 { top: 40px; left: 180px; animation-delay: 4.8s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 1; }
    25% { transform: translateY(-15px) rotate(90deg); opacity: 0.7; }
    50% { transform: translateY(-30px) rotate(180deg); opacity: 0.4; }
    75% { transform: translateY(-15px) rotate(270deg); opacity: 0.7; }
}

.quantum-title {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #ffff00, #00ffff);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: quantumShimmer 4s ease-in-out infinite;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

@keyframes quantumShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.quantum-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.quantum-form-wrapper {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-hologram {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
}

.hologram-ring {
    position: absolute;
    border: 2px solid #00ffff;
    border-radius: 50%;
    animation: holoRotate 8s linear infinite;
}

.ring-1 { width: 30px; height: 30px; top: 25px; left: 25px; }
.ring-2 { width: 50px; height: 50px; top: 15px; left: 15px; animation-delay: -2.6s; border-color: #ff00ff; }
.ring-3 { width: 70px; height: 70px; top: 5px; left: 5px; animation-delay: -5.3s; border-color: #ffff00; }

@keyframes holoRotate {
    0% { transform: rotate(0deg) scale(1); opacity: 1; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 0.6; }
    100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

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

.form-field {
    position: relative;
    margin-bottom: 30px;
}

.quantum-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 18px 20px;
    font-size: 1.1rem;
    color: white;
    transition: all 0.4s ease;
    outline: none;
}

.quantum-input:focus {
    border-color: #00ffff;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.quantum-input:focus + .quantum-label,
.quantum-input:not(:placeholder-shown) + .quantum-label {
    transform: translateY(-35px) scale(0.9);
    color: #00ffff;
}

.quantum-label {
    position: absolute;
    left: 20px;
    top: 18px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.4s ease;
    pointer-events: none;
    background: linear-gradient(90deg, #0c0c0c, transparent);
    padding: 0 10px;
}

.input-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.quantum-input:focus ~ .input-wave {
    transform: scaleX(1);
}

.quantum-submit {
    width: 100%;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border: none;
    border-radius: 15px;
    padding: 20px;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quantum-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.4);
}

.submit-text {
    position: relative;
    z-index: 2;
    margin-right: 15px;
}

.submit-icon {
    position: relative;
    z-index: 2;
    font-size: 1.4rem;
    animation: rocketPulse 2s ease-in-out infinite;
}

@keyframes rocketPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.submit-energy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.quantum-submit:hover .submit-energy {
    opacity: 1;
}

.energy-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, transparent 70%);
    border-radius: 50%;
    animation: energyExpand 1.5s ease-out infinite;
}

@keyframes energyExpand {
    0% { width: 0; height: 0; transform: translate(-50%, -50%); opacity: 1; }
    100% { width: 400px; height: 400px; transform: translate(-50%, -50%); opacity: 0; }
}

.energy-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: energySlide 2s ease-in-out infinite;
}

@keyframes energySlide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.quantum-showcase {
    position: relative;
}

.showcase-main {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.showcase-image.primary {
    width: 100%;
    height: 300px;
    object-fit: cover;
    filter: brightness(0.8) contrast(1.2);
}

.quantum-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
}

.energy-field {
    position: absolute;
    border-radius: 50%;
    animation: fieldPulse 4s ease-in-out infinite;
}

.field-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 15%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.6) 0%, transparent 70%);
    animation-delay: 0s;
}

.field-2 {
    width: 40px;
    height: 40px;
    top: 60%;
    right: 20%;
    background: radial-gradient(circle, rgba(255, 0, 255, 0.6) 0%, transparent 70%);
    animation-delay: 1.3s;
}

.field-3 {
    width: 50px;
    height: 50px;
    bottom: 15%;
    left: 40%;
    background: radial-gradient(circle, rgba(255, 255, 0, 0.6) 0%, transparent 70%);
    animation-delay: 2.6s;
}

@keyframes fieldPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.5); opacity: 0.2; }
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1;
}

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

.grid-item:hover .grid-image {
    transform: scale(1.1);
}

.grid-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 10px 8px 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.quantum-features {
    margin-top: 40px;
}

.features-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: #00ffff;
    text-align: center;
}

.capability-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.capability-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.capability-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00ffff;
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

.capability-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.capability-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 8px;
}

.capability-content p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 992px) {
    .quantum-title {
        font-size: 2.8rem;
    }
    
    .quantum-form-wrapper {
        margin-bottom: 50px;
    }
    
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .quantum-order {
        padding: 80px 0;
    }
    
    .quantum-title {
        font-size: 2.2rem;
    }
    
    .quantum-subtitle {
        font-size: 1.1rem;
    }
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .capability-item {
        flex-direction: column;
        text-align: center;
    }
}
