:root {
    --tt-red: #c4171d;
    --tt-dark: #343a40;
    --tt-gray: #6c757d
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Liberation Sans', sans-serif;
    color: #212529
}

.brand-logo {
    height: 36px;
    width: auto
}

.navbar .nav-link {
    padding: .5rem .75rem;
    color: #212529
}

.navbar .nav-link.active, .navbar .nav-link:focus, .navbar .nav-link:hover {
    color: var(--tt-red)
}

.navbar .btn {
    --bs-btn-bg: var(--tt-red);
    --bs-btn-border-color: var(--tt-red)
}

.hero {
    padding-top: 7rem;
    padding-bottom: 5rem;
    background: linear-gradient(135deg, rgba(196, 23, 29, .85), rgba(52, 58, 64, .85)), url('../img/9.png') center/cover no-repeat;
    color: #fff
}

.hero-illustration {
    height: 300px;
    background: url('../img/14.png') center/cover no-repeat
}

.section {
    scroll-margin-top: 90px
}

h1, h2, h3, h4, h5 {
    letter-spacing: .2px
}

.card {
    border-radius: .75rem
}

.btn-danger {
    --bs-btn-bg: var(--tt-red);
    --bs-btn-border-color: var(--tt-red);
    --bs-btn-hover-bg: #a31318;
    --bs-btn-hover-border-color: #a31318
}

footer {
    background: #fff
}



@media (min-width: 992px) {
    .hero {
        padding-top: 8rem;
        padding-bottom: 7rem
    }

    .hero-illustration {
        height: 360px
    }
}

/* o-aplikacji */
.features-grid .feature-icon {
    font-size: 1.5rem;
    color: var(--tt-red)
}

.features-grid .feature-title {
    font-weight: 600;
    margin-bottom: .125rem
}

.features-grid .feature-text {
    color: var(--tt-gray)
}

.app-shot {
    object-fit: cover;
    width: 100%;
    height: 300px;
    object-position: center
}

@media (min-width: 992px) {
    .app-shot {
        height: 400px
    }
}

/* wersja testowa */
.trial-content h2 {
    color: var(--tt-dark)
}

.trial-benefits .benefit-icon {
    color: var(--tt-red);
    font-size: 1.25rem
}

.trial-benefits .benefit-item {
    transition: transform .2s ease
}

.trial-benefits .benefit-item:hover {
    transform: translateX(4px)
}

.trial-guarantee {
    border-left: 4px solid var(--tt-red)
}

/* nowy formularz */
.form-container {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, .1);
    border: 1px solid #f0f0f0
}

.form-header .form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--tt-red), #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #fff;
    font-size: 1.5rem
}

.form-title {
    color: var(--tt-dark);
    font-weight: 700;
    font-size: 1.5rem
}

.form-subtitle {
    font-size: .95rem
}

.modern-form .input-wrapper {
    position: relative;
    margin-bottom: 1rem
}

.modern-form .form-input {
    width: 100%;
    height: 60px;
    padding: 1rem .75rem 0rem;
    border: 2px solid #e9ecef;
    border-radius: .5rem;
    font-size: 1rem;
    background: #fff;
    transition: all .3s ease;
    outline: none
}

.modern-form .form-input:focus {
    border-color: var(--tt-red);
    box-shadow: 0 0 0 3px rgba(196, 23, 29, .1)
}

.modern-form .form-input:focus + .form-label, .modern-form .form-input:not(:placeholder-shown) + .form-label {
    transform: translateY(-.5rem) scale(.85);
    color: var(--tt-red)
}

.modern-form .form-label {
    position: absolute;
    left: .75rem;
    top: 1rem;
    color: #6c757d;
    font-size: 1rem;
    pointer-events: none;
    transition: all .3s ease;
    background: none;
    padding: 0 .5rem;
    transform-origin: left top;
    z-index: 1
}

.modern-form .invalid-feedback {
    display: none;
    width: 100%;
    margin-top: .25rem;
    font-size: .875rem;
    color: #dc3545
}

.modern-form .form-input.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, .1)
}

.modern-form .form-input.is-invalid + .form-label {
    color: #dc3545
}

.modern-form .form-input.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, .1)
}

.modern-form .form-input.is-valid + .form-label {
    color: #28a745
}

.form-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap
}

.btn-submit {
    background: linear-gradient(135deg, var(--tt-red), #e74c3c);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: .5rem;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: all .3s ease;
    cursor: pointer;
    text-decoration: none
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 23, 29, .3);
    color: #fff
}

.btn-submit:active {
    transform: translateY(0)
}

.btn-reset {
    background: transparent;
    color: #6c757d;
    border: 2px solid #e9ecef;
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    font-size: .9rem;
    transition: all .3s ease;
    cursor: pointer
}

.btn-reset:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057
}

.form-footer {
    color: #6c757d;
    font-size: .85rem
}

.alert {
    animation: slideDown .3s ease;
    border-radius: .5rem;
    padding: 1rem
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px)
    }
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

@media (max-width: 768px) {
    .form-container {
        padding: 1.5rem
    }

    .form-actions {
        flex-direction: column;
        width: 100%
    }

    .btn-submit, .btn-reset {
        width: 100%;
        justify-content: center
    }
}

/* o firmie */
.company-title {
    color: var(--tt-dark);
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem
}

.company-badge .badge {
    font-size: 1rem;
    font-weight: 600;
    border-radius: 2rem
}

.company-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057
}

.company-stats {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
    border: 1px solid #f0f0f0
}

.stat-item {
    padding: 1rem .5rem
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--tt-red);
    line-height: 1
}

.stat-label {
    font-size: .9rem;
    color: #6c757d;
    font-weight: 500;
    margin-top: .5rem
}

.company-features .feature-item {
    padding: 1rem;
    background: #fff;
    border-radius: .75rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
    transition: all .3s ease;
    border: 1px solid #f8f9fa
}

.company-features .feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .1)
}

.company-features .feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--tt-red), #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    flex-shrink: 0
}

.company-features .feature-title {
    color: var(--tt-dark);
    font-weight: 600;
    font-size: 1rem
}

.company-features .feature-text {
    color: #6c757d;
    font-size: .9rem;
    line-height: 1.5
}

.company-actions .btn {
    font-weight: 600;
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    transition: all .3s ease
}

.company-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 23, 29, .3)
}

.company-image-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15)
}

.company-image {
    width: 100%;
    height: 400px;
    object-fit: cover
}

.testimonial-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    border-left: 4px solid var(--tt-red);
    position: relative
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--tt-red);
    font-weight: 700;
    line-height: 1
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
    margin-bottom: 1.5rem
}

.testimonial-author strong {
    color: var(--tt-dark);
    font-weight: 600
}

.testimonial-author .text-muted {
    font-size: .9rem
}

@media (max-width: 768px) {
    .company-title {
        font-size: 2rem
    }
    
    .company-stats {
        padding: 1.5rem
    }
    
    .stat-number {
        font-size: 1.5rem
    }
    
    .company-features .feature-item {
        padding: .75rem
    }
    
    .testimonial-card {
        padding: 1.5rem
    }
}

/* kontakt */
.contact-title {
    color: var(--tt-dark);
    font-weight: 700;
    font-size: 2.5rem
}

.contact-subtitle {
    color: #6c757d;
    font-size: 1.2rem
}

.contact-card {
    background: #fff;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
    border: 1px solid #f0f0f0;
    transition: all .3s ease;
    height: 100%
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .15)
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--tt-red), #e74c3c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #fff;
    font-size: 2rem
}

.contact-card-title {
    color: var(--tt-dark);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem
}

.contact-info {
    color: #495057
}

.contact-link {
    color: var(--tt-red);
    text-decoration: none;
    font-weight: 500;
    transition: color .3s ease
}

.contact-link:hover {
    color: #a31318;
    text-decoration: underline
}

.contact-note {
    font-size: .9rem;
    color: #6c757d;
    margin-top: .5rem;
    margin-bottom: 0
}

.contact-actions .btn {
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: .5rem;
    transition: all .3s ease
}

.contact-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(196, 23, 29, .3)
}

/* stopka */
.footer {
    background: #fff;
    border-top: 1px solid #e9ecef
}

.footer-section {
    margin-bottom: 1rem
}

.footer-title {
    color: var(--tt-dark);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem
}

.footer-text {
    color: #6c757d;
    font-size: .95rem;
    line-height: 1.6;
    margin-bottom: .5rem
}

.footer-link {
    color: var(--tt-red);
    text-decoration: none;
    transition: color .3s ease
}

.footer-link:hover {
    color: #a31318;
    text-decoration: underline
}

.footer-badge {
    margin-top: 1rem
}

.footer-badge .badge {
    font-size: .8rem;
    padding: .5rem 1rem;
    border-radius: 2rem
}

.footer-divider {
    border-color: #dee2e6;
    margin: 2rem 0 1.5rem
}

.footer-copyright {
    color: #6c757d;
    font-size: .9rem
}

.footer-version {
    color: #6c757d;
    font-size: .85rem
}

@media (max-width: 768px) {
    .contact-title {
        font-size: 2rem
    }
    
    .contact-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem
    }
    
    .contact-actions .btn {
        width: 100%;
        margin-bottom: .5rem
    }
    
    .footer-section {
        text-align: center;
        margin-bottom: 2rem
    }
    
    .footer-version {
        text-align: center !important;
        margin-top: 1rem
    }
}

