@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100;
    font-display: swap;
    src: url('/fonts/Inter-100.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 200;
    font-display: swap;
    src: url('/fonts/Inter-200.ttf') format('truetype');
}

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('/fonts/Inter-300.ttf') format('truetype');
}

:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --font-main: 'Inter', sans-serif;
}

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

html, body {
    height: 100%;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    min-height: 100svh;
    padding-top: 15vh;
    padding-bottom: 8vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.title {
    font-weight: 100;
    font-size: clamp(4rem, 18vw, 10rem);
    letter-spacing: 0.15em;
    opacity: 0;
    animation: fadeInDown 3s ease-out forwards;
    line-height: 1.1;
}

.step-container {
    width: 100%;
    display: flex;
    justify-content: center;
    transition: opacity 1s ease;
}

/* Button Styling */
.btn {
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-main);
    font-weight: 200;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 1rem 3.5rem;
    border-radius: 9999px;
    opacity: 0;
    animation: fadeInUp 2s ease-out 3s forwards;
    transition: background-color 0.5s, border-color 0.5s, box-shadow 0.5s;
    text-transform: uppercase;
    cursor: pointer;
    background: transparent;
}

.btn:hover {
    background-color: rgba(255, 255, 255, 1);
    color: #000;
    border-color: #fff;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn.fade-out {
    animation: fadeOut 2s ease forwards !important;
    pointer-events: none;
}

/* Input Styling */
.minimal-input {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-family: 'Inter', monospace;
    font-size: 1.5rem;
    font-weight: 300;
    text-align: center;
    padding: 1rem 2rem;
    width: 100%;
    max-width: 400px;
    letter-spacing: 0.3em;
    transition: all 0.3s ease;
}

.minimal-input:focus {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.minimal-input::placeholder {
    color: rgba(255, 255, 255, 0.15);
    font-size: 1rem;
    letter-spacing: 0.1em;
    font-family: var(--font-main);
}

/* Tariffs Styling */
.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    width: 100%;
    padding: 0 1rem;
}

.tariff-card {
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.tariff-card:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.tariff-card h3 {
    font-weight: 200;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Return Pages */
.return-page {
    gap: 2.5rem;
}

.return-card {
    width: 100%;
    max-width: 520px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    text-align: center;
}

.return-kicker {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.8rem;
    font-weight: 200;
}

.return-title {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    margin-bottom: 0.8rem;
}

.return-text {
    font-size: 0.95rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.return-actions {
    display: flex;
    justify-content: center;
}

/* Price Styling */
.price-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.old-price {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-weight: 300;
}

.new-price {
    font-size: 2.2rem;
    color: #fff;
    font-weight: 300;
}

/* Utility Animations */
.hidden {
    display: none !important;
}

.fade-in {
    animation: simpleFadeIn 2s ease forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes simpleFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@media (max-width: 640px) {
    body {
        padding-top: 10vh;
    }

    .container {
        gap: 2.25rem;
        padding: 0 1rem;
    }

    .title {
        font-size: clamp(2.8rem, 16vw, 6rem);
        letter-spacing: 0.12em;
    }

    .btn {
        font-size: 0.8rem;
        padding: 0.9rem 2.2rem;
    }

    .minimal-input {
        font-size: 1.2rem;
        letter-spacing: 0.2em;
        padding: 0.9rem 1.2rem;
    }

    .tariffs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0;
    }

    .tariff-card {
        min-height: 140px;
        padding: 1.2rem;
        border-radius: 16px;
    }

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

    .return-card {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .return-title {
        font-size: 1.3rem;
    }

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

@media (max-width: 360px) {
    .title {
        letter-spacing: 0.1em;
    }

    .minimal-input {
        letter-spacing: 0.15em;
    }
}
