/* CSS Stylesheet for OnPark Landing Page */

:root {
    /* Color Palette */
    --bg-start: #0B1426;
    --bg-end: #090E1A;
    --text-primary: #FFFFFF;
    --text-secondary: #8293A6;
    --text-muted: #53657A;
    
    --card-bg: rgba(17, 25, 40, 0.75);
    --border-color: rgba(255, 255, 255, 0.08);
    
    /* Neon gradients */
    --primary-glow: rgba(163, 229, 132, 0.15);
    --cyan-glow: rgba(86, 227, 215, 0.15);
    --gradient-neon: linear-gradient(135deg, #A3E584 0%, #56E3D7 100%);
    --gradient-glow: linear-gradient(135deg, rgba(163, 229, 132, 0.3) 0%, rgba(86, 227, 215, 0.3) 100%);
    
    /* Typography */
    --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 100%);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    padding-bottom: 90px; /* Space for floating sticky CTA */
}

/* Background Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(150px);
    z-index: -1;
    pointer-events: none;
}

.glow-top {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--primary-glow);
}

.glow-bottom {
    bottom: 20%;
    left: -10%;
    width: 700px;
    height: 700px;
    background: var(--cyan-glow);
}

/* Layout Utilities */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

/* Glassmorphism Card Style */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--gradient-neon);
    color: #070D19;
    border: none;
    box-shadow: 0 4px 20px rgba(86, 227, 215, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(86, 227, 215, 0.4);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
}

/* Header */
.header {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(11, 20, 38, 0.6);
}

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

.logo-group {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 20px;
    background: var(--gradient-neon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-tagline {
    font-size: 9px;
    color: var(--text-secondary);
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-top: -2px;
}

.btn-header {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 10px;
}

.btn-header:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
    padding: 80px 0 60px 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(163, 229, 132, 0.1);
    border: 1px solid rgba(163, 229, 132, 0.2);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 58px;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.hero-tags {
    display: flex;
    gap: 24px;
}

.hero-tag {
    font-size: 14px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

/* Promo Card Style */
.promo-card {
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 250px;
    height: 250px;
    background: var(--gradient-glow);
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.promo-header {
    margin-bottom: 24px;
}

.promo-badge-mini {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    background: var(--gradient-neon);
    color: #070D19;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.promo-header h3 {
    font-size: 22px;
    letter-spacing: -0.5px;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 16px;
}

.price-free {
    font-size: 32px;
    font-weight: 800;
    color: #A3E584;
}

.price-original {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.promo-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.promo-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 24px;
}

.promo-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.promo-feat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-primary);
    font-weight: 500;
}

/* Showcase Section */
.showcase-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.section-title {
    font-size: 36px;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
}

/* Category Grid */
.category-grid {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.category-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 16px 28px;
    border-radius: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.category-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.category-card.active {
    background: var(--gradient-neon);
    border-color: transparent;
}

.category-card.active .cat-name {
    color: #070D19;
}

.cat-emoji {
    font-size: 22px;
}

.cat-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Radar Visual Layout */
.radar-container {
    display: flex;
    justify-content: center;
}

.radar-card {
    width: 100%;
    max-width: 480px;
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.radar-visual {
    height: 320px;
    background: #060A13;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.radar-sweep {
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: conic-gradient(from 0deg at 50% 50%, rgba(86, 227, 215, 0.15) 0deg, transparent 90deg);
    animation: radar-sweep-anim 8s linear infinite;
    pointer-events: none;
    z-index: 1;
}

.radar-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px dashed rgba(86, 227, 215, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.circle-1 { width: 100px; height: 100px; }
.circle-2 { width: 200px; height: 200px; }
.circle-3 { width: 300px; height: 300px; }

.center-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #56E3D7;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 15px #56E3D7;
    z-index: 2;
}

.radar-pin {
    position: absolute;
    width: 38px;
    height: 38px;
    background: rgba(17, 25, 40, 0.85);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
}

.radar-pin:hover, .radar-pin.active {
    transform: scale(1.2);
    border-color: #56E3D7;
    background: #56E3D7;
    box-shadow: 0 0 15px rgba(86, 227, 215, 0.6);
}

.radar-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(7, 13, 25, 0.8);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 4;
}

.pulse-green {
    width: 8px;
    height: 8px;
    background: #A3E584;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 8px #A3E584;
    animation: pulse-anim 1.5s infinite;
}

/* Profile Match Card snippet */
.match-profile-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.profile-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--text-secondary);
}

.profile-info {
    flex: 1;
}

.profile-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.profile-info p {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-match {
    padding: 10px 18px;
}

/* Animations */
@keyframes radar-sweep-anim {
    to { transform: rotate(360deg); }
}

@keyframes pulse-anim {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 229, 132, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(163, 229, 132, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(163, 229, 132, 0); }
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.005);
}

.steps-container {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.step-card {
    display: flex;
    gap: 24px;
}

.step-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 2;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, var(--border-color) 0%, transparent 100%);
    min-height: 60px;
}

.step-content {
    padding-top: 8px;
    padding-bottom: 40px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Final CTA Section */
.final-cta-section {
    padding: 60px 0 100px 0;
}

.cta-banner {
    padding: 60px 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-content h2 {
    font-size: 38px;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 16px;
    margin-bottom: 32px;
}

.btn-cta {
    min-width: 240px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background: #060B14;
}

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

.footer-copy {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
}

/* Sticky Bottom Floating CTA */
.sticky-cta-wrapper {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Avoid blocking clicks around the button */
}

.sticky-cta {
    pointer-events: auto; /* Re-enable pointer events for the button */
    border-radius: 100px;
    padding: 16px 36px;
    box-shadow: 0 10px 30px rgba(86, 227, 215, 0.4);
    animation: sticky-pulse 3s infinite;
}

@keyframes sticky-pulse {
    0% { box-shadow: 0 10px 30px rgba(86, 227, 215, 0.4); }
    50% { box-shadow: 0 10px 35px rgba(86, 227, 215, 0.7); }
    100% { box-shadow: 0 10px 30px rgba(86, 227, 215, 0.4); }
}

/* Animations */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.animate-slide-up-delayed {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Layouts */
@media (max-width: 868px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-tags {
        justify-content: center;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .category-grid {
        justify-content: flex-start;
        padding-left: 24px;
        padding-right: 24px;
    }
    
    .footer-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
