:root {
    --bg-color: #000000;
    --bg-secondary: #0a0a0a;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-tertiary: #808080;
    --accent-primary: #ffffff;
    --accent-glow: rgba(255, 255, 255, 0.05);
    --card-bg: rgba(255, 255, 255, 0.015);
    --card-border: rgba(255, 255, 255, 0.04);
    --gradient-start: #ffffff;
    --gradient-end: #e0e0e0;
    --border-light: rgba(255, 255, 255, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Noise + Particles Layers */
.noise-static {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.28;
    background-image: url("data:image/svg+xml,%3Csvg width='160' height='160' xmlns='http://www.w3.org/2000/svg'%3E%3Cdefs%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='6' stitchTiles='stitch' seed='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3C/defs%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/%3E%3C/svg%3E");
    background-size: 140px 140px;
    filter: contrast(160%) brightness(180%);
    /* Beam-shaped mask to mimic Railway/Apple diagonal highlight */
        -webkit-mask-image: radial-gradient(1400px 800px at 25% 18%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.65) 52%, rgba(255,255,255,0) 78%);
            mask-image: radial-gradient(1400px 800px at 25% 18%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.65) 52%, rgba(255,255,255,0) 78%);
}

#particle-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* keep below watermark overlay */
    opacity: 0.6; /* brighter particles but dark background */
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 100;
    backdrop-filter: blur(1px);
    background: linear-gradient(180deg, rgba(34, 34, 34, 0.151) 0%, rgba(0, 0, 0, 0.226) 100%);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.btn-login {
    background: var(--accent-primary);
    color: var(--bg-color);
    border: none;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary {
    background: white;
    color: var(--bg-color);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 15px 60px rgba(255, 255, 255, 0.15);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    border: 1px solid var(--border-light);
    color: white;
    width: 100%;
    background: transparent;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.03);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    padding-bottom: 6rem;
    text-align: center;
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    width: 100%;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(200, 200, 200, 0.03) 30%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-weight: 500;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 3rem;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
    padding: 3rem 2rem 5rem 2rem;  /* extra bottom padding for dot pattern visibility */
    position: relative;     /* create stacking context for the band */
    z-index: 2;             /* keep cards above the background band */
}

/* Full-width, GitHub-like dotted band behind the stats */
.hero-stats::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 70%;               /* shift down so cards sit above the pattern */
    translate: 0 -50%;
    width: 100vw;           /* full screen width */
    height: 240px;          /* band height */
    pointer-events: none;
    z-index: -1;            /* place behind the stat cards */
    /* Small, subtle Gemini blue dots like GitHub activity feed */
    background-image:
        radial-gradient(circle,
            rgba(56, 248, 168, 0.308)4.5px,
            transparent 4.5px);
    background-size: 12px 12px;
    background-position: center;
    /* soft fade on edges to blend into page */
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
            mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

/* Glassy, semi-transparent cards with subtle dot visibility */
.hero-stat {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.hero-stat {
    text-align: center;
    flex: 1;
    min-width: 200px;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.hero-stat .stat-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    border-top: 1px solid var(--border-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 400;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--gradient-start);
}

.feature-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Capabilities Section */
.capabilities {
    padding: 6rem 0;
    border-top: 1px solid var(--border-light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.capability-item {
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.01);
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.capability-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
    transform: translateY(-4px);
}

.capability-icon {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.capability-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1;
}

.capability-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.capability-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Vendors Section */
.vendors {
    padding: 6rem 0;
    border-top: 1px solid var(--border-light);
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 3rem;
    align-items: center;
    justify-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.vendor-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: all 0.3s;
    width: 100%;
    height: 120px;
    position: relative;
    cursor: pointer;
}

.vendor-logo:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.vendor-logo::after {
    content: attr(data-name);
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    color: #000;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, bottom 0.3s;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.vendor-logo:hover::after {
    opacity: 1;
    bottom: -45px;
}

.vendor-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.3s;
}

.vendor-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.llm-coming-soon {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.llm-coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.llm-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.llm-coming-soon h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.llm-coming-soon p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.llm-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.llm-logos img {
    height: 40px;
    width: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.llm-logos img:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(1.5) contrast(1.2) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

/* Pricing Section */
.pricing {
    padding: 6rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: start;
}

/* allow tooltips to overflow the pricing cards */
.pricing, .pricing-grid, .pricing-card, .features-list {
    overflow: visible;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.025);
    transform: translateY(-4px);
}

.pricing-card.popular {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 60px rgba(255, 255, 255, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    color: #000000;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
}

.card-header {
    margin-bottom: 2rem;
    text-align: center;
}

.card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.card-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-list li::before {
    content: "✓";
    color: white;
    font-weight: bold;
}

/* Pricing info tooltip (Advance tier) */
.info-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    position: relative;
}

.info-trigger {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.6);
    cursor: default;
}

.info-trigger i {
    font-size: 0.7rem;
}

.info-tooltip-text {
    position: absolute;
    left: 50%;
    bottom: 130%;
    transform: translateX(-50%);
    white-space: normal;
    min-width: 220px;
    max-width: 280px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #111827;
    color: #e5e7eb;
    font-size: 0.78rem;
    line-height: 1.5;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 5;
}

.info-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #111827 transparent transparent transparent;
}

.info-tooltip:hover .info-tooltip-text {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

.highlight-blue {
    color: #60a5fa;
    font-weight: 600;
}

.highlight {
    color: #fbbf24;
    font-weight: 600;
}

/* Footer */
footer {
    padding: 4rem 0 6rem 0;
    border-top: 1px solid var(--border-light);
    margin-top: 6rem;
    position: relative;
    overflow: hidden; /* clip the watermark's dipped portion */
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 3rem;
    position: relative; /* create stacking context above watermark */
    z-index: 3;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.brand-mark svg {
    opacity: 0.9;
}

.incident {
    color: #f6d365;
    text-decoration: none;
    font-size: 0.9rem;
}

.incident:hover { text-decoration: underline; }

.brand-sep {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0.75rem 0 0.5rem 0;
}

.copyright {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

.compliance { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.badge { font-size: 0.7rem; color: var(--text-secondary); border: 1px solid var(--border-light); padding: 0.2rem 0.5rem; border-radius: 999px; }

.footer-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    gap: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-section h4 {
    font-weight: 600;
    color: #e5e5e5;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-section a:hover { color: #fff; }

.footer-bottom {
    margin-top: 0;          /* remove extra gap below columns */
    padding-top: 0;         /* remove internal spacing */
    border-top: none;       /* remove unintended divider */
    position: relative;     /* allow watermark to anchor to footer-bottom */
    min-height: 0;          /* no reserved space under footer */
}

.footer-watermark {
    position: absolute;     /* anchor to parent footer */
    left: 0;
    right: 0;
    top: auto;
    bottom: -170px;            /* keep the bottom position as requested */
    width: 100%;            /* full viewport width */
    height: clamp(200px, 30vw, 500px);   /* responsive height based on viewport */
    opacity: 1;
    filter: brightness(100%);
    pointer-events: none;
    user-select: none;
    z-index: 2;             /* above particles, behind links */
    background-image: url('../images/aiunivers_texture1.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;      /* cover full width, may crop height */
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}