/* --- Base Styles & Variables --- */
:root {
    --primary-color: #6200ea; /* Deeper Purple - more premium feel */
    --secondary-color: #0091ea; /* Richer Blue - better contrast */
    --accent-color: #00c853; /* Vibrant Green - more pop */
    --bg-color: #f8f9fa;
    --text-color: #2d3748;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --nav-bg: rgba(255, 255, 255, 0.98); /* Slightly more opaque */
    --footer-bg: #edf2f7;
    --shadow-color: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(98, 0, 234, 0.15); /* Purple-tinted shadow for hover states */
    --font-family: 'Poppins', sans-serif;
    --header-height: 80px;
    --border-radius: 12px;
    --card-border-radius: 16px; /* Slightly larger for cards */
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --legal-text-color: #4a5568; /* Slightly lighter than main text for better readability in legal content */
}

/* --- Legal Pages Styling --- */
.legal-content {
    padding: 3rem 0;
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h1 {
    text-align: center;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.legal-content .last-updated {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--legal-text-color);
    font-style: italic;
    font-size: 0.9rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: left;
    color: var(--text-color);
}

.legal-section p {
    margin-bottom: 1rem;
    color: var(--legal-text-color);
    line-height: 1.7;
}

.legal-section ul, .legal-section ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
    color: var(--legal-text-color);
    line-height: 1.7;
}

.legal-section strong {
    font-weight: 600;
    color: var(--text-color);
}

.contact-info {
    list-style-type: none;
    padding-left: 0;
}

.contact-info li {
    padding: 0.5rem 0;
}

/* Dark mode adjustments for legal pages */
[data-theme="dark"] .legal-section h2 {
    color: #e2e8f0;
}

[data-theme="dark"] .legal-section strong {
    color: #f7fafc;
}

[data-theme="dark"] .legal-section p,
[data-theme="dark"] .legal-section li {
    color: #cbd5e0;
}

[data-theme="dark"] {
    --primary-color: #b388ff; /* Brighter Purple for dark mode */
    --secondary-color: #82b1ff; /* Brighter Blue for dark mode */
    --accent-color: #69f0ae; /* Vibrant Green */
    --bg-color: #121212;
    --text-color: #f5f5f5; /* Brighter text for better readability */
    --card-bg: #1e1e1e;
    --border-color: #333333;
    --nav-bg: rgba(30, 30, 30, 0.98); /* More opaque for better contrast */
    --footer-bg: #1a1a1a;
    --shadow-color: rgba(0, 0, 0, 0.4);
    --shadow-hover: rgba(179, 136, 255, 0.25); /* Purple-tinted shadow for hover states */
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.8rem; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; text-align: center; margin-bottom: 3rem; color: var(--primary-color); letter-spacing: -0.5px; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

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

a:hover {
    color: var(--secondary-color);
}

img, svg {
    max-width: 100%;
    height: auto;
    display: block; /* Remove bottom space */
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Header & Navigation --- */
header {
    /* position: sticky; */
    /* top: 0; */
    /* z-index: 1000; */
    /* background-color: var(--nav-bg); */
    /* backdrop-filter: blur(10px); */
    /* -webkit-backdrop-filter: blur(10px); */
    /* border-bottom: 1px solid var(--border-color); */
    /* transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease; */
    /* box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); */
}

header.header-scrolled {
    box-shadow: 0 5px 25px var(--shadow-color);
    border-bottom-color: rgba(var(--rgb-primary-color, 98, 0, 234), 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    margin: 0 auto;
    max-width: 1200px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.logo:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}
.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--rgb-primary-color, 98, 0, 234), 0.08);
    border-radius: 12px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: -1;
}
.logo:hover::before {
    transform: scaleX(1);
}
.logo svg {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-right: 10px;
}
.logo:hover svg {
    transform: rotate(-15deg) scale(1.1);
}

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

.nav-links a {
    margin: 0 1.2rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
    letter-spacing: 0.2px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}


/* --- Theme Toggle Button --- */
#theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    margin-left: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}
#theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
#theme-toggle:hover svg {
    transform: scale(1.1) rotate(15deg);
}
.sun { display: block; }
.moon { display: none; }

[data-theme="dark"] .sun { display: none; }
[data-theme="dark"] .moon { display: block; }


/* --- Hero Section --- */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.05) 0%, rgba(0, 145, 234, 0.05) 100%);
    overflow: hidden;
    padding: 0 0 8rem;
    margin-bottom: 0;
    width: 100%;
}

.hero-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    padding: 2rem 0;
    text-align: left;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero-content .tagline {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-content .description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.secondary-button:hover {
    background-color: rgba(var(--rgb-primary-color, 98, 0, 234), 0.1);
    transform: translateY(-3px);
}

.hero-visual {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    height: 400px;
}

.hero-blob {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.floating-widget {
    position: absolute;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 10px 30px var(--shadow-color);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
    min-width: 140px;
}

.widget-weather {
    top: 20%;
    left: 10%;
    animation: floating 6s ease-in-out infinite;
}

.widget-news {
    top: 60%;
    left: 15%;
    animation: floating 7s ease-in-out infinite 1s;
}

.widget-time {
    top: 40%;
    right: 10%;
    animation: floating 5s ease-in-out infinite 0.5s;
}

.widget-icon {
    font-size: 1.8rem;
}

.widget-content {
    display: flex;
    flex-direction: column;
}

.widget-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-color);
    opacity: 0.7;
}

.widget-data {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 100px;
}

/* Media queries for responsive design */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 1rem;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    #hero {
        padding: 4rem 0 6rem;
    }
    
    .hero-image-container {
        height: 300px;
    }
    
    .floating-widget {
        transform: scale(0.9);
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        height: 250px;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .cta-button, .secondary-button {
        width: 100%;
    }
    
    .floating-widget {
        transform: scale(0.8);
    }
}














.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff !important; /* Override general link color */
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.cta-button:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 12px 25px var(--shadow-hover);
    color: #fff; /* Keep text white on hover */
}

.cta-button:hover::before {
    opacity: 1;
}

.cta-button:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 5px 15px var(--shadow-hover);
}


/* --- Features Section --- */
#features {
    padding: 5rem 0;
    position: relative;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    justify-items: center;
}

.feature-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-border-radius);
    padding: 2.5rem 2rem;
    box-shadow: 0 8px 20px var(--shadow-color);
    transition: var(--transition);
    flex: 1 1 300px;
    max-width: 350px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin: 0.5rem;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow-hover);
    border-color: transparent;
}

.feature-card .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
    display: inline-block;
}

.feature-card:hover .icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.feature-card p {
    color: var(--text-color);
    line-height: 1.7;
    opacity: 0.9;
}

/* --- Demo Section --- */
.demo-section {
    padding: 6rem 0;
    text-align: center;
    position: relative;
    background-image: radial-gradient(circle at 10% 20%, rgba(98, 0, 234, 0.03) 0%, transparent 20%),
                     radial-gradient(circle at 90% 80%, rgba(0, 145, 234, 0.03) 0%, transparent 20%);
}

.demo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.demo-section p {
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.screenshot-placeholder {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--card-border-radius);
    padding: 0;
    max-width: 900px;
    margin: 3rem auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    min-height: 400px; /* Taller placeholder */
    overflow: hidden;
    box-shadow: 0 20px 40px var(--shadow-color);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.screenshot-placeholder:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px var(--shadow-hover);
}

.screenshot-placeholder img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.screenshot-placeholder:hover img {
    transform: scale(1.02);
}

.screenshot-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    stroke: var(--secondary-color);
}

/* --- CTA Section --- */
.cta-section {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(98, 0, 234, 0.08) 0%, rgba(0, 145, 234, 0.08) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: pulseBackground 8s ease infinite;
}

@media (min-width: 768px) {
    .cta-section {
        padding: 8rem 0;
    }
}

.cta-section h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 10px rgba(98, 0, 234, 0.2);
    animation: fadeInUp 1s ease;
}

@media (min-width: 768px) {
    .cta-section h2 {
        font-size: 2.8rem;
    }
}

.cta-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 40%;
    width: 35%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    transform-origin: center;
    animation: scaleIn 0.8s ease;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .cta-section p {
        font-size: 1.2rem;
        margin-bottom: 2.5rem;
        padding: 0;
    }
}

.cta-section .availability {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 1.5rem;
    font-weight: 500;
}

.cta-button-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .cta-button-icon {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }
}

.cta-button-icon svg {
    /* SVG inherits color via fill="currentColor" */
    width: 1.3em; /* Slightly larger icon */
    height: 1.3em;
    margin-bottom: -2px; /* Fine-tune vertical alignment if needed */
    transition: transform 0.3s ease;
}

.cta-button-icon:hover svg {
    transform: rotate(10deg) scale(1.1);
}

.availability {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 1rem;
    padding: 0;
    background-color: transparent;
    border-radius: 0;
    display: block;
    transition: none;
}

.availability .os-icon {
    display: inline-block;
    margin: 0 4px;
    font-size: 1.1rem;
    vertical-align: middle;
    transform: translateY(-1px);
}












/* --- Footer --- */
footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 3rem 0 2rem;
    text-align: center;
    font-size: 0.9rem;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.3;
}

.footer-content {
    opacity: 0.9;
}

.footer-content p {
    margin-bottom: 0.7rem;
}

.footer-content a {
    color: var(--text-color);
    font-weight: 600;
    margin: 0 0.5rem;
    position: relative;
    padding: 2px 0;
}

.footer-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-content a:hover {
    color: var(--primary-color);
}

.footer-content a:hover::after {
    width: 100%;
}

.social-links {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
}

.social-links a {
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    background-color: rgba(var(--rgb-primary-color, 98, 0, 234), 0.08);
    padding: 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 48px;
    height: 48px;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-links a svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
    transition: transform 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 1;
}

.social-links a:hover {
    transform: translateY(-5px);
    color: #fff;
}

.social-links a:hover::before {
    opacity: 1;
}

.social-links a:hover svg {
    transform: scale(1.1) rotate(5deg);
}

a.xodist {
    margin: 0;
    background: linear-gradient(90deg, #ba6edf, #4a9ef7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    font-weight: bold; /* Optional: makes the gradient stand out more */
}

a.nomargin {
    margin: 0;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    animation: fadeInAnimation 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

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

.slide-in-left, .slide-in-right, .slide-in-bottom {
    opacity: 0;
    transition: opacity 0.7s cubic-bezier(0.215, 0.61, 0.355, 1), transform 0.7s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.slide-in-left { transform: translateX(-60px); }
.slide-in-right { transform: translateX(60px); }
.slide-in-bottom { transform: translateY(60px); }

/* Add 'visible' class via JS when element is in view */
.visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* Add subtle floating animation for elements */
.float-animation {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulseBackground {
    0% { background-size: 100% 100%; }
    50% { background-size: 150% 150%; }
    100% { background-size: 100% 100%; }
}

@keyframes scaleIn {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}

.pulse:hover {
    animation: pulseAnimation 1.5s infinite;
}

@keyframes pulseAnimation {
    0% { box-shadow: 0 0 0 0 rgba(var(--rgb-primary-color, 106, 17, 203), 0.5); } /* Needs RGB conversion */
	70% { box-shadow: 0 0 0 10px rgba(var(--rgb-primary-color, 106, 17, 203), 0); }
	100% { box-shadow: 0 0 0 0 rgba(var(--rgb-primary-color, 106, 17, 203), 0); }
}
/* Helper to set RGB values for pulse - adjust if needed */
:root { --rgb-primary-color: 106, 17, 203; }
[data-theme="dark"] { --rgb-primary-color: 138, 76, 252; }


/* --- Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    #hero {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding-top: 4rem; /* More space below nav */
    }
    .hero-content {
        order: 2; /* Text below image */
        flex-basis: auto;
    }
    .hero-image {
        order: 1; /* Image above text */
        flex-basis: auto;
        margin-bottom: 2rem;
    }
    .hero-image svg {
        max-width: 250px;
    }
    .features-grid {
        grid-template-columns: 1fr; /* Stack cards */
    }
    nav {
        flex-wrap: nowrap;
        justify-content: space-between;
        height: auto;
        padding: 10px 20px;
    }
    
    /* Hamburger Menu Styles */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .hamburger span {
        display: block;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        border-radius: 3px;
        transition: var(--transition);
    }
    
    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        top: var(--header-height);
        left: 20px;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--nav-bg);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    .nav-links.active {
        transform: translateX(0);
        left: 0;
    }
    
    .nav-links a {
        margin: 0;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        font-size: 1.2rem;
    }
    
    #theme-toggle {
        position: absolute;
        top: calc((var(--header-height) - 30px) / 2);
        right: 70px;
        margin-left: 0;
    }
    
    header.header-scrolled nav {
        height: var(--header-height);
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    #hero .tagline { font-size: 1.3rem; }
    #hero .description { font-size: 1rem; }
    .cta-button { padding: 10px 25px; font-size: 1rem;}
    .nav-links a { font-size: 0.9rem; margin: 0 0.5rem; }
}


.coming-soon-container {
    position: relative;
    display: inline-block;
}

.coming-soon-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1;
}
