/* Custom CSS for Tabulium */
:root {
    --bg-color: #010101;
    --text-color: #ffffff;
    --accent-color: #7F3DF6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Background Glowing Elements */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(127, 61, 246, 0.12) 0%, rgba(1, 1, 1, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    filter: blur(80px);
    animation: float-around 10s infinite alternate ease-in-out;
}

.glow-1 {
    top: -150px;
    left: -150px;
}

.glow-2 {
    bottom: -150px;
    right: -150px;
    animation-delay: -5s;
}

@keyframes float-around {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(60px, 40px) scale(1.1);
    }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 6%;
    background: rgba(1, 1, 1, 0.6);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* strict use of white & opacity */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--text-color);
}

.logo .dot {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a.btn-login-outline {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 400;
    padding: 0.6rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-links a.btn-login-outline:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(127, 61, 246, 0.3);
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 160px 6% 80px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.badge {
    padding: 8px 18px;
    background: rgba(127, 61, 246, 0.1);
    border: 1px solid rgba(127, 61, 246, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
    box-shadow: 0 0 15px rgba(127, 61, 246, 0.2);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    max-width: 900px;
}

/* Neon Text Animation */
.neon-text {
    position: relative;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    display: inline-block;
    white-space: nowrap;
}

.neon-text::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    color: var(--accent-color);
    -webkit-text-stroke: 0px transparent;
    border-right: 2px solid var(--accent-color);
    overflow: hidden;
    animation: typing 3s infinite alternate steps(11);
    filter: drop-shadow(0 0 12px var(--accent-color));
}

@keyframes typing {
    0% {
        width: 0;
    }

    50% {
        width: 100%;
    }

    100% {
        width: 100%;
    }
}

.description {
    font-size: 1.2rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin-bottom: 3.5rem;
    line-height: 1.7;
}

/* Call to Action Container */
.cta-box {
    background: rgba(1, 1, 1, 0.3);
    /* Strictly #010101 + rgba */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Strictly #ffffff + rgba */
    padding: 3rem 2.5rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    max-width: 550px;
    width: 100%;
    text-align: center;
    position: relative;
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(127, 61, 246, 0.0);
    transition: box-shadow 0.4s ease;
    z-index: -1;
}

.cta-box:hover {
    transform: translateY(-5px);
    border-color: rgba(127, 61, 246, 0.4);
}

.cta-box:hover::after {
    box-shadow: 0 0 40px rgba(127, 61, 246, 0.15);
}

.cta-box h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.cta-box p {
    font-size: 1rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Main Neon Button */
.btn-neon {
    display: inline-block;
    padding: 1rem 3.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(127, 61, 246, 0.2), inset 0 0 10px rgba(127, 61, 246, 0.2);
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--accent-color);
    z-index: -1;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-neon:hover {
    color: var(--text-color);
    box-shadow: 0 0 25px rgba(127, 61, 246, 0.6), 0 0 50px rgba(127, 61, 246, 0.4);
}

.btn-neon:hover::before {
    width: 100%;
}

/* Footer Section */
.footer {
    padding: 2.5rem 6%;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-color);
    margin-top: 4rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
    font-weight: 300;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--text-color);
}

/* Responsiveness */
@media (max-width: 992px) {
    .feature-container {
        flex-direction: column;
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 3rem;
    }

    .footer {
        flex-direction: column-reverse;
        gap: 1.5rem;
        text-align: center;
    }

    .navbar {
        padding: 1.5rem 5%;
    }

    .compare-table th,
    .compare-table td {
        padding: 1rem 0.5rem;
    }
}

/* Background Particles */
.bg-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
    z-index: -3;
    animation: move-particles 60s linear infinite;
    pointer-events: none;
}

@keyframes move-particles {
    100% {
        background-position: 600px 600px, 630px 630px;
    }
}

/* Updated Typography */
.brand-logo {
    height: 35px;
}

/* Feature Section */
.feature-section {
    padding: 80px 6%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.feature-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    background: rgba(1, 1, 1, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4rem;
    backdrop-filter: blur(15px);
}

.feature-text {
    flex: 1;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.feature-text p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dot-icon {
    width: 8px;
    height: 8px;
    background-color: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-color);
}

.feature-img-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-mockup {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    z-index: 2;
    transition: transform 0.3s ease;
}

.image-mockup:hover {
    transform: scale(1.02);
}

.feature-img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    display: block;
}

.glow-feature {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(127, 61, 246, 0.15) 0%, rgba(1, 1, 1, 0) 60%);
    z-index: 1;
    filter: blur(40px);
}

/* Comparison Table Section */
.comparison-section {
    padding: 80px 6%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.comparison-header {
    text-align: center;
    margin-bottom: 3rem;
}

.comparison-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.table-container {
    overflow-x: auto;
    background: rgba(1, 1, 1, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}

.compare-table th,
.compare-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

.compare-table th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
}

.feature-col {
    text-align: left !important;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    width: 35%;
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tool-logo {
    height: 40px;
    opacity: 0.8;
}

.main-logo {
    opacity: 1;
    height: 25px;
}

.tabulium-highlight {
    background: rgba(127, 61, 246, 0.1);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(127, 61, 246, 0.3);
    box-shadow: 0 0 20px rgba(127, 61, 246, 0.15);
}

.highlight-col-th {
    width: 25%;
    background: rgba(127, 61, 246, 0.05);
    border-left: 1px solid rgba(127, 61, 246, 0.2);
    border-right: 1px solid rgba(127, 61, 246, 0.2);
    border-top: 1px solid rgba(127, 61, 246, 0.2) !important;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.highlight-col {
    background: rgba(127, 61, 246, 0.05);
    border-left: 1px solid rgba(127, 61, 246, 0.2);
    border-right: 1px solid rgba(127, 61, 246, 0.2);
}

.compare-table tbody tr:last-child .highlight-col {
    border-bottom: 1px solid rgba(127, 61, 246, 0.2);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Status Icons */
.status {
    display: flex;
    justify-content: center;
    align-items: center;
}

.status.check::after {
    content: "✓";
    color: var(--accent-color);
    text-shadow: 0 0 15px rgba(127, 61, 246, 0.8);
    font-size: 1.8rem;
    font-weight: 800;
}

.status.cross::after {
    content: "✕";
    color: rgba(255, 255, 255, 0.2);
    font-size: 1.5rem;
    font-weight: 300;
}

.status.check-half::after {
    content: "—";
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    font-weight: 600;
}

/* Page Standard Formatting (for TOS) */
.page-container {
    padding: 160px 6% 80px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--text-color);
}

.content-box {
    background: rgba(1, 1, 1, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(15px);
}

.content-box h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.content-box p,
.content-box ul {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.content-box ul {
    padding-left: 1.5rem;
}

/* Countdown Section */
.countdown-section {
    padding: 60px 6%;
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.countdown-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(1, 1, 1, 0.4);
    border: 1px solid rgba(127, 61, 246, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    min-width: 100px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(127, 61, 246, 0.1);
}

.time-box span:first-child {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-color);
    text-shadow: 0 0 10px rgba(127, 61, 246, 0.6);
}

.time-box .label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Live Counter */
.live-counter {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
}

@keyframes blink {
    0% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}

.dot-live {
    width: 10px;
    height: 10px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: blink 1.5s infinite alternate;
}

.counter-number {
    font-weight: 800;
    color: var(--text-color);
}

/* center CTA at bottom */
.cta-section {
    display: flex;
    justify-content: center;
    padding: 40px 6% 80px;
    position: relative;
    z-index: 2;
}

/* Auth Page overrides */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding-top: 80px;
}

.auth-box {
    background: rgba(1, 1, 1, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 4rem 3rem;
    width: 100%;
    max-width: 450px;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 2;
}

.auth-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

.oauth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-oauth {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-oauth:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(127, 61, 246, 0.2);
    transform: translateY(-2px);
}

.btn-oauth svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Interactive Mouse Gradient Blob */
.mouse-blob {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(127, 61, 246, 0.15) 0%, rgba(1, 1, 1, 0) 60%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: -2;
    pointer-events: none;
    transition: top 0.2s cubic-bezier(0.1, 0.8, 0.2, 1), left 0.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}