/* ============================================
   AMPYA — Production Frontend Styles
   Unique dark theme with teal/violet accents
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

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

:root {
    --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-hover: #1e293b;
    --border-color: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --text-muted: #718096;
    --accent-cyan: #00d4ff;
    --accent-violet: #7c3aed;
    --accent-green: #10b981;
    --accent-orange: #f59e0b;
    --accent-red: #ef4444;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #7c3aed 100%);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px rgba(0,212,255,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.2s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0,212,255,0.3);
}

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-hover);
    border-color: var(--accent-cyan);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10,14,26,0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0,212,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

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

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-input-group {
    display: flex;
    max-width: 520px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 6px;
    gap: 6px;
}

.hero-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.hero-input-group input::placeholder {
    color: var(--text-muted);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    flex-wrap: wrap;
}

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

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Features Grid */
.features {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--accent-cyan);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.icon-cyan { background: rgba(0,212,255,0.15); color: var(--accent-cyan); }
.icon-violet { background: rgba(124,58,237,0.15); color: var(--accent-violet); }
.icon-green { background: rgba(16,185,129,0.15); color: var(--accent-green); }
.icon-orange { background: rgba(245,158,11,0.15); color: var(--accent-orange); }

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Pricing */
.pricing {
    padding: 100px 0;
    background: var(--bg-secondary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    position: relative;
    transition: var(--transition);
}

.pricing-card.featured {
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
}

.pricing-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}

.price .currency {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.price .amount {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.price .period {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.pricing-card ul {
    margin: 24px 0;
}

.pricing-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 6px 0;
}

.pricing-card li::before {
    content: '✓';
    color: var(--accent-green);
    font-weight: 700;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* Footer */
.site-footer {
    padding: 64px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 5px 0;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

/* Responsive */
@media (max-width: 900px) {
    .nav-menu { display: none; }
    .header-actions { display: none; }
    .mobile-toggle { display: flex; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .hero { padding: 60px 0; }
    .hero h1 { font-size: 2rem; }
    .hero-input-group { flex-direction: column; }
    .hero-input-group .btn { width: 100%; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 16px; }
}


/* ============================================
   Navigation mega menus + feature/solution pages
   ============================================ */
.site-header { z-index: 500; }
.header-inner { position: relative; gap: 24px; }
.nav-menu { gap: 26px; }
.nav-link { display: inline-flex; align-items: center; gap: 9px; border: 0; background: transparent; cursor: pointer; font: inherit; white-space: nowrap; }
.nav-trigger { padding: 10px 0; }
.nav-trigger.is-current, .nav-link.is-current { color: var(--accent-green); }
.nav-chevron { width: 8px; height: 8px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
.nav-dropdown.is-open .nav-chevron { transform: rotate(225deg) translate(-1px, -1px); }
.nav-dropdown { position: static; }
.mega-menu { display: none; position: absolute; top: calc(100% + 1px); left: 50%; transform: translateX(-50%); z-index: 510; background: #101722; border: 1px solid #263241; border-radius: 12px; box-shadow: 0 24px 60px rgba(0,0,0,.45); padding: 28px; color: var(--text-primary); }
.nav-dropdown.is-open .mega-menu, .nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { display: grid; }
.mega-menu--features { width: min(960px, calc(100vw - 48px)); grid-template-columns: 1fr 1fr .95fr; gap: 0; }
.mega-column { min-width: 0; padding: 0 28px; }
.mega-column:first-child { padding-left: 0; }
.mega-column:last-child { padding-right: 0; }
.mega-column + .mega-column { border-left: 1px solid #263241; }
.mega-heading, .solutions-heading { display: flex; align-items: center; gap: 13px; color: #dce8f8; font-size: .98rem; font-weight: 500; margin-bottom: 16px; }
.mega-heading:hover, .solutions-heading:hover { color: var(--accent-green); }
.mega-icon, .solutions-icon { width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 25px; color: #fff; background: var(--accent-green); border-radius: 8px 8px 8px 2px; font-size: 1rem; font-weight: 800; }
.mega-icon--bookmark { border-radius: 5px 5px 5px 2px; background: #159b63; }
.mega-link { display: block; color: #e8edf6; font-size: .91rem; line-height: 1.45; padding: 8px 0; transition: color .18s ease, transform .18s ease; }
.mega-link:hover, .mega-link.is-current { color: var(--accent-green); transform: translateX(2px); }
.mega-column--operations { display: flex; flex-direction: column; gap: 14px; justify-content: flex-start; padding-top: 48px; }
.mega-operation-link { display: flex; align-items: center; gap: 14px; color: #e8edf6; font-size: .92rem; padding: 5px 0; }
.mega-operation-link:hover { color: var(--accent-green); }
.mega-operation-icon { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; color: var(--accent-green); font-size: 1.4rem; }
.mega-menu--solutions { width: 320px; left: 48%; grid-template-columns: 1fr; padding: 26px 28px; }
.solutions-heading { margin-bottom: 10px; }
.solutions-icon { border-radius: 50%; }
.mega-menu--solutions .mega-link { padding: 8px 0 8px 39px; }

.all-features-link-wrap { display: flex; justify-content: center; margin-top: 34px; }

/* Product and solution page layout */
.product-page { overflow: hidden; }
.product-hero { position: relative; padding: 34px 0 86px; background: radial-gradient(ellipse at 76% 34%, rgba(0,212,255,.11), transparent 38%), radial-gradient(ellipse at 12% 0%, rgba(124,58,237,.13), transparent 35%); border-bottom: 1px solid rgba(45,55,72,.65); }
.breadcrumbs { display: flex; align-items: center; gap: 10px; color: var(--text-muted); font-size: .78rem; margin: 0 0 44px; flex-wrap: wrap; }
.breadcrumbs a:hover { color: var(--accent-cyan); }
.product-hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr); align-items: center; gap: 56px; }
.product-eyebrow { display: flex; align-items: center; gap: 9px; color: var(--text-secondary); font-size: .73rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; flex-wrap: wrap; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 12px rgba(16,185,129,.65); }
.eyebrow-divider { color: var(--text-muted); }
.product-hero h1 { font-size: clamp(2.65rem, 5vw, 4.4rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; margin-bottom: 22px; }
.product-lead { color: var(--text-secondary); font-size: 1.08rem; line-height: 1.8; max-width: 610px; margin-bottom: 30px; }
.product-hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.product-trust-points { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; color: var(--text-muted); font-size: .8rem; }
.product-trust-points span { display: inline-flex; align-items: center; gap: 7px; }
.product-trust-points i { font-style: normal; color: var(--accent-green); font-weight: 800; }
.product-visual { min-width: 0; }
.visual-window { border: 1px solid #2b394a; background: linear-gradient(145deg, #172231, #101722); border-radius: 16px; padding: 18px; box-shadow: 0 30px 75px rgba(0,0,0,.35), 0 0 50px rgba(0,212,255,.07); }
.visual-window-top { display: flex; align-items: center; gap: 12px; color: #dce6f5; font-size: .78rem; font-weight: 600; padding-bottom: 16px; border-bottom: 1px solid #283647; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #435367; }
.window-dots i:first-child { background: #f87171; }.window-dots i:nth-child(2) { background: #fbbf24; }.window-dots i:nth-child(3) { background: #34d399; }
.visual-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: #8fa3b9; font-size: .68rem; font-weight: 500; }
.visual-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-green); }
.visual-summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 2px; }
.visual-summary div { display: flex; flex-direction: column; gap: 5px; }
.visual-label { color: #8ea0b7; font-size: .72rem; }
.visual-summary strong { font-size: .96rem; color: #e9f5ef; }
.visual-check { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #34d399; background: rgba(16,185,129,.14); font-weight: 800; }
.visual-list { border: 1px solid #2b394a; border-radius: 10px; overflow: hidden; }
.visual-row { display: flex; align-items: center; gap: 11px; padding: 12px; background: rgba(255,255,255,.015); }
.visual-row + .visual-row { border-top: 1px solid #263444; }
.visual-row-icon { display: grid; place-items: center; width: 29px; height: 29px; border-radius: 8px; background: rgba(0,212,255,.1); color: #64d7ef; font-size: .95rem; }
.visual-row div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.visual-row strong { font-size: .76rem; font-weight: 600; color: #e1eaf6; }
.visual-row small { font-size: .65rem; color: #8294aa; }
.visual-status { margin-left: auto; white-space: nowrap; color: #53d6a1; font-size: .65rem; }
.visual-chart { margin-top: 16px; padding: 12px 12px 8px; background: rgba(5,12,21,.3); border: 1px solid #263444; border-radius: 10px; }
.visual-chart-head { display: flex; justify-content: space-between; color: #cbd6e5; font-size: .69rem; margin-bottom: 13px; }
.visual-chart-head span + span { color: #8294aa; font-size: .63rem; }
.chart-bars { height: 38px; display: flex; align-items: flex-end; gap: 4px; }
.chart-bars i { flex: 1; height: 70%; min-width: 3px; border-radius: 2px 2px 0 0; background: linear-gradient(180deg, #34d399, #168d73); opacity: .85; }
.chart-bars i:nth-child(5n) { height: 86%; }.chart-bars i:nth-child(7n) { height: 58%; }.chart-bars i:nth-child(11n) { height: 93%; }
.visual-caption { color: var(--text-muted); font-size: .68rem; text-align: center; margin-top: 11px; }
.section-pad { padding: 82px 0; }
.product-overview { background: var(--bg-secondary); }
.product-overview-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.product-overview .section-title { max-width: 520px; }
.overview-copy p { color: var(--text-secondary); font-size: 1.02rem; line-height: 1.85; margin-bottom: 20px; }
.text-link { color: var(--accent-cyan); font-size: .9rem; font-weight: 600; }
.text-link:hover { color: var(--text-primary); }
.section-heading-left { max-width: 690px; margin-bottom: 38px; }
.section-heading-left .section-title { margin-bottom: 12px; }
.section-heading-left .section-desc { max-width: 620px; }
.benefits-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; }
.benefit-card { padding: 27px; border: 1px solid var(--border-color); border-radius: 14px; background: linear-gradient(145deg, rgba(26,34,53,.9), rgba(17,24,39,.85)); }
.benefit-number { display: inline-block; color: var(--accent-green); font-size: .76rem; font-weight: 800; letter-spacing: .1em; margin-bottom: 24px; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.benefit-card p { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; }
.workflow-section { background: var(--bg-secondary); }
.workflow-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; align-items: start; }
.workflow-intro .section-title { margin-bottom: 14px; }
.workflow-intro .section-desc { margin-bottom: 26px; }
.workflow-list { border-top: 1px solid var(--border-color); }
.workflow-step { display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--border-color); }
.workflow-number { color: var(--accent-green); font-size: .86rem; font-weight: 800; letter-spacing: .08em; padding-top: 3px; }
.workflow-step h3 { font-size: 1rem; margin-bottom: 6px; }
.workflow-step p { color: var(--text-secondary); font-size: .88rem; line-height: 1.7; }
.explore-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; }
.explore-card { position: relative; display: flex; flex-direction: column; min-height: 190px; padding: 23px; border: 1px solid var(--border-color); border-radius: 13px; background: var(--bg-card); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.explore-card:hover { transform: translateY(-4px); border-color: rgba(16,185,129,.65); box-shadow: 0 15px 35px rgba(0,0,0,.2); }
.explore-card-arrow { position: absolute; right: 20px; top: 18px; color: var(--accent-green); font-size: 1.05rem; }
.explore-card h3 { font-size: .98rem; padding-right: 22px; margin-bottom: 9px; }
.explore-card p { color: var(--text-secondary); font-size: .82rem; line-height: 1.65; margin-bottom: 18px; }
.explore-card-more { margin-top: auto; color: var(--accent-cyan); font-size: .78rem; font-weight: 600; }
.product-cta-section { padding: 62px 0; background: radial-gradient(ellipse at 80% 50%, rgba(0,212,255,.12), transparent 45%), var(--bg-secondary); border-top: 1px solid var(--border-color); }
.product-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.product-cta-inner h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.03em; margin: 8px 0 10px; }
.product-cta-inner p { color: var(--text-secondary); max-width: 570px; }
.product-cta-actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }
.footer-grid--expanded { grid-template-columns: 1.35fr 1fr 1fr .78fr .78fr; gap: 28px; }
.footer-grid--expanded .footer-links a { font-size: .78rem; line-height: 1.45; padding: 4px 0; }
.footer-grid--expanded .footer-links h4 { color: #d3ddeb; font-size: .73rem; }
.footer-cta-link { display: inline-flex; gap: 8px; color: var(--accent-green); font-size: .85rem; font-weight: 600; margin-top: 18px; }
.footer-cta-link:hover { color: var(--text-primary); }
.footer-bottom--expanded { flex-wrap: wrap; gap: 16px; }
.footer-utility-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-utility-links a { color: var(--text-muted); }
.footer-utility-links a:hover { color: var(--accent-cyan); }

@media (max-width: 1100px) {
    .header-inner { gap: 18px; }
    .nav-menu { gap: 18px; }
    .header-actions { gap: 8px; }
    .header-actions .btn { padding: 9px 15px; }
    .footer-grid--expanded { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .footer-brand { grid-row: span 2; }
}
@media (max-width: 900px) {
    .header-inner { min-height: 70px; height: auto; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
    .nav-menu { display: none; order: 3; width: 100%; flex: 0 0 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 8px; }
    .nav-menu.mobile-open { display: flex; }
    .header-actions { display: none; order: 4; width: 100%; flex: 0 0 100%; padding: 4px 0 12px; }
    .header-actions.mobile-open { display: flex; }
    .mobile-toggle { display: flex; margin-left: auto; }
    .nav-dropdown { width: 100%; }
    .nav-trigger { width: 100%; justify-content: space-between; padding: 14px 0; }
    .nav-menu > .nav-link { padding: 14px 0; }
    .mega-menu { position: static; transform: none; width: 100%; max-width: none; margin: 0 0 12px; box-shadow: none; border-radius: 10px; padding: 18px; }
    .mega-menu--features { grid-template-columns: 1fr 1fr; }
    .mega-column { padding: 0 16px; }
    .mega-column:first-child { padding-left: 0; }
    .mega-column:nth-child(2) { border-left: 1px solid #263241; }
    .mega-column--operations { grid-column: 1 / -1; padding: 18px 0 0; border-left: 0 !important; border-top: 1px solid #263241; margin-top: 18px; }
    .mega-menu--solutions { width: 100%; }
    .product-hero-grid { grid-template-columns: 1fr; gap: 42px; }
    .product-hero-copy { max-width: 760px; }
    .product-visual { max-width: 650px; width: 100%; margin: 0 auto; }
    .product-overview-grid, .workflow-grid { grid-template-columns: 1fr; gap: 28px; }
    .workflow-intro { max-width: 650px; }
    .product-cta-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 640px) {
    .mega-menu--features { grid-template-columns: 1fr; }
    .mega-column, .mega-column:first-child { padding: 0; border-left: 0 !important; }
    .mega-column + .mega-column { border-left: 0; border-top: 1px solid #263241; padding-top: 16px; margin-top: 16px; }
    .mega-column--operations { padding-top: 16px !important; }
    .product-hero { padding: 25px 0 60px; }
    .breadcrumbs { margin-bottom: 30px; }
    .product-hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
    .product-lead { font-size: .98rem; }
    .product-hero-actions { align-items: stretch; flex-direction: column; }
    .product-hero-actions .btn { width: 100%; }
    .product-trust-points { gap: 10px 16px; }
    .visual-window { padding: 12px; }
    .visual-row { gap: 8px; padding: 10px 8px; }
    .visual-status { font-size: .58rem; }
    .visual-row small { font-size: .58rem; }
    .section-pad { padding: 60px 0; }
    .benefits-grid, .explore-grid { grid-template-columns: 1fr; }
    .benefit-card { padding: 23px; }
    .explore-card { min-height: 0; }
    .product-cta-actions { width: 100%; flex-direction: column; }
    .product-cta-actions .btn { width: 100%; }
    .footer-grid--expanded { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
    .footer-brand { grid-column: 1 / -1; grid-row: auto; }
    .footer-bottom--expanded { align-items: flex-start; flex-direction: column; }
    .footer-utility-links { gap: 10px 16px; }
}
@media (hover: hover) and (min-width: 901px) {
    .nav-dropdown:hover .nav-trigger { color: var(--accent-green); }
}

.reveal-on-scroll { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(0,0,0,.25); }

/* Keep dropdowns click-controlled on touch devices; hover is desktop-only. */
.nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { display: none; }
.nav-dropdown.is-open .mega-menu { display: grid; }
@media (hover: hover) and (min-width: 901px) {
  .nav-dropdown:hover .mega-menu, .nav-dropdown:focus-within .mega-menu { display: grid; }
}




.dashboard-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gradient-primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: .8rem; color: white; }


/* ============================================
   AMPYA blog — editorial pages and cards
   Uses the existing navy / cyan / violet palette.
   ============================================ */
.blog-page, .blog-article-page { overflow: hidden; }
.blog-hero { position: relative; padding: 92px 0 82px; background: radial-gradient(ellipse at 78% 40%, rgba(0,212,255,.11), transparent 34%), radial-gradient(ellipse at 62% 85%, rgba(124,58,237,.12), transparent 42%), var(--bg-secondary); border-bottom: 1px solid var(--border-color); }
.blog-hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 52px; }
.blog-hero-copy { max-width: 620px; }
.blog-hero-copy .section-tag { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; }
.blog-hero-copy h1 { font-size: clamp(2.7rem, 5.2vw, 4.45rem); line-height: 1.06; letter-spacing: -.055em; margin-bottom: 20px; }
.blog-hero-copy > p { color: var(--text-secondary); font-size: 1.08rem; line-height: 1.8; max-width: 570px; }
.blog-hero-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 30px; color: var(--text-muted); font-size: .78rem; }
.blog-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.blog-hero-meta i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 12px rgba(16,185,129,.6); }
.blog-hero-visual { min-height: 330px; position: relative; display: flex; align-items: center; justify-content: center; }
.blog-visual-window { position: relative; z-index: 2; width: min(100%, 470px); padding: 18px; border: 1px solid #34445a; border-radius: 16px; background: linear-gradient(145deg, rgba(26,34,53,.97), rgba(12,20,34,.97)); box-shadow: 0 28px 75px rgba(0,0,0,.42), 0 0 45px rgba(0,212,255,.08); transform: rotate(-2deg); }
.blog-visual-top { display: flex; align-items: center; gap: 5px; padding-bottom: 16px; border-bottom: 1px solid var(--border-color); color: var(--text-muted); font-size: .64rem; }
.blog-visual-top span { width: 7px; height: 7px; border-radius: 50%; background: #ef6464; }.blog-visual-top span:nth-child(2) { background: #f4b860; }.blog-visual-top span:nth-child(3) { background: #42c99a; }
.blog-visual-top b { margin-left: auto; font-weight: 500; letter-spacing: .04em; }
.blog-visual-status { display: flex; align-items: center; gap: 12px; padding: 20px 4px; }
.blog-visual-status > i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent-green); box-shadow: 0 0 16px rgba(16,185,129,.7); }
.blog-visual-status div { display: flex; flex-direction: column; gap: 3px; }.blog-visual-status strong { font-size: .88rem; }.blog-visual-status small { color: var(--text-muted); font-size: .68rem; }
.blog-visual-status em { margin-left: auto; color: var(--accent-green); font-style: normal; font-size: .85rem; font-weight: 700; }
.blog-visual-chart { padding: 14px; border: 1px solid #2d3b50; border-radius: 10px; background: rgba(5,12,21,.28); }
.blog-visual-chart-head { display: flex; justify-content: space-between; color: #cbd6e5; font-size: .72rem; margin-bottom: 16px; }.blog-visual-chart-head small { color: var(--text-muted); }
.blog-visual-bars { height: 75px; display: flex; align-items: flex-end; gap: 5px; }.blog-visual-bars i { flex: 1; min-width: 3px; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--accent-cyan), var(--accent-violet)); opacity: .8; }
.blog-visual-foot { display: flex; gap: 15px; flex-wrap: wrap; padding: 15px 4px 0; color: var(--text-muted); font-size: .65rem; }.blog-visual-foot span:first-child { color: var(--accent-green); }.blog-visual-foot span:nth-child(2) { color: var(--accent-cyan); }.blog-visual-foot span:nth-child(3) { color: #a78bfa; }
.blog-glow { position: absolute; display: block; border-radius: 50%; filter: blur(2px); }.blog-glow-one { width: 170px; height: 170px; right: 4%; top: 2%; background: rgba(0,212,255,.09); }.blog-glow-two { width: 130px; height: 130px; left: 4%; bottom: 0; background: rgba(124,58,237,.13); }
.blog-listing { background: var(--bg-primary); }
.blog-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 34px; }
.blog-section-heading .section-title { margin: 8px 0 10px; }.blog-section-heading .section-desc { max-width: 620px; }
.blog-count { color: var(--accent-green); border: 1px solid rgba(16,185,129,.3); background: rgba(16,185,129,.07); border-radius: 999px; padding: 8px 13px; font-size: .68rem; font-weight: 700; letter-spacing: .08em; white-space: nowrap; }
.blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.blog-card { overflow: hidden; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border-color); border-radius: 15px; background: linear-gradient(155deg, rgba(26,34,53,.92), rgba(17,24,39,.96)); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; }
.blog-card:hover { transform: translateY(-5px); border-color: rgba(0,212,255,.48); box-shadow: 0 18px 42px rgba(0,0,0,.25); }
.blog-card-art, .article-hero-art { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 188px; padding: 18px; overflow: hidden; isolation: isolate; background: radial-gradient(circle at 78% 28%, rgba(0,212,255,.28), transparent 31%), linear-gradient(135deg, #182a42, #191b38 58%, #101827); border-bottom: 1px solid rgba(148,163,184,.13); }
.blog-card-art::before, .article-hero-art::before { content: ''; position: absolute; z-index: -1; width: 190px; height: 190px; border: 1px solid rgba(0,212,255,.25); border-radius: 50%; right: -32px; bottom: -105px; box-shadow: 0 0 0 18px rgba(0,212,255,.035), 0 0 0 38px rgba(124,58,237,.035); }
.blog-art-kicker { color: rgba(226,238,250,.62); font-size: .59rem; font-weight: 700; letter-spacing: .16em; }
.blog-art-mark { position: relative; z-index: 2; color: #f7fafc; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; letter-spacing: -.04em; max-width: 80%; }
.blog-art-orbit { position: absolute; width: 118px; height: 118px; right: 22px; top: 33px; border-radius: 50%; border: 1px solid rgba(0,212,255,.42); box-shadow: inset 0 0 25px rgba(0,212,255,.08), 0 0 32px rgba(0,212,255,.1); }
.blog-art-line { position: absolute; width: 160px; height: 1px; right: -15px; top: 92px; transform: rotate(-28deg); background: linear-gradient(90deg, transparent, var(--accent-cyan), #a78bfa, transparent); opacity: .8; }
.blog-art-uptime-monitoring-guide, .blog-art-sla-monitoring-explained { background: radial-gradient(circle at 75% 30%, rgba(16,185,129,.27), transparent 32%), linear-gradient(135deg,#142e36,#18243d 62%,#111827); }
.blog-art-website-vs-endpoint-monitoring, .blog-art-api-monitoring-best-practices { background: radial-gradient(circle at 75% 30%, rgba(0,212,255,.28), transparent 32%), linear-gradient(135deg,#142a3e,#1d2042 62%,#111827); }
.blog-art-multi-location-monitoring-guide, .blog-art-status-page-best-practices { background: radial-gradient(circle at 75% 30%, rgba(124,58,237,.3), transparent 32%), linear-gradient(135deg,#22213e,#172b40 62%,#111827); }
.blog-art-ssl-certificate-monitoring, .blog-art-cron-job-monitoring-guide { background: radial-gradient(circle at 75% 30%, rgba(16,185,129,.23), transparent 32%), linear-gradient(135deg,#153b3a,#192641 62%,#111827); }
.blog-art-incident-response-workflow, .blog-art-reduce-false-alerts { background: radial-gradient(circle at 75% 30%, rgba(245,158,11,.2), transparent 32%), linear-gradient(135deg,#352b2b,#1d2340 62%,#111827); }
.blog-card-body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: 21px 22px 22px; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; width: 100%; margin-bottom: 13px; color: var(--text-muted); font-size: .68rem; }
.blog-card-meta span { color: var(--accent-green); font-weight: 700; letter-spacing: .04em; }.blog-card-meta time { white-space: nowrap; }
.blog-card h2 { font-size: 1.05rem; line-height: 1.42; letter-spacing: -.02em; margin-bottom: 10px; }.blog-card h2 a:hover { color: var(--accent-cyan); }
.blog-card-body > p { color: var(--text-secondary); font-size: .82rem; line-height: 1.7; margin-bottom: 20px; }
.blog-read-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--accent-cyan); font-size: .8rem; font-weight: 700; }.blog-read-link:hover { color: var(--text-primary); }
.blog-cta { padding: 64px 0; border-top: 1px solid var(--border-color); background: radial-gradient(ellipse at 78% 50%, rgba(124,58,237,.13), transparent 40%), var(--bg-secondary); }
.blog-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }.blog-cta-inner h2 { font-size: clamp(1.6rem,3vw,2.2rem); letter-spacing: -.04em; margin: 8px 0; }.blog-cta-inner p { color: var(--text-secondary); max-width: 620px; }
.article-hero { padding: 42px 0 54px; background: radial-gradient(ellipse at 80% 28%, rgba(0,212,255,.1), transparent 36%), var(--bg-secondary); border-bottom: 1px solid var(--border-color); }
.article-hero .breadcrumbs { margin-bottom: 34px; }.article-hero-copy { max-width: 860px; }.article-category { display: inline-flex; color: var(--accent-green); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .11em; margin-bottom: 15px; }
.article-hero h1 { font-size: clamp(2.2rem,4.8vw,3.75rem); line-height: 1.12; letter-spacing: -.05em; max-width: 920px; margin-bottom: 17px; }
.article-dek { color: var(--text-secondary); font-size: 1.06rem; line-height: 1.8; max-width: 780px; }
.article-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; margin-top: 25px; color: var(--text-muted); font-size: .75rem; }.article-byline strong { color: var(--text-primary); font-weight: 600; }.author-avatar { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; color: white; background: var(--gradient-primary); font-weight: 800; }.byline-divider { width: 3px; height: 3px; border-radius: 50%; background: var(--text-muted); }
.article-hero-art { min-height: 150px; max-width: 900px; margin-top: 32px; border: 1px solid rgba(148,163,184,.16); border-radius: 14px; }
.article-hero-art .blog-art-mark { font-size: 1.7rem; }
.article-layout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: 58px; }
.article-content { max-width: 790px; min-width: 0; }.article-intro { color: #dce7f5; font-size: 1.14rem; line-height: 1.85; padding-bottom: 26px; border-bottom: 1px solid var(--border-color); margin-bottom: 34px; }
.article-section { scroll-margin-top: 100px; margin: 0 0 34px; }.article-section h2 { font-size: clamp(1.35rem,2.4vw,1.75rem); line-height: 1.3; letter-spacing: -.03em; margin-bottom: 14px; }.article-section p { color: var(--text-secondary); font-size: .96rem; line-height: 1.9; margin-bottom: 16px; }
.article-note { margin: 22px 0 25px; padding: 19px 22px; border-left: 3px solid var(--accent-cyan); border-radius: 0 10px 10px 0; background: rgba(0,212,255,.055); }.article-note-label { display: block; color: var(--accent-cyan); font-size: .64rem; font-weight: 800; letter-spacing: .12em; margin-bottom: 7px; }.article-note p { margin: 0; color: #dce7f5; font-size: .88rem; }
.article-end { display: flex; align-items: flex-start; gap: 15px; padding: 22px; margin-top: 38px; border: 1px solid rgba(16,185,129,.3); border-radius: 13px; background: rgba(16,185,129,.055); }.article-end-icon { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; color: var(--accent-green); background: rgba(16,185,129,.13); font-weight: 800; }.article-end strong { display: block; margin-bottom: 6px; }.article-end p { color: var(--text-secondary); font-size: .86rem; line-height: 1.7; }
.article-share-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; padding-top: 25px; margin-top: 25px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: .74rem; }.article-share-row strong { color: var(--text-secondary); }
.article-sidebar { display: grid; gap: 16px; position: sticky; top: 105px; }.article-sidebar-card { padding: 20px; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-card); }.article-sidebar-card .section-tag { display: block; margin-bottom: 14px; font-size: .64rem; }
.article-toc { display: grid; gap: 10px; }.article-toc a { color: var(--text-secondary); font-size: .76rem; line-height: 1.5; }.article-toc a:hover { color: var(--accent-cyan); }
.article-related { display: grid; gap: 10px; }.article-related .section-tag { margin-bottom: 3px; }.article-related a { display: flex; justify-content: space-between; gap: 10px; color: var(--text-secondary); font-size: .76rem; }.article-related a span { color: var(--accent-cyan); }.article-related a:hover { color: var(--text-primary); }
.article-sidebar-cta { padding: 21px; border: 1px solid rgba(0,212,255,.24); border-radius: 12px; background: linear-gradient(145deg,rgba(0,212,255,.08),rgba(124,58,237,.09)); }.article-sidebar-icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 9px; color: var(--accent-cyan); background: rgba(0,212,255,.12); }.article-sidebar-cta h3 { font-size: 1rem; margin-bottom: 8px; }.article-sidebar-cta p { color: var(--text-secondary); font-size: .78rem; line-height: 1.65; margin-bottom: 16px; }.article-sidebar-cta .btn { width: 100%; padding: 10px 12px; font-size: .78rem; }
.nav-link.is-current { color: var(--accent-green); }
.footer-grid--expanded { grid-template-columns: 1.25fr 1fr 1fr .72fr .72fr .9fr; }
.footer-blog-links a { overflow-wrap: anywhere; }.footer-blog-links .footer-all-posts { color: var(--accent-cyan); font-weight: 700; margin-top: 7px; }
@media (max-width: 1100px) { .blog-hero-inner { gap: 30px; }.blog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.article-layout-grid { grid-template-columns: minmax(0,1fr) 250px; gap: 32px; }.footer-grid--expanded { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 900px) { .blog-hero { padding: 70px 0 60px; }.blog-hero-inner { grid-template-columns: 1fr; }.blog-hero-copy { max-width: 760px; }.blog-hero-visual { min-height: 290px; }.article-layout-grid { grid-template-columns: 1fr; }.article-sidebar { position: static; grid-template-columns: repeat(2,minmax(0,1fr)); }.article-sidebar-cta { grid-column: 1/-1; }.article-content { max-width: none; } }
@media (max-width: 640px) { .footer-grid--expanded { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1/-1; grid-row: auto; }.blog-hero { padding: 54px 0 48px; }.blog-hero-copy h1 { font-size: 2.5rem; }.blog-hero-meta { gap: 10px 14px; }.blog-hero-visual { min-height: 250px; }.blog-visual-window { padding: 14px; }.blog-section-heading { align-items: flex-start; flex-direction: column; }.blog-grid { grid-template-columns: 1fr; gap: 16px; }.blog-card-art { min-height: 170px; }.blog-cta-inner { align-items: flex-start; flex-direction: column; }.article-hero { padding: 28px 0 38px; }.article-hero .breadcrumbs { margin-bottom: 26px; }.article-hero h1 { font-size: 2.15rem; }.article-dek { font-size: .95rem; }.article-byline { gap: 8px; }.article-hero-art { min-height: 120px; }.article-layout-grid { gap: 28px; }.article-sidebar { grid-template-columns: 1fr; }.article-sidebar-cta { grid-column: auto; }.article-content p { font-size: .91rem; }.article-share-row { align-items: flex-start; flex-direction: column; }.footer-grid--expanded { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1/-1; grid-row: auto; } }


/* =========================================================
   AMPYA HEADER REFRESH — deep navy + cyan/blue/violet
   ========================================================= */
:root {
    --bg-primary: #090e1b;
    --bg-secondary: #111b2d;
    --bg-card: #1a263b;
    --bg-hover: #22334d;
    --border-color: #2a3a52;
    --text-primary: #f4f8ff;
    --text-secondary: #a9b9d0;
    --text-muted: #7489a7;
    --accent-cyan: #00c8ff;
    --accent-violet: #7045f5;
    --gradient-primary: linear-gradient(120deg, #00c8ff 0%, #278cff 52%, #7045f5 100%);
    --shadow-glow: 0 0 30px rgba(0, 200, 255, .16);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(9, 14, 27, .96);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(104, 130, 167, .22);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .12);
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(0, 200, 255, .35), rgba(112, 69, 245, .32), transparent);
}

.header-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(250px, 1fr);
    align-items: center;
    gap: 22px;
    width: 100%;
    max-width: 1300px;
    height: 66px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    justify-self: start;
    gap: 10px;
    color: #f7faff;
    font-size: 1.22rem;
    font-weight: 800;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: linear-gradient(135deg, #00c8ff 0%, #278cff 52%, #7045f5 100%);
    box-shadow: 0 5px 18px rgba(0, 155, 255, .2);
    font-size: 0;
}

.logo-icon::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 12px rgba(255, 255, 255, .5);
}

.nav-menu {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: 25px;
    min-width: 0;
}

.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 0;
    color: #a9b7cb;
    font-size: .92rem;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    transition: color .18s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 2px;
    border-radius: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
}

.nav-link:hover,
.nav-dropdown.is-open > .nav-trigger,
.nav-link.is-current {
    color: #f4f8ff;
}

.nav-link:hover::after,
.nav-dropdown.is-open > .nav-trigger::after,
.nav-link.is-current::after {
    transform: scaleX(1);
}

.nav-chevron {
    width: 8px;
    height: 8px;
    margin-left: 1px;
    border-right: 1.6px solid #8ea1bb;
    border-bottom: 1.6px solid #8ea1bb;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .2s ease, border-color .2s ease;
}

.nav-link:hover .nav-chevron,
.nav-dropdown.is-open .nav-chevron {
    border-color: var(--accent-cyan);
}

.nav-dropdown.is-open .nav-chevron {
    transform: rotate(225deg) translate(-1px, -1px);
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-actions .btn {
    min-height: 46px;
    padding: 0 23px;
    border-radius: 9px;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: -.01em;
}

.header-actions .btn-secondary {
    color: #edf4ff;
    background: #1a2539;
    border: 1px solid #2d3b53;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025);
}

.header-actions .btn-secondary:hover {
    color: #fff;
    background: #22314a;
    border-color: rgba(0, 200, 255, .45);
    transform: translateY(-1px);
}

.header-actions .btn-primary {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(120deg, #00c8ff 0%, #278cff 52%, #7045f5 100%);
    box-shadow: 0 5px 18px rgba(0, 155, 255, .23);
}

.header-actions .btn-primary:hover {
    box-shadow: 0 8px 24px rgba(63, 112, 255, .34);
    transform: translateY(-2px);
}

.nav-dropdown { position: static; }

.mega-menu {
    top: calc(100% + 8px);
    color: #f4f8ff;
    background: linear-gradient(#101a2b, #101a2b) padding-box,
                linear-gradient(135deg, rgba(0, 200, 255, .48), rgba(112, 69, 245, .42)) border-box;
    border: 1px solid transparent;
    border-radius: 16px;
    box-shadow: 0 24px 65px rgba(0, 0, 0, .52), 0 0 35px rgba(0, 150, 255, .06);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
}

.mega-column + .mega-column {
    border-left-color: rgba(100, 128, 165, .2);
}

.mega-heading,
.solutions-heading {
    color: #e7f1ff;
    font-weight: 600;
}

.mega-heading:hover,
.solutions-heading:hover {
    color: var(--accent-cyan);
}

.mega-icon,
.solutions-icon {
    color: #fff;
    background: linear-gradient(135deg, #00c8ff, #278cff 52%, #7045f5);
    box-shadow: 0 4px 14px rgba(0, 155, 255, .18);
}

.mega-icon--bookmark {
    background: linear-gradient(135deg, #278cff, #7045f5);
}

.mega-link {
    margin: 2px 0;
    padding: 8px 10px;
    border-radius: 8px;
    color: #dce7f7;
    transition: color .18s ease, background .18s ease, transform .18s ease;
}

.mega-link:hover,
.mega-link.is-current {
    color: #fff;
    background: linear-gradient(90deg, rgba(0, 200, 255, .12), rgba(112, 69, 245, .09));
    transform: translateX(3px);
}

.mega-operation-link {
    padding: 8px 9px;
    border-radius: 8px;
    color: #dce7f7;
    transition: color .18s ease, background .18s ease;
}

.mega-operation-link:hover {
    color: #fff;
    background: rgba(0, 200, 255, .08);
}

.mega-operation-icon {
    color: var(--accent-cyan);
}

.mega-menu--solutions .mega-link {
    padding-left: 39px;
}

.mobile-toggle {
    width: 42px;
    height: 42px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 9px;
    border: 1px solid #2d3b53;
    border-radius: 10px;
    background: #151f32;
    transition: border-color .2s ease, background .2s ease;
}

.mobile-toggle:hover {
    border-color: rgba(0, 200, 255, .55);
    background: #1a2941;
}

.mobile-toggle span {
    width: 19px;
    background: #e8f2ff;
}

.nav-link:focus-visible,
.nav-trigger:focus-visible,
.header-actions .btn:focus-visible,
.mobile-toggle:focus-visible,
.mega-menu a:focus-visible {
    outline: 2px solid var(--accent-cyan);
    outline-offset: 4px;
    border-radius: 6px;
}

@media (max-width: 1100px) and (min-width: 901px) {
    .header-inner {
        grid-template-columns: minmax(155px, .8fr) auto minmax(220px, .8fr);
        gap: 14px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .nav-menu { gap: 16px; }
    .nav-link { font-size: .86rem; }
    .header-actions { gap: 8px; }
    .header-actions .btn { padding: 0 15px; font-size: .82rem; }
}

@media (max-width: 900px) {
    .header-inner {
        display: flex;
        min-height: 66px;
        height: auto;
        flex-wrap: wrap;
        gap: 0;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .logo { margin-right: auto; }
    .mobile-toggle { display: flex; margin-left: 14px; }
    .nav-menu {
        display: none;
        order: 3;
        width: 100%;
        flex: 0 0 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin-top: 12px;
        padding: 10px 16px;
        border: 1px solid rgba(100, 128, 165, .22);
        border-radius: 14px;
        background: #101a2b;
        box-shadow: 0 18px 38px rgba(0, 0, 0, .28);
    }
    .nav-menu.mobile-open { display: flex; }
    .nav-dropdown { width: 100%; }
    .nav-trigger {
        width: 100%;
        justify-content: space-between;
        padding: 15px 2px;
    }
    .nav-menu > .nav-link {
        width: 100%;
        padding: 15px 2px;
        border-top: 1px solid rgba(100, 128, 165, .12);
    }
    .nav-link::after { display: none; }
    .header-actions {
        display: none;
        order: 4;
        width: 100%;
        flex: 0 0 100%;
        justify-self: auto;
        padding: 12px 0 2px;
    }
    .header-actions.mobile-open { display: flex; }
    .header-actions .btn { flex: 1; }
    .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        margin: 0 0 12px;
        padding: 18px;
        border-radius: 12px;
        box-shadow: none;
    }
    .mega-menu--features { grid-template-columns: 1fr 1fr; }
    .mega-column { padding: 0 14px; }
    .mega-column:first-child { padding-left: 0; }
    .mega-column:nth-child(2) { border-left: 1px solid rgba(100, 128, 165, .2); }
    .mega-column--operations {
        grid-column: 1 / -1;
        padding: 17px 0 0;
        border-left: 0 !important;
        border-top: 1px solid rgba(100, 128, 165, .2);
        margin-top: 17px;
    }
    .mega-menu--solutions { width: 100%; }
}

@media (max-width: 640px) {
    .header-inner { padding-left: 18px; padding-right: 18px; }
    .logo { font-size: 1.12rem; }
    .logo-icon { width: 30px; height: 30px; flex-basis: 30px; }
    .header-actions { gap: 9px; }
    .header-actions .btn { min-height: 43px; padding: 0 12px; font-size: .78rem; }
    .mega-menu--features { grid-template-columns: 1fr; }
    .mega-column,
    .mega-column:first-child {
        padding: 0;
        border-left: 0 !important;
    }
    .mega-column + .mega-column {
        padding-top: 16px;
        margin-top: 16px;
        border-left: 0;
        border-top: 1px solid rgba(100, 128, 165, .2);
    }
    .mega-column--operations { padding-top: 16px !important; }
}


/* header fix  */


/* Parent dropdown */
.nav-dropdown {
    position: relative;
}

/* Mega menu */
.nav-dropdown .mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

/* Show mega menu on hover */
@media (hover: hover) and (min-width: 901px) {
    .nav-dropdown:hover .mega-menu,
    .nav-dropdown:focus-within .mega-menu {
        display: grid;
    }
}

/* Prevent hover gap */
.nav-dropdown .mega-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -12px;
    height: 12px;
}


/* Typography refinement */
.stat-value,
.summary-card .val,
.price .amount {
    font-family: var(--font-mono);
    font-variant-numeric: tabular-nums;
    letter-spacing: -.045em;
}

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    text-wrap: balance;
}


/* ============================================
   Authentication pages
   A restrained, editorial layout for sign-in flows.
   ============================================ */
.auth-page {
    min-height: 100vh;
    padding: 0 28px 42px;
    background: #f3f5f7;
    color: #172334;
    font-family: var(--font-sans);
}

.auth-topbar {
    width: min(1180px, 100%);
    height: 82px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #172334;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -.035em;
}

.auth-logo-mark {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #173b5b;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
}

.auth-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #5d6b7a;
    font-size: .88rem;
    font-weight: 500;
    transition: color .18s ease;
}

.auth-topbar-link:hover,
.auth-inline-link:hover,
.auth-switch a:hover,
.auth-legal a:hover {
    color: #145d91;
}

.auth-layout {
    width: min(1180px, 100%);
    min-height: min(730px, calc(100vh - 124px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    overflow: hidden;
    border: 1px solid #e0e5eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(23, 35, 52, .07);
}

.auth-story {
    min-width: 0;
    padding: clamp(38px, 5.2vw, 66px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 48px;
    background: #132338;
    color: #f5f8fb;
}

.auth-eyebrow,
.auth-form-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 26px;
    color: #aebdcb;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .105em;
    line-height: 1.4;
    text-transform: uppercase;
}

.auth-eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #54b9a1;
    box-shadow: 0 0 0 4px rgba(84, 185, 161, .12);
}

.auth-story h1 {
    max-width: 510px;
    margin: 0 0 20px;
    color: #f8fafc;
    font-size: clamp(2.45rem, 4.3vw, 3.65rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -.045em;
}

.auth-story h1 span {
    color: #8fc9d9;
}

.auth-story-copy {
    max-width: 440px;
    margin: 0;
    color: #b7c4d1;
    font-size: 1rem;
    line-height: 1.8;
}

.auth-story-lower {
    width: 100%;
}

.auth-preview-card {
    max-width: 470px;
    padding: 21px 22px 15px;
    border: 1px solid rgba(207, 222, 236, .16);
    border-radius: 12px;
    background: rgba(255, 255, 255, .055);
}

.auth-preview-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(207, 222, 236, .13);
}

.auth-preview-head > div {
    display: grid;
    gap: 4px;
}

.auth-preview-kicker {
    color: #91a5b8;
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .1em;
}

.auth-preview-head strong {
    color: #f3f7fb;
    font-size: 1rem;
    font-weight: 600;
}

.auth-preview-range {
    padding: 5px 8px;
    border: 1px solid rgba(207, 222, 236, .16);
    border-radius: 5px;
    color: #aebdcb;
    font-size: .67rem;
    white-space: nowrap;
}

.auth-preview-row {
    min-height: 47px;
    display: grid;
    grid-template-columns: 9px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(207, 222, 236, .1);
}

.auth-service-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.auth-service-dot.is-up { background: #5bc49e; }
.auth-service-dot.is-watch { background: #e2b56c; }
.auth-service-name {
    overflow: hidden;
    color: #e3ebf2;
    font-size: .82rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-service-state {
    color: #83d3b4;
    font-size: .72rem;
    font-weight: 500;
    white-space: nowrap;
}

.auth-service-state.is-muted { color: #d5b77e; }
.auth-preview-foot {
    margin: 12px 0 0;
    color: #8fa1b3;
    font-size: .67rem;
}

.auth-story-footnote {
    margin: 17px 0 0;
    color: #9eafbf;
    font-size: .82rem;
}

.auth-story-footnote a {
    color: #d8e8f2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.auth-main {
    min-width: 0;
    padding: clamp(34px, 5vw, 66px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.auth-form-wrap {
    width: 100%;
    max-width: 410px;
    margin: auto;
}

.auth-form-kicker {
    margin-bottom: 13px;
    color: #668096;
    font-size: .68rem;
}

.auth-form-wrap h2 {
    margin: 0 0 9px;
    color: #172334;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.04em;
}

.auth-form-intro {
    margin: 0 0 29px;
    color: #667586;
    font-size: .91rem;
    line-height: 1.7;
}

.auth-form {
    display: grid;
    gap: 19px;
}

.auth-field {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.auth-field label,
.auth-label-row label {
    color: #28394b;
    font-size: .82rem;
    font-weight: 600;
}

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-inline-link {
    color: #356d98;
    font-size: .78rem;
    font-weight: 500;
    transition: color .18s ease;
}

.auth-field input {
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid #d5dde5;
    border-radius: 7px;
    outline: none;
    background: #fff;
    color: #172334;
    font: inherit;
    font-size: .88rem;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.auth-field input::placeholder { color: #9aa6b2; }
.auth-field input:hover { border-color: #aebbc8; }
.auth-field input:focus {
    border-color: #4d8bb6;
    box-shadow: 0 0 0 3px rgba(58, 126, 173, .13);
}

.auth-password-wrap {
    position: relative;
}

.auth-password-wrap input { padding-right: 66px; }

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    padding: 5px 2px;
    border: 0;
    background: transparent;
    color: #52738e;
    cursor: pointer;
    font: inherit;
    font-size: .76rem;
    font-weight: 600;
}

.auth-password-toggle:hover { color: #174e78; }
.auth-password-toggle:focus-visible,
.auth-submit:focus-visible,
.auth-topbar-link:focus-visible,
.auth-inline-link:focus-visible,
.auth-switch a:focus-visible {
    outline: 2px solid #4d8bb6;
    outline-offset: 3px;
}

.auth-field-hint {
    color: #7b8997;
    font-size: .72rem;
}

.auth-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    color: #5e6d7c;
    font-size: .8rem;
    line-height: 1.5;
    cursor: pointer;
}

.auth-checkbox input {
    width: 15px;
    height: 15px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    accent-color: #245f8c;
}

.auth-checkbox a {
    color: #356d98;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-submit {
    width: 100%;
    min-height: 49px;
    margin-top: 2px;
    padding: 0 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid #1d527d;
    border-radius: 7px;
    background: #1d527d;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: .9rem;
    font-weight: 600;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.auth-submit:hover {
    transform: translateY(-1px);
    border-color: #164466;
    background: #164466;
}

.auth-form-status {
    display: none;
    margin: -3px 0 0;
    padding: 11px 12px;
    border: 1px solid #d8e4ed;
    border-radius: 6px;
    background: #f3f8fb;
    color: #34566f;
    font-size: .77rem;
    line-height: 1.55;
}

.auth-form-status.is-visible { display: block; }
.auth-switch {
    margin: 26px 0 0;
    color: #687787;
    font-size: .83rem;
    text-align: center;
}

.auth-switch a,
.auth-legal a {
    color: #245f8c;
    font-weight: 600;
    transition: color .18s ease;
}

.auth-legal {
    margin: 23px 0 0;
    color: #8a96a2;
    font-size: .7rem;
    line-height: 1.65;
    text-align: center;
}

.auth-legal a { font-weight: 500; }
.auth-layout--signup { min-height: 770px; }
.auth-layout--signup .auth-main { padding-top: 38px; padding-bottom: 38px; }
.auth-layout--signup .auth-form-intro { margin-bottom: 22px; }
.auth-layout--signup .auth-form { gap: 15px; }
.auth-layout--signup .auth-switch { margin-top: 20px; }
.auth-layout--signup .auth-legal { margin-top: 16px; }
.auth-layout--recovery { min-height: 620px; }
.auth-story--recovery { justify-content: center; }

@media (max-width: 900px) {
    .auth-page { padding: 0 20px 28px; }
    .auth-topbar { height: 72px; }
    .auth-layout,
    .auth-layout--signup,
    .auth-layout--recovery {
        min-height: 0;
        grid-template-columns: 1fr;
    }
    .auth-story { padding: 36px 38px; gap: 30px; }
    .auth-story h1 { max-width: 600px; font-size: clamp(2.2rem, 6vw, 3.1rem); }
    .auth-story-copy { max-width: 600px; }
    .auth-preview-card { max-width: 560px; }
    .auth-main { padding: 46px 30px; }
    .auth-layout--signup .auth-main { padding: 42px 30px; }
}

@media (max-width: 560px) {
    .auth-page { padding: 0 12px 18px; }
    .auth-topbar { height: 66px; }
    .auth-logo { font-size: 1.08rem; }
    .auth-logo-mark { width: 31px; height: 31px; }
    .auth-topbar-link { font-size: .77rem; }
    .auth-layout { border-radius: 12px; }
    .auth-story { padding: 30px 24px; gap: 26px; }
    .auth-eyebrow { margin-bottom: 19px; font-size: .64rem; }
    .auth-story h1 { font-size: 2.25rem; }
    .auth-story-copy { font-size: .9rem; }
    .auth-preview-card { padding: 17px 15px 13px; }
    .auth-preview-row { grid-template-columns: 8px minmax(0, 1fr) auto; gap: 7px; }
    .auth-service-name { font-size: .75rem; }
    .auth-service-state { font-size: .66rem; }
    .auth-main,
    .auth-layout--signup .auth-main { padding: 37px 22px; }
    .auth-form-wrap h2 { font-size: 1.8rem; }
    .auth-form-intro { margin-bottom: 23px; font-size: .86rem; }
}
