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

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

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 41, 59, 0.75) 50%, rgba(51, 65, 85, 0.8) 100%);
  z-index: 2;
}

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

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.25rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-cta-button {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
  color: white;
}

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

@media (max-width: 768px) {
  .hero-banner {
    min-height: 80vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-description {
    font-size: 1.1rem;
  }
  
  .hero-content {
    padding: 2rem 0;
  }
}

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

/* Block 2 */
.quantum-protocols-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.quantum-content {
    padding: 40px 0;
}

.quantum-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quantum-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    opacity: 0.95;
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

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

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

.feature-text p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.6;
}

.quantum-cta-btn {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(135deg, #ffd89b 0%, #19547b 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(0, 0, 0, 0.2);
}

.quantum-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
    color: white;
}

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

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

.quantum-overlay-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 30px 20px 20px;
    display: flex;
    justify-content: space-around;
}

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

.stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffd89b;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

.neural-network-demo {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 50px 40px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 60px;
}

.demo-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 50px;
    color: white;
}

.network-nodes {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.node-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse 3s ease-in-out infinite;
}

.network-node {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 0 30px rgba(255, 216, 155, 0.6);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.primary-node {
    animation-delay: 0s;
}

.secondary-node {
    animation-delay: 1s;
}

.edge-node {
    animation-delay: 2s;
}

.node-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: white;
    text-align: center;
}

.connection-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #ffd89b 0%, #19547b 100%);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.connection-line::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.8) 50%, transparent 100%);
    animation: flow 2s ease-in-out infinite;
}

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

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

.network-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.metric-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 30px 25px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.metric-icon {
    font-size: 2.5rem;
    color: #ffd89b;
    margin-right: 20px;
    flex-shrink: 0;
}

.metric-info {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.metric-name {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 5px;
}

@media (max-width: 768px) {
    .quantum-protocols-section {
        padding: 60px 0;
    }
    
    .quantum-title {
        font-size: 2.2rem;
    }
    
    .quantum-description {
        font-size: 1.1rem;
    }
    
    .network-nodes {
        flex-direction: column;
        gap: 20px;
    }
    
    .connection-line {
        width: 3px;
        height: 40px;
    }
    
    .connection-line::before {
        animation: flowVertical 2s ease-in-out infinite;
    }
    
    @keyframes flowVertical {
        0% {
            top: -100%;
            left: 0;
        }
        100% {
            top: 100%;
            left: 0;
        }
    }
    
    .demo-title {
        font-size: 1.8rem;
    }
    
    .neural-network-demo {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .quantum-overlay-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .network-metrics {
        grid-template-columns: 1fr;
    }
}

/* Block 3 */
.blockchain-integration-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.blockchain-integration-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(13, 110, 253, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(102, 16, 242, 0.05) 0%, transparent 50%);
}

.section-header {
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    color: white;
    padding: 8px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.blockchain-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blockchain-main-img {
    width: 100%;
    max-width: 450px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.blockchain-pulse-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.pulse-ring {
    width: 200px;
    height: 200px;
    border: 3px solid rgba(13, 110, 253, 0.3);
    border-radius: 50%;
    animation: pulse 3s infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 1s;
    width: 300px;
    height: 300px;
}

.pulse-ring:nth-child(3) {
    animation-delay: 2s;
    width: 400px;
    height: 400px;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

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

.stat-box {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 180px;
}

.stat-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.stat-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0d6efd;
    margin: 0;
    line-height: 1;
}

.stat-details span {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.blockchain-features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-indicator {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-radius: 50%;
    margin-top: 8px;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 8px;
}

.feature-content p {
    font-size: 1rem;
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

.blockchain-demo-panel {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    margin-top: 60px;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.demo-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #212529;
    margin: 0;
}

.demo-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.status-text {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}

.transaction-flow {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 20px;
}

.transaction-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 150px;
}

.device-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #e9ecef;
}

.step-label {
    font-size: 1rem;
    font-weight: 600;
    color: #212529;
    text-align: center;
}

.step-data {
    font-size: 0.85rem;
    color: #6c757d;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.flow-arrow {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, #0d6efd, #6610f2);
    position: relative;
    flex-shrink: 0;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 8px solid #6610f2;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.demo-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.metric-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: center;
}

.metric-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

.metric-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0d6efd;
    font-family: 'Courier New', monospace;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
    
    .blockchain-stats {
        flex-direction: column;
    }
    
    .stat-box {
        min-width: 100%;
    }
    
    .transaction-flow {
        flex-direction: column;
    }
    
    .flow-arrow {
        transform: rotate(90deg);
        width: 40px;
    }
    
    .demo-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .blockchain-integration-section {
        padding: 60px 0;
    }
    
    .blockchain-demo-panel {
        padding: 25px;
        margin-top: 40px;
    }
    
    .demo-metrics {
        grid-template-columns: 1fr;
    }
}

/* Block 4 */
.order-form-section {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.order-form-section::before {
    content: '';
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.order-form-section::after {
    content: '';
    background: radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.2) 0%, transparent 50%);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

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

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

.form-icon-wrapper {
    margin-bottom: 30px;
}

.form-header-icon {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(120, 119, 198, 0.6));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.form-title {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #ffffff, #7877c6, #ff77c6);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.order-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.input-group-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.input-icon {
    margin-top: 35px;
}

.field-icon {
    width: 32px;
    height: 32px;
    filter: brightness(0) saturate(100%) invert(68%) sepia(31%) saturate(389%) hue-rotate(215deg) brightness(96%) contrast(89%);
}

.input-field-container {
    flex: 1;
    position: relative;
}

.field-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7877c6;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quantum-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 1.1rem;
    color: #ffffff;
    transition: all 0.3s ease;
    position: relative;
}

.quantum-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 2px rgba(120, 119, 198, 0.5);
}

.quantum-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.field-quantum-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #7877c6, transparent);
    margin-top: 8px;
    opacity: 0;
    transform: scaleX(0);
    transition: all 0.3s ease;
}

.quantum-input:focus + .field-quantum-line {
    opacity: 1;
    transform: scaleX(1);
}

.form-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.badge-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(68%) sepia(31%) saturate(389%) hue-rotate(215deg) brightness(96%) contrast(89%);
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

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

.quantum-submit-btn {
    background: linear-gradient(45deg, #7877c6, #ff77c6);
    border: none;
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.3);
}

.quantum-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(120, 119, 198, 0.4);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 40px;
    position: relative;
    z-index: 2;
}

.btn-icon {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(100%);
}

.btn-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-pulse {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    animation: pulse 2s infinite;
    opacity: 0;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

.security-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 255, 127, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 127, 0.2);
}

.security-icon {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(64%) sepia(98%) saturate(454%) hue-rotate(120deg) brightness(119%) contrast(119%);
}

.security-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

@media (max-width: 768px) {
    .order-form-container {
        padding: 30px 20px;
    }
    
    .form-title {
        font-size: 2.2rem;
    }
    
    .form-description {
        font-size: 1rem;
    }
    
    .input-group-wrapper {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .input-icon {
        margin-top: 0;
    }
    
    .form-features-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .btn-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .security-notice {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .order-form-section {
        padding: 80px 0;
    }
    
    .form-title {
        font-size: 1.8rem;
    }
}
