/* ===== Pages CSS - Premium Dark Theme 2026 ===== */

/* Page Hero */
.page-hero {
    position: relative;
    padding: 180px 0 120px;
    overflow: hidden;
    background: var(--gray-950);
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%);
}

.page-hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--gray-950), transparent);
}

.page-hero .container {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-hero-content {
    max-width: 700px;
}

.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-400);
    font-size: 13px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-badge-cee {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.badge-cee-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.page-badge-cee span {
    color: var(--primary-400);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}

.page-description {
    font-size: 18px;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
}

.page-hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.page-hero-visual {
    position: relative;
}

.page-hero-image {
    width: 100%;
    height: 400px;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.page-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}

.page-hero-image::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-2xl);
    padding: 2px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.4), transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background: var(--gray-950);
    position: relative;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.benefits .benefit-card {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 36px 28px;
    text-align: center;
    transition: var(--transition-base);
}

.benefits .benefit-card:hover {
    background: rgba(24, 24, 27, 0.8);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-8px);
}

.benefits .benefit-icon {
    width: 64px;
    height: 64px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.benefits .benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-400);
}

.benefits .benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.benefits .benefit-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Process Section - Pages */
.process {
    padding: var(--section-padding);
    background: var(--gray-900);
    position: relative;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.process .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.process-step:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}

.step-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Applications Section */
.applications {
    padding: var(--section-padding);
    background: var(--gray-950);
    position: relative;
}

.applications::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.applications .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.application-card {
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: var(--transition-base);
}

.application-card:hover {
    background: rgba(24, 24, 27, 0.8);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-4px);
}

.application-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.application-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-400);
}

.application-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
}

.application-card p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.application-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-400);
    transition: var(--transition-fast);
}

.application-link:hover {
    color: var(--primary-300);
    gap: 10px;
}

/* Specs Section */
.specs {
    padding: var(--section-padding);
    background: var(--gray-900);
    position: relative;
}

.specs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.specs-content {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: start;
}

.specs-badge-cee {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.specs-cee-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
}

.specs-description {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 32px;
}

.specs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.specs-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: var(--gray-300);
    line-height: 1.6;
}

.specs-list svg {
    width: 20px;
    height: 20px;
    color: var(--primary-400);
    flex-shrink: 0;
    margin-top: 2px;
}

.specs-card {
    background: rgba(24, 24, 27, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.specs-card-header {
    background: var(--gradient-primary);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--white);
}

.specs-card-header svg {
    width: 24px;
    height: 24px;
}

.specs-card-header span {
    font-size: 18px;
    font-weight: 600;
}

.specs-card-body {
    padding: 28px;
}

.specs-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.specs-item:last-child {
    border-bottom: none;
}

.specs-label {
    font-size: 14px;
    color: var(--gray-400);
}

.specs-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.specs-value.highlight {
    color: var(--primary-400);
    font-size: 22px;
    font-weight: 700;
}

/* Page CTA */
.page-cta {
    padding: 100px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.page-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
}

.page-cta .cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.page-cta .cta-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-cta .cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 36px;
}

.page-cta .cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Grid (for some pages) */
.features-section {
    padding: var(--section-padding);
    background: var(--gray-950);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.features-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.features-section .feature-item {
    display: flex;
    gap: 20px;
    padding: 28px;
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.features-section .feature-item:hover {
    background: rgba(24, 24, 27, 0.8);
    border-color: rgba(16, 185, 129, 0.2);
}

.features-section .feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.features-section .feature-icon svg {
    width: 26px;
    height: 26px;
    color: var(--primary-400);
}

.features-section .feature-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.features-section .feature-content p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

/* Stats Row */
.stats-section {
    padding: 80px 0;
    background: var(--gray-950);
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.stats-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.3), transparent);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stats-section .stat-item {
    padding: 32px 24px;
    background: rgba(24, 24, 27, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
}

.stats-section .stat-number {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--primary-400);
}

.stats-section .stat-label {
    font-size: 14px;
    color: var(--gray-400);
}

/* Section Badge & Title for Pages */
.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-400);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.section-description {
    font-size: 16px;
    color: var(--gray-400);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Button Styles for Pages */
.btn-white {
    background: var(--white);
    color: var(--gray-900);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-base);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-base);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 16px;
}

/* Footer Override for Pages */
.footer {
    background: var(--gray-950);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 80px 0 60px;
}

.footer-brand .logo-img {
    height: 60px;
    margin-bottom: 20px;
}

.footer-description {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    font-size: 14px;
    color: var(--gray-400);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: var(--primary-400);
}

.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

/* Responsive */
@media (max-width: 1200px) {
    .page-hero .container {
        grid-template-columns: 1fr 400px;
        gap: 60px;
    }
    
    .specs-content {
        grid-template-columns: 1fr 380px;
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    .page-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .page-hero-content {
        max-width: 100%;
    }
    
    .page-description {
        max-width: 100%;
        margin: 0 auto 40px;
    }
    
    .page-hero-visual {
        display: none;
    }
    
    .page-hero-actions {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .applications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specs-content {
        grid-template-columns: 1fr;
    }
    
    .specs-card {
        max-width: 450px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding: 140px 0 80px;
    }
    
    .benefits {
        padding: 80px 0;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .applications-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    
    .stats-section .stat-number {
        font-size: 36px;
    }
    
    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .page-hero-actions {
        flex-direction: column;
    }
    
    .page-hero-actions .btn {
        width: 100%;
    }
    
    .page-cta .cta-actions {
        flex-direction: column;
    }
    
    .page-cta .cta-actions .btn {
        width: 100%;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}
