/* --- Zmienne CSS --- */
:root {
    --bg-dark: #000000;           
    --bg-card: #0a0a0c;           
    --accent-color: #4bb8ff;      
    --accent-hover: #339ce3;      
    --text-main: #f5f5f7;         
    --text-muted: #86868b;        
    --border-color: rgba(255, 255, 255, 0.08); 
    
    --font-main: 'Inter', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: var(--text-main);
}

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

/* --- Typografia i Logo w Headerze --- */
.brand {
    display: flex;
    align-items: center;
    gap: 10px; /* Odstęp między logo a tekstem */
}

.header-logo-img {
    height: 26px; /* Idealny rozmiar pasujący do tekstu */
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #86868b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Przyciski --- */
.btn {
    display: inline-block;
    border-radius: 999px; 
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    text-align: center;
}

/* Nowy, subtelny niebieski przycisk logowania */
.btn-login {
    padding: 8px 18px;
    font-size: 0.9rem;
    background-color: rgba(75, 184, 255, 0.1); /* 10% przezroczystości naszego błękitu */
    color: var(--accent-color);
    border: 1px solid rgba(75, 184, 255, 0.2);
}

.btn-login:hover {
    background-color: rgba(75, 184, 255, 0.15);
    border-color: rgba(75, 184, 255, 0.3);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #000000;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: scale(1.02);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* --- Header --- */
.header {
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
}

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

/* --- Sekcja Hero --- */
.hero {
    padding: 140px 0 100px;
    text-align: center;
}

.hero-title {
    font-size: 4.5rem; 
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.hero-subtitle strong {
    color: var(--text-main);
}

/* --- Sekcja Funkcji --- */
.features {
    padding: 60px 0 120px;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px; 
    padding: 40px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.feature-card:hover {
    background-color: #111113;
    transform: translateY(-4px);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(75, 184, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.feature-icon {
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Stopka --- */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 0 40px;
    background-color: var(--bg-dark);
}

.footer-top {
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 12px;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.creator-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
}

.creator-text {
    color: var(--text-muted);
}

.creator-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    transition: background 0.2s ease;
}

.creator-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.creator-tiny-logo {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

/* --- Responsywność --- */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}