:root {
    --slate-950: #ffffff;
    --slate-900: #f8fafc;
    --slate-850: #f1f5f9;
    --slate-800: #ffffff;
    --slate-700: #64748b;
    --primary: #458fcd;
    --primary-glow: rgba(69, 143, 205, 0.2);
    --eco-green: #10b981;
    --eco-green-light: #34d399;
    --eco-green-glow: rgba(16, 185, 129, 0.2);
    --cyan: #06b6d4;
    --text-light: #1e293b;
    --text-muted: #64748b;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(69, 143, 205, 0.08);
    
    --medal-gold-bg: linear-gradient(135deg, #fef08a 0%, #eab308 100%);
    --medal-gold-border: rgba(234, 179, 8, 0.2);
    --medal-gold-accent: #854d0e;
    --medal-silver-bg: linear-gradient(135deg, #f8fafc 0%, #cbd5e1 100%);
    --medal-silver-border: rgba(203, 213, 225, 0.2);
    --medal-silver-accent: #334155;
    --medal-bronze-bg: linear-gradient(135deg, #ffedd5 0%, #d97706 100%);
    --medal-bronze-border: rgba(217, 119, 6, 0.2);
    --medal-bronze-accent: #7c2d12;
    
    --elevation-glass: 0 20px 40px -15px rgba(79, 94, 120, 0.1), inset 0 1px 0px rgba(255, 255, 255, 0.6);
    --radius-large: 24px;
    --radius-medium: 16px;
    --spring-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
    --smooth-easing: cubic-bezier(0.2, 0, 0, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--slate-900);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Subtle dot-grid pattern for premium texture */
body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(rgba(69, 143, 205, 0.06) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    z-index: -2;
    pointer-events: none;
}

/* Ambient background glow orbs - soft pastel blurs for light mode */
.bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-1 {
    top: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0) 70%);
    animation: pulseGlow 15s ease-in-out infinite alternate;
}

.bg-glow-2 {
    top: 40%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(69, 143, 205, 0.06) 0%, rgba(69, 143, 205, 0) 70%);
    animation: pulseGlow 20s ease-in-out infinite alternate-reverse;
}

.bg-glow-3 {
    bottom: -10%;
    left: 20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, rgba(6, 182, 212, 0) 70%);
    animation: pulseGlow 18s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.7; }
    100% { transform: translate(60px, 40px) scale(1.1); opacity: 0.9; }
}

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

header {
    padding: 2.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--eco-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--eco-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--eco-green-glow);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    padding: 5rem 0;
    align-items: center;
}

.hero-text h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    color: #0f172a;
}

.hero-text h1 span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--eco-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 90%;
    font-weight: 400;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

@media (max-width: 992px) {
    .hero-buttons {
        justify-content: center;
    }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 50%, var(--eco-green) 100%);
    background-size: 200% 200%;
    background-position: 0% 50%;
    color: #ffffff;
    padding: 1.1rem 2.2rem;
    border-radius: 99px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 30px rgba(69, 143, 205, 0.25);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background-position 0.6s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 35px rgba(69, 143, 205, 0.35);
    background-position: 100% 50%;
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.99);
    box-shadow: 0 6px 20px rgba(69, 143, 205, 0.2);
}

.btn-app-store {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    background: rgba(241, 245, 249, 0.7);
    color: var(--text-muted);
    padding: 1.1rem 2.2rem;
    border-radius: 99px;
    font-weight: 700;
    font-size: 1.1rem;
    position: relative;
    border: 1px solid rgba(203, 213, 225, 0.5);
    cursor: not-allowed;
    user-select: none;
    transition: all 0.3s ease;
}

.btn-app-store svg {
    opacity: 0.65;
}

.badge-coming-soon {
    position: absolute;
    top: -12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--eco-green) 100%);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.22rem 0.6rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px var(--primary-glow);
    white-space: nowrap;
    animation: badgePulse 2.5s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 4px 12px var(--primary-glow); }
    50% { transform: translateY(-2px) scale(1.04); box-shadow: 0 6px 16px rgba(69, 143, 205, 0.35); }
}

.hero-mockup {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    position: relative;
}

.mockup-placeholder {
    width: 290px;
    aspect-ratio: 9 / 19.5;
    background: #ffffff;
    border: 10px solid #cbd5e1;
    border-radius: 36px;
    box-shadow: 0 25px 60px -15px rgba(79, 94, 120, 0.25), 0 0 30px rgba(69, 143, 205, 0.1);
    overflow: hidden;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s;
    animation: float 6s ease-in-out infinite;
}

.mockup-reflection {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 60%);
    z-index: 10;
    pointer-events: none;
    transition: background 0.1s ease;
}

.mockup-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}

.dashboard-section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4.5rem;
    text-align: center;
}

.section-header h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    margin-bottom: 0.5rem;
    color: #0f172a;
}

.section-season-subtitle {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.goal-reached-banner {
    max-width: 800px;
    margin: 0 auto 3rem auto;
    padding: 1.5rem 2rem;
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
    border: 1px solid rgba(16, 185, 129, 0.18);
    color: var(--text-light);
    text-align: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.05);
}

.goal-reached-banner strong {
    display: block;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #065f46;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.goal-reached-banner p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-muted);
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: stretch;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--smooth-easing), transform 1s var(--spring-easing);
}

.dashboard-layout.visible {
    opacity: 1;
    transform: translateY(0);
}

.card {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-large);
    padding: 3rem;
    box-shadow: var(--elevation-glass);
    display: flex;
    flex-direction: column;
    transition: border-color 0.4s ease, transform 0.4s var(--spring-easing), box-shadow 0.4s ease;
}

.card:hover {
    border-color: rgba(69, 143, 205, 0.2);
    box-shadow: 0 25px 50px -15px rgba(79, 94, 120, 0.15);
}

.hero-impact-card {
    border-color: rgba(16, 185, 129, 0.12);
}

.hero-impact-card:hover {
    border-color: rgba(16, 185, 129, 0.25);
    transform: translateY(-4px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.card-header h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #0f172a;
}

.icon-box {
    background: rgba(69, 143, 205, 0.08);
    color: var(--primary);
    padding: 0.6rem;
    border-radius: 12px;
    display: flex;
    border: 1px solid rgba(69, 143, 205, 0.12);
}

.icon-box.eco {
    background: rgba(16, 185, 129, 0.08);
    color: var(--eco-green);
    border: 1px solid rgba(16, 185, 129, 0.12);
}

/* Forest Illustration */
.forest-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 140px;
    margin-bottom: 2.5rem;
    gap: 1.75rem;
    position: relative;
}

.tree-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    transform-origin: bottom center;
    transform: scale(0);
    opacity: 0.3;
    transition: transform 1.5s var(--spring-easing), opacity 1.5s ease;
    flex: 1;
    max-width: 80px;
}

.tree-svg {
    width: 100%;
    height: auto;
    max-height: 100%;
    filter: drop-shadow(0 8px 12px rgba(79, 94, 120, 0.15));
}

.tree-svg .trunk {
    stroke: #94a3b8;
    transition: stroke 1s ease;
}

.tree-svg .leaves {
    fill: url(#eco-gray-grad);
    transition: fill 1s ease;
}

.tree-wrapper.grown {
    opacity: 1;
}

.tree-wrapper.grown .tree-svg .trunk {
    stroke: #b45309; /* warm wood color */
}

.tree-wrapper.grown .tree-svg .leaves {
    fill: url(#eco-green-grad);
}

.gauge-value-container {
    text-align: center;
    margin-bottom: 2rem;
}

.gauge-value {
    font-family: 'Outfit', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #1e293b 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gauge-label {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.progress-track {
    background-color: rgba(69, 143, 205, 0.05);
    border-radius: 99px;
    height: 14px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(69, 143, 205, 0.05);
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--eco-green-light));
    border-radius: 99px;
    transition: width 2.5s var(--spring-easing);
    box-shadow: 0 0 15px rgba(69, 143, 205, 0.25);
}

/* Conversion Widget */
.conversion-card {
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(69, 143, 205, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.conversion-title {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.conversion-tabs {
    display: flex;
    gap: 0.5rem;
    background: rgba(69, 143, 205, 0.04);
    padding: 0.35rem;
    border-radius: 99px;
    border: 1px solid rgba(69, 143, 205, 0.08);
    margin-bottom: 2rem;
    width: 100%;
    max-width: 420px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.conversion-tabs::-webkit-scrollbar {
    display: none;
}

.conversion-tab {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
    border-radius: 99px;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    white-space: nowrap;
}

.conversion-tab:hover {
    color: var(--primary);
}

.conversion-tab.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 4px 10px rgba(79, 94, 120, 0.1);
}

.conversion-display {
    text-align: center;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.conversion-display-value {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.1;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(69, 143, 205, 0.1);
    margin-bottom: 0.5rem;
    transition: transform 0.2s ease;
}

.conversion-display-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 380px;
    line-height: 1.5;
}

.leaderboard-card {
    border-color: rgba(69, 143, 205, 0.12);
}

.leaderboard-card:hover {
    border-color: rgba(69, 143, 205, 0.25);
    transform: translateY(-4px);
}

/* Podium Styles */
.podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(69, 143, 205, 0.08);
    position: relative;
}

.podium-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 130px;
    opacity: 0;
    transform: translateY(40px);
    position: relative;
}

.dashboard-layout.visible .podium-item {
    animation: popIn 0.8s var(--spring-easing) forwards;
}

.podium-item.silver { animation-delay: 0.2s; }
.podium-item.gold { animation-delay: 0s; z-index: 2; }
.podium-item.bronze { animation-delay: 0.4s; }

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

.podium-avatar {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 6px 12px rgba(79,94,120,0.15));
    line-height: 1;
    position: relative;
}


.podium-item.gold .podium-avatar {
    font-size: 3.8rem;
}

/* Sparkles for gold winner */
.podium-item.gold::before {
    content: '✨';
    position: absolute;
    top: -15px;
    left: 10px;
    font-size: 1.2rem;
    opacity: 0.8;
    animation: bounceGlow 3s ease-in-out infinite alternate;
}

@keyframes bounceGlow {
    0% { transform: translateY(0) scale(0.9); opacity: 0.6; }
    100% { transform: translateY(-8px) scale(1.1); opacity: 1; }
}

.podium-name {
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    margin-bottom: 0.35rem;
    color: #1e293b;
}

.podium-score {
    font-family: 'Inter', monospace;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.75rem;
    background: rgba(69, 143, 205, 0.08);
    border: 1px solid rgba(69, 143, 205, 0.12);
    padding: 0.25rem 0.6rem;
    border-radius: 99px;
}

.podium-step {
    width: 100%;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    display: flex;
    justify-content: center;
    padding-top: 0.85rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    color: #ffffff;
    box-shadow: 0 -4px 15px rgba(79,94,120,0.08);
    position: relative;
    overflow: hidden;
}

.podium-step::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: rgba(255,255,255,0.4);
}

.podium-step.step-1 {
    height: 120px;
    background: linear-gradient(180deg, #fef08a 0%, #eab308 100%);
    border: 1px solid rgba(234,179,8,0.2);
    border-bottom: none;
    color: #854d0e;
}

.podium-step.step-2 {
    height: 90px;
    background: linear-gradient(180deg, #f1f5f9 0%, #cbd5e1 100%);
    border: 1px solid rgba(203,213,225,0.2);
    border-bottom: none;
    color: #334155;
}

.podium-step.step-3 {
    height: 65px;
    background: linear-gradient(180deg, #ffedd5 0%, #d97706 100%);
    border: 1px solid rgba(217,119,6,0.2);
    border-bottom: none;
    color: #7c2d12;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1.1rem 1.4rem;
    background: rgba(69, 143, 205, 0.02);
    border: 1px solid rgba(69, 143, 205, 0.04);
    border-radius: var(--radius-medium);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s var(--spring-easing);
}

.leaderboard-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.leaderboard-item:hover {
    transform: scale(1.02);
    background: rgba(69, 143, 205, 0.05);
    border-color: rgba(69, 143, 205, 0.12);
    box-shadow: 0 8px 25px rgba(79,94,120,0.05);
}

.leaderboard-item.rank-gold {
    background: rgba(234, 179, 8, 0.04);
    border-color: rgba(234, 179, 8, 0.12);
}
.leaderboard-item.rank-gold:hover {
    background: rgba(234, 179, 8, 0.08);
    border-color: rgba(234, 179, 8, 0.2);
}
.leaderboard-item.rank-gold .rank { color: #b45309; }

.leaderboard-item.rank-silver {
    background: rgba(148, 163, 184, 0.04);
    border-color: rgba(148, 163, 184, 0.12);
}
.leaderboard-item.rank-silver:hover {
    background: rgba(148, 163, 184, 0.08);
    border-color: rgba(148, 163, 184, 0.2);
}
.leaderboard-item.rank-silver .rank { color: #475569; }

.leaderboard-item.rank-bronze {
    background: rgba(202, 138, 4, 0.04);
    border-color: rgba(202, 138, 4, 0.12);
}
.leaderboard-item.rank-bronze:hover {
    background: rgba(202, 138, 4, 0.08);
    border-color: rgba(202, 138, 4, 0.2);
}
.leaderboard-item.rank-bronze .rank { color: #9a3412; }

.rank {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-muted);
    width: 45px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.name-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-grow: 1;
    min-width: 0;
}

.name-text {
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pioneer-badge {
    font-size: 1.1rem;
    line-height: 1;
    flex-shrink: 0;
    cursor: help;
    animation: breathe 4s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
}

.score {
    font-family: 'Inter', monospace;
    font-weight: 800;
    color: var(--primary);
    margin-left: 1rem;
}

.leaderboard-empty {
    color: var(--text-muted);
    font-size: 1rem;
    padding: 1.5rem 0;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    padding: 5rem 0 10rem 0;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: var(--radius-large);
    box-shadow: var(--elevation-glass);
    border: 1px solid var(--glass-border);
    text-align: left;
    transition: all 0.4s var(--spring-easing);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(69, 143, 205, 0.2);
    box-shadow: 0 25px 50px -15px rgba(79, 94, 120, 0.15);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(69, 143, 205, 0.08);
    color: var(--primary);
    border: 1px solid rgba(69, 143, 205, 0.12);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(79,94,120,0.05);
}

.feature-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #0f172a;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .hero { grid-template-columns: 1fr; text-align: center; gap: 4rem; }
    .hero-text p { margin: 0 auto 3rem auto; }
    .hero-mockup { margin-top: 2rem; }
    .dashboard-layout { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 3rem; }
    .forest-container { gap: 1rem; }
}

@media (max-width: 576px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero-text h1 {
        font-size: 2.25rem;
        letter-spacing: -1px;
    }
    
    .hero-text p {
        font-size: 1.05rem;
    }
    
    .card, html.embed-mode .card {
        padding: 1.5rem;
        border-radius: var(--radius-medium);
    }
    
    .feature-card {
        padding: 1.75rem;
        border-radius: var(--radius-medium);
    }
    
    /* Forest/Trees Responsiveness */
    .forest-container {
        gap: 0.5rem;
        height: 110px;
        margin-bottom: 1.5rem;
    }
    
    .tree-wrapper {
        max-width: 50px;
    }
    
    /* Gauge responsive sizes */
    .gauge-value {
        font-size: 3.5rem;
    }
    
    .gauge-label {
        font-size: 0.95rem;
    }
    
    /* Conversion widget responsiveness */
    .conversion-card {
        margin-top: 1.75rem;
        padding-top: 1.75rem;
    }
    
    .conversion-tabs {
        gap: 0.25rem;
        padding: 0.25rem;
        margin-bottom: 1.25rem;
    }
    
    .conversion-tab {
        padding: 0.4rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .conversion-display {
        min-height: 90px;
    }
    
    .conversion-display-value {
        font-size: 2.4rem;
    }
    
    .conversion-display-desc {
        font-size: 0.85rem;
    }
    
    /* Leaderboard Podium Responsiveness */
    .podium {
        gap: 0.35rem;
        margin-top: 1rem;
        margin-bottom: 1.75rem;
        padding-bottom: 1rem;
    }
    
    .podium-item {
        max-width: 90px;
    }
    
    .podium-avatar {
        font-size: 2rem;
    }
    
    .podium-item.gold .podium-avatar {
        font-size: 2.6rem;
    }
    
    .podium-name {
        font-size: 0.8rem;
    }
    
    .podium-score {
        font-size: 0.75rem;
        padding: 0.15rem 0.4rem;
    }
    
    .podium-step.step-1 {
        height: 80px;
        font-size: 1.3rem;
        padding-top: 0.5rem;
    }
    
    .podium-step.step-2 {
        height: 60px;
        font-size: 1.3rem;
        padding-top: 0.5rem;
    }
    
    .podium-step.step-3 {
        height: 45px;
        font-size: 1.3rem;
        padding-top: 0.5rem;
    }
    
    /* Leaderboard List */
    .leaderboard-item {
        padding: 0.85rem 1rem;
        border-radius: 12px;
    }
    
    .rank {
        width: 32px;
        font-size: 0.95rem;
    }
    
    .name-text {
        font-size: 0.9rem;
    }
    
    .score {
        font-size: 0.9rem;
        margin-left: 0.5rem;
    }
}

/* In-app / WebView: hide hero, store CTA, feature grid, top logo */
html.embed-mode .landing-marketing {
    display: none !important;
}

html.embed-mode .dashboard-section {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

html.embed-mode .container {
    padding: 0 1rem;
}

html.embed-mode .card {
    padding: 2rem;
}
