:root {
    --primary-color: #05B7EA;
    --secondary-color: #5B6CFF;
    --accent-color: #F4B942;
    --dark-bg: #08111B;
    --page-bg: #0B1622;
    --section-bg: #0F1D2B;
    --panel-bg: #152435;
    --panel-bg-strong: #1B2C40;
    --border-color: rgba(151, 180, 211, 0.18);
    --text-dark: #EAF4FF;
    --text-muted: #8FA4BA;
    --text-light: #ffffff;
    --card-bg: #152435;
    --shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
    --shadow-hover: 0 24px 54px rgba(0, 0, 0, 0.32);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--page-bg);
}

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

/* Navigation */
.navbar {
    background: rgba(8, 17, 27, 0.88);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--text-light);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    background:
        radial-gradient(circle at 78% 18%, rgba(5, 183, 234, 0.22), transparent 34%),
        radial-gradient(circle at 16% 86%, rgba(91, 108, 255, 0.18), transparent 30%),
        linear-gradient(135deg, #08111B 0%, #0B2636 50%, #101D31 100%);
    color: var(--text-light);
    padding-bottom: 2.5rem;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    gap: 3rem;
    align-items: center;
    padding: 2.75rem 20px;
    min-height: clamp(620px, calc(100vh - 70px), 760px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: #C7D6E5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border-color: var(--text-light);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: var(--dark-bg);
}

.btn-outline {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-outline:hover {
    background: var(--text-light);
    color: var(--primary-color);
}

.hero-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.badge {
    background: rgba(21, 36, 53, 0.78);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.app-screenshot {
    width: auto;
    max-width: min(100%, 285px);
    max-height: min(62vh, 560px);
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: var(--page-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--section-bg) 0%, var(--page-bg) 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3.5rem 2rem;
    justify-items: center;
}

.screenshot-item {
    text-align: center;
    width: 100%;
}

.screenshot-item img {
    width: auto;
    max-width: min(100%, 370px);
    height: 650px;
    object-fit: contain;
    background: #08111B;
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.screenshot-item img:hover {
    transform: scale(1.05);
}

.screenshot-item p {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}

/* Privacy Highlight Section */
.privacy-highlight {
    background:
        radial-gradient(circle at 50% 0%, rgba(5, 183, 234, 0.16), transparent 34%),
        linear-gradient(135deg, #08111B 0%, #101D31 100%);
    color: var(--text-light);
    padding: 4rem 0;
}

.privacy-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.privacy-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.privacy-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Download Section */
.download {
    padding: 5rem 0;
    background: var(--section-bg);
}

.download-content {
    text-align: center;
    margin-top: 3rem;
}

.download-button {
    display: inline-block;
    margin-bottom: 2rem;
}

.download-button img {
    height: 80px;
    transition: transform 0.3s;
}

.download-button:hover img {
    transform: scale(1.05);
}

.app-details {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.app-details p {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: #07101A;
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3, .footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-muted);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--primary-color);
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .app-screenshot {
        max-height: min(560px, 68vh);
    }

    .screenshot-item img {
        height: min(620px, 82vh);
    }
}
