:root {
    --bg-white: #ffffff;
    --text-dark: #000000;
    --text-grey: #4a4a4a;
    --border-light: #e0e0e0;
    --bg-light-grey: #f2f2f2;
    --accent-blue: #3b82f6;

    --font-main: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

.text-center {
    text-align: center;
}

.section-spacing {
    padding: 3rem 0;
}

h1 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-grey);
    font-weight: 300;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 40px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.btn-black {
    background-color: #000;
    color: #fff;
}

.btn-black:hover {
    background-color: #333;
}

.btn-telegram {
    background-color: #2AABEE;
    color: #fff;
    text-decoration: none;
}

.btn-telegram:hover {
    background-color: #229ED9;
    color: #fff;
}

.btn-block {
    width: 100%;
}

/* Alternating Features (Z-Pattern) */
.z-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 5rem;
}

.z-row.reverse {
    flex-direction: row-reverse;
}

.z-image {
    flex: 1;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 20px;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.z-text {
    flex: 1;
}

.z-text p {
    color: var(--text-grey);
    font-weight: 300;
    font-size: 1.05rem;
}

/* Why Choose Us - Numbered List */
.why-us .subtitle {
    margin-bottom: 4rem;
}

.numbered-list {
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.list-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.list-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    font-size: 1.2rem;
    font-weight: 500;
}

.list-content p {
    color: var(--text-grey);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.7;
}

/* Statement Section */
.statement {
    background-color: var(--bg-light-grey);
    padding: 6rem 0;
}

.statement p {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-grey);
    line-height: 1.8;
}

/* FAQ Accordion */
.faq {
    padding-bottom: 8rem;
}

.faq h2 {
    margin-bottom: 4rem;
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-light);
}

.accordion-item {
    border-bottom: 1px solid var(--border-light);
}

.accordion-header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.accordion-header:hover {
    color: var(--text-grey);
}

.accordion-header .icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.accordion-item.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
    /* arbitrary large enough height */
}

.accordion-content p {
    padding-bottom: 2rem;
    color: var(--text-grey);
    font-weight: 300;
}

/* Simple Footer */
.simple-footer {
    background-color: var(--bg-light-grey);
    padding: 2rem 0;
}

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

.footer-flex .year {
    font-size: 0.9rem;
    color: var(--text-grey);
    flex: 1;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-decoration: none;
    text-align: center;
    flex: 1;
}

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

.footer-flex .spacer {
    flex: 1;
}

/* Modal Styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.hidden {
    display: none !important;
}

.modal.hidden {
    display: flex !important;
    /* override generic hidden */
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: #fff;
    padding: 3rem;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s ease;
}

.modal.hidden .modal-content {
    transform: scale(0.95);
}

.close-btn {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    font-weight: 300;
}

.close-btn:hover {
    color: #000;
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
    font-size: 0.85rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--accent-blue);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.form-group input:focus {
    border-color: #000;
}

.error-message {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #fee2e2;
    color: #991b1b;
    border-radius: 8px;
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {

    .z-row,
    .z-row.reverse {
        flex-direction: column;
        gap: 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .list-item {
        flex-direction: column;
        gap: 1rem;
    }

    .statement p {
        font-size: 1.1rem;
    }
}