/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Kolory zgodne z aplikacją Route Optimizer - pełna spójność wizualna */
    --primary-color: #762C7A; /* Route Optimizer Purple - główny kolor brandingowy */
    --primary-light: #9D5C9F;
    --primary-dark: #5A1F5C;
    --secondary-color: #296837; /* Route Optimizer Green - kolor akcentujący */
    --secondary-light: #4A8A56;
    --secondary-dark: #1B4825;
    --background-color: #F7F7F7;
    --paper-color: #FFFFFF;
    --text-primary: #1A1A1A; /* Dark text */
    --text-secondary: #666666;
    --warning-color: #F9D137; /* Route Optimizer yellow/lemon accent */
    --success-color: var(--secondary-color);
    --error-color: #D32F2F;
    --border-color: #E0E0E0;
    --shadow: 0px 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0px 8px 24px rgba(118, 44, 122, 0.12); /* Route Optimizer Purple shadow */
}

body {
    font-family: 'Hind Madurai', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--background-color);
}

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

/* Nagłówek */
.header {
    background-color: var(--paper-color);
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.brand-name {
    font-family: 'Hind Madurai', sans-serif;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.btn-login {
    background-color: var(--secondary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-login:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(41, 104, 55, 0.25);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section with Slideshow Background */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #1A1A1A; /* Changed to dark text since we have a lighter overlay */
    padding-top: 100px; /* Add some padding to position content properly */
    flex: 1;
    max-width: 600px;
    margin-right: 2rem;
}

/* Auth Links */
.auth-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-link {
    color: #1A1A1A; /* Changed to dark text for better contrast */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    text-shadow: none; /* Removed text shadow since we're using dark text on lighter background */
}

.auth-link:hover {
    color: var(--primary-color);
}

.auth-separator {
    color: #666;
    opacity: 0.7;
}

/* Slideshow Container */
.hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slideshow-track {
    display: flex;
    width: 300%; /* 3 slides * 100% width */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slideshow-item {
    position: relative;
    width: calc(100% / 3); /* 1/3 of container width */
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    background: #000;
}

.slideshow-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 1rem;
}

.slideshow-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slideshow-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slideshow-btn i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.indicator.active {
    background: white;
}

/* Hero Content */
.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #1A1A1A; /* Dark text for contrast */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #666; /* Secondary text color */
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Responsive adjustments for slideshow hero */
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }

    .hero .container {
        display: block;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
        margin-right: 0;
        padding-top: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .auth-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .slideshow-track {
        width: 300%;
    }

    .slideshow-item {
        width: calc(100% / 3);
    }

    .slideshow-title {
        font-size: 1rem;
    }

    .slideshow-highlight {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .slideshow-title {
        font-size: 0.9rem;
    }

    .slideshow-highlight {
        font-size: 1rem;
    }

    .slideshow-btn {
        width: 32px;
        height: 32px;
    }

    .slideshow-btn i {
        font-size: 1rem;
    }
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease-in-out;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: none;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0px 4px 12px rgba(118, 44, 122, 0.25);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
}

/* Sekcje ogólne */
.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features {
    padding: 5rem 0;
    background-color: var(--paper-color);
}

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

.feature-card {
    background: var(--paper-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.2s ease-in-out;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(118, 44, 122, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
}

/* Jak to działa */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
}

/* Cennik */
.pricing {
    padding: 5rem 0;
    background-color: var(--paper-color);
}

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

.pricing-card {
    background: var(--paper-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.2s ease-in-out;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
    z-index: 1;
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-2px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--warning-color);
    color: var(--text-primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--primary-color);
}

.amount {
    font-size: 3rem;
}

.currency {
    font-size: 1.5rem;
    vertical-align: top;
}

.period {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-subtitle {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features i {
    width: 20px;
    color: var(--success-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Kontakt */
.contact {
    padding: 5rem 0;
    background-color: var(--background-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Hind Madurai', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Sekcja wideo */
.video-section {
    padding: 5rem 0;
    background-color: var(--paper-color);
    text-align: center;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background-color: #000;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-description {
    margin-top: 1.5rem;
    text-align: center;
}

/* Hero Section with Slideshow Background */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero .container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Slideshow Container */
.hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.slideshow-track {
    display: flex;
    width: 300%; /* 3 slides * 100% width */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slideshow-item {
    position: relative;
    width: calc(100% / 3); /* 1/3 of container width */
    height: 100%;
    flex-shrink: 0;
    overflow: hidden;
    background: #000;
}

.slideshow-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}


/* Slideshow Controls */
.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 3;
    padding: 0 1rem;
}

.slideshow-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.slideshow-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slideshow-btn i {
    color: #762C7A; /* Route Optimizer purple */
    font-size: 1.2rem;
}

/* Slideshow Indicators */
.slideshow-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.indicator.active {
    background: white;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    padding-top: 100px; /* Add some padding to position content properly */
    color: #1A1A1A; /* Change to dark text since we have a dark overlay */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #1A1A1A; /* Dark text for contrast */
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #666; /* Secondary text color */
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Auth Links */
.auth-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-link {
    color: #1A1A1A; /* Dark text for better contrast */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: #762C7A; /* Route Optimizer purple */
}

.auth-separator {
    color: #666;
    opacity: 0.7;
}

/* Responsive adjustments for slideshow hero */
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .auth-links {
        flex-direction: column;
        gap: 0.5rem;
    }

    .slideshow-track {
        width: 300%;
    }

    .slideshow-item {
        width: calc(100% / 3);
    }

    .slideshow-title {
        font-size: 1.2rem;
    }

    .slideshow-highlight {
        font-size: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .slideshow-title {
        font-size: 1rem;
    }

    .slideshow-highlight {
        font-size: 1.2rem;
    }

    .slideshow-btn {
        width: 32px;
        height: 32px;
    }

    .slideshow-btn i {
        font-size: 1rem;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #1A1A1A; /* Changed to dark text since we have a lighter overlay */
    padding-top: 100px; /* Add some padding to position content properly */
}

/* Auth Links */
.auth-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-link {
    color: white; /* White text for better contrast on video */
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8); /* Shadow for better readability */
}

.auth-link:hover {
    color: var(--warning-color);
}

.auth-separator {
    color: white;
    opacity: 0.7;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* Video Background */
.hero-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8); /* Increased brightness for better visibility */
    animation: scaleAndMove 20s infinite alternate ease-in-out;
}

/* Animation for video movement */
@keyframes scaleAndMove {
    0% {
        transform: scale(1) translate(0, 0);
    }
    100% {
        transform: scale(1.05) translate(10px, 10px);
    }
}

.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(118, 44, 122, 0.5) 0%, rgba(90, 31, 92, 0.5) 100%); /* Lighter purple gradient overlay */
    z-index: 2;
    animation: gradientShift 10s infinite alternate ease-in-out;
}

/* Animation for gradient shift */
@keyframes gradientShift {
    0% {
        background: linear-gradient(135deg, rgba(118, 44, 122, 0.7) 0%, rgba(90, 31, 92, 0.7) 100%);
    }
    100% {
        background: linear-gradient(135deg, rgba(90, 31, 92, 0.7) 0%, rgba(118, 44, 122, 0.7) 100%);
    }
}

/* Text Overlay */
.hero-title-overlay {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    animation: textGlow 3s infinite alternate ease-in-out;
}

/* Text glow animation */
@keyframes textGlow {
    0% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }
    100% {
        text-shadow: 0 2px 20px rgba(255, 255, 255, 0.5), 0 0 30px rgba(118, 44, 122, 0.8);
    }
}

.hero-subtitle-overlay {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

/* Fade in animation for text */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons-overlay {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

/* Responsive adjustments for video hero */
@media screen and (max-width: 768px) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 100px 0;
    }

    .hero-title-overlay {
        font-size: 2.5rem;
    }

    .hero-subtitle-overlay {
        font-size: 1.2rem;
    }

    .hero-buttons-overlay {
        flex-direction: column;
        align-items: center;
    }

    .auth-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero-title-overlay {
        font-size: 2rem;
    }

    .hero-subtitle-overlay {
        font-size: 1rem;
    }

    .auth-links {
        flex-direction: row;
    }
}

/* Hidden class for hiding elements */
.hidden {
    display: none !important;
}

/* Login Page Styles */
.login {
    padding: 4rem 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7f1 100%);
}

.login-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.login-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #E0E0E0;
}

.logo-container {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    font-size: 4rem;
    color: #762C7A;
    margin-bottom: 1rem;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #FAFAFA;
}

.form-group input:focus {
    outline: none;
    border-color: #762C7A;
    box-shadow: 0 0 0 3px rgba(118, 44, 122, 0.1);
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-size: 1.1rem;
}

.login-links {
    text-align: center;
    margin: 1.5rem 0;
}

.login-links a {
    color: #762C7A;
    text-decoration: none;
    font-weight: 500;
}

.login-links a:hover {
    text-decoration: underline;
}

.register-link {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E0E0E0;
}

.register-link a {
    color: #762C7A;
    font-weight: 600;
    text-decoration: none;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Login Features */
.login-features {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #E0E0E0;
}

.login-features .features-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1A1A1A;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Responsive adjustments for login page */
@media screen and (max-width: 768px) {
    .login-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .login-card {
        max-width: 500px;
        margin: 0 auto;
    }

    .login-features {
        display: none; /* Hide features on mobile to focus on login form */
    }
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
}

.tooltip .tooltip-icon {
    cursor: pointer;
    font-size: 1.2rem;
    display: inline-block;
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    transition: background-color 0.3s ease;
}

.tooltip .tooltip-icon:hover {
    background-color: var(--primary-dark);
}

.tooltip .tooltip-content {
    visibility: hidden;
    width: 300px;
    background-color: var(--paper-color);
    color: var(--text-primary);
    text-align: center;
    border-radius: 8px;
    padding: 1rem;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    font-size: 0.875rem;
    line-height: 1.5;
}

.tooltip .tooltip-content::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--paper-color) transparent transparent transparent;
}

.tooltip:hover .tooltip-content {
    visibility: visible;
    opacity: 1;
}

/* Responsive tooltip */
@media screen and (max-width: 768px) {
    .tooltip .tooltip-content {
        width: 250px;
        margin-left: -125px;
    }
}

/* Stopka */
.footer {
    background-color: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--warning-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
    color: #aaa;
}

/* Responsywność */
@media screen and (max-width: 768px) {
    .navbar {
        padding: 1rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-2px);
    }
    
    .steps {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .amount {
        font-size: 2.5rem;
    }
}