:root {
    --white: #ffffff;
    --black: #000000;
    --blue: #0062ff;
    --blue-hover: #0052d6;
    --grey-bg: #f8f9fb;
    --grey-border: #eceff3;
    --text-main: #1d1d1f;
    --text-secondary: #6e6e73;
    --tp-green: #00b67a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background: var(--white);
    color: var(--text-main);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    line-height: 1.5;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Zwiększone Logo i Odświeżona Nawigacja */
nav {
    padding: 24px 0;
    border-bottom: 1px solid var(--grey-border);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand { 
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800; 
    font-size: 24px; 
    letter-spacing: -0.8px; 
}

/* Usunięcie zbędnej szpary między słowami w logo */
.brand span { 
    color: var(--blue); 
    margin-left: 2px;
}

.nav-logo {
    height: 44px; 
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 15px;
    margin-left: 24px;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--blue); }

.tp-nav-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--grey-bg);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid var(--grey-border);
}

.tp-stars-row {
    background: var(--tp-green);
    padding: 2px 4px;
    border-radius: 3px;
    display: flex;
    gap: 1px;
}

.tp-star { color: white; font-size: 11px; line-height: 1; }

.tp-nav-badge p {
    font-size: 12px;
    font-weight: 600;
    margin: 0;
}

.tp-nav-badge p span { font-weight: 900; }

/* Hero Section */
.hero { padding: 80px 0 100px 0; }

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    align-items: center;
    gap: 64px;
}

.hero-tagline {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(34px, 5.5vw, 50px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-btns { display: flex; gap: 16px; align-items: center; }

.btn-primary {
    background: var(--blue);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.btn-primary:hover { 
    background-color: var(--blue-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 98, 255, 0.25);
}

.btn-text {
    text-decoration: none;
    color: rgb(73, 73, 73);
    font-weight: 700;
    font-size: 15px;
}

/* Przeprojektowany panel zarobków */
.earnings-mockup {
    background: #ffffff;
    border-radius: 28px;
    border: 1px solid var(--grey-border);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    color: var(--text-main);
}

.mockup-header {
    background: var(--grey-bg);
    padding: 14px 20px;
    border-bottom: 1px solid var(--grey-border);
    display: flex;
    align-items: center;
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}

.mockup-title {
    font-size: 12px;
    font-family: monospace;
    color: var(--text-secondary);
    margin-left: 20px;
}

.mockup-body {
    padding: 24px;
}

.balance-card {
    background: linear-gradient(135deg, rgba(0, 98, 255, 0.06) 0%, rgba(0, 98, 255, 0.01) 100%);
    border: 1px solid rgba(0, 98, 255, 0.15);
    padding: 20px;
    border-radius: 18px;
    margin-bottom: 20px;
}

.balance-label {
    font-size: 12px;
    color: var(--blue);
    font-weight: 700;
    letter-spacing: 0.3px;
}

.balance-amount {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 2px 0;
    color: var(--text-main);
}

.balance-trend {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

.live-notifications {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notif-item {
    background: var(--white);
    border: 1px solid var(--grey-border);
    padding: 12px 16px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.notif-icon {
    font-size: 14px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
}

.notif-icon.expense { background: #fef2f2; color: #ef4444; }
.notif-icon.income { background: #f0fdf4; color: #22c55e; }
.notif-icon.asset { background: #f3f4f6; color: #4b5563; }

.notif-details {
    flex-grow: 1;
    text-align: left;
}

.notif-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
}

.notif-time {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.notif-amount {
    font-size: 14px;
    font-weight: 700;
}

.text-green { color: #16a34a; }
.text-red { color: #dc2626; }
.text-dark { color: var(--text-main); }
.opacity-7 { opacity: 0.7; }

/* Nagłówki Sekcji */
.section-header { margin-bottom: 56px; text-align: center; }
.section-subtitle {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}
.section-header h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; }

/* Features */
.features { padding: 100px 0; background: var(--grey-bg); border-top: 1px solid var(--grey-border); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 32px;
}

.feat-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--grey-border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feat-card:hover { 
    transform: translateY(-4px); 
    box-shadow: 0 12px 30px rgba(0,0,0,0.03);
}

.feat-icon {
    width: 36px;
    height: 36px;
    background: #f0f3f8;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    margin-bottom: 24px;
    color: var(--blue);
}

.feat-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.feat-card p { color: var(--text-secondary); font-size: 15px; line-height: 1.6; }

/* Catalog */
.catalog { padding: 100px 0; }

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 32px;
    width: 100%;
}

.card {
    border: 1px solid var(--grey-border);
    padding: 40px;
    border-radius: 28px;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card.active { 
    border-color: var(--blue); 
    border-width: 2px; 
    box-shadow: 0 16px 40px rgba(0, 62, 255, 0.04);
}

.card.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(0, 62, 255, 0.08);
}

.card-status { font-size: 11px; font-weight: 800; letter-spacing: 1px; margin-bottom: 12px; color: #8e8e93; }
.status-active { color: var(--blue); }

.card h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; letter-spacing: -0.5px; }

/* Meta boksy (Trudność i Potencjalny zysk) */
.card-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.meta-box {
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.meta-box.diff {
    background: var(--grey-bg);
    color: rgba(170, 0, 0, 0.548);
    border: 1px solid var(--red-border);
}

.meta-box.profit {
    background: #e6f8f1;
    color: var(--tp-green);
    border: 1px solid rgba(0, 182, 122, 0.15);
}

.card-desc { color: var(--text-secondary); font-size: 15px; line-height: 1.5; margin-bottom: 40px; }

.card-bottom { margin-top: auto; }
.price { display: block; font-size: 36px; font-weight: 900; margin-bottom: 20px; letter-spacing: -1px; }

.btn-link-buy {
    display: block;
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    background: var(--blue);
    color: white;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-link-buy:hover {
    background: var(--blue-hover);
}

/* Footer */
footer { padding: 48px 0; border-top: 1px solid var(--grey-border); text-align: center; color: var(--text-secondary); font-size: 14px; }

/* Responsive RWD */
@media (max-width: 990px) {
    .nav-content { flex-direction: column; gap: 16px; }
    .nav-right { width: 100%; justify-content: space-between; }
    .nav-links a:first-child { margin-left: 0; }
}

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .hero-description { margin: 0 auto 32px; max-width: 600px; }
    .hero-btns { justify-content: center; }
    .hero-visual { display: none; }
    .nav-right { flex-direction: column; gap: 16px; }
    .nav-links { margin-bottom: 4px; }
}