:root {
    /* Colors */
    --bg-color: #050508;
    --bg-secondary: #0a0b12;
    --text-primary: #ffffff;
    --text-secondary: #a0a5b8;

    --accent-primary: #00d2ff;
    --accent-secondary: #3a7bd5;

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html,
body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

section {
    width: 100%;
    overflow: hidden;
}

h1,
h2,
h3,
h4 {
    line-height: 1.2;
    font-weight: 800;
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 8, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

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

.logo-light {
    font-weight: 300;
    color: var(--text-secondary);
}

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

.navbar nav a:not(.btn):hover {
    color: var(--accent-primary);
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-medium);
    display: inline-block;
    border: none;
    font-family: var(--font-main);
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--accent-primary);
    background: rgba(0, 210, 255, 0.05);
}

.btn-tool {
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.3);
    color: var(--accent-primary);
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.btn-tool:hover {
    background: rgba(0, 210, 255, 0.18);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    transform: translateY(-1px);
}


.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 5% 2rem;
    position: relative;
    gap: 3rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(58, 123, 213, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 210, 255, 0.1);
    color: var(--accent-primary);
    border: 1px solid rgba(0, 210, 255, 0.2);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff, #a0a5b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 500px;
}

/* Form */
.waitlist-form {
    display: flex;
    padding: 0.5rem;
    gap: 0.5rem;
    max-width: 500px;
    position: relative;
}

.waitlist-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.waitlist-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-message {
    position: absolute;
    bottom: -30px;
    left: 10px;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
}

.form-message.success {
    color: #4ade80;
    opacity: 1;
}

.form-message.error {
    color: #f87171;
    opacity: 1;
}

/* Hero Image */
.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 900px;
}

.glow-orb {
    position: absolute;
    width: 450px;
    height: 450px;
    background: var(--accent-primary);
    filter: blur(150px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.8) translate(0, 0);
        opacity: 0.15;
    }

    50% {
        transform: scale(1.2) translate(5%, -5%);
        opacity: 0.3;
    }

    100% {
        transform: scale(0.9) translate(-5%, 5%);
        opacity: 0.2;
    }
}

.hero-image {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Features Section */
.features {
    padding: 8rem 5%;
    background-color: var(--bg-secondary);
    position: relative;
}

.features-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.features-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.features-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 2.5rem;
    transition: var(--transition-medium);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-top-color: var(--accent-primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: rgba(0, 210, 255, 0.1);
    border-radius: 12px;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Saliency Section */
.saliency-section {
    padding: 8rem 5%;
    background-color: var(--bg-secondary);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.saliency-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 5rem;
}

.saliency-image {
    flex: 1;
}

.saliency-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.saliency-content {
    flex: 1;
}

.saliency-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.saliency-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.saliency-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.saliency-list li {
    position: relative;
    padding-left: 2.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.saliency-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-primary);
    font-weight: bold;
    font-size: 1rem;
    background: rgba(0, 210, 255, 0.1);
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.saliency-list li strong {
    color: #fff;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.25rem;
}

/* Specifications Table */
.specs {
    padding: 8rem 5%;
    position: relative;
    background-color: var(--bg-color);
}

.specs-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem;
}

.specs-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.specs-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.specs-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem;
    overflow-x: auto;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.specs-table th,
.specs-table td {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.specs-table tr:last-child td {
    border-bottom: none;
}

.specs-table td:first-child {
    font-weight: 500;
    color: var(--text-secondary);
    width: 50%;
    font-size: 1.1rem;
}

.specs-table td:last-child {
    font-weight: 800;
    color: #fff;
    font-size: 1.2rem;
    text-align: right;
}

/* CTA Section */
.cta {
    padding: 8rem 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    padding: 5rem 3rem;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cta-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 210, 255, 0.05), rgba(58, 123, 213, 0.1));
    z-index: -1;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* Footer */
footer {
    padding: 5rem 5% 3rem;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

/* Subtle background glow in footer */
footer::before {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand {
    flex: 1.5;
    max-width: 360px;
}

.footer-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    transition: var(--transition-medium);
}

.social-link svg {
    transition: transform var(--transition-fast);
}

.social-link:hover {
    color: #fff;
    transform: translateY(-3px);
}

.social-link.reddit:hover {
    background: rgba(255, 87, 0, 0.1);
    border-color: #ff5700;
    color: #ff5700;
    box-shadow: 0 0 15px rgba(255, 87, 0, 0.35);
}

.social-link.youtube:hover {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.35);
}

.social-link:hover svg {
    transform: scale(1.1);
}

.footer-links-group {
    flex: 2.5;
    display: flex;
    justify-content: flex-end;
    gap: clamp(2rem, 5vw, 4rem);
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links-col h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.footer-links-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--accent-primary);
    transform: translateX(3px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Utilities & Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .saliency-container {
        flex-direction: column;
        gap: 3rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .waitlist-form {
        width: 100%;
    }

    .hero::before {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100vw;
        height: 100vw;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 4%;
    }

    .logo {
        font-size: 1.3rem;
    }

    .navbar nav {
        gap: 0.6rem;
    }

    .navbar nav a:not(.btn) {
        display: none;
    }

    .btn {
        padding: 0.55rem 1rem;
        font-size: 0.85rem;
    }

    .btn-tool {
        padding: 0.45rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 5px;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .glow-orb {
        width: 80vw;
        height: 80vw;
        filter: blur(80px);
    }

    .features,
    .cta,
    .specs,
    .saliency-section {
        padding: 4rem 5%;
    }

    .features-header h2,
    .cta-content h2,
    .specs-header h2,
    .saliency-content h2 {
        font-size: 2rem;
    }

    .specs-table-wrapper {
        padding: 1rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 1rem;
    }

    .specs-table td:first-child {
        font-size: 0.95rem;
    }

    .specs-table td:last-child {
        font-size: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .cta-content {
        padding: 3rem 1.5rem;
    }

    .waitlist-form {
        flex-direction: column;
        background: none;
        border: none;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .waitlist-form input,
    .waitlist-form button {
        width: 100%;
        border-radius: 8px;
    }

    .waitlist-form input {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid var(--glass-border);
        margin-bottom: 0.5rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2.5rem;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-links-group {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        width: 100%;
    }

    .footer-links-col {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 3%;
    }

    .logo {
        font-size: 1.15rem;
    }

    .navbar nav a.btn-outline {
        display: none; /* Hide duplicate waitlist button in mobile header, keeping the vital Launch Tool CTA visible */
    }

    .btn-tool {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }
}