
:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #0f1424;
    --bg-card: rgba(255, 255, 255, 0.08);
    --gradient-start: #5939FF;
    --gradient-end: #951EFF;
    --gradient-accent: linear-gradient(135deg, #5939FF 0%, #951EFF 100%);
    --text-primary: #FFFFFF;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-error: #ef4444;
    --border-color: rgba(255, 255, 255, 0.08);
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: transparent;
    z-index: 1000;
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.navbar-brand {
    text-decoration: none;
}

.brand-logo {
    height: 40px;
    width: auto;
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.toggler-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 24px;
}

.toggler-icon span {
    display: block;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary) !important;
    background: var(--bg-card);
}

/* Buttons */
.btn-primary-gradient {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-accent);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(89, 57, 255, 0.4);
    color: var(--text-primary);
}

/* Dropdown */
.download-dropdown {
    position: relative;
}

.download-dropdown .btn-primary-gradient {
    cursor: pointer;
    width: 100%;
}

.download-dropdown .dropdown-menu {
    background: rgba(15, 20, 36, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0.375rem;
    margin-top: 0.5rem;
    min-width: 100%;
    width: 100%;
}

.download-dropdown .dropdown-item {
    display: flex;
    justify-content: center;
    padding: .125rem .5rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.download-dropdown .dropdown-item:hover,
.download-dropdown .dropdown-item:focus {
    background: var(--bg-card);
}

.download-dropdown .dropdown-item img {
    height: 45px;
    width: 100%;
}

/* Store Buttons */
.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.store-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-btn:hover {
    transform: translateY(-3px);
}

.store-btn img {
    height: 50px;
    width: auto;
    max-width: 149px;
}

/* Hero */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem 0.5rem 0.75rem;
    border-radius: 100px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient-accent);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin-bottom: 2.5rem;
}

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

.hero-image {
    max-width: 380px;
    width: 100%;
    height: auto;
}

/* Features */
.feature-section {
    padding: 60px 0;
}

.feature-alt {
    background: var(--bg-secondary);
}

.feature-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gradient-end);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
}

.feature-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 450px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.check-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.check-icon::after {
    content: '';
    width: 6px;
    height: 10px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-image {
    max-width: 320px;
    width: 100%;
    height: auto;
}

/* CTA */
.cta-section {
    padding: 80px 0 120px;
}

.cta-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 4rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin: 0;
}

/* Contract Section */
.contract-section {
    padding: 120px 0 60px;
    background: var(--bg-primary);
}

.contract-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.contract-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 32px;
    text-align: center;
}

.contract-content {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.contract-content p {
    margin-bottom: 16px;
}

.contract-content h1,
.contract-content h2,
.contract-content h3 {
    color: var(--text-primary);
    margin-top: 24px;
    margin-bottom: 16px;
}

.contract-loading {
    text-align: center;
    padding: 60px 0;
    color: var(--text-secondary);
}

.contract-error {
    text-align: center;
    padding: 60px 0;
    color: var(--text-error);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--gradient-end);
}

.back-link svg {
    width: 20px;
    height: 20px;
}

/* Footer */
.footer-section {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0.5rem 0 0;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 1rem;
        right: 1rem;
        background: rgba(15, 20, 36, 0.98);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        padding: 1.5rem;
        margin-top: 0.5rem;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
    }

    .download-dropdown {
        width: 100%;
    }

    .hero-title,
    .hero-description {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .store-buttons {
        justify-content: center;
    }

    .hero-visual {
        margin-top: 3rem;
    }

    .hero-image {
        max-width: 300px;
    }

    .feature-section {
        padding: 40px 0;
        text-align: center;
    }

    .feature-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .feature-description {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-list {
        align-items: flex-start;
        text-align: left;
    }

    .feature-visual {
        margin-top: 3rem;
    }

    .col-lg-6.order-lg-1,
    .col-lg-6.order-lg-2 {
        order: unset !important;
    }

    .cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
    }

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

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

    .store-buttons {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .feature-image {
        max-width: 260px;
    }

    .cta-card {
        padding: 2rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }
}
