:root {
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #10b981;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --bg-body: #f0f4f8;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: var(--font-main);
    background: var(--bg-body);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* --- Background Animation --- */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.6;
    animation: floatOrb 25s infinite ease-in-out;
}

.orb-1 {
    width: 70vh;
    height: 70vh;
    background: #dbeafe; /* Blue-100 */
    top: -20%;
    left: -20%;
}

.orb-2 {
    width: 60vh;
    height: 60vh;
    background: #e0e7ff; /* Indigo-100 */
    bottom: -10%;
    right: -10%;
    animation-delay: -5s;
}

.orb-3 {
    width: 40vh;
    height: 40vh;
    background: #fce7f3; /* Pink-100 (Ледь помітний рожевий) */
    bottom: 20%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 30px) scale(0.9); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Header --- */
.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 22px;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-icon {
    font-size: 24px;
}

.lp-nav {
    display: flex;
    gap: 32px;
}

.lp-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 14px;
    transition: 0.2s;
}

.lp-nav a:hover {
    color: var(--primary);
}

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.btn-login {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 14px;
    padding: 8px 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Hero --- */
.hero-section {
    padding: 140px 0 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
    color: #1e293b;
}

/* Синьо-рожевий градієнт */
.text-gradient {
    background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.badge-new {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid #dbeafe;
}

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

.btn-hero {
    background: #1e293b;
    color: white;
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    font-size: 16px;
    box-shadow: 0 10px 30px rgba(30, 41, 59, 0.2);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(30, 41, 59, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--text-main);
    padding: 16px 32px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    border: 1px solid rgba(0,0,0,0.05);
}

.btn-secondary:hover {
    background: #f8fafc;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 24px;
}

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

.h-stat-item b {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-main);
}

.h-stat-item span {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

/* --- Visual Mockup --- */
.hero-visual {
    position: relative;
    display: flex; 
    justify-content: center;
}

.mockup-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(24px);
    border-radius: 32px;
    padding: 32px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.1);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: transform 0.1s linear;
    width: 100%;
    max-width: 500px;
}

@media (hover: hover) {
    .mockup-card:hover {
        transform: perspective(1000px) rotateY(0) rotateX(0) scale(1.02);
        transition: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.avatar-wrapper {
    width: 64px;
    height: 64px;
    background: #eff6ff;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.u-name {
    font-weight: 800;
    font-size: 18px;
    color: var(--text-main);
}

.u-status {
    font-size: 13px;
    color: var(--primary);
    font-weight: 600;
    background: rgba(37,99,235,0.1);
    padding: 4px 8px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 4px;
}

.u-lvl {
    margin-left: auto;
    font-weight: 900;
    font-size: 20px;
    color: var(--text-muted);
    opacity: 0.3;
}

.mockup-progress {
    height: 8px;
    background: #f1f5f9;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
}

.bar-fill {
    width: 65%;
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #60a5fa);
    border-radius: 6px;
}

.mockup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.m-item {
    background: white;
    padding: 16px 8px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: 0.2s;
    border: 1px solid transparent;
}

.m-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.m-item.locked {
    opacity: 0.6;
    filter: grayscale(1);
    cursor: not-allowed;
}

.m-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 6px;
}

.m-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.floating-badge {
    position: absolute;
    background: white;
    padding: 10px 20px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 8px;
    animation: floatBadge 4s infinite ease-in-out;
    border: 1px solid rgba(255,255,255,0.8);
    z-index: 2;
    white-space: nowrap;
}

.fb-1 {
    top: -20px;
    right: -10px;
    animation-delay: 0s;
    color: #d97706;
}

.fb-2 {
    bottom: 30px;
    left: -30px;
    animation-delay: -2s;
    color: #2563eb;
}

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

/* --- Features --- */
.features-section {
    padding: 100px 0;
}

.section-head {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 16px;
    color: var(--text-main);
}

.section-head p {
    color: var(--text-muted);
    font-size: 18px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
}

.fc-icon {
    width: 64px;
    height: 64px;
    background: #f8fafc;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 20px -5px rgba(0,0,0,0.05);
}

.feature-card.foundation .fc-icon { background: #f0fdfa; color: #14b8a6; }
.feature-card.sport .fc-icon { background: #fff7ed; color: #f97316; }
.feature-card.work .fc-icon { background: #eff6ff; color: #2563eb; }
.feature-card.finance .fc-icon { background: #f5f3ff; color: #7c3aed; }

.feature-card h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.fc-list {
    list-style: none;
    padding: 0;
}

.fc-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.fc-list li:last-child {
    border-bottom: none;
}

/* --- Gamification --- */
.gamification-section {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(37,99,235,0.05) 100%);
}

.g-container {
    text-align: center;
}

.g-content {
    max-width: 800px;
    margin: 0 auto;
}

.g-content h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 20px;
}

.g-content p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 60px;
    line-height: 1.6;
}

.evolution-path {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.evo-step {
    background: white;
    padding: 20px;
    border-radius: 24px;
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.evo-emoji {
    font-size: 32px;
    margin-bottom: 8px;
}

.evo-step span {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-muted);
}

.arrow {
    font-size: 20px;
    color: #cbd5e1;
    font-weight: 800;
}

.achievements-preview {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.ach-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 16px 24px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
}

.ach-icon {
    font-size: 32px;
}

.ach-info {
    text-align: left;
}

.ach-info h4 {
    font-size: 14px;
    font-weight: 800;
    color: var(--text-main);
}

.ach-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Pricing --- */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
}

.price-card {
    background: white;
    padding: 40px;
    border-radius: 32px;
    border: 1px solid #e2e8f0;
    position: relative;
}

.price-card.popular {
    border: 2px solid var(--primary);
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.15);
    transform: scale(1.05);
    z-index: 2;
}

.price-card.popular:hover {
    transform: scale(1.05) translateY(-4px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.save-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dcfce7;
    color: #166534;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
}

.save-badge.small {
    background: #f1f5f9;
    color: var(--text-muted);
}

.price-header {
    margin-bottom: 32px;
    text-align: center;
}

.price-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 8px;
}

.price-val {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-main);
}

.price-val span {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

.price-subtext {
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
}

.price-features {
    list-style: none;
    padding: 0;
    margin-bottom: 32px;
}

.price-features li {
    padding: 10px 0;
    color: var(--text-main);
    font-size: 15px;
    font-weight: 500;
    border-bottom: 1px dashed #e2e8f0;
}

.price-features li:last-child {
    border-bottom: none;
}

.btn-price {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
}

.btn-price.basic {
    background: #f1f5f9;
    color: var(--text-main);
}

.btn-price.basic:hover {
    background: #e2e8f0;
}

.btn-price.pro {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-price.pro:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* --- Free Trial Banner --- */
.free-trial-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 24px;
    padding: 24px 32px;
    box-shadow: 0 15px 40px -10px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    flex-wrap: wrap;
    gap: 20px;
}

.free-trial-banner::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 6px;
    height: 100%;
    background: #f472b6; 
}

.ft-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ft-icon {
    font-size: 40px;
    flex-shrink: 0;
}

.ft-text h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #1e293b;
}

.ft-text p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
    font-weight: 500;
}

.btn-trial {
    background: #1e293b;
    color: white;
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s;
    box-shadow: 0 4px 15px rgba(30, 41, 59, 0.2);
    white-space: nowrap;
}

.btn-trial:hover {
    background: #334155;
    transform: translateY(-2px);
}

.pricing-note {
    text-align: center;
    margin-top: 32px;
    font-size: 14px;
    color: var(--text-muted);
    opacity: 0.8;
}

/* --- Footer --- */
.lp-footer {
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0,0,0,0.05);
    background: white;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-brand p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

/* MOBILE ADAPTATION */
@media (max-width: 850px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 40px;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .lp-nav {
        display: none;
    }

    .pricing-grid {
        max-width: 500px;
        margin: 0 auto 32px auto;
        grid-template-columns: 1fr;
    }

    .price-card.popular {
        transform: none;
    }

    .free-trial-banner {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .ft-content {
        flex-direction: column;
        gap: 12px;
    }

    .btn-trial {
        width: 100%;
        text-align: center;
    }
    
    /* Fix Footer on Mobile */
    .footer-inner {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }
    .footer-brand {
        width: 100%;
    }
    .footer-brand .logo {
        justify-content: center; /* Центрування лого на мобільному */
    }
    
    /* Mobile Badge Adjustment */
    .fb-1 {
        top: -15px;
        right: 0;
    }
    .fb-2 {
        bottom: 20px;
        left: -10px;
    }
}