/* Base styles */
:root {
    --primary: #0052FE;
    --primary-dark: #0042CC;
    --text-primary: #161622;
    --text-secondary: #666;
    --bg-light: #f8f9fa;
    --white: #fff;
    --success: #22c55e;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    color: var(--text-primary);
    line-height: 1.5;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background-color: transparent;
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--text-primary);
}

.desktop-nav {
    display: none;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }

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

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

.dropdown {
    position: relative;
}

.dropdown-btn {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: inherit;
    padding: 0;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    background-color: var(--white);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: var(--bg-light);
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    padding: 1rem;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 0.75rem 0;
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Hero Section */
.hero {
    padding-top: 6rem;
    padding-bottom: 3rem;
    background: linear-gradient(to bottom, var(--bg-light), var(--white));
}

.hero-content {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 9999px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.hero-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.5s ease;
}

.hero-image:hover {
    transform: scale(1.05);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: var(--white);
}

.trust-badges {
    margin-top: 4rem;
    text-align: center;
}

.trust-text {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

/* Download Section */
.download {
    padding: 4rem 0;
    background-color: var(--bg-light);
}

.download-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .download-grid {
        grid-template-columns: 3fr 2fr;
    }
}

.download-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
}

.platform {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.platform i {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0.5rem;
    background-color: var(--bg-light);
    border-radius: 9999px;
    color: var(--primary);
}

.download-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1rem;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.qr-card {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.qr-code {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--bg-light);
    border-radius: 0.5rem;
    display: inline-block;
}

.qr-code img {
    width: 160px;
    height: 160px;
}

/* Registration Section */
.register {
    padding: 4rem 0;
    background-color: var(--white);
}

.register-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.register-content {
    padding: 3rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .register-content {
        grid-template-columns: 1fr 1fr;
    }
}

.register-text {
    color: var(--white);
}

.register-text h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.benefits {
    list-style: none;
    margin: 2rem 0;
}

.benefits li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.benefits li i {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--white);
    margin-top: 0.125rem;
}

.disclaimer {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.register-form-container {
    background-color: var(--white);
    border-radius: 1rem;
    padding: 2rem;
}

.registration-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.register-btn {
    display: block;
    text-decoration: none;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

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

.register-btn-primary:hover {
    background-color: var(--primary-dark);
    transform: scale(1.05);
}

.register-btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.register-btn-secondary:hover {
    background-color: rgba(0, 82, 254, 0.05);
    transform: scale(1.05);
}

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

.btn-text {
    font-size: 1.125rem;
    font-weight: 500;
}

.btn-description {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background-color: var(--border-color);
}

.divider::before {
    left: 0;
}

.divider::after {
    right: 0;
}

.divider span {
    background-color: var(--white);
    padding: 0 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background-color: var(--text-primary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr repeat(3, 1fr);
    }
}

.footer-brand .brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
}

.footer-links h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
}

.legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: var(--white);
}

/* Animations */
@keyframes fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fade-in 0.8s ease-out forwards;
}