/* css/style.css */
:root {
    /* Color Palette */
    --bg-dark: #0a0d14;
    --bg-panel: rgba(20, 27, 42, 0.6);
    --primary: #1e88e5;
    --primary-light: #64b5f6;
    --primary-gradient: linear-gradient(135deg, #1e88e5 0%, #00e5ff 100%);
    --text-main: #ffffff;
    --text-muted: #8b95ab;
    --border-color: rgba(255, 255, 255, 0.06);

    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glassmorphism utility */
.glass-panel {
    background: var(--bg-panel);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: var(--font-heading);
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

.btn-glow {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 0 24px rgba(30, 136, 229, 0.35);
    position: relative;
    z-index: 1;
}

.btn-glow::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    background: var(--primary-gradient);
    filter: blur(18px);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.btn-glow:hover::before {
    opacity: 0.5;
}

.btn-glow:hover {
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
    border-radius: 12px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 18px 0;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 13, 20, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 30px;
    width: 30px;
    border-radius: 8px;
}

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

.nav-links a:not(.btn) {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
    color: var(--text-main);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition);
    border-radius: 1px;
}

/* Mobile Menu Open State */
.nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 64px;
    right: 24px;
    left: 24px;
    background: rgba(15, 18, 27, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--border-color);
    gap: 16px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.glow-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary);
    filter: blur(180px);
    border-radius: 50%;
    opacity: 0.12;
    z-index: 0;
    pointer-events: none;
}

.top-right {
    top: -200px;
    right: -200px;
}

.bottom-left {
    bottom: -200px;
    left: -200px;
    background: #00e5ff;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(30, 136, 229, 0.1);
    border: 1px solid rgba(30, 136, 229, 0.2);
    color: var(--primary-light);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.3px;
}

.hero-title {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -2px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.hero-version {
    font-size: 0.85rem;
    color: var(--text-muted);
    opacity: 0.7;
}

/* Hero Visual / Showcase */
.app-showcase {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

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

.mac-buttons {
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
}

.mac-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.mac-buttons span:nth-child(1) { background: #ff5f56; }
.mac-buttons span:nth-child(2) { background: #ffbd2e; }
.mac-buttons span:nth-child(3) { background: #27c93f; }

.app-content {
    padding: 40px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ad-placeholder-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    width: 100%;
}

.showcase-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.floating {
    animation: float-fast 3s ease-in-out infinite;
}

@keyframes float-fast {
    0% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-8px) scale(1.04); }
    100% { transform: translateY(0px) scale(1); }
}

.download-animation {
    width: 100%;
    max-width: 340px;
    background: rgba(0, 0, 0, 0.35);
    padding: 18px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.file-info-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

.file-name {
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.speed {
    color: #00e5ff;
    font-weight: 600;
}

.progress-bar {
    height: 5px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: var(--primary-gradient);
    border-radius: 3px;
    animation: load 4s ease-in-out infinite;
}

@keyframes load {
    0% { width: 0%; }
    100% { width: 100%; }
}

.download-stats {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Sections */
.features, .platforms, .comparison, .faq {
    padding: 100px 24px;
    position: relative;
    z-index: 10;
}

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

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(30, 136, 229, 0.3);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    background: rgba(30, 136, 229, 0.04);
}

.feature-icon {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(30, 136, 229, 0.1);
}

.glow-icon {
    box-shadow: 0 0 20px rgba(30, 136, 229, 0.15);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* Comparison Table */
.comparison {
    padding-bottom: 60px;
}

.comparison-table-wrapper {
    border-radius: 16px;
    overflow: hidden;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    font-size: 0.95rem;
}

.comparison-table thead {
    background: rgba(0, 0, 0, 0.3);
}

.comparison-table th {
    padding: 20px 24px;
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
}

.comparison-table td {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--text-main);
}

.comparison-table .highlight-col {
    background: rgba(30, 136, 229, 0.08);
    color: var(--text-main);
    font-weight: 700;
}

.comparison-table th.highlight-col {
    background: rgba(30, 136, 229, 0.15);
    color: var(--primary-light);
}

.comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.comparison-table svg.check,
.comparison-table svg.cross {
    vertical-align: middle;
}

.partial-text {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Platforms Grid */
.platform-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.platform-card {
    padding: 40px 28px;
    border-radius: 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
}

.platform-logo {
    color: var(--text-main);
    margin-bottom: 20px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.platform-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.platform-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.platform-btn {
    width: 100%;
}

/* Coming Soon / Disabled state */
.btn-disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

.platform-coming-soon {
    opacity: 0.55;
}

.platform-coming-soon:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.platform-available {
    border-color: rgba(30, 136, 229, 0.25);
}

.platform-available:hover {
    border-color: rgba(30, 136, 229, 0.5);
}

/* FAQ Section */
.faq {
    padding-top: 40px;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.faq-item {
    padding: 28px;
    border-radius: 16px;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(30, 136, 229, 0.2);
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    background: #070810;
    padding: 80px 24px 24px;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 60px;
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 300px;
    font-size: 0.93rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.4rem;
}

.logo-img-small {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: contain;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.links-column h4 {
    margin-bottom: 20px;
    font-size: 1rem;
    font-weight: 600;
}

.links-column a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 0.93rem;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-version {
        text-align: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        padding-top: 140px;
    }

    .hero-title {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .hero-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 16px auto;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .section-header h2 {
        font-size: 2.2rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .section-header h2 {
        font-size: 1.9rem;
    }

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

    .footer-links {
        grid-template-columns: 1fr;
    }

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