:root {
    --primary: #0066ff;
    --primary-light: #e6f0ff;
    --secondary: #9d00ff;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --bg-light: #fcfcfd;
    --border: #e5e7eb;
    --container-max: 1200px;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-height: 800px) {
    body {
        overflow: hidden;
    }
}

.grid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(to right, #e5e7eb 1px, transparent 1px),
        linear-gradient(to bottom, #e5e7eb 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    opacity: 0.5;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.large-logo {
    margin-bottom: 2rem;
    font-size: 3.5rem !important;
}

.large-logo .logo-text {
    font-size: 3.5rem;
    letter-spacing: -0.03em;
    font-weight: 900;
    display: flex;
    align-items: center;
}

.btn {
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: #0052cc;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
}

.btn-ghost:hover {
    background: var(--primary-light);
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    padding: 0;
    gap: 4rem;
    width: 100%;
}

.hero-content {
    max-width: 600px;
    padding-bottom: 2rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 500px;
}

.coming-soon-tag {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.pulse {
    width: 14px;
    height: 14px;
    background-color: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    border-radius: 50%;
    animation: pulse-ring 2s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.33); opacity: 0.5; }
    80%, 100% { transform: scale(2.5); opacity: 0; }
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.mockup-container {
    position: relative;
    z-index: 1;
}

.browser-window {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid var(--border);
    animation: float 6s ease-in-out infinite;
}

.browser-header {
    background: #f9fafb;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.dots {
    display: flex;
    gap: 0.5rem;
}

.dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
}

.dots span:nth-child(1) { background: #ff5f57; }
.dots span:nth-child(2) { background: #febc2e; }
.dots span:nth-child(3) { background: #28c840; }

.address-bar {
    background: white;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-grow: 1;
    border: 1px solid var(--border);
}

.browser-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.qr-preview {
    width: 180px;
    height: 180px;
    background: var(--primary-light);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.stats-card {
    display: flex;
    gap: 2rem;
    width: 100%;
    background: #f9fafb;
    padding: 1.25rem;
    border-radius: 0.75rem;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.qr-code svg {
    display: block;
    max-width: 100%;
    height: auto;
}

.trend-up {
    color: #10b981;
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 0.75rem 1.25rem;
    border-radius: 2rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    z-index: 2;
}

.badge-top {
    top: -1rem;
    right: -1rem;
    animation: float 5s ease-in-out infinite reverse;
}

.badge-bottom {
    bottom: 2rem;
    left: -2rem;
    animation: float 7s ease-in-out infinite;
}

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

/* Responsive */
@media (max-width: 1024px) {
    body {
        align-items: flex-start;
        padding: 2rem 0;
        overflow-y: auto;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 2rem 0;
        text-align: center;
        gap: 3rem;
    }

    .hero-content {
        margin: 0 auto;
        padding-bottom: 0;
    }

    .large-logo {
        justify-content: center;
        font-size: 2.5rem !important;
        margin-bottom: 2rem;
    }

    .large-logo .logo-icon svg {
        height: 2.5rem;
        width: 2.5rem;
    }

    .large-logo .logo-text {
        font-size: 2.5rem;
    }

    h1 {
        font-size: 3rem;
    }

    .description {
        margin: 0 auto 2rem;
        font-size: 1.1rem;
    }

    .hero-visual {
        margin-top: 1rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .coming-soon-tag {
        font-size: 1.25rem;
    }
}

@media (max-width: 640px) {
    h1 {
        font-size: 2.25rem;
    }
    
    .browser-content {
        padding: 1rem;
    }

    .large-logo {
        font-size: 2rem !important;
    }

    .large-logo .logo-icon svg {
        height: 2rem;
        width: 2rem;
    }

    .large-logo .logo-text {
        font-size: 2rem;
    }

    .qr-preview {
        width: 140px;
        height: 140px;
    }

    .qr-preview svg {
        width: 100px;
        height: 100px;
    }
}
