/* ---------------------------------------------------------
   GLOBAL & UTILITIES
--------------------------------------------------------- */
body {
    background-color: #050505;
    color: #f4f4f5;
    overflow-x: hidden;
}

/* --- KINETIC LINK BRAND STYLES --- */
.k-bracket { position: absolute; width: 8px; height: 100%; border: 2px solid; border-radius: 4px; transition: border-color 0.3s; }
.k-left { left: 0; border-right: none; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.k-right { right: 0; border-left: none; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.k-orb-dark { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 15px #6366f1; animation: slot-bounce 1.5s infinite; z-index: 10; display: flex; align-items: center; justify-content: center; background: white; }

.glass-nav {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* SPA Section Transition */
.page-section {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.page-section.active {
    display: block;
    opacity: 1;
    animation: slideUp 0.5s ease-out;
}

.card-gradient {
    background: linear-gradient(180deg, rgba(20, 20, 22, 1) 0%, rgba(10, 10, 12, 1) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}
.card-gradient:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(30, 30, 35, 1) 0%, rgba(15, 15, 18, 1) 100%);
}

/* Shining Pill */
.shining-pill {
    position: relative;
    border-radius: 9999px;
    padding: 1.5px;
    overflow: hidden;
    display: inline-block;
}
.shining-pill::before {
    content: '';
    position: absolute;
    top: -150%;
    left: -150%;
    width: 400%;
    height: 400%;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 90deg, #ffffff 180deg, transparent 270deg, transparent 360deg);
    animation: rotate 3s linear infinite;
}
.shining-pill-content {
    position: relative;
    background: #09090b;
    border-radius: 9999px;
    padding: 6px 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Feature Tabs */
.feature-list-item {
    padding: 1.5rem;
    cursor: pointer;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    color: #a1a1aa;
}
.feature-list-item:hover {
    border-left-color: #6366f1;
    color: #e4e4e7;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.02) 0%, transparent 100%);
}
.feature-list-item.active-tab {
    border-left-color: #6366f1;
    color: white;
    background: linear-gradient(90deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}
.feature-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}
.feature-content.active {
    display: block;
}

/* FAQ Accordion */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.faq-button {
    width: 100%;
    text-align: left;
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-button:hover {
    color: #6366f1;
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    color: #a1a1aa;
}
.faq-content.open {
    max-height: 300px;
    padding-bottom: 24px;
}
.faq-icon {
    transition: transform 0.3s ease;
}
.faq-button.active .faq-icon {
    transform: rotate(180deg);
}

/* Data Table for GEO (Machine Readability) */
.geo-table-container {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
}
.geo-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}
.geo-table th {
    background: rgba(255,255,255,0.05);
    padding: 16px;
    color: white;
    font-weight: 600;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.geo-table td {
    padding: 16px;
    color: #a1a1aa;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.geo-table tr:last-child td { border-bottom: none; }
.geo-table tr:hover td { background: rgba(255,255,255,0.02); }

/* ANIMATIONS & MOCKUPS */
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes graphGrow { 0% { transform: scaleY(0.5); opacity: 0.5; } 100% { transform: scaleY(1.1); opacity: 1; } }
@keyframes radarSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes blipFade { 0%, 40% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes funnelFlow { 0% { transform: translateY(-10px); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateY(10px); opacity: 0; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes marquee-reverse { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* Graph Animation */
.graph-bar { width: 8px; background: linear-gradient(to top, #10b981, #34d399); border-radius: 4px; animation: graphGrow 2s ease-in-out infinite alternate; }
.graph-bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.graph-bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.graph-bar:nth-child(3) { height: 60%; animation-delay: 0.4s; }
.graph-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.graph-bar:nth-child(5) { height: 50%; animation-delay: 0.3s; }

/* Radar Animation */
.radar-container { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.radar-sweep { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: conic-gradient(from 0deg, transparent 0deg, transparent 270deg, rgba(244, 63, 94, 0.6) 360deg); border-radius: 50%; animation: radarSpin 2s linear infinite; }
.radar-blip { position: absolute; width: 4px; height: 4px; background: #fb7185; border-radius: 50%; top: 20%; left: 60%; box-shadow: 0 0 6px #fb7185; animation: blipFade 2s linear infinite; }

/* Orbit Animation */
.sync-container { width: 60px; height: 60px; position: relative; }
.sync-ring { position: absolute; inset: 0; border: 2px dashed rgba(56, 189, 248, 0.3); border-radius: 50%; animation: spin 8s linear infinite; }
.sync-dot { position: absolute; top: 0; left: 50%; width: 8px; height: 8px; background: #38bdf8; border-radius: 50%; transform: translate(-50%, -50%); box-shadow: 0 0 10px #38bdf8; }
.sync-inner { position: absolute; inset: 15px; border: 2px solid rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }

/* Funnel Animation */
.funnel-drop { animation: funnelFlow 2s infinite linear; }

/* Backgrounds */
.hero-bg-grid {
    background-size: 50px 50px;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, black 0%, transparent 80%);
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0; 
}

/* Dropdown Menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(15, 15, 18, 0.95);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    width: max-content;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 100;
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
}

.nav-item-container:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* Marquee Scroller */
.marquee-container {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.marquee-track {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee 60s linear infinite;
}
.marquee-track-reverse {
    display: flex;
    gap: 24px;
    width: max-content;
    animation: marquee-reverse 60s linear infinite;
}
.marquee-container:hover .marquee-track,
.marquee-container:hover .marquee-track-reverse {
    animation-play-state: paused;
}

/* News Card & Logo Styles */
.news-card {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #18181b; /* zinc-900 */
    border: 1px solid #27272a; /* zinc-800 */
    color: #e4e4e7; /* zinc-200 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
}
.news-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
    border-color: #3f3f46; /* zinc-700 */
    background-color: #27272a; /* zinc-800 */
}
