:root {
    --bg-color: #FAFAFA;
    --text-main: #111827;
    --text-secondary: #4B5563;
    --accent-primary: #DC2626;
    --card-bg: #FFFFFF;
    --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.08);
    --shadow-card: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.4;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #fef2f2 0%, #fafafa 60%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* --- Animacje --- */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 1000px;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
    justify-content: center;
}

/* --- Header Section --- */
header {
    margin-top: 1.5rem;
    text-align: center;
    max-width: 750px;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.brand-logo {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: #FEF2F2;
    color: var(--accent-primary);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 99px;
    border: 1px solid #FECACA;
    margin-bottom: 1rem;
}

.badge-dot {
    width: 5px;
    height: 5px;
    background-color: var(--accent-primary);
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #111;
}

h1 span {
    background: linear-gradient(120deg, var(--accent-primary), #991B1B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 400;
    max-width: 650px;
}

/* --- Buttons --- */
.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* Zabezpieczenie na mobile */
}

.btn {
    padding: 12px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background-color: #ffffff;
    color: #111827;
    border: 1px solid #E5E7EB;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.btn-primary:hover {
    background-color: #ffffff;
    border-color: #D1D5DB;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid transparent;
    padding: 12px 16px;
}

.btn-secondary:hover {
    background: #F3F4F6;
    border-radius: 12px;
}

.btn-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

/* --- Hero Image (POPRAWIONE) --- */
.hero-container {
    margin-top: 3rem;
    width: 100%;
    
    /* TO JEST KLUCZOWE: */
    max-width: 800px; /* Ogranicza szerokość */
    margin-left: auto; /* Centruje */
    margin-right: auto; /* Centruje */
    
    border-radius: 20px;
    overflow: hidden; /* Przycina obrazek do rogów */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.hero-container:hover {
    transform: scale(1.02);
}

.demo-img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Features Grid --- */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    margin-bottom: 2.5rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid #F3F4F6;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: #E5E7EB;
}

.icon-box {
    width: 40px;
    height: 40px;
    background: #FEF2F2;
    color: var(--accent-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-box svg { width: 20px; height: 20px; }

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- Footer --- */
footer {
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: #9CA3AF;
    border-top: 1px solid #F3F4F6;
    width: 100%;
    margin-top: auto;
    background-color: #fff;
}

.coffee-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 6px 14px;
    background-color: #fff;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.coffee-btn:hover {
    background-color: #FEF2F2;
    color: var(--accent-primary);
    border-color: #FECACA;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

/* --- Footer Links (NOWE) --- */
.footer-links {
    margin-top: 1.5rem;
    font-size: 0.75rem;
}

.footer-link {
    color: #9CA3AF;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-link:hover {
    color: var(--text-main);
    text-decoration: underline;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    .buttons { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .feature-card { padding: 1.25rem; }
    .container { padding: 1rem; }
    header { margin-top: 1rem; margin-bottom: 2rem; }
}