:root {
    --primary-color: #e82127;
    --secondary-color: #171a20;
    --background-color: #f8f8f8;
    --text-color: #393c41;
}

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

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

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

header {
    text-align: center;
    margin-bottom: 4rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
}

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

.model-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.model-card:hover {
    transform: translateY(-5px);
}

.model-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.model-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.discount {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.order-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.order-btn:hover {
    background-color: #d41c22;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 15% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    text-align: center;
}

.close-btn {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.referral-code {
    background-color: #f5f5f5;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.code-info {
    text-align: left;
    flex-grow: 1;
    margin-right: 1rem;
}

.code-info p {
    margin-bottom: 0.5rem;
}

.code-info p:last-child {
    margin-bottom: 0;
    word-break: break-all;
}

.instructions {
    text-align: left;
    line-height: 1.8;
    margin-top: 1.5rem;
}

.instructions strong {
    color: var(--primary-color);
    font-weight: 500;
}

.copy-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.copy-btn:hover {
    background-color: #2c2f36;
}

.benefits {
    margin-top: 4rem;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.benefit-card {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
}

.last-updated {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #888;
    font-style: italic;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    .models-grid {
        gap: 1rem;
    }
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.personal-note {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 4rem 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.personal-note h2 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.personal-note p {
    max-width: 800px;
    margin: 0 auto 1rem;
    line-height: 1.8;
}

.contact {
    margin-top: 1.5rem;
    font-weight: 500;
}

.contact a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.contact a:hover {
    border-color: var(--primary-color);
} 