@import 'variables.css';

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
    /* Offset for fixed header */
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

/* Typography Utilities */
.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-blue-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, #60a5fa 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Container */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 25px var(--primary-glow);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: white;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: white;
}

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

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
}

.dropdown-trigger i {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-trigger i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-10px);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

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

.dropdown-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    color: var(--text-main);
}

.dropdown-item:hover {
    background: rgba(37, 99, 235, 0.1);
}

.dropdown-item i {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
}

.dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.dropdown-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Discord Live Count */
.discord-live-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 0.5rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background-color: #ff0000;
    /* Pure vibrant red */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.8);
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.8);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 0, 0, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #1e3a8a 0%, var(--primary-color) 50%, #1e3a8a 100%);
    color: white;
    text-align: center;
    padding: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: var(--header-height);
    /* Offset fixed header if used immediately */
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Background Grids/Effects */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: radial-gradient(circle at 50% 10%, rgba(37, 99, 235, 0.15) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

/* Typewriter Effect */
.typewriter-container {
    display: inline-grid;
    grid-template-areas: "stack";
    vertical-align: bottom;
    justify-items: center;
    /* Center text within reserved width */
}

.typewriter-text {
    grid-area: stack;
    position: relative;
    z-index: 1;
    color: var(--text-color);
    width: max-content;
}

.typewriter-ghost {
    grid-area: stack;
    visibility: hidden;
    user-select: none;
    pointer-events: none;
    white-space: pre;
    /* Preserve spaces */
}

.typing-cursor::after {
    content: '|';
    display: inline-block;
    animation: blink 1s step-end infinite;
    margin-left: 2px;
    font-weight: 400;
    color: var(--text-color);
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .typing-cursor::after {
        display: none;
    }
}

.hero-title .glitch {
    position: relative;
}

/* Glitch Effect - simplified version */
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.input-group {
    display: flex;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.25rem;
    border-radius: 8px;
    width: 400px;
}

.prefix {
    padding: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    background: transparent;
    border-right: 1px solid var(--border-color);
    user-select: none;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding: 0 1rem;
    outline: none;
    font-size: 1rem;
}

.input-group button {
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

/* Ticker Section Refinement */
.ticker-wrap {
    position: relative;
    background: #020617;
    /* Slate-950 */
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    padding: 1.25rem 0;
    white-space: nowrap;
    overflow: hidden;
    /* Gradient Dividers */
    background-image:
        linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%),
        linear-gradient(90deg, transparent 0%, var(--border-color) 20%, var(--border-color) 80%, transparent 100%);
    background-size: 100% 1px, 100% 1px;
    background-repeat: no-repeat;
    background-position: top center, bottom center;
}

/* Background Shimmer/Noise */
.ticker-wrap::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1;
}

/* Radial Light Effect Container */
.ticker-light {
    position: absolute;
    top: 50%;
    left: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ticker-wrap:hover .ticker-light {
    opacity: 1;
}

.ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    z-index: 3;
}

.ticker-track {
    display: inline-block;
    white-space: nowrap;
    animation: tickerDrift 60s linear infinite;
    will-change: transform;
}

.ticker-wrap:hover .ticker-track {
    animation-play-state: paused;
}

.ticker-item {
    display: inline-block;
    padding: 0 2.5rem;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
    position: relative;
}

/* Micro-separators */
.ticker-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 3px;
    height: 3px;
    background: var(--border-color);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.ticker-item:hover {
    transform: scale(1.05);
    color: white;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}



.ticker-item .change-pos {
    color: var(--success-color);
    font-size: 1.1rem;
    font-weight: 700;
    margin-left: 0.4rem;
    transition: filter 0.3s ease;
}

.ticker-item:hover .change-pos {
    filter: brightness(1.2) contrast(1.1);
}

@keyframes tickerDrift {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .ticker-track {
        animation: none;
    }

    .ticker-light {
        display: none;
    }

    .ticker-item:hover {
        transform: none;
    }
}

/* Section Common */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: -1px;
}

/* Features Grid */
.features-section {
    padding: var(--spacing-xl) 0 3rem 0;
}

/* PolyOdds Core Orbital System */
.polyodds-core-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 600px;
    margin: 4rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.connection-line {
    stroke: var(--primary-color);
    stroke-width: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Central Core Node */
.core-node {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(37, 99, 235, 0.3), rgba(37, 99, 235, 0.1));
    border: 2px solid rgba(37, 99, 235, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.3);
}

.core-glow {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    animation: corePulse 7s ease-in-out infinite;
    pointer-events: none;
}

@keyframes corePulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

.core-content {
    text-align: center;
    z-index: 2;
}

.core-label {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.core-sublabel {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Orbit Container */
.orbit-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

/* Orbiting Nodes */
.orbit-node {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    transform-origin: 0 0;
    cursor: pointer;
    z-index: 5;
    transition: transform 0.3s ease, z-index 0s;
}

.orbit-node.active {
    z-index: 20;
}

.node-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.10);
    /* Reduced from 0.15 */
    border: 2px solid rgba(37, 99, 235, 0.20);
    /* Reduced from 0.3 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: rgba(37, 99, 235, 0.5);
    /* Reduced from 0.7 */
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
}

.orbit-node:hover .node-icon {
    background: rgba(37, 99, 235, 0.25);
    /* Keep strong on hover */
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
    transform: scale(1.15);
}

.node-label {
    text-align: center;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.orbit-node:hover .node-label {
    color: var(--primary-color);
}

.node-description {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    padding: 1rem;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-muted);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.orbit-node:hover .node-description {
    opacity: 1;
}

/* Atmospheric and Structural Enhancements */

/* Noise Texture Overlay */
.noise-texture {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.01) 2px, rgba(255, 255, 255, 0.01) 4px);
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

/* Radial Glow Field */
.radial-glow-field {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, rgba(37, 99, 235, 0.05) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    animation: glowPulse 8s ease-in-out infinite;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

/* Orbital Rings - Reduced opacity, varied thickness for asymmetry */
.orbital-ring {
    fill: none;
    stroke: rgba(37, 99, 235, 0.06);
    /* Reduced from 0.08 */
    stroke-width: 1;
    transition: stroke 0.5s ease, opacity 0.5s ease;
}

.orbital-ring:nth-child(1) {
    stroke-width: 0.8;
    /* Thinner */
}

.orbital-ring:nth-child(2) {
    stroke-width: 1.2;
    /* Thicker */
    rx: 220;
    /* Slightly elliptical */
    ry: 215;
}

.orbital-ring:nth-child(3) {
    stroke-width: 1;
    /* Standard */
}

.polyodds-core-container:hover .orbital-ring {
    stroke: rgba(37, 99, 235, 0.12);
    /* Reduced from 0.15 */
}

/* System tilt for asymmetry */
.orbit-svg {
    transform: rotate(1deg);
}

/* Secondary Particles - Slow drift with randomized timing */
.secondary-particle {
    fill: rgba(37, 99, 235, 0.4);
    animation: particleDriftSlow 25s ease-in-out infinite;
}

.secondary-particle:nth-child(4n+1) {
    animation-duration: 20s;
    animation-delay: 0s;
}

.secondary-particle:nth-child(4n+2) {
    animation-duration: 28s;
    animation-delay: 3s;
}

.secondary-particle:nth-child(4n+3) {
    animation-duration: 24s;
    animation-delay: 6s;
}

.secondary-particle:nth-child(4n) {
    animation-duration: 32s;
    animation-delay: 9s;
}

@keyframes particleDriftSlow {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.02;
    }

    25% {
        transform: translate(-8px, 12px);
        opacity: 0.05;
    }

    50% {
        transform: translate(5px, -10px);
        opacity: 0.03;
    }

    75% {
        transform: translate(10px, 8px);
        opacity: 0.04;
    }
}

.polyodds-core-container:hover .secondary-particle {
    animation-duration: 15s;
}

/* Transient Micro-Events */
@keyframes microFlash {

    0%,
    90%,
    100% {
        opacity: 0.02;
        r: 1;
    }

    50% {
        opacity: 0.15;
        r: 2;
    }
}

.secondary-particle:nth-child(5n) {
    animation: microFlash 4s ease-in-out infinite;
}

.secondary-particle:nth-child(7n) {
    animation: microFlash 3.5s ease-in-out infinite 1.5s;
}

/* Animated Grain Texture */
.noise-texture {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 255, 255, 0.008) 2px, rgba(255, 255, 255, 0.008) 4px),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255, 255, 255, 0.008) 2px, rgba(255, 255, 255, 0.008) 4px);
    opacity: 0.4;
    /* Increased from 0.3 */
    pointer-events: none;
    z-index: 1;
    animation: grainShift 8s steps(10) infinite;
}

@keyframes grainShift {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(-2px, 2px);
    }

    50% {
        transform: translate(2px, -2px);
    }

    75% {
        transform: translate(-1px, -1px);
    }
}

/* Ambient Particles */
.ambient-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.ambient-particles::before,
.ambient-particles::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(37, 99, 235, 0.3);
    border-radius: 50%;
    animation: particleDrift 20s infinite ease-in-out;
}

.ambient-particles::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.ambient-particles::after {
    top: 60%;
    left: 70%;
    animation-delay: 5s;
}

@keyframes particleDrift {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.2;
    }

    25% {
        transform: translate(20px, -30px);
        opacity: 0.4;
    }

    50% {
        transform: translate(-15px, 20px);
        opacity: 0.3;
    }

    75% {
        transform: translate(30px, 10px);
        opacity: 0.5;
    }
}

/* Enhanced Connection Lines */
.connection-line {
    stroke: var(--primary-color);
    stroke-width: 1.5;
    opacity: 0;
    transition: opacity 0.4s ease, stroke-width 0.3s ease;
    filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.4));
}

/* Parallax Effect on Hover */
.polyodds-core-container:hover .radial-glow-field {
    transform: translate(-50%, -50%) scale(1.02);
}

.polyodds-core-container:hover .noise-texture {
    transform: scale(1.01);
}

/* Active Processing System Elements */

/* Flow Paths - Dashed circles moving inward */
.flow-path {
    fill: none;
    stroke: rgba(37, 99, 235, 0.15);
    stroke-width: 1.5;
    stroke-dasharray: 8 12;
    opacity: 0.4;
    transition: opacity 0.5s ease;
}

.flow-path-1 {
    animation: flowInward1 8s linear infinite;
}

.flow-path-2 {
    animation: flowInward2 10s linear infinite;
}

.flow-path-3 {
    animation: flowInward3 12s linear infinite;
}

@keyframes flowInward1 {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.4;
    }

    100% {
        stroke-dashoffset: -80;
        opacity: 0.4;
    }
}

@keyframes flowInward2 {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.35;
    }

    100% {
        stroke-dashoffset: -80;
        opacity: 0.35;
    }
}

@keyframes flowInward3 {
    0% {
        stroke-dashoffset: 0;
        opacity: 0.3;
    }

    100% {
        stroke-dashoffset: -80;
        opacity: 0.3;
    }
}

.polyodds-core-container:hover .flow-path {
    opacity: 0.6;
}

/* Pulse Dots - Travel toward core */
.pulse-dot {
    fill: rgba(37, 99, 235, 0.8);
    opacity: 0;
    filter: drop-shadow(0 0 4px rgba(37, 99, 235, 0.6));
}

.pulse-signals {
    animation: pulseToCore 4s ease-in-out infinite;
}

.pulse-bots {
    animation: pulseToCore 5s ease-in-out infinite 1s;
}

.pulse-community {
    animation: pulseToCore 4.5s ease-in-out infinite 2s;
}

.pulse-resolution {
    animation: pulseToCore 5.5s ease-in-out infinite 0.5s;
}

@keyframes pulseToCore {
    0% {
        opacity: 0;
        r: 3;
    }

    10% {
        opacity: 0.8;
        r: 4;
    }

    80% {
        opacity: 0.6;
        r: 2;
    }

    100% {
        opacity: 0;
        r: 1;
    }
}

.polyodds-core-container:hover .pulse-dot {
    animation-duration: 3s;
}

/* Core Energy Ring - Internal rotating motion */
.core-energy-ring {
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            transparent 0%,
            rgba(37, 99, 235, 0.3) 25%,
            transparent 50%,
            rgba(37, 99, 235, 0.2) 75%,
            transparent 100%);
    animation: coreRotate 20s linear infinite;
    opacity: 0.4;
    pointer-events: none;
}

@keyframes coreRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.core-node.pulse-active .core-glow {
    animation: coreReceivePulse 0.8s ease-out;
}

@keyframes coreReceivePulse {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }

    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

/* Ghost Background Elements */
.ghost-element {
    fill: rgba(37, 99, 235, 0.3);
    animation: ghostFade 6s ease-in-out infinite;
}

.ghost-element:nth-child(1) {
    animation-delay: 0s;
}

.ghost-element:nth-child(2) {
    animation-delay: 1.5s;
}

.ghost-element:nth-child(3) {
    animation-delay: 3s;
}

.ghost-element:nth-child(4) {
    animation-delay: 4.5s;
}

@keyframes ghostFade {

    0%,
    100% {
        opacity: 0.05;
    }

    50% {
        opacity: 0.2;
    }
}

.ghost-arc {
    opacity: 0.05;
    animation: arcFade 8s ease-in-out infinite;
}

@keyframes arcFade {

    0%,
    100% {
        opacity: 0.02;
    }

    50% {
        opacity: 0.08;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .core-glow {
        animation: none;
    }

    .orbit-container.orbiting .orbit-node {
        animation: none !important;
    }

    .radial-glow-field {
        animation: none;
        opacity: 0.4;
    }

    .ambient-particles::before,
    .ambient-particles::after {
        animation: none;
        opacity: 0.1;
    }

    .polyodds-core-container:hover .radial-glow-field,
    .polyodds-core-container:hover .noise-texture {
        transform: none;
    }

    /* Disable active processing animations */
    .flow-path {
        animation: none;
        opacity: 0.2;
    }

    .pulse-dot {
        animation: none;
        opacity: 0;
    }

    .core-energy-ring {
        animation: none;
        opacity: 0.2;
    }

    .ghost-element,
    .ghost-arc {
        animation: none;
        opacity: 0.05;
    }
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 0;
    margin-top: 4rem;
    background: var(--bg-card);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 300px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0 1rem;
    }

    .nav-links {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    /* Orbital System Mobile */
    .polyodds-core-container {
        height: 450px;
        max-width: 100%;
        margin: 2rem auto 0;
    }

    .core-node {
        width: 100px;
        height: 100px;
    }

    .core-label {
        font-size: 1.1rem;
    }

    .core-sublabel {
        font-size: 0.75rem;
    }

    .orbit-node {
        width: 80px;
        height: 80px;
    }

    .node-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .node-label {
        font-size: 0.8rem;
    }

    .node-description {
        width: 180px;
        padding: 0.75rem;
        font-size: 0.8rem;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .input-group {
        width: 100%;
        max-width: 400px;
    }
}

/* Bots Section */
.bots-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0f1525 100%);
    /* Subtle blue tint at bottom */
}

.bots-content {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.bots-text {
    flex: 1;
}

.bot-list {
    margin-top: 2rem;
}

.bot-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.bot-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.bots-visual {
    flex: 1;
}

.mockup-card {
    background: #1e1e24;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.mockup-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.msg {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.msg-content {
    flex: 1;
}

.bot-name {
    color: var(--primary-color);
    font-weight: 600;
}

.time {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-left: 0.5rem;
}

.msg-embed {
    margin-top: 0.5rem;
    background: #2b2d31;
    border-left: 4px solid var(--primary-color);
    padding: 0.75rem;
    border-radius: 4px;
}

.embed-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.embed-field {
    color: #dbdee1;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.highlight {
    color: #fff;
    font-weight: 600;
}

.highlight.success {
    color: var(--success-color);
}

.blur {
    filter: blur(4px);
    user-select: none;
    opacity: 0.7;
}

/* Pricing Section */
.pricing-section {
    padding: var(--spacing-xl) 0;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Glow effect for pricing */
.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 60%);
    pointer-events: none;
}

.pricing-header h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.plus {
    color: var(--primary-color);
    font-style: italic;
}

.price {
    margin: 1.5rem 0;
    color: white;
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
}

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

.pricing-features {
    text-align: left;
    margin: 2rem 0;
}

.pricing-features ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    color: var(--success-color);
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.guarantee {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.accordion {
    max-width: 1000px;
    /* Widened from 100% to prevent line wrapping */
    margin: 0 auto;
}

.accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.accordion-header {
    padding: 1.5rem 2rem;
    padding-right: 3rem;
    /* Prevent text overlap with arrow */
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.accordion-header:hover {
    color: var(--primary-color);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 0 2rem;
    /* Added horizontal padding */
}

.accordion-item.active .accordion-body {
    max-height: 1000px;
    /* Increased from 200px to prevent content cutoff */
    padding-bottom: 1.5rem;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

/* Mobile FAQ adjustments */
@media (max-width: 768px) {
    .accordion {
        max-width: 100%;
    }

    .accordion-header {
        padding: 1.5rem 1rem;
        font-size: 1rem;
    }

    .accordion-body {
        padding: 0 1rem;
    }
}

/* Responsive updates for new sections */
@media (max-width: 768px) {
    .bots-content {
        flex-direction: column;
        gap: 2rem;
    }

    .mockup-card {
        width: 100%;
    }

    .pricing-card {
        padding: 2rem;
    }
}

/* Referral Banner Pill */
.announcement-wrapper {
    display: flex;
    justify-content: center;
    padding: 0;
    margin-bottom: 2rem;
    position: relative;
    z-index: 10;
}

.referral-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(30, 58, 138, 0.3);
    /* Dark transparent blue */
    border: 1px solid rgba(59, 130, 246, 0.4);
    /* Subtle blue border */
    padding: 0.35rem 0.5rem;
    border-radius: 9999px;
    /* Pill shape */
    transition: all 0.3s ease;
    text-decoration: none;
    color: #93c5fd;
    /* Light blue text */
    font-size: 0.9rem;
    font-weight: 500;
}

.referral-pill:hover {
    background: rgba(30, 58, 138, 0.5);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-1px);
}

.badge-new {
    background-color: #3b82f6;
    /* Bright Blue */
    color: white;
    /* Contrast text */
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.referral-pill i {
    font-size: 0.8rem;
    color: #93c5fd;
    transition: transform 0.3s ease;
}

.referral-pill:hover i {
    transform: translateX(3px);
}

/* Adjust announcement bar override if necessary */
.announcement-bar {
    display: none;
    /* Hide old bar if still present via other styles */
}

/* Hero CTA Button Update */
.btn-xl {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    gap: 0.75rem;
    border-radius: 12px;
}

.btn-xl i {
    font-size: 1.5rem;
}

/* Discord Mockup Styles */
.discord-mockups-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transform: scale(0.9);
    transform-origin: top left;
}

.discord-message {
    font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #dbdee1;
    margin-bottom: 0.5rem;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
}

.d-avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.d-username {
    color: #fff;
    font-weight: 500;
    font-size: 1rem;
}

.d-bot-tag {
    background: #5865f2;
    color: white;
    font-size: 0.625rem;
    padding: 0.05rem 0.275rem;
    border-radius: 3px;
    font-weight: 500;
    line-height: 1.3;
}

.d-time {
    color: #949ba4;
    font-size: 0.75rem;
    margin-left: 0.25rem;
}

.discord-embed-container {
    margin-left: 0;
    /* Aligned to left edge */
    max-width: 520px;
}

.discord-embed {
    background: #2b2d31;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    padding: 1rem;
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.embed-content {
    flex: 1;
}

.embed-author {
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.embed-title {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.text-blue {
    color: #00a8fc;
}

.text-underline {
    text-decoration: underline;
    font-weight: 700;
    color: #fff;
}

.circle-green {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #4ade80;
    border-radius: 50%;
    margin: 0 0.25rem;
}

.circle-orange {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #f97316;
    border-radius: 50%;
    margin: 0 0.25rem;
}

.embed-field-group {
    margin-bottom: 0.75rem;
}

.embed-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.field-label {
    font-weight: 700;
    color: #fff;
    font-size: 0.875rem;
    margin-bottom: 0.15rem;
}

.field-value {
    color: #dbdee1;
    font-size: 0.875rem;
}

.embed-footer {
    font-size: 0.75rem;
    color: #949ba4;
    font-weight: 500;
    margin-top: 0.5rem;
}

.embed-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.thumb-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background-color: #1e1f22;
    background-size: cover;
    background-position: center;
}

/* Actions Buttons */
.embed-actions {
    display: flex;
    gap: 0.5rem;
}

.embed-btn {
    background: #383a40;
    color: #dbdee1;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.embed-btn:hover {
    background: #404249;
    color: #fff;
}

.badge-new-small {
    background: #00a8fc;
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 0.25rem;
}

/* Bots Grid Refactor */
.bots-grid-layout {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.bot-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.bot-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.bot-info p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 400px;
}

.bot-icon-wrapper {
    margin-bottom: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
}

@media (max-width: 900px) {
    .bot-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bot-visual-card {
        order: 2;
        /* Visual below text on mobile */
    }
}

/* --- Referral Section (New) --- */
.referral-section {
    background-color: #000000;
    color: #ffffff;
    padding: 6rem 0;
    margin-top: 4rem;
    border-top: 1px solid #1a1a1a;
}

.referral-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.referral-eyebrow {
    color: var(--primary-color);
    /* Blue */
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.referral-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    color: #fff;
}

.referral-desc {
    font-size: 1.1rem;
    color: #9CA3AF;
    /* Muted gray */
    margin-bottom: 3rem;
    max-width: 500px;
    line-height: 1.7;
}

.referral-desc strong {
    color: white;
    font-weight: 600;
}

.referral-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.referral-feature h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.referral-feature p {
    color: #9CA3AF;
    font-size: 0.95rem;
    line-height: 1.5;
}

.referral-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.btn-referral {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #262626;
    color: white;
    border-radius: 9999px;
    /* Pill shape */
    font-weight: 600;
    border: 1px solid #404040;
    transition: all 0.3s ease;
}

.btn-referral:hover {
    background: #333;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-referral i {
    color: var(--primary-color);
}

.referral-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.referral-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 0 40px rgba(37, 99, 235, 0.1);
    position: relative;
    overflow: hidden;
}

.calculator-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #60a5fa);
}

.calc-header h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.calc-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.calc-input-group {
    margin-bottom: 2rem;
}

.input-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    font-weight: 600;
    color: white;
}

.count-badge {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 1.1rem;
}

.poly-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: var(--border-color);
    border-radius: 3px;
    outline: none;
}

.poly-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border: 4px solid #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    transition: transform 0.2s;
}

.poly-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.calc-divider {
    height: 1px;
    background: var(--border-color);
    margin: 2rem 0;
}

.calc-result {
    text-align: center;
}

.result-label {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.result-amount {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.result-amount .currency {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: -10px;
}

.result-amount .amount {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.result-sub {
    font-size: 0.85rem;
    color: var(--text-dim);
}



/* --- Pricing Update --- */
.premium-text {
    background: linear-gradient(135deg, #FFD700 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

/* --- Responsive Mobile Updates for New Sections --- */
@media (max-width: 900px) {
    .referral-container {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 3rem;
    }

    .referral-visual {
        order: -1;
        margin-bottom: 2rem;
    }

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

    .referral-title {
        font-size: 2.5rem;
    }
}

/* --- New Pricing Grid Styles --- */
.pricing-features-summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto 4rem;
}

.features-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.features-pill i {
    color: var(--success-color);
}

.pricing-grid {
    display: flex;
    /* Changed from grid to flex for better centering width control */
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.pricing-option-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease;
    width: 200px;
    /* Fixed width */
    height: 380px;
    /* Fixed height for uniformity */
    margin-top: 10px;
    /* Space for pop-up */
}

.pricing-option-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.pricing-option-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.4);
    /* Stronger shadow */
    background: radial-gradient(circle at top, rgba(37, 99, 235, 0.15) 0%, var(--bg-card) 70%);
    /* Gradient background */
    z-index: 2;
    animation: pricingPulse 3s ease-in-out infinite;
}

@keyframes pricingPulse {

    0%,
    100% {
        box-shadow: 0 0 30px rgba(37, 99, 235, 0.4), 0 0 60px rgba(37, 99, 235, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 0 40px rgba(37, 99, 235, 0.6), 0 0 80px rgba(37, 99, 235, 0.3);
        transform: scale(1.02);
    }
}

/* Badge Updates */
.badge-popular {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    z-index: 5;
}

/* New Text Badge (under price) */
/* New Text Badge (under price) */
.badge-savings-text {
    display: inline-block;
    background: rgba(34, 197, 94, 0.15);
    color: var(--success-color);
    font-size: 1.1rem;
    /* Larger text */
    font-weight: 800;
    /* Bolder */
    padding: 0.2rem 0.75rem;
    border-radius: 6px;
    margin-top: 0.5rem;
}

.option-header h4 {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-weight: 600;
}

.price-display {
    margin-bottom: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.price-display .currency {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: -8px;
}

.price-display .amount {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.price-display .period {
    color: var(--text-muted);
    font-size: 0.9rem;
    align-self: flex-end;
    margin-bottom: 6px;
    margin-left: 2px;
}

.period-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    /* Consistent spacing */
}

.pricing-option-card .btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.95rem;
    margin-top: auto;
    /* Push to bottom */
}

/* Responsive */
@media (max-width: 1024px) {
    .pricing-grid {
        gap: 1rem;
    }

    .pricing-option-card {
        width: 180px;
        /* Slightly smaller on tablets */
    }
}

@media (max-width: 900px) {
    .pricing-grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .pricing-option-card {
        width: 100%;
        max-width: 350px;
        height: auto;
        /* Auto height on mobile */
        min-height: 250px;
    }

    .pricing-option-card.featured {
        transform: none;
        margin-top: 0;
    }

    .pricing-option-card.featured .badge-savings {
        top: 12px;
        /* Reset position on mobile */
    }
}

/* --- Expert Analyst Signals Section --- */
.signals-section {
    padding: 3rem 0 2rem 0;
    background: linear-gradient(180deg, var(--bg-main) 0%, rgba(2, 6, 23, 0.5) 20%, rgba(2, 6, 23, 0.5) 80%, var(--bg-main) 100%);
    /* Smoother, more subtle gradient blend */
}

.signals-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.signal-message {
    background: var(--bg-main);
    /* Match website background */
    padding: 1rem;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.signal-message:hover {
    transform: translateX(5px);
}

/* Signal Annotation System - Left and Right Arrows */
.signal-annotation-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.signal-message {
    position: relative;
    padding: 1.5rem;
    border-radius: 12px;
    background: var(--bg-main);
    z-index: 10;
}



.annotation {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 10;
}

/* Left Side Annotations */
.annotation-left {
    left: -280px;
    flex-direction: row;
}

.annotation-left .annotation-label {
    order: 1;
}

.annotation-left .annotation-arrow-right {
    order: 2;
}

/* Right Side Annotations */
.annotation-right {
    right: -290px;
    flex-direction: row;
}

.annotation-right .annotation-arrow-left {
    order: 1;
}

.annotation-right .annotation-label {
    order: 2;
}

.annotation-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0.15) 100%);
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    border: 2px solid rgba(37, 99, 235, 0.5);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Right-pointing arrow (for left side annotations) */
.annotation-arrow-right {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.8) 0%, rgba(37, 99, 235, 1) 100%);
    position: relative;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

.annotation-arrow-right::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Left-pointing arrow (for right side annotations) */
.annotation-arrow-left {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 1) 0%, rgba(37, 99, 235, 0.8) 100%);
    position: relative;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.5);
}

.annotation-arrow-left::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-right: 8px solid var(--primary-color);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

/* Position annotation - points to Position field */
.annotation-position {
    top: 140px;
}

/* Conviction annotation - points to Conviction field */
.annotation-conviction {
    top: 175px;
}

/* Reasoning annotation - points to Reasoning field */
.annotation-reasoning {
    top: 240px;
}

/* Hide annotations on smaller screens */
/* Old Annotation Styles - Hidden (replaced with SVG signal lines) */
/* .annotation {
    display: none;
} */

/* @media (max-width: 1200px) {
    .annotation {
        display: none;
    }
} */

.purple-border {
    border-left: 3px solid #9457eb !important;
}

.embed-title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}

.crystal-ball {
    font-size: 1rem;
}

.embed-header-text {
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.embed-link-title {
    color: #00a8fc;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.embed-link-title:hover {
    text-decoration: underline;
}

.embed-field {
    color: #fff;
    margin-bottom: 0.35rem;
    font-size: 0.85rem;
}

.embed-field .emoji {
    margin-right: 0.3rem;
}

.embed-reasoning {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #dbdee1;
    font-size: 0.85rem;
    line-height: 1.5;
}

.embed-reasoning strong {
    color: #fff;
}

.embed-disclaimer {
    margin-top: 1rem;
    color: #949ba4;
    font-size: 0.8rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .signal-message {
        padding: 1rem;
    }

    .discord-embed-container {
        margin-left: 0;
        margin-top: 1rem;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #0f1525 0%, var(--bg-dark) 100%);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary-color);
}

/* Feature Review (Large Card) */
.feature-review {

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, var(--bg-card) 100%);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.review-text {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.4;
    max-width: 800px;
    margin-bottom: 2rem;
    font-style: italic;
    color: #e2e8f0;
}

.review-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.review-rating {
    color: #F59E0B;
    font-size: 1.1rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.reviewer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-muted);
    border: 2px solid var(--primary-color);
}

.reviewer-info h4 {
    font-size: 1.1rem;
    color: #F59E0B;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.reviewer-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Discord Style Reviews */
.discord-style {
    background: #313338;
    /* Discord dark theme bg */
    border: none;
    font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #dbdee1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.discord-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.discord-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.discord-user {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.discord-user .username {
    font-weight: 600;
    color: white;
    font-size: 1rem;
}

.discord-user .timestamp {
    font-size: 0.75rem;
    color: #949BA4;
}

.bot-tag {
    background: #5865F2;
    color: white;
    font-size: 0.65rem;
    padding: 0.1rem 0.3rem;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: 700;
    line-height: 1.3;
}

.discord-body p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.discord-highlight {
    color: #fff;
    font-weight: 500;
    background: rgba(88, 101, 242, 0.1);
    /* Subtle highlight */
    border-radius: 4px;
    padding: 2px 4px;
}

.discord-channel {
    color: #4e5d94;
    /* Channel link color roughly */
    background: rgba(78, 93, 148, 0.1);
    padding: 0 2px;
    border-radius: 3px;
    cursor: pointer;
}

.discord-channel:hover {
    background: rgba(78, 93, 148, 0.2);
    color: #5865F2;
}

.discord-reply-context {
    font-size: 0.8rem;
    color: #949BA4;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    margin-left: 18px;
    /* Indent slightly under avatar area of prev msg conceptually */
    opacity: 0.8;
}

.discord-reply-context i {
    transform: rotate(180deg);
    font-size: 0.7rem;
}

.discord-reactions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.reaction {
    background: #2b2d31;
    border: 1px solid #1e1f22;
    border-radius: 8px;
    padding: 0.15rem 0.4rem;
    font-size: 0.85rem;
    color: #b5bac1;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
}

.reaction:hover {
    background: #35373c;
    border-color: #5865F2;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .feature-review {
        padding: 2rem 1rem;
    }

    .review-text {
        font-size: 1.1rem;
    }
}

/* FAQ 2-Column Grid */
.accordion {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .accordion {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ============================================
   LEGAL PAGE STYLES
   ============================================ */

.legal-section {
    background-color: #0f0f0f;
    /* Deep dark background */
    min-height: 100vh;
    padding-top: 120px;
    /* Space for fixed navbar */
    padding-bottom: 80px;
    color: #ffffff;
}

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

.legal-header-block {
    text-align: center;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 2rem;
}

.legal-header-block h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.legal-effective-date {
    font-size: 0.95rem;
    color: #a1a1aa;
    font-family: 'Inter', sans-serif;
}

.legal-content {
    font-family: 'Inter', sans-serif;
    /* Clean, readable font */
    line-height: 1.7;
    font-size: 1rem;
    color: #e4e4e7;
}

.legal-block {
    margin-bottom: 3rem;
}

.legal-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
    display: inline-block;
}

.legal-block p {
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* Utility Classes for Legal Accents */
.text-accent-blue {
    color: var(--primary-color);
}

.font-bold {
    font-weight: 700;
}

.underline {
    text-decoration: underline;
    text-decoration-color: rgba(37, 99, 235, 0.5);
    /* Blue underline matching primary */
    text-underline-offset: 3px;
}

/* ============================================
   MEMBER PROFITS SECTION
   ============================================ */

.member-profits-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0a0b0d 100%);
    position: relative;
    overflow: hidden;
}

/* Money Rain Animation */
.money-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.money-bill {
    position: absolute;
    top: -50px;
    font-size: 2rem;
    opacity: 0.6;
    animation: moneyFall 15s linear infinite;
}

@keyframes moneyFall {
    0% {
        top: -50px;
        transform: translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        top: 100%;
        transform: translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

/* Ensure content stays above money rain */
.member-profits-section .container {
    position: relative;
    z-index: 1;
}

/* Disable money rain on reduced motion */
@media (prefers-reduced-motion: reduce) {
    .money-bill {
        animation: none;
        display: none;
    }
}

.member-profits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1400px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.profits-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.profits-subtitle {
    font-size: 1.25rem;
    margin-top: 1rem;
    color: var(--text-muted);
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.35rem;
}

/* Profits Grid - Masonry Style */
.profits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Profit Card */
.profit-card {
    background: linear-gradient(135deg, #1a1b1e 0%, #0f1012 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.profit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(96, 165, 250, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.profit-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.3),
        0 0 60px rgba(37, 99, 235, 0.15);
}

.profit-card:hover::before {
    opacity: 1;
}

/* Featured Card (Portfolio) */
.profit-card-featured {
    background: linear-gradient(135deg, #1e2a3a 0%, #0f1419 100%);
    border: 2px solid var(--primary-color);
}

.profit-card-featured::after {
    content: '⭐';
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    opacity: 0.6;
}

/* Profit Category */
.profit-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profit-category i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Profit Market Name */
.profit-market {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.25rem;
    line-height: 1.4;
    min-height: 2.8rem;
}

/* Profit Amount */
.profit-amount {
    font-size: 2rem;
    font-weight: 800;
    color: #22c55e;
    margin-bottom: 0.75rem;
    text-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    letter-spacing: -0.5px;
}

/* ROI Badges */
.profit-roi {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
}

.roi-good {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.roi-high {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(16, 185, 129, 0.2) 100%);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.roi-exceptional {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.2);
}

/* Profit Meta (for portfolio card) */
.profit-meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Profits Footer */
.profits-footer {
    margin-top: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.profits-disclaimer {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 12px;
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 900px;
    margin: 0 auto;
}

.profits-disclaimer i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .profits-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    .member-profits-section {
        padding: 4rem 0;
    }

    .profits-header {
        margin-bottom: 3rem;
    }

    .profits-subtitle {
        font-size: 1.1rem;
    }

    .highlight-text {
        font-size: 1.2rem;
    }

    .profits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .profit-card {
        padding: 1.5rem;
    }

    .profit-amount {
        font-size: 1.75rem;
    }

    .profit-market {
        font-size: 1rem;
        min-height: auto;
    }

    .profits-disclaimer {
        flex-direction: column;
        text-align: center;
        padding: 1rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .profit-amount {
        font-size: 1.5rem;
    }

    .profit-card {
        padding: 1.25rem;
    }
}