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

:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-card: rgba(26, 26, 26, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}


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

/* Snowflakes */
#snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    top: -10px;
    background: #ffffff;
    border-radius: 50%;
    animation: fall linear infinite;
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.8),
        0 0 12px rgba(255, 255, 255, 0.6),
        0 0 18px rgba(255, 255, 255, 0.4);
    filter: blur(0.5px);
}

@keyframes fall {
    to {
        transform: translateY(100vh) translateX(20px);
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #ffffff, #b0b0b0, #ffffff, #b0b0b0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s linear infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.logo-accent {
    background: linear-gradient(90deg, #b0b0b0, #ffffff, #b0b0b0, #ffffff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s linear infinite;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.nav-link svg {
    width: 16px;
    height: 16px;
}

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

.nav-button {
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-primary) !important;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 40px;
    overflow: hidden;
    background: var(--bg-primary);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    padding: 2rem 1.5rem;
}

.hero-title-changing {
    display: inline-block;
    position: relative;
}

.changing-text {
    display: inline-block;
    min-width: 200px;
    text-align: left;
    transition: opacity 0.3s ease;
    opacity: 1;
}

.hero-title {
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.btn {
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    cursor: pointer;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    border-color: var(--border-hover);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.btn svg {
    width: 20px;
    height: 20px;
}

/* Section Styles */
section {
    padding: 60px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Why Section */
.why-section {
    background: transparent;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.advantage-card {
    background: var(--bg-card);
    border-radius: 50px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.5s ease;
}

.advantage-card:hover::before {
    left: 100%;
}

.advantage-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    background: rgba(26, 26, 26, 0.95);
}

.advantage-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0.875rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
    position: relative;
    z-index: 1;
}

.advantage-card:hover .advantage-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border-hover);
}

.advantage-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.advantage-description {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Tariffs Section */
.tariffs {
    background: transparent;
}

/* Tariff Filters */
.tariff-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    gap: 1rem;
    background: rgba(26, 26, 26, 0.6);
    padding: 0.5rem;
    border-radius: 50px;
    border: 1px solid var(--border-color);
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'EmojiOne Color', 'Android Emoji', sans-serif;
}

.flag-icon {
    width: 20px;
    height: 15px;
    display: inline-block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.flag-pl {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjQ4IiBmaWxsPSIjRkZGRkZGIi8+PHJlY3QgeT0iMjQiIHdpZHRoPSI2NCIgaGVpZ2h0PSIyNCIgZmlsbD0iI0RDMDAwMCIvPjwvc3ZnPg==');
}

.flag-de {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNDgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjE2IiBmaWxsPSIjMDAwMDAwIi8+PHJlY3QgeT0iMTYiIHdpZHRoPSI2NCIgaGVpZ2h0PSIxNiIgZmlsbD0iI0RDMDAwMCIvPjxyZWN0IHk9IjMyIiB3aWR0aD0iNjQiIGhlaWdodD0iMTYiIGZpbGw9IiNGRkRDMDAiLz48L3N2Zz4=');
}

.filter-btn:hover:not(.disabled) {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.filter-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.filter-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.filter-btn.disabled .coming-soon {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 400;
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    display: none;
}

.tariffs-grid.active {
    display: grid;
}

.tariffs-grid.disabled {
    display: none;
}

.tariff-card {
    background: var(--bg-card);
    border-radius: 50px;
    padding: 1.75rem;
    position: relative;
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.tariff-card:hover:not(.disabled-card) {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    background: rgba(26, 26, 26, 0.95);
}

.tariff-card.disabled-card {
    background: rgba(26, 26, 26, 0.4);
    opacity: 0.6;
    position: relative;
    pointer-events: none;
}

.disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    backdrop-filter: blur(2px);
}

.coming-soon-badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1px solid var(--border-color);
}

.btn.disabled {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    cursor: not-allowed;
    opacity: 0.5;
}

.tariff-badge {
    position: absolute;
    top: 0.875rem;
    right: 0.875rem;
    padding: 0.4rem 0.875rem;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.tariff-header {
    margin-bottom: 1.5rem;
}

.tariff-name {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.tariff-price {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.old-price {
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: line-through;
    opacity: 0.6;
}

.new-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    position: relative;
}

.tariff-specs {
    margin-bottom: 1.5rem;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    flex-shrink: 0;
}

.spec-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.spec-item:hover .spec-icon svg {
    transform: scale(1.2);
}

.spec-text {
    color: var(--text-secondary);
}

.btn-tariff {
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    color: var(--text-primary);
    padding: 0.875rem;
    border-radius: 50px;
    font-size: 0.95rem;
}

.btn-tariff::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-tariff:hover::before {
    left: 100%;
}

.btn-tariff:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--border-hover);
}

/* Additional Advantages */
.additional-advantages {
    background: transparent;
}

/* Footer */
.footer {
    background: rgba(17, 17, 17, 0.8);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .nav-links {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .nav-link {
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .nav-link svg {
        width: 14px;
        height: 14px;
    }

    .nav-link span {
        display: none;
    }

    .nav-button {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero {
        min-height: 60vh;
        padding: 70px 0 30px;
    }

    .hero-content {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6vw, 2.5rem);
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.25rem;
    }

    .changing-text {
        min-width: 150px;
        display: block;
        margin-top: 0.25rem;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .btn svg {
        width: 18px;
        height: 18px;
    }

    section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .tariffs-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .tariff-card {
        padding: 1.5rem;
        border-radius: 40px;
    }

    .tariff-name {
        font-size: 1.25rem;
    }

    .new-price {
        font-size: 1.5rem;
    }

    .old-price {
        font-size: 1rem;
    }

    .advantage-card {
        padding: 1.75rem;
        border-radius: 40px;
    }

    .advantage-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 1rem;
    }

    .advantage-icon svg {
        width: 24px;
        height: 24px;
    }

    .advantage-title {
        font-size: 1.1rem;
    }

    .advantage-description {
        font-size: 0.9rem;
    }

    .spec-item {
        padding: 0.5rem 0;
    }

    .spec-icon {
        width: 20px;
        height: 20px;
    }

    .spec-icon svg {
        width: 18px;
        height: 18px;
    }

    .spec-text {
        font-size: 0.9rem;
    }

    .btn-tariff {
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .footer {
        padding: 2.5rem 0 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-link {
        font-size: 0.85rem;
    }

    .footer-bottom {
        padding-top: 1.5rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 50vh;
        padding: 60px 0 20px;
    }

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

    .changing-text {
        min-width: 120px;
        font-size: 0.9em;
    }

    .tariff-card,
    .advantage-card {
        padding: 1.25rem;
        border-radius: 35px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}
