:root {
    --primary-color: #4F46E5; /* Indigo */
    --primary-hover: #4338CA;
    --bg-color: #0F172A; /* Slate 900 */
    --text-color: #F8FAFC;
    --text-muted: #94A3B8;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Dynamic background mesh gradient */
.background-mesh {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(79, 70, 229, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
    z-index: -1;
    animation: pulse 15s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 1.2rem;
    color: white;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero .accent {
    background: linear-gradient(to right, #818CF8, #34D399);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

#dropzone {
    text-align: center;
    cursor: pointer;
    border: 2px dashed rgba(255,255,255,0.2);
}

#dropzone:hover, #dropzone.dragover {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.1);
    transform: translateY(-5px);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

#dropzone h3 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#dropzone p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.hidden {
    display: none !important;
}

.results-section {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.clarity-content {
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.blurred-wrapper {
    position: relative;
    overflow: hidden;
}

.premium-content {
    filter: blur(8px);
    opacity: 0.5;
    user-select: none;
}

.paywall-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: rgba(15, 23, 42, 0.6);
    z-index: 10;
}

.paywall-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.paywall-overlay p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
}

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

/* HiveOps Canonical Footer */
.hive-footer {
    margin-top: 5rem;
    padding: 3rem 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(15, 23, 42, 0.9);
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.signature {
    color: #D4AF37; /* Hive Gold */
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.disclaimer {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.cross-links {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.cross-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.cross-links a:hover {
    color: #D4AF37;
}

.adoption-amplifier {
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--text-color);
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
}

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

/* Trust Ticker */
.trust-ticker {
    background: rgba(212, 175, 55, 0.9); /* Subtly transparent Hive Gold */
    color: #000;
    padding: 0.3rem 0;
    overflow: hidden;
    white-space: nowrap;
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
    z-index: 100;
}

.ticker-content {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 40s linear infinite; /* Very slow and subtle */
}

.ticker-content span {
    margin: 0 2rem;
}

@keyframes ticker {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100%, 0); }
}

/* Language Selector */
.lang-select {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-family: inherit;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}
.lang-select option {
    background: var(--bg-color);
}

/* Pricing Tiers */
.pricing-tiers {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 700px;
}

.tier-card {
    flex: 1;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem 1.5rem;
    position: relative;
    text-align: left;
    transition: transform 0.3s;
}

.tier-card:hover {
    transform: translateY(-5px);
}

.tier-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.tier-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.tier-card ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.tier-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #34D399;
}

.w-full {
    width: 100%;
}

.premium-tier {
    border-color: var(--primary-color);
    background: rgba(79, 70, 229, 0.15);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}
