:root {
    --primary: #9195F6;
    --primary-light: #E7E7FF;
    --danger: #FF7B7B;
    --background: #FFFFFF;
    --surface: #FAFAFA;
    --highlight: #253241;
    --text-primary: #223242;
    --text-secondary: #C3C1C0;
    --text-tertiary: #E0E0E0;
}

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

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Header Styles */
header {
    background-color: var(--surface);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.app-name {
    margin-left: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    padding-top: 8px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a.active {
    color: var(--primary);
}

nav ul li a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    margin-right: 20px;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.contact-hero {
    background-color: var(--primary-light);
    padding: 60px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--highlight);
}

.contact-hero p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-primary);
}

/* Contact Content */
.contact-content {
    padding: 60px 0;
}

.page-title {
    color: var(--primary);
    font-size: 2.8rem;
    margin-bottom: 30px;
    text-align: left;
    padding-top: 0;
}

.contact-container {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
}

.contact-left h2 {
    font-size: 2.2rem;
    color: var(--highlight);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-left p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.contact-email {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.contact-email i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-right: 15px;
}

.contact-email a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    flex: 1;
    background-color: var(--background);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: var(--background);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group .error-message {
    display: none;
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 5px;
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 8px;
}

.btn-submit:hover {
    background-color: #7b7fe3;
}

.success-message {
    display: none;
    background-color: #e6ffe6;
    color: #006600;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
    font-weight: 500;
}

/* Footer */
footer {
    background-color: var(--highlight);
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.copyright {
    margin-bottom: 5px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: var(--primary-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.footer-links .divider {
    color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
    }

    .copyright {
        margin-bottom: 0;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-left,
    .contact-form {
        width: 100%;
    }

    .contact-left {
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
        text-align: center;
    }

    .menu-toggle {
        display: block;
        margin-left: 10px;
    }

    .contact-link {
        margin-right: 10px;
        font-size: 0.9rem;
    }

    .language-switcher {
        margin-right: 10px;
    }

    .header-right {
        display: flex;
        align-items: center;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* Offer Page Styles */
.offer-content {
    padding: 60px 0;
}

.offer-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--background);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.offer-details {
    margin-top: 20px;
}

.offer-details p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.instructions-list {
    margin: 20px 0;
    padding-left: 25px;
}

.instructions-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
}

.offer-code-display {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#offer-code-label {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.code-box {
    background-color: var(--primary-light);
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 8px;
    letter-spacing: 2px;
    border: 2px dashed var(--primary);
    text-align: center;
    min-width: 180px;
}

.btn-redeem {
    display: block;
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 30px auto 0;
    max-width: 250px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 12px rgba(145, 149, 246, 0.3);
}

.btn-redeem:hover {
    background-color: #7b7fe3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(145, 149, 246, 0.4);
}

.code-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    background-color: var(--primary-light);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 5px;
    transition: background-color 0.2s ease;
}

.code-link:hover {
    background-color: #d8d8ff;
    text-decoration: underline;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    margin-right: 15px;
    align-items: center;
}

.language-switcher a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.language-switcher a.active {
    color: var(--primary);
    font-weight: 700;
}

.language-switcher a:hover {
    color: var(--primary);
}

/* Terms and Privacy Pages */
.legal-content {
    padding: 40px 0;
}

.legal-content p,
.legal-content ul,
.legal-content ol {
    margin-bottom: 20px;
    line-height: 1.8;
}

.legal-content p strong {
    display: block;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.3rem;
    color: var(--highlight);
}

.legal-content ul,
.legal-content ol {
    padding-left: 25px;
}

.legal-content ul li,
.legal-content ol li {
    margin-bottom: 10px;
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-content a:hover {
    text-decoration: underline;
}