/* ==============================
   OpsEvo Landing Page
   Brand Colors: #000, #1f4a66, #007bff, #fff
   Font: Segoe UI / Inter fallback
   ============================== */

:root {
    --color-azure: #007bff;
    --color-cyan: #00d4ff;
    --color-white: #ffffff;
    --color-bg-dark: #0b1120;
    --color-bg-section: #0f1729;
    --color-bg-card: #151f33;
    --color-text: #c8d6e5;
    --color-text-muted: #8899aa;
    --color-border: rgba(255, 255, 255, 0.08);
    --gradient-brand: linear-gradient(135deg, var(--color-azure), var(--color-cyan));
    --font-main: 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-max: 1140px;
    --radius: 12px;
    --radius-lg: 20px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-main);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--color-azure);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: var(--color-cyan);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
    color: var(--color-white);
    font-weight: 600;
    line-height: 1.3;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; }

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 56px;
}
.section-header p {
    margin-top: 16px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}
.btn-primary {
    background: var(--gradient-brand);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}
.btn-primary:hover {
    box-shadow: 0 6px 30px rgba(0, 123, 255, 0.5);
    transform: translateY(-1px);
    color: var(--color-white);
}
.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
}
.btn-outline:hover {
    border-color: var(--color-azure);
    color: var(--color-azure);
}
.btn-nav {
    padding: 10px 24px;
    font-size: 0.85rem;
    background: var(--gradient-brand);
    color: var(--color-white);
    border-radius: 6px;
}
.btn-nav:hover {
    color: var(--color-white);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.4);
}
.btn-lg {
    padding: 18px 40px;
    font-size: 1.05rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.3s ease;
    background: transparent;
}
.navbar.scrolled {
    background: rgba(11, 17, 32, 0.95);
    backdrop-filter: blur(16px);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img {
    height: auto;
    max-height: 40px;
    width: auto;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav-links a {
    color: var(--color-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
    position: relative;
}
.nav-links a:hover {
    color: var(--color-white);
}
.nav-links a.active:not(.btn-nav) {
    color: var(--color-white);
}
.nav-links a.active:not(.btn-nav)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: 1px;
}
.nav-links .btn-nav {
    color: var(--color-white);
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s;
}
.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 70% 40%, rgba(0, 123, 255, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 30% 70%, rgba(0, 212, 255, 0.06) 0%, transparent 70%),
        var(--color-bg-dark);
    z-index: 0;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    background: rgba(0, 123, 255, 0.1);
    border: 1px solid rgba(0, 123, 255, 0.2);
    color: var(--color-azure);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--color-text);
    margin-top: 20px;
    line-height: 1.8;
    max-width: 620px;
}
.hero-actions {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Value Proposition */
.section {
    padding: 96px 0;
}
.section-value {
    background: var(--color-bg-section);
}
.value-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.value-text h2 {
    margin-bottom: 24px;
}
.value-text p {
    margin-bottom: 16px;
    color: var(--color-text-muted);
    font-size: 1.05rem;
}
.value-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.highlight-card {
    padding: 28px;
    background: var(--color-bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: border-color 0.3s;
}
.highlight-card:hover {
    border-color: rgba(0, 123, 255, 0.3);
}
.highlight-icon {
    font-size: 1.2rem;
    color: var(--color-azure);
    margin-bottom: 12px;
}
.highlight-card h3 {
    margin-bottom: 8px;
}
.highlight-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Features */
.section-features {
    background: var(--color-bg-dark);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    padding: 36px 28px;
    background: var(--color-bg-section);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
}
.feature-card:hover {
    border-color: rgba(0, 123, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(0, 123, 255, 0.1);
    color: var(--color-azure);
    margin-bottom: 20px;
}
.feature-card h3 {
    margin-bottom: 10px;
}
.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Security */
.section-security {
    background: var(--color-bg-section);
}
.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.security-card {
    padding: 40px 32px;
    background: var(--color-bg-dark);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}
.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity 0.3s;
}
.security-card:hover::before {
    opacity: 1;
}
.security-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}
.security-card h3 {
    margin-bottom: 12px;
}
.security-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Costs */
.section-costs {
    background: var(--color-bg-dark);
}
.costs-wrapper {
    max-width: 700px;
    margin: 0 auto;
}
.costs-table {
    background: var(--color-bg-section);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
}
.cost-row {
    display: grid;
    grid-template-columns: 180px 1fr auto;
    gap: 12px;
    padding: 16px 28px;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
}
.cost-row:last-child {
    border-bottom: none;
}
.cost-label {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
}
.cost-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.cost-value {
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}
.cost-total {
    background: rgba(0, 123, 255, 0.08);
    border-top: 2px solid rgba(0, 123, 255, 0.25);
    grid-template-columns: 1fr auto;
}
.cost-total .cost-label {
    font-weight: 700;
}
.cost-total .cost-desc {
    display: none;
}
.cost-total .cost-value {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.05rem;
}
.costs-note {
    margin-top: 20px;
    color: var(--color-text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    text-align: center;
}

/* Delivery */
.section-delivery {
    background: var(--color-bg-dark);
}
.delivery-grid {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr;
    gap: 16px;
}
.delivery-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: var(--color-bg-section);
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    transition: border-color 0.3s;
}
.delivery-item:hover {
    border-color: rgba(0, 123, 255, 0.25);
}
.delivery-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 123, 255, 0.12);
    color: var(--color-cyan);
    font-size: 1rem;
    font-weight: 700;
    margin-top: 2px;
}
.delivery-item h3 {
    margin-bottom: 4px;
    font-size: 1.05rem;
}
.delivery-item p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

/* FAQ */
.section-faq {
    background: var(--color-bg-dark);
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover,
.faq-item[open] {
    border-color: rgba(0, 123, 255, 0.3);
}
.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    color: var(--color-white);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    transition: color 0.2s;
}
.faq-question::-webkit-details-marker {
    display: none;
}
.faq-question::after {
    content: '+';
    font-size: 1.4rem;
    color: var(--color-azure);
    font-weight: 300;
    flex-shrink: 0;
    margin-left: 16px;
    transition: transform 0.3s;
}
.faq-item[open] .faq-question::after {
    content: '\2212';
}
.faq-answer {
    padding: 0 24px 20px;
}
.faq-answer p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Scope */
.section-scope {
    background: var(--color-bg-section);
    padding: 72px 0;
}
.scope-box {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 40px;
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}
.scope-box h2 {
    margin-bottom: 20px;
}
.scope-box p {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 12px;
}
.scope-box p:last-child {
    margin-bottom: 0;
}

/* CTA */
.section-cta {
    background: var(--color-bg-dark);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}
.section-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 50% 60% at 50% 50%, rgba(0, 123, 255, 0.08) 0%, transparent 70%);
    z-index: -1;
}
.cta-content {
    position: relative;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}
.cta-content h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 20px;
}

/* Pricing Card */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto 48px;
}
.pricing-card {
    padding: 28px 24px 28px;
    background: var(--color-bg-section);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.pricing-featured {
    border-color: rgba(0, 123, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 123, 255, 0.08);
}
.pricing-soon {
    opacity: 0.7;
}
.pricing-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 100px;
    background: var(--gradient-brand);
    color: var(--color-white);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.pricing-badge-soon {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}
.pricing-badge-custom {
    background: var(--gradient-brand);
    color: var(--color-white);
}
.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 6px;
}
.pricing-desc {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
    max-width: 280px;
}
.pricing-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}
.pricing-old {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    text-decoration: line-through;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.pricing-current {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}
.pricing-tbd {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    background: none;
    -webkit-text-fill-color: var(--color-text-muted);
    font-weight: 500;
}
.pricing-note {
    margin-top: 6px;
    margin-bottom: 18px;
    color: var(--color-text-muted);
    font-size: 0.75rem;
}
.pricing-features {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 20px;
    flex-grow: 1;
}
.pricing-features li {
    padding: 6px 0;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
    font-size: 0.85rem;
    padding-left: 22px;
    position: relative;
}
.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-azure);
    font-weight: 700;
}
.pricing-features li:last-child {
    border-bottom: none;
}
.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}

.cta-content p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    margin-bottom: 36px;
}
.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 48px 0 40px;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg-dark);
}
.footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.footer-company {
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 4px;
}
.footer-contact p {
    color: var(--color-text-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}
.footer-contact a {
    color: var(--color-text-muted);
    text-decoration: none;
}
.footer-contact a:hover {
    color: var(--color-white);
}
.footer-cert {
    display: flex;
    align-items: center;
}
.footer-cert img {
    height: 160px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.2s;
}
.footer-cert img:hover {
    opacity: 1;
}
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.footer-links {
    display: flex;
    gap: 24px;
}
.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.footer-links a:hover {
    color: var(--color-white);
}

/* ==============================
   Responsive
   ============================== */
@media (max-width: 900px) {
    .features-grid,
    .security-grid {
        grid-template-columns: 1fr 1fr;
    }
    .value-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(11, 17, 32, 0.98);
        backdrop-filter: blur(16px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
    }
    .nav-links.open {
        display: flex;
    }
    .nav-toggle {
        display: flex;
    }
    .features-grid,
    .security-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        text-align: center;
    }
    .section {
        padding: 64px 0;
    }
    .footer-grid {
        flex-direction: column;
        gap: 28px;
        text-align: center;
    }
    .footer-right {
        align-items: center;
    }
    .scope-box {
        padding: 32px 24px;
    }
    .delivery-item {
        padding: 20px;
    }
    .cost-row {
        grid-template-columns: 1fr auto;
        gap: 4px 12px;
        padding: 14px 20px;
    }
    .cost-desc {
        grid-column: 1;
        grid-row: 2;
        font-size: 0.8rem;
    }
    .cost-value {
        grid-row: 1 / 3;
        align-self: center;
    }
    .cost-total {
        grid-template-columns: 1fr auto;
    }
    .cost-total .cost-desc {
        display: none;
    }
}
