/* ═══════════════════════════════════════════════════════════════════════════
   INITECH LANDING PAGE - EPIC COMMAND CENTER EDITION
   ═══════════════════════════════════════════════════════════════════════════ */

/* Variables */
:root {
    --ix-bg: #050505;
    --ix-bg-elevated: #0a0a0a;
    --ix-bg-card: #0d0d0d;
    --ix-border: rgba(255, 255, 255, 0.06);
    --ix-border-hover: rgba(255, 255, 255, 0.12);
    --ix-text: #fafafa;
    --ix-text-secondary: #888;
    --ix-text-muted: #555;
    --ix-accent: #ff3333;
    --ix-accent-dim: #cc2929;
    --ix-accent-glow: rgba(255, 51, 51, 0.15);
}

/* ═══════════════════════════════════════════════════════════════════════════
   ANIMATED BACKGROUND
   ═══════════════════════════════════════════════════════════════════════════ */

.ix-home-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.ix-home-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 51, 51, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 51, 51, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(80px, 80px); }
}

.ix-home-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
}

.ix-home-glow-1 {
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(255, 51, 51, 0.15) 0%, transparent 70%);
    animation: glowPulse 8s ease-in-out infinite;
}

.ix-home-glow-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.08) 0%, transparent 70%);
    animation: glowPulse 10s ease-in-out infinite reverse;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.6; transform: translateX(-50%) scale(1.1); }
}

.ix-home-scanline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255, 51, 51, 0.3), transparent);
    animation: scanline 4s linear infinite;
    opacity: 0.5;
}

@keyframes scanline {
    0% { top: -4px; }
    100% { top: 100%; }
}

/* Floating Particles */
.ix-home-particles {
    position: absolute;
    inset: 0;
}

.ix-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--ix-accent);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 15s infinite;
}

.ix-particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.ix-particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.ix-particle:nth-child(3) { left: 35%; animation-delay: 4s; }
.ix-particle:nth-child(4) { left: 50%; animation-delay: 1s; }
.ix-particle:nth-child(5) { left: 65%; animation-delay: 3s; }
.ix-particle:nth-child(6) { left: 75%; animation-delay: 5s; }
.ix-particle:nth-child(7) { left: 85%; animation-delay: 2.5s; }
.ix-particle:nth-child(8) { left: 95%; animation-delay: 4.5s; }

@keyframes particleFloat {
    0% { bottom: -10px; opacity: 0; }
    10% { opacity: 0.6; }
    90% { opacity: 0.6; }
    100% { bottom: 100%; opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.ix-home-hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 80px;
}

.ix-home-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Status Beacon */
.ix-home-beacon {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 100px;
    margin-bottom: 48px;
}

.ix-beacon-ring {
    position: absolute;
    left: 18px;
    width: 10px;
    height: 10px;
    border: 1px solid var(--ix-accent);
    border-radius: 50%;
    animation: beaconRing 2s ease-out infinite;
}

.ix-beacon-ring-2 {
    animation-delay: 1s;
}

@keyframes beaconRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

.ix-beacon-dot {
    width: 10px;
    height: 10px;
    background: var(--ix-accent);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--ix-accent);
    animation: beaconPulse 2s ease-in-out infinite;
}

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

.ix-beacon-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--ix-accent);
}

/* Hero Title */
.ix-home-title {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: clamp(52px, 10vw, 100px);
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.04em;
    color: var(--ix-text);
    margin: 0 0 32px 0;
}

.ix-title-word {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.ix-title-word-1 { animation-delay: 0.2s; }
.ix-title-word-2 { animation-delay: 0.35s; }
.ix-title-word-3 { animation-delay: 0.5s; }

@keyframes titleReveal {
    to { opacity: 1; transform: translateY(0); }
}

.ix-title-dot {
    color: var(--ix-accent);
    text-shadow: 0 0 40px var(--ix-accent);
}

.ix-home-subtitle {
    font-size: 24px;
    line-height: 1.6;
    color: var(--ix-text-secondary);
    max-width: 100%;
    padding: 0 20px;
    margin: 0 0 48px 0;
    opacity: 0;
    animation: fadeIn 1s ease 0.7s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.ix-highlight {
    color: var(--ix-text);
    font-weight: 500;
}

/* Hero Actions */
.ix-home-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease 0.9s forwards;
}

/* Primary Button */
.ix-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--ix-accent);
    border: none;
    border-radius: 10px;
    padding: 0;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ix-btn-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ix-accent) 0%, var(--ix-accent-dim) 100%);
    transition: opacity 0.3s ease;
}

.ix-btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    z-index: 1;
}

.ix-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 51, 51, 0.4);
    color: #fff;
    text-decoration: none;
}

.ix-btn-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--ix-accent), #ff6666, var(--ix-accent));
    border-radius: 12px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: borderGlow 3s linear infinite;
    background-size: 200% 200%;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ix-btn-glow:hover::before {
    opacity: 1;
}

.ix-btn-large .ix-btn-content {
    padding: 20px 40px;
    font-size: 16px;
}

/* Secondary Button */
.ix-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--ix-text-secondary);
    background: transparent;
    border: 1px solid var(--ix-border);
    border-radius: 10px;
    padding: 16px 28px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ix-btn-secondary:hover {
    color: var(--ix-text);
    border-color: var(--ix-border-hover);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
}

.ix-btn-secondary svg {
    transition: transform 0.3s ease;
}

.ix-btn-secondary:hover svg {
    transform: translate(3px, -3px);
}

/* Stats Ring */
.ix-home-stats-ring {
    position: relative;
    width: 360px;
    height: 360px;
    margin-top: 80px;
    opacity: 0;
    animation: fadeIn 1s ease 1.1s forwards;
}

.ix-stats-orbit {
    position: absolute;
    inset: 0;
    border: 1px dashed rgba(255, 51, 51, 0.2);
    border-radius: 50%;
    animation: orbitSpin 60s linear infinite;
}

@keyframes orbitSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.ix-stat-node {
    position: absolute;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid var(--ix-border);
    border-radius: 16px;
    animation: orbitSpin 60s linear infinite reverse;
}

.ix-stat-node:nth-child(1) { top: -50px; left: 50%; transform: translateX(-50%); }
.ix-stat-node:nth-child(2) { top: 50%; right: -50px; transform: translateY(-50%); }
.ix-stat-node:nth-child(3) { bottom: -50px; left: 50%; transform: translateX(-50%); }
.ix-stat-node:nth-child(4) { top: 50%; left: -50px; transform: translateY(-50%); }

.ix-stat-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--ix-text);
    line-height: 1;
}

.ix-stat-plus {
    color: var(--ix-accent);
    font-size: 20px;
}

.ix-stat-unit {
    font-size: 14px;
    color: var(--ix-text-muted);
}

.ix-stat-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--ix-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.ix-stats-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ix-center-pulse {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 50%;
    animation: centerPulse 3s ease-out infinite;
}

@keyframes centerPulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.ix-center-icon {
    color: var(--ix-accent);
    filter: drop-shadow(0 0 20px rgba(255, 51, 51, 0.5));
}

/* Scroll Indicator */
.ix-home-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeIn 1s ease 1.5s forwards;
}

.ix-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--ix-accent), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; height: 40px; }
    50% { opacity: 1; height: 60px; }
}

.ix-home-scroll span {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    color: var(--ix-text-muted);
    letter-spacing: 0.2em;
}

/* ═══════════════════════════════════════════════════════════════════════════
   TICKER SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.ix-home-ticker {
    position: relative;
    z-index: 1;
    padding: 24px 0;
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid var(--ix-border);
    border-bottom: 1px solid var(--ix-border);
    overflow: hidden;
}

.ix-ticker-track {
    display: flex;
}

.ix-ticker-content {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: tickerScroll 30s linear infinite;
    white-space: nowrap;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ix-ticker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--ix-text-secondary);
    letter-spacing: 0.15em;
}

.ix-ticker-dot {
    width: 6px;
    height: 6px;
    background: var(--ix-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--ix-accent);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FEATURES SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.ix-home-features {
    position: relative;
    z-index: 1;
    padding: 120px 0;
}

.ix-features-header {
    text-align: center;
    margin-bottom: 64px;
}

.ix-section-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--ix-accent);
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.ix-tag-dot {
    width: 8px;
    height: 8px;
    background: var(--ix-accent);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.ix-features-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 700;
    color: var(--ix-text);
    letter-spacing: -0.03em;
    margin: 0;
}

.ix-accent {
    color: var(--ix-accent);
}

/* Features Grid - Bento Style */
.ix-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ix-feature-card {
    position: relative;
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid var(--ix-border);
    border-radius: 20px;
    padding: 32px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ix-feature-full {
    grid-column: span 3;
}

.ix-feature-wide {
    grid-column: span 2;
}

.ix-feature-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ix-feature-card:hover .ix-feature-glow {
    opacity: 1;
}

.ix-feature-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.ix-feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ix-accent-glow);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 14px;
    color: var(--ix-accent);
    margin-bottom: 24px;
}

.ix-feature-badge {
    position: absolute;
    top: 0;
    right: 0;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: var(--ix-accent);
    background: var(--ix-accent-glow);
    border: 1px solid rgba(255, 51, 51, 0.2);
    padding: 6px 12px;
    border-radius: 8px;
    letter-spacing: 0.05em;
}

.ix-feature-card h3 {
    font-family: 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--ix-text);
    margin: 0 0 12px 0;
}

.ix-feature-card p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--ix-text-secondary);
    margin: 0;
    flex: 1;
}

/* Deploy Timer */
.ix-deploy-timer {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--ix-border);
}

.ix-timer-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 28px;
    font-weight: 700;
    color: var(--ix-accent);
}

.ix-timer-label {
    font-size: 12px;
    color: var(--ix-text-muted);
}

/* Cloud Icons */
.ix-cloud-icons {
    display: flex;
    gap: 8px;
    margin-top: 20px;
}

.ix-cloud-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ix-border);
    border-radius: 8px;
    font-size: 16px;
    color: var(--ix-text-muted);
    transition: all 0.3s ease;
}

.ix-cloud-icon:hover {
    color: var(--ix-accent);
    border-color: rgba(255, 51, 51, 0.3);
}

.ix-cloud-icon:last-child {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--ix-text-muted);
}

/* Crypto Parade */
.ix-crypto-parade {
    margin-top: 24px;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
}

.ix-crypto-track {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: cryptoScroll 20s linear infinite;
}

@keyframes cryptoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ix-crypto-logo {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
    filter: grayscale(100%) brightness(0.35) sepia(100%) hue-rotate(-50deg) saturate(500%);
}

.ix-crypto-logo:hover {
    opacity: 1;
    transform: scale(1.15);
    filter: grayscale(0%) brightness(1) sepia(0%) hue-rotate(0deg) saturate(100%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   PROVIDERS SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.ix-home-providers {
    position: relative;
    z-index: 1;
    padding: 120px 0;
    background: rgba(5, 5, 5, 0.8);
}

.ix-providers-header {
    text-align: center;
    margin-bottom: 64px;
}

.ix-providers-header h2 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 700;
    color: var(--ix-text);
    letter-spacing: -0.03em;
    margin: 20px 0 16px 0;
}

.ix-providers-header p {
    font-size: 18px;
    color: var(--ix-text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* Providers List - Expandable Accordion */
.ix-providers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ix-provider-block {
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid var(--ix-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ix-provider-block:hover {
    border-color: var(--ix-border-hover);
}

.ix-provider-block.ix-expanded {
    border-color: rgba(255, 51, 51, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ix-provider-block[data-provider="initech"] {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.8) 0%, rgba(255, 51, 51, 0.05) 100%);
    border-color: rgba(255, 51, 51, 0.2);
}

/* Provider Header (clickable) */
.ix-provider-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ix-provider-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.ix-provider-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.ix-provider-icon span {
    font-size: 22px;
    color: var(--ix-accent);
}

.ix-provider-icon-initech {
    color: #ff3333;
}

.ix-provider-icon-initech svg {
    filter: drop-shadow(0 0 6px rgba(255, 51, 51, 0.4));
}

.ix-provider-info {
    flex: 1;
    min-width: 0;
}

.ix-provider-info h4 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: var(--ix-text);
    margin: 0 0 4px 0;
}

.ix-provider-info p {
    font-size: 14px;
    color: var(--ix-text-muted);
    margin: 0;
}

.ix-provider-summary {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin-right: 16px;
}

.ix-provider-count {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ix-text-secondary);
}

.ix-provider-from {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--ix-text-muted);
}

.ix-provider-from strong {
    color: var(--ix-accent);
    font-weight: 600;
}

.ix-provider-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    color: var(--ix-accent);
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid rgba(255, 51, 51, 0.3);
    padding: 6px 10px;
    border-radius: 6px;
    letter-spacing: 0.1em;
    margin-right: 16px;
}

.ix-provider-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    font-weight: 600;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.25);
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.05em;
    margin-left: 10px;
    vertical-align: middle;
    text-transform: uppercase;
}

.ix-provider-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--ix-border);
    border-radius: 10px;
    color: var(--ix-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ix-provider-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--ix-border-hover);
    color: var(--ix-text);
}

.ix-provider-toggle svg {
    transition: transform 0.3s ease;
}

.ix-provider-block.ix-expanded .ix-provider-toggle {
    background: rgba(255, 51, 51, 0.1);
    border-color: rgba(255, 51, 51, 0.3);
    color: var(--ix-accent);
}

.ix-provider-block.ix-expanded .ix-provider-toggle svg {
    transform: rotate(180deg);
}

/* Provider Regions (expandable content) */
.ix-provider-regions {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.ix-provider-block.ix-expanded .ix-provider-regions {
    max-height: 2000px;
}

.ix-regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    padding: 0 28px 28px 28px;
    border-top: 1px solid var(--ix-border);
    padding-top: 20px;
    margin-top: 0;
}

/* Region Cards */
.ix-region-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--ix-border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ix-region-card:hover {
    background: rgba(255, 51, 51, 0.05);
    border-color: rgba(255, 51, 51, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
}

.ix-region-flag {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
}

.ix-region-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ix-region-city {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--ix-text);
}

.ix-region-country {
    font-size: 12px;
    color: var(--ix-text-muted);
}

.ix-region-tags {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.ix-tag-os {
    font-family: 'JetBrains Mono', monospace;
    font-size: 9px;
    font-weight: 600;
    color: var(--ix-text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--ix-border);
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ix-tag-gpu {
    color: #22c55e;
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
}

.ix-region-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--ix-accent);
    flex-shrink: 0;
}

.ix-region-price small {
    font-size: 11px;
    font-weight: 500;
    color: var(--ix-text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .ix-provider-header {
        flex-wrap: wrap;
        gap: 16px;
        padding: 20px;
    }

    .ix-provider-info {
        flex: 1 1 calc(100% - 80px);
    }

    .ix-provider-summary {
        display: none;
    }

    .ix-provider-badge {
        position: absolute;
        top: 16px;
        right: 70px;
        margin: 0;
    }

    .ix-regions-grid {
        grid-template-columns: 1fr;
        padding: 0 20px 20px 20px;
    }

    .ix-region-card {
        padding: 14px;
    }

    .ix-region-tags {
        display: none;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════════════════════════════════ */

.ix-home-cta {
    position: relative;
    z-index: 1;
    padding: 80px 0 100px;
}

.ix-cta-line {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    margin: 0 auto;
    padding: 20px 32px;
    font-family: 'JetBrains Mono', monospace;
    background: rgba(13, 13, 13, 0.6);
    border: 1px solid var(--ix-border);
    border-radius: 12px;
}

.ix-home-cta .container {
    text-align: center;
}

.ix-cta-line:hover {
    border-color: var(--ix-border-hover);
}

.ix-cta-prompt {
    font-size: 20px;
    font-weight: 700;
    color: var(--ix-accent);
}

.ix-cta-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--ix-text);
}

.ix-cta-separator {
    width: 40px;
    height: 1px;
    background: var(--ix-border-hover);
}

.ix-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: var(--ix-accent);
    border: none;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.ix-cta-btn:hover {
    background: var(--ix-accent-bright);
}

.ix-cta-btn svg {
    transition: transform 0.2s ease;
}

.ix-cta-btn:hover svg {
    transform: translateX(3px);
}

/* System Footer Hint */
.ix-system-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: #333;
    letter-spacing: 0.05em;
    user-select: none;
}

.ix-sys-code {
    color: #444;
    cursor: help;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

.ix-sys-code:hover {
    color: #3a5fe5;
    background: rgba(58, 95, 229, 0.1);
    text-shadow: 0 0 10px rgba(58, 95, 229, 0.5);
}

.ix-sys-divider {
    color: #222;
}

.ix-sys-status {
    color: #2a2a2a;
}

.ix-sys-status::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    margin-right: 8px;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1200px) {
    .ix-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ix-feature-full {
        grid-column: span 2;
    }

    .ix-providers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ix-provider-featured {
        grid-row: span 1;
    }
}

@media (max-width: 992px) {
    .ix-home-stats-ring {
        width: 300px;
        height: 300px;
    }

    .ix-stat-node {
        width: 80px;
        height: 80px;
    }

    .ix-stat-value {
        font-size: 22px;
    }

    .ix-stat-node:nth-child(1) { top: -40px; }
    .ix-stat-node:nth-child(2) { right: -40px; }
    .ix-stat-node:nth-child(3) { bottom: -40px; }
    .ix-stat-node:nth-child(4) { left: -40px; }
}

@media (max-width: 768px) {
    .ix-home-hero {
        padding: 100px 0 60px;
    }

    .ix-home-title {
        font-size: 44px;
    }

    .ix-home-subtitle {
        font-size: 17px;
    }

    .ix-home-stats-ring {
        display: none;
    }

    .ix-features-grid {
        grid-template-columns: 1fr;
    }

    .ix-feature-full,
    .ix-feature-wide {
        grid-column: span 1;
    }

    .ix-cta-line {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .ix-cta-separator {
        display: none;
    }

    .ix-home-actions {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .ix-btn-primary,
    .ix-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .ix-home-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .ix-home-title {
        font-size: 36px;
    }

    .ix-home-beacon {
        padding: 8px 16px;
    }

    .ix-beacon-text {
        font-size: 9px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   UPSIDE DOWN MODE - Stranger Things Easter Egg - FULL EXPERIENCE
   ═══════════════════════════════════════════════════════════════════════════ */

/* THE FLIP - Literally turn the world upside down */
body.upside-down {
    background: #030204 !important;
}

body.upside-down .initech-landing {
    transform: rotate(180deg);
    transform-origin: center center;
    filter: saturate(0.3) brightness(0.7) contrast(1.1) hue-rotate(-10deg);
}

body.upside-down .initech-landing * {
    transform: rotate(180deg);
}

/* Fix header so it stays on top */
body.upside-down .ix-header {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    transform: rotate(180deg) !important;
    z-index: 10001 !important;
    background: rgba(3, 2, 4, 0.95) !important;
    border-bottom: none !important;
    border-top: 1px solid rgba(58, 95, 229, 0.2) !important;
}

body.upside-down .ix-header * {
    transform: rotate(180deg) !important;
}

/* Atmospheric overlay layers */
body.upside-down::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(58, 95, 229, 0.2) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(43, 34, 112, 0.25) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 50%, rgba(52, 90, 84, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 10% 90%, rgba(30, 7, 7, 0.3) 0%, transparent 30%),
        radial-gradient(ellipse at 90% 10%, rgba(30, 7, 7, 0.3) 0%, transparent 30%);
    pointer-events: none;
    z-index: 9998;
    animation: atmospherePulse 6s ease-in-out infinite;
}

@keyframes atmospherePulse {
    0%, 100% { opacity: 0.8; }
    33% { opacity: 1; }
    66% { opacity: 0.6; }
}

/* Heavy fog/noise overlay */
body.upside-down::after {
    content: '';
    position: fixed;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
    z-index: 9997;
    animation: noiseShift 0.5s steps(5) infinite;
}

@keyframes noiseShift {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-2px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -2px); }
    100% { transform: translate(2px, 1px); }
}

/* VHS scan lines */
.upside-down-scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 9999;
    animation: scanlineMove 8s linear infinite;
}

@keyframes scanlineMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Lightning flashes */
.upside-down-lightning {
    position: fixed;
    inset: 0;
    background: radial-gradient(ellipse at var(--lx, 50%) var(--ly, 30%),
        rgba(58, 95, 229, 0.4) 0%,
        rgba(43, 34, 112, 0.2) 20%,
        transparent 50%);
    pointer-events: none;
    z-index: 9994;
    opacity: 0;
}

.upside-down-lightning.flash {
    animation: lightningFlash 0.2s ease-out;
}

@keyframes lightningFlash {
    0% { opacity: 1; }
    20% { opacity: 0.3; }
    40% { opacity: 0.8; }
    100% { opacity: 0; }
}

/* Glitch effect for text */
body.upside-down .ix-hero-title {
    position: relative;
    animation: textGlitch 3s infinite;
}

body.upside-down .ix-hero-title::before,
body.upside-down .ix-hero-title::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

body.upside-down .ix-hero-title::before {
    color: #ff0040;
    animation: glitchLeft 2s infinite;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
    transform: translateX(-2px);
    opacity: 0.8;
}

body.upside-down .ix-hero-title::after {
    color: #00ffff;
    animation: glitchRight 2.5s infinite;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
    transform: translateX(2px);
    opacity: 0.8;
}

@keyframes textGlitch {
    0%, 90%, 100% { transform: rotate(180deg) translate(0); }
    92% { transform: rotate(180deg) translate(-3px, 1px); }
    94% { transform: rotate(180deg) translate(2px, -1px); }
    96% { transform: rotate(180deg) translate(-1px, 2px); }
    98% { transform: rotate(180deg) translate(3px, -2px); }
}

@keyframes glitchLeft {
    0%, 89%, 91%, 93%, 95%, 100% { transform: translateX(-2px); }
    90% { transform: translateX(-8px) skewX(-5deg); }
    92% { transform: translateX(4px); }
    94% { transform: translateX(-12px) skewX(3deg); }
}

@keyframes glitchRight {
    0%, 88%, 92%, 94%, 96%, 100% { transform: translateX(2px); }
    89% { transform: translateX(10px) skewX(5deg); }
    91% { transform: translateX(-5px); }
    93% { transform: translateX(8px) skewX(-3deg); }
    95% { transform: translateX(-10px); }
}

/* Logo intense flicker */
body.upside-down .ix-logo-mark {
    color: #3a5fe5 !important;
    animation: logoFlicker 0.1s infinite, logoPulse 2s ease-in-out infinite;
    text-shadow:
        0 0 10px rgba(58, 95, 229, 1),
        0 0 20px rgba(58, 95, 229, 0.8),
        0 0 40px rgba(58, 95, 229, 0.6),
        0 0 80px rgba(58, 95, 229, 0.4) !important;
}

@keyframes logoFlicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1; }
    20%, 24%, 55% { opacity: 0.4; }
}

@keyframes logoPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* Intense light flicker on ALL elements */
body.upside-down .ix-feature-card,
body.upside-down .ix-provider-block,
body.upside-down .ix-stat-block,
body.upside-down .ix-section-header,
body.upside-down .ix-btn-primary {
    animation: intenseLightFlicker 2s infinite;
    animation-delay: calc(var(--flicker-delay, 0) * 0.3s);
}

@keyframes intenseLightFlicker {
    0%, 100% { opacity: 1; filter: brightness(1); }
    3% { opacity: 0.7; filter: brightness(0.6); }
    6% { opacity: 1; filter: brightness(1.1); }
    9% { opacity: 0.5; filter: brightness(0.4); }
    12% { opacity: 1; filter: brightness(1); }
    15% { opacity: 0.8; filter: brightness(0.7); }
    18% { opacity: 1; filter: brightness(1.2); }
    50% { opacity: 1; filter: brightness(1); }
    85% { opacity: 1; filter: brightness(1); }
    88% { opacity: 0.3; filter: brightness(0.3); }
    91% { opacity: 1; filter: brightness(1.3); }
    94% { opacity: 0.6; filter: brightness(0.5); }
    97% { opacity: 1; filter: brightness(1); }
}

/* Particle system - spores */
.upside-down-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9993;
    overflow: hidden;
}

.spore {
    position: absolute;
    background: radial-gradient(circle,
        rgba(148, 188, 188, 0.9) 0%,
        rgba(148, 188, 188, 0.4) 40%,
        rgba(148, 188, 188, 0) 70%);
    border-radius: 50%;
    animation: floatSpore linear infinite;
    box-shadow: 0 0 6px rgba(148, 188, 188, 0.5);
}

.spore.large {
    box-shadow: 0 0 10px rgba(148, 188, 188, 0.6), 0 0 20px rgba(148, 188, 188, 0.3);
}

@keyframes floatSpore {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    5% {
        opacity: 0.9;
        transform: translateY(95vh) translateX(5px) rotate(30deg) scale(1);
    }
    50% {
        transform: translateY(50vh) translateX(-15px) rotate(180deg) scale(1.1);
    }
    95% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-10vh) translateX(10px) rotate(360deg) scale(0.7);
        opacity: 0;
    }
}

/* Falling ash particles */
.ash {
    position: absolute;
    width: 3px;
    height: 3px;
    background: rgba(80, 80, 80, 0.7);
    border-radius: 50%;
    animation: fallAsh linear infinite;
}

@keyframes fallAsh {
    0% {
        transform: translateY(-10vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(110vh) translateX(30px) rotate(720deg);
        opacity: 0;
    }
}

/* Organic vines container */
.upside-down-vines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9992;
    overflow: hidden;
}

/* Animated organic vines with SVG */
.vine-organic {
    position: absolute;
    opacity: 0;
    animation: vineCreep 4s ease-out forwards;
}

.vine-organic path {
    stroke: #1a0a0a;
    stroke-width: 8;
    fill: none;
    stroke-linecap: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: vineGrowPath 4s ease-out forwards;
    filter: drop-shadow(0 0 3px rgba(43, 34, 112, 0.5));
}

@keyframes vineGrowPath {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes vineCreep {
    0% { opacity: 0; }
    20% { opacity: 1; }
    100% { opacity: 1; }
}

/* Pulsing tendrils */
.tendril {
    position: absolute;
    background: linear-gradient(to top,
        rgba(30, 7, 7, 0.9),
        rgba(43, 34, 112, 0.7),
        rgba(58, 95, 229, 0.3),
        transparent);
    border-radius: 3px;
    transform-origin: bottom center;
    animation: tendrilGrow 3s ease-out forwards, tendrilPulse 4s ease-in-out infinite 3s;
}

@keyframes tendrilGrow {
    0% {
        height: 0;
        opacity: 0;
    }
    60% {
        opacity: 0.8;
    }
    100% {
        height: var(--tendril-height, 150px);
        opacity: 0.7;
    }
}

@keyframes tendrilPulse {
    0%, 100% {
        transform: scaleY(1) rotate(var(--tendril-rot, 0deg));
        filter: brightness(1);
    }
    50% {
        transform: scaleY(1.05) rotate(var(--tendril-rot, 0deg));
        filter: brightness(1.2);
    }
}

/* Thick organic border vines */
.vine-border {
    position: absolute;
    background: linear-gradient(var(--vine-dir, to right),
        rgba(10, 5, 8, 0.98),
        rgba(10, 5, 8, 0.9),
        rgba(10, 5, 8, 0.6),
        transparent);
    animation: vineBorderGrow 3s ease-out forwards;
}

.vine-border-left {
    left: 0;
    top: 0;
    width: 200px;
    height: 100%;
    --vine-dir: to right;
    clip-path: polygon(
        0 0,
        30% 2%, 50% 5%, 35% 8%, 55% 12%,
        25% 18%, 45% 22%, 30% 28%, 60% 32%,
        20% 38%, 50% 42%, 35% 48%, 55% 52%,
        25% 58%, 45% 62%, 30% 68%, 60% 72%,
        20% 78%, 50% 82%, 35% 88%, 55% 92%,
        30% 96%, 45% 100%, 0 100%
    );
}

.vine-border-right {
    right: 0;
    top: 0;
    width: 200px;
    height: 100%;
    --vine-dir: to left;
    clip-path: polygon(
        100% 0,
        70% 3%, 55% 7%, 75% 11%, 50% 16%,
        80% 21%, 60% 26%, 75% 31%, 45% 37%,
        70% 42%, 55% 47%, 80% 52%, 50% 58%,
        75% 63%, 60% 68%, 80% 73%, 55% 78%,
        70% 83%, 50% 88%, 75% 93%, 60% 98%,
        100% 100%
    );
    animation-delay: 0.5s;
}

.vine-border-top {
    top: 0;
    left: 0;
    width: 100%;
    height: 180px;
    --vine-dir: to bottom;
    clip-path: polygon(
        0 0, 100% 0,
        100% 30%, 95% 45%, 90% 25%, 85% 50%, 80% 30%,
        75% 55%, 70% 35%, 65% 60%, 60% 40%, 55% 65%,
        50% 45%, 45% 70%, 40% 50%, 35% 60%, 30% 40%,
        25% 55%, 20% 35%, 15% 50%, 10% 30%, 5% 45%, 0 25%
    );
    animation-delay: 0.3s;
}

.vine-border-bottom {
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    --vine-dir: to top;
    clip-path: polygon(
        0 100%, 0 60%, 5% 80%, 10% 55%, 15% 75%,
        20% 50%, 25% 70%, 30% 45%, 35% 65%, 40% 40%,
        45% 60%, 50% 35%, 55% 55%, 60% 30%, 65% 50%,
        70% 25%, 75% 45%, 80% 20%, 85% 40%, 90% 15%,
        95% 35%, 100% 50%, 100% 100%
    );
    animation-delay: 0.7s;
}

@keyframes vineBorderGrow {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Corner organisms */
.corner-growth {
    position: absolute;
    width: 300px;
    height: 300px;
    opacity: 0;
    animation: cornerGrow 5s ease-out forwards;
}

.corner-growth svg {
    width: 100%;
    height: 100%;
}

.corner-growth path {
    fill: none;
    stroke: rgba(20, 10, 15, 0.9);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: cornerPathGrow 5s ease-out forwards;
}

.corner-tl { top: 0; left: 0; }
.corner-tr { top: 0; right: 0; transform: scaleX(-1); animation-delay: 0.3s; }
.corner-bl { bottom: 0; left: 0; transform: scaleY(-1); animation-delay: 0.6s; }
.corner-br { bottom: 0; right: 0; transform: scale(-1); animation-delay: 0.9s; }

@keyframes cornerGrow {
    0% { opacity: 0; }
    30% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes cornerPathGrow {
    to { stroke-dashoffset: 0; }
}

/* Color shifts for buttons */
body.upside-down .ix-btn-primary,
body.upside-down .ix-btn-glow {
    background: linear-gradient(135deg, #3a5fe5, #2b2270) !important;
    border: 1px solid rgba(58, 95, 229, 0.5) !important;
    box-shadow:
        0 0 20px rgba(58, 95, 229, 0.4),
        inset 0 0 20px rgba(58, 95, 229, 0.1) !important;
}

body.upside-down .ix-btn-primary:hover {
    background: linear-gradient(135deg, #4a6ff5, #3b3280) !important;
    box-shadow:
        0 0 40px rgba(58, 95, 229, 0.6),
        inset 0 0 30px rgba(58, 95, 229, 0.2) !important;
}

/* Grid becomes ominous and alive */
body.upside-down .ix-hero::before {
    background-image:
        linear-gradient(rgba(58, 95, 229, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 95, 229, 0.08) 1px, transparent 1px) !important;
    animation: gridPulse 3s ease-in-out infinite, gridDistort 10s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes gridDistort {
    0%, 100% { transform: perspective(1000px) rotateX(0deg); }
    50% { transform: perspective(1000px) rotateX(2deg); }
}

/* Demogorgon-esque cursor */
body.upside-down {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='%233a5fe5' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='3' fill='%233a5fe5'/%3E%3C/svg%3E") 12 12, crosshair;
}

/* Exit portal hint */
.upside-down-hint {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #3a5fe5;
    background: rgba(3, 2, 4, 0.95);
    border: 1px solid rgba(58, 95, 229, 0.4);
    padding: 14px 28px;
    border-radius: 0;
    z-index: 10002;
    opacity: 0;
    animation: hintFadeIn 3s ease 4s forwards, hintGlitch 5s ease infinite 7s;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow:
        0 0 20px rgba(58, 95, 229, 0.3),
        inset 0 0 10px rgba(58, 95, 229, 0.1);
}

.upside-down-hint::before {
    content: '◇';
    margin-right: 10px;
    animation: hintSymbol 2s ease-in-out infinite;
}

.upside-down-hint::after {
    content: '◇';
    margin-left: 10px;
    animation: hintSymbol 2s ease-in-out infinite 1s;
}

@keyframes hintFadeIn {
    to { opacity: 0.9; }
}

@keyframes hintGlitch {
    0%, 95%, 100% { transform: translateX(-50%) rotate(180deg); filter: none; }
    96% { transform: translateX(-52%) rotate(180deg) skewX(-2deg); filter: hue-rotate(90deg); }
    97% { transform: translateX(-48%) rotate(180deg) skewX(2deg); filter: hue-rotate(-90deg); }
    98% { transform: translateX(-50%) rotate(180deg); filter: none; }
}

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

/* Epic transition - portal opening */
.upside-down-transition {
    position: fixed;
    inset: 0;
    z-index: 99999;
    overflow: hidden;
}

.upside-down-transition::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #030204;
    animation: portalOpen 3s ease forwards;
}

.upside-down-transition::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, #3a5fe5, #2b2270, transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: portalGrow 3s ease forwards;
    box-shadow:
        0 0 60px 30px rgba(58, 95, 229, 0.6),
        0 0 100px 60px rgba(43, 34, 112, 0.4),
        0 0 140px 90px rgba(58, 95, 229, 0.2);
}

@keyframes portalOpen {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; pointer-events: none; }
}

@keyframes portalGrow {
    0% {
        width: 0;
        height: 0;
        opacity: 0;
    }
    30% {
        width: 50px;
        height: 50px;
        opacity: 1;
    }
    60% {
        width: 300vmax;
        height: 300vmax;
        opacity: 1;
    }
    100% {
        width: 400vmax;
        height: 400vmax;
        opacity: 0;
    }
}

/* Breathing/pulsing ambient effect */
.upside-down-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9991;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(3, 2, 4, 0.3) 100%);
    animation: ambientBreath 8s ease-in-out infinite;
}

@keyframes ambientBreath {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.02); }
}

/* Flicker delays for elements */
body.upside-down .ix-feature-card:nth-child(1) { --flicker-delay: 0; }
body.upside-down .ix-feature-card:nth-child(2) { --flicker-delay: 1; }
body.upside-down .ix-feature-card:nth-child(3) { --flicker-delay: 2; }
body.upside-down .ix-feature-card:nth-child(4) { --flicker-delay: 3; }
body.upside-down .ix-feature-card:nth-child(5) { --flicker-delay: 4; }
body.upside-down .ix-feature-card:nth-child(6) { --flicker-delay: 5; }

body.upside-down .ix-provider-block:nth-child(1) { --flicker-delay: 0.5; }
body.upside-down .ix-provider-block:nth-child(2) { --flicker-delay: 1.5; }
body.upside-down .ix-provider-block:nth-child(3) { --flicker-delay: 2.5; }
body.upside-down .ix-provider-block:nth-child(4) { --flicker-delay: 3.5; }
body.upside-down .ix-provider-block:nth-child(5) { --flicker-delay: 4.5; }
body.upside-down .ix-provider-block:nth-child(6) { --flicker-delay: 5.5; }
body.upside-down .ix-provider-block:nth-child(7) { --flicker-delay: 6.5; }
body.upside-down .ix-provider-block:nth-child(8) { --flicker-delay: 7.5; }

/* Stranger Things style "011" watermark */
.upside-down-011 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(180deg);
    font-family: 'JetBrains Mono', monospace;
    font-size: 30vw;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1px rgba(58, 95, 229, 0.1);
    pointer-events: none;
    z-index: 9990;
    opacity: 0;
    animation: elevenFade 10s ease-in-out infinite;
    letter-spacing: -0.05em;
}

@keyframes elevenFade {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.3; }
}

/* Mind Flayer shadow presence */
.upside-down-shadow {
    position: fixed;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 200vw;
    height: 100vh;
    background: radial-gradient(ellipse at 50% 100%,
        transparent 30%,
        rgba(10, 5, 8, 0.4) 50%,
        rgba(10, 5, 8, 0.8) 70%,
        rgba(3, 2, 4, 0.95) 100%);
    pointer-events: none;
    z-index: 9989;
    animation: shadowLoom 15s ease-in-out infinite;
}

@keyframes shadowLoom {
    0%, 100% {
        transform: translateX(-50%) translateY(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(-50%) translateY(10%) scale(1.1);
        opacity: 0.8;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   WELCOME BANNER - New Site Announcement
   ═══════════════════════════════════════════════════════════════════════════ */

.ix-welcome-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: linear-gradient(135deg, rgba(20, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-bottom: 1px solid rgba(255, 51, 51, 0.3);
    backdrop-filter: blur(10px);
    transform: translateY(-100%);
    animation: bannerSlideDown 0.5s ease-out 0.5s forwards;
}

@keyframes bannerSlideDown {
    to { transform: translateY(0); }
}

.ix-welcome-banner.ix-banner-hidden {
    animation: bannerSlideUp 0.3s ease-in forwards;
}

@keyframes bannerSlideUp {
    to { transform: translateY(-100%); }
}

.ix-welcome-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ix-banner-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(255, 51, 51, 0.15);
    border: 1px solid rgba(255, 51, 51, 0.3);
    border-radius: 4px;
    flex-shrink: 0;
}

.ix-banner-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--ix-accent);
}

.ix-banner-text {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: var(--ix-text-secondary);
    line-height: 1.5;
    text-align: center;
}

.ix-banner-text strong {
    color: var(--ix-text);
    font-weight: 500;
}

.ix-banner-text .ix-banner-highlight {
    color: var(--ix-accent);
    font-weight: 600;
}

.ix-banner-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: transparent;
    border: 1px solid rgba(255, 51, 51, 0.5);
    border-radius: 4px;
    color: var(--ix-accent);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.ix-banner-cta:hover {
    background: rgba(255, 51, 51, 0.1);
    border-color: var(--ix-accent);
    color: var(--ix-text);
    text-decoration: none;
}

.ix-banner-cta svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
}

.ix-banner-close {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--ix-text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.ix-banner-close:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--ix-text-secondary);
}

.ix-banner-close svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
}

/* Adjust body padding when banner is visible */
body.ix-has-banner {
    padding-top: 52px;
}

body.ix-has-banner .ix-home-bg {
    top: 52px;
}

body.ix-has-banner .ix-header {
    top: 52px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .ix-welcome-banner-inner {
        padding: 10px 50px 10px 16px;
        gap: 10px;
    }

    .ix-banner-icon {
        display: none;
    }

    .ix-banner-text {
        font-size: 12px;
    }

    .ix-banner-cta {
        padding: 5px 10px;
        font-size: 10px;
    }

    .ix-banner-close {
        right: 10px;
        width: 24px;
        height: 24px;
    }

    body.ix-has-banner {
        padding-top: 60px;
    }

    body.ix-has-banner .ix-home-bg,
    body.ix-has-banner .ix-header {
        top: 60px;
    }
}
