/* QuantumDevice.ai - Award-Winning Premium Design */

:root {
    --primary: #06b6d4;
    --primary-light: #22d3ee;
    --primary-dark: #0891b2;
    --accent: #3b82f6;
    --bg-dark: #030712;
    --bg-darker: #0c1222;
    --bg-card: #111827;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --border: rgba(6, 182, 212, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.container-narrow {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-1px);
}

.logo-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--primary);
}

.nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

.header-cta {
    padding: 0.75rem 1.5rem;
    background: rgba(6, 182, 212, 0.1);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.header-cta:hover {
    background: rgba(6, 182, 212, 0.2);
    border-color: var(--primary);
    transform: translateY(-1px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 8rem 0 4rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle, white 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, white 20%, transparent 70%);
}

.hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 3rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(6, 182, 212, 0.05);
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.eyebrow-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -3px;
    margin-bottom: 2rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.5) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid rgba(6, 182, 212, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.metric {
    text-align: center;
}

.metric-value {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.metric-divider {
    width: 1px;
    height: 50px;
    background: rgba(6, 182, 212, 0.2);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.125rem 2rem;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

.btn-secondary {
    background: rgba(6, 182, 212, 0.1);
    border: 2px solid var(--border);
    color: var(--primary);
}

.btn-secondary:hover {
    background: rgba(6, 182, 212, 0.15);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.8125rem;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary) 0%, transparent 100%);
    animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Sections */
.systems-section,
.cloud-section,
.vendors-section,
.procurement-section {
    padding: 8rem 0;
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 600px;
}

.section-header.centered .section-description {
    margin: 0 auto;
}

/* Systems Grid */
.systems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
    gap: 2.5rem;
}

.system-card {
    background: var(--bg-card);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.system-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.system-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(6, 182, 212, 0.2);
}

.system-card:hover::before {
    opacity: 1;
}

.system-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 2rem;
}

.system-name {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.system-vendor {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.system-badge {
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.system-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.system-spec {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.spec-label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.spec-value {
    font-size: 1.375rem;
    font-weight: 700;
    color: white;
}

.system-actions {
    display: flex;
    gap: 0.75rem;
}

.system-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.system-btn-primary {
    background: var(--primary);
    color: white;
}

.system-btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.system-btn-secondary {
    background: rgba(6, 182, 212, 0.1);
    border: 2px solid var(--border);
    color: var(--primary);
}

.system-btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(6, 182, 212, 0.15);
}

.system-description {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.system-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.platform-badge {
    padding: 0.375rem 0.875rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #3b82f6;
    letter-spacing: 0.25px;
}

.system-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: auto;
}

.system-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

.system-link svg {
    transition: transform 0.3s ease;
}

.system-link:hover svg {
    transform: translateX(4px);
}

/* Cloud Grid */
.cloud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 2rem;
}

.cloud-card {
    background: var(--bg-card);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.cloud-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(6, 182, 212, 0.15);
}

.cloud-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 1.5rem;
}

.cloud-logo {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
}

.cloud-badge {
    padding: 0.375rem 0.875rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
}

.cloud-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cloud-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cloud-specs {
    display: flex;
    gap: 2rem;
    padding: 1.5rem;
    background: rgba(6, 182, 212, 0.05);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.cloud-spec {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cloud-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.cloud-cta:hover {
    gap: 0.75rem;
}

/* Vendors Grid */
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.vendor-card {
    background: var(--bg-card);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
}

.vendor-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.15);
}

.vendor-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
    margin-bottom: 1.5rem;
}

.vendor-name {
    font-size: 1.375rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.vendor-tech {
    font-size: 0.9375rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.vendor-products {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vendor-products span {
    padding: 0.375rem 0.75rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Procurement */
.procurement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.procurement-card {
    background: var(--bg-card);
    border: 1px solid rgba(6, 182, 212, 0.15);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.procurement-card.highlighted {
    border-color: var(--primary);
    box-shadow: 0 8px 40px rgba(6, 182, 212, 0.2);
}

.procurement-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: white;
}

.procurement-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.procurement-number {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.procurement-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.procurement-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.procurement-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.procurement-link {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.cta-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

.cta-input {
    flex: 1;
    padding: 1.125rem 1.5rem;
    background: var(--bg-dark);
    border: 2px solid var(--border);
    border-radius: 14px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.cta-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1);
}

.cta-button {
    padding: 1.125rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.3);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(6, 182, 212, 0.1);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo span:last-child span {
    color: var(--primary);
}

.footer-desc {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .section-title {
        font-size: 2.75rem;
    }

    .systems-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .container,
    .container-narrow {
        padding: 0 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .hero-metrics {
        flex-direction: column;
        gap: 2rem;
    }

    .metric-divider {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .section-title {
        font-size: 2rem;
    }

    .cloud-grid,
    .vendors-grid,
    .procurement-options {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-form {
        flex-direction: column;
    }
}
