/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

:root {
    --bg-color: #0b0f19;
    --text-color: #f1f5f9;
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --accent: #0ea5e9;
    --card-bg: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

@keyframes pulse-glow {
    0% { filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.2)); }
    50% { filter: drop-shadow(0 0 25px rgba(14, 165, 233, 0.6)); }
    100% { filter: drop-shadow(0 0 10px rgba(14, 165, 233, 0.2)); }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    letter-spacing: 0.5px;
}

.logo span {
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav {
    display: flex;
    gap: 32px;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-login {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.btn-login:hover {
    color: #fff;
}

.btn-download-sm {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
}

.btn-download-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 140px 5% 80px;
    background: radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.1) 0%, transparent 40%);
}

.hero-content {
    flex: 1;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 1s ease-out;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.3);
    border-radius: 20px;
    color: var(--accent);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 24px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -1px;
}

.hero h1 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin: 0 auto 40px;
    line-height: 1.7;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(37, 99, 235, 0.5);
}

.btn-secondary {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: #fff;
    padding: 18px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-3px);
}

.hero-platforms {
    color: #64748b;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-platforms svg {
    opacity: 0.7;
}



/* Features Section */
.features {
    padding: 100px 5%;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section-header h2 {
    font-size: 2.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 800;
}

.section-header p {
    font-size: 1.15rem;
    color: #94a3b8;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 40px 30px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(14, 165, 233, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(14, 165, 233, 0.15));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    color: var(--accent);
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 700;
}

.feature-card p {
    color: #94a3b8;
    line-height: 1.7;
    font-size: 1rem;
}

/* Stats Section */
.stats {
    padding: 80px 5%;
    background: linear-gradient(180deg, rgba(11, 15, 25, 0) 0%, rgba(37, 99, 235, 0.05) 50%, rgba(11, 15, 25, 0) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: center;
    gap: 10vw;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.stat-label {
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 500;
}

/* FAQ Section */
.faq-section {
    padding: 100px 5%;
    position: relative;
    background: #0b0f19;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(14, 165, 233, 0.3);
}

.faq-item[open] {
    border-color: var(--accent);
    background: rgba(14, 165, 233, 0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.faq-question {
    padding: 24px 30px;
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    position: relative;
    list-style: none; /* Hide default triangle */
    outline: none;
    user-select: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::before {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
}

.faq-item[open] .faq-question::before {
    content: '−'; /* Minus sign for expanded state */
    font-size: 1.8rem;
}

.faq-answer {
    padding: 0 30px 24px;
    color: #94a3b8;
    line-height: 1.7;
    animation: fadeIn 0.4s ease-out;
}

.faq-item[open] .faq-answer {
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 5px;
    padding-top: 20px;
}

/* Download Section (CTA) */
.cta-section {
    padding: 120px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
    z-index: -1;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 24px;
    font-weight: 800;
}

.cta-content p {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: #05080f;
    padding: 80px 5% 30px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 24px;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 14px;
}

.footer-col ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-col ul li a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #64748b;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }
    .hero-content {
        max-width: 800px;
        margin-bottom: 60px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero p {
        margin: 0 auto 40px;
    }
    .hero-buttons {
        justify-content: center;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    header nav {
        display: none; /* In a real app, add a hamburger menu */
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 350px;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .stats {
        gap: 40px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
