:root {
    --bg-color: #FEF7F7;
    /* Match Mini Program Background */
    --text-primary: #2d2d2d;
    --text-secondary: #6b6b6b;
    --accent-primary: #FF6B9D;
    /* App Brand Color */
    --accent-secondary: #ff8fa3;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 107, 157, 0.15);
    /* Gradients */
    --gradient-main: linear-gradient(135deg, #FF6B9D 0%, #ff9a9e 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(255, 107, 157, 0.15), transparent 70%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.25rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.btn-primary-sm {
    background: var(--gradient-main);
    color: white !important;
    padding: 8px 20px;
    border-radius: 99px;
    font-weight: 600;
    box-shadow: 0 0 20px rgba(255, 107, 157, 0.3);
    transition: transform 0.2s;
}

.btn-primary-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 25px rgba(255, 107, 157, 0.5);
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: 160px;
    padding-bottom: 100px;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid rgba(255, 107, 157, 0.3);
    color: #ff9a9e;
    border-radius: 99px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 0 30px rgba(255, 107, 157, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.5);
}

.btn-secondary {
    background: rgba(255, 107, 157, 0.1);
    border: 1px solid var(--glass-border);
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(255, 107, 157, 0.2);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Hero Visual & Mockup */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #fff;
    /* White frame */
    border-radius: 40px;
    border: 8px solid #f0f0f0;
    /* Light gray border */
    position: relative;
    box-shadow: 0 0 0 2px #ffc9d9, 0 20px 50px -20px rgba(255, 107, 157, 0.2);
    /* Pink shadow */
    z-index: 5;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: #f5f5f5;
    /* Light screen */
    overflow: hidden;
    position: relative;
}

.screen-content {
    padding: 20px;
    height: 100%;
}

.app-header {
    height: 40px;
    width: 50%;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    margin-bottom: 24px;
}

.app-card {
    height: 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.01));
    border-radius: 16px;
    margin-bottom: 16px;
}

.float-card {
    position: absolute;
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 100px;
    left: -60px;
    animation-delay: 0s;
}

.card-2 {
    bottom: 150px;
    right: -40px;
    animation-delay: 2s;
}

.float-card .icon {
    font-size: 24px;
    background: rgba(255, 107, 157, 0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-card h4 {
    font-size: 0.875rem;
    margin-bottom: 2px;
}

.float-card p {
    font-size: 0.75rem;
    color: var(--accent-secondary);
    font-weight: 700;
}

/* Blobs */
.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    /* Lighter for light mode */
    z-index: 1;
}

.blob-1 {
    top: -100px;
    left: -100px;
    background: var(--accent-primary);
}

.blob-2 {
    bottom: 0;
    right: -100px;
    background: var(--accent-secondary);
}

/* Features */
.features {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    padding: 40px 32px;
    border-radius: 24px;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 20px rgba(255, 107, 157, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: rgba(255, 107, 157, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Showcase */
.showcase {
    padding: 100px 0;
}

.showcase-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.chart-mockup {
    height: 300px;
    border-radius: 24px;
    padding: 32px;
    position: relative;
}

.chart-header-row {
    display: Flex;
    gap: 12px;
    margin-bottom: 40px;
    align-items: center;
}

.chart-header-row .dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
}

.chart-header-row .line {
    height: 12px;
    width: 120px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
}

.fake-chart-container {
    width: 100%;
    height: 160px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.line-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-chart-svg path {
    filter: drop-shadow(0 4px 6px rgba(255, 107, 157, 0.3));
}

.feature-list {
    list-style: none;
    margin-top: 32px;
}

.feature-list li {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-list .check {
    width: 24px;
    height: 24px;
    background: var(--accent-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* CTA */
.cta-section {
    padding: 100px 0 40px;
}

.cta-card {
    padding: 80px;
    border-radius: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
    background: rgba(255, 255, 255, 0.7);
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--gradient-glow);
    opacity: 0.5;
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.125rem;
}

.qr-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: white;
    padding: 16px;
    border-radius: 12px;
}

/* QR Placeholder removed */

.qr-img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    display: block;
}

.qr-box span {
    color: #1e293b;
    font-weight: 600;
    font-size: 0.875rem;
}

.footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.icp-info {
    margin-top: 8px;
    font-size: 0.75rem;
    opacity: 0.7;
}

.icp-info a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: opacity 0.3s;
}

.icp-info a:hover {
    text-decoration: underline;
    opacity: 1;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-desc {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .showcase-layout {
        grid-template-columns: 1fr;
    }

    .showcase-visual {
        order: -1;
    }
}