:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-muted: #a1a1aa;
    --primary: #00E5FF;
    --primary-hover: #00B8CC;
    --secondary: #2d2d32;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-bg: #101012;
    --font-main: 'Inter', sans-serif;
    --max-width: 1200px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(0, 229, 255, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(0, 229, 255, 0.03) 0%, transparent 25%);
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Scroll Snapping */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    /* Prevent default scrolling */
}

.scroll-container {
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scroll-container::-webkit-scrollbar {
    display: none;
}

.section-snap {
    min-height: 100vh;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    /* Offset for header */
}

/* Ensure content within sections is centered */
.section-content {
    width: 100%;
}

/* Header Pill */
.header-pill {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(20, 20, 22, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 1.2rem;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a.active {
    color: var(--primary);
    font-weight: 600;
}

.btn-dark {
    background-color: var(--primary);
    color: #000 !important;
    padding: 0.5rem 1.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-dark:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
}

/* Footer Pill */
.footer-pill {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(20, 20, 22, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    z-index: 100;
    color: var(--text-muted);
    font-size: 0.9rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-tagline {
    font-size: 0.75rem;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a.active {
    color: var(--primary);
    font-weight: 600;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #000;
    border: none;
    border-radius: 12px;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.scroll-to-top:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 229, 255, 0.5);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Typography */
h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary);
    color: #000;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.btn-secondary {
    background-color: var(--glass-bg);
    color: var(--text-color);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.cta-group {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-image {
    position: relative;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(20px);
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-card:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.glass-card img {
    width: 100%;
    border-radius: 12px;
    display: block;
}

/* Features */
.features {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Feature Highlights */
.feature-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-highlight-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.feature-highlight-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.15);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-highlight-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-highlight-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-highlight-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, var(--primary), #00d4ff);
    color: #000;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-highlight-card.coming-soon {
    opacity: 0.85;
}

/* How It Works */
.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.step-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.step-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
}

.step-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(0, 229, 255, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.step-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 229, 255, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.benefit-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(0, 229, 255, 0.02) 100%);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Changelog */
.changelog-timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    padding-left: 3rem;
}

.changelog-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.changelog-item {
    position: relative;
    margin-bottom: 3rem;
    padding-left: 2rem;
}

.changelog-item::before {
    content: '';
    position: absolute;
    left: -3rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.2);
}

.version-badge {
    position: absolute;
    left: -5.5rem;
    top: 0;
    background: var(--card-bg);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.changelog-content {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.changelog-content:hover {
    border-color: rgba(0, 229, 255, 0.3);
    transform: translateX(5px);
}

.changelog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.changelog-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.changelog-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.changelog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.changelog-list li:last-child {
    border-bottom: none;
}

.change-new {
    color: #4ade80;
}

.change-improved {
    color: #60a5fa;
}

.change-fixed {
    color: #f87171;
}

/* Changelog Page */
.changelog-page {
    padding: 8rem 0 8rem;
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.changelog-cta {
    text-align: center;
    margin-top: 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.05) 0%, rgba(0, 229, 255, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.changelog-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.changelog-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.nav-links a.active {
    color: var(--primary);
}

/* Contact Page */
.contact-page {
    padding: 8rem 0 8rem;
    min-height: 100vh;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.contact-info>p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.info-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.info-item h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.info-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-form-wrapper {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 0.875rem 1rem;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.3);
    color: #4ade80;
}

.form-message.error {
    display: block;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.3);
    color: #f87171;
}

/* Showcase */
.showcase {
    padding: 4rem 0;
}

.slideshow-container {
    position: relative;
    max-width: 100%;
    margin: 3rem auto 0;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    animation: fadeIn 0.5s ease-in-out;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    font-weight: 600;
    font-size: 1.25rem;
}

/* Navigation Arrows */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 3rem;
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 12px;
    z-index: 10;
}

.slide-nav:hover {
    background: rgba(0, 229, 255, 0.3);
    color: var(--primary);
}

.slide-nav.prev {
    left: 1rem;
}

.slide-nav.next {
    right: 1rem;
}

/* Slide Indicators */
.slide-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.indicator.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Overlay */
.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

/* Responsive */
@media (max-width: 968px) {
    .header-pill {
        width: 95%;
        padding: 0.75rem 1rem;
    }

    .nav-links a:not(.btn) {
        display: none;
        /* Hide text links on mobile, keep CTA */
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }
}

/* ==========================================================================
   Legal Pages (Privacy & Terms)
   ========================================================================== */
.legal-container {
    padding-top: 160px;
    padding-bottom: 160px;
    max-width: 800px;
    margin: 0 auto;
}

.legal-header {
    text-align: center;
}

.legal-content {
    margin-top: 2rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.legal-content h2,
.legal-content h3 {
    color: var(--text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol,
.legal-content dl {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.legal-content strong {
    color: var(--text);
    font-weight: 600;
}

.legal-link {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-link:hover {
    color: var(--primary-hover);
}

.highlight-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 4px 8px 8px 4px;
    margin-bottom: 2rem;
}

.legal-contact-box {
    margin-top: 2rem;
}

.no-bottom-margin {
    margin-bottom: 0 !important;
}

.last-updated {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 768px) {
    .legal-container {
        padding-top: 120px;
        padding-bottom: 100px;
    }
}