:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #6366f1;
    --secondary-dark: #4f46e5;
    --bg-light: #f8fafc;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --radius-lg: 16px;
    --radius-md: 12px;
    --shadow-premium: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.page-scrollable {
    overflow-y: auto;
}

.container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    padding: 24px 0;
    display: flex;
    justify-content: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #1e293b;
}

.logo span {
    color: var(--primary);
}

/* Hero Section */
.hero-section {
    padding: 40px 0 60px;
    text-align: center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

h1 {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #0f172a;
}

h1 span {
    color: var(--primary);
}

.hero-section p {
    font-size: 17px;
    color: var(--text-light);
    margin-bottom: 40px;
    padding: 0 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Features */
.features-section {
    padding: 60px 0;
    background: #ffffff;
    box-shadow: 0 -10px 40px -15px rgba(0, 0, 0, 0.05);
}

.feature-card {
    background: #ffffff;
    padding: 32px;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.05);
    border-color: #e2e8f0;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary);
    border-radius: 14px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #1e293b;
}

.feature-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 17px;
}

.btn.lg {
    padding: 20px 40px;
    font-size: 18px;
}

.btn.xl {
    padding: 20px 40px;
    flex-direction: column;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:active {
    background: var(--primary-dark);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:active {
    background: var(--secondary-dark);
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 440px;
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-content h2 {
    font-size: 26px;
    margin-bottom: 12px;
    color: #0f172a;
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 32px;
    font-size: 15px;
}

.button-group.horizontal {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-btn {
    display: flex;
    flex-direction: row !important;
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    padding: 18px 24px;
}

.icon-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-light);
    margin-top: 24px;
    font-weight: 500;
    cursor: pointer;
    font-size: 14px;
}

/* Bridge View */
.view.full-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.bridge-container {
    max-width: 400px;
    text-align: center;
}

.icon-container {
    width: 80px;
    height: 80px;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.browser-icon {
    width: 40px;
    height: 40px;
    color: var(--primary);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.2);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

/* Footer */
.main-footer {
    padding: 60px 0 40px;
    text-align: center;
    background: #ffffff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

.copyright {
    font-size: 13px;
    color: #94a3b8;
}

.hidden {
    display: none !important;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 32px;
    }

    .hero-section {
        padding-top: 20px;
    }

    .modal-content {
        padding: 32px 24px;
    }
}