@import url('https://fonts.googleapis.com/css2?family=Gloria+Hallelujah&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poiret+One&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Raleway:ital,wght@0,100..900;1,100..900&family=Shadows+Into+Light&family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f5f5f7;
    --bg-card: #ffffff;
    --text-primary: #1d1d1f;
    --text-secondary: #86868b;
    --border-color: #d2d2d7;
    --accent-primary: #0071e3;
    --accent-hover: #0077ed;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] {
    --bg-primary: #000000;
    --bg-secondary: #1d1d1f;
    --bg-card: #1d1d1f;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --border-color: #424245;
    --accent-primary: #2997ff;
    --accent-hover: #409cff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body {
    font-family: -apple-system, Poppins, 'Inter', 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 22px;
}

#theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(20px);
}

#theme-toggle:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

#theme-toggle:active {
    transform: scale(0.95);
}

.hero-section {
    text-align: center;
    padding: 60px 0 40px;
}

.profile-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.subtitle {
    font-size: 21px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.description {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 32px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--bg-secondary);
    transform: translateY(-2px);
}

main {
    padding: 40px 0 80px;
}

.links-section {
    display: grid;
    gap: 12px;
    margin-bottom: 40px;
}

.link-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 12px;
    font-size: 22px;
    flex-shrink: 0;
}

.link-text {
    flex: 1;
    font-size: 17px;
    font-weight: 500;
}

.link-arrow {
    font-size: 20px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.offers-section {
    margin-bottom: 40px;
}

.offers-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.offers-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.offers-card h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.offers-card p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.6;
}

.btn-offers {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--accent-primary);
    color: #ffffff;
    text-decoration: none;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-offers:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.contact-icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 16px;
}

.contact-card h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.contact-card>p {
    font-size: 17px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 32px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 17px;
    color: var(--text-primary);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

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

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--accent-primary);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.btn-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-submit:active {
    transform: translateY(0);
}

footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
}

.social-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 50%;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    background: var(--accent-primary);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-primary);
}

.copyright,
.made-with {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 8px 0;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

@media (max-width: 1024px) {
    .container {
        max-width: 692px;
    }

    .hero-section h1 {
        font-size: 40px;
    }
}

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

    .hero-section {
        padding: 40px 0 32px;
    }

    .profile-image {
        width: 120px;
        height: 120px;
        margin-bottom: 20px;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .subtitle {
        font-size: 19px;
    }

    .description {
        font-size: 15px;
    }

    .action-buttons {
        flex-direction: column;
        gap: 10px;
        margin-top: 24px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }

    .link-card {
        padding: 14px 16px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .link-text {
        font-size: 15px;
    }

    .offers-card,
    .contact-card {
        padding: 24px;
        border-radius: 16px;
    }

    .offers-icon,
    .contact-icon {
        font-size: 40px;
    }

    .offers-card h2,
    .contact-card h2 {
        font-size: 24px;
    }

    .offers-card p,
    .contact-card>p {
        font-size: 15px;
    }

    .form-group input,
    .form-group textarea {
        font-size: 16px;
    }

    main {
        padding: 32px 0 60px;
    }

    footer {
        padding: 32px 0;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 28px;
    }

    .subtitle {
        font-size: 17px;
    }

    .description {
        font-size: 14px;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .offers-card,
    .contact-card {
        padding: 20px;
    }

    .offers-card h2,
    .contact-card h2 {
        font-size: 22px;
    }

    .btn-offers,
    .btn-submit {
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 16px;
    }

    .hero-section h1 {
        font-size: 26px;
    }

    .subtitle {
        font-size: 16px;
    }

    .description {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}