/* ========================================
   QOOT INTERNATIONAL - BLOOM STYLE
   ======================================== */

/* CSS Variables */
:root {
    --color-primary: #4A6972;
    --color-primary-dark: #2A3D45;
    --color-secondary: #A3D9C5;
    --color-accent: #8f11a8;
    --color-white: #ffffff;
    --color-gray: #56585e;
    --color-gray-light: #f8f9fa;
    --color-text: #0d141a;
    --color-text-light: rgba(255, 255, 255, 0.7);

    --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-width: 1224px;
    --header-height: 84px;
    --border-radius: 20px;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);

    --gradient-primary: linear-gradient(135deg, #4A6972, #8f11a8);
}

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow);
}

.header__container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-primary);
}

.header__nav-list {
    display: flex;
    gap: 32px;
}

.header__nav-link {
    font-weight: 400;
    color: var(--color-text);
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.header__nav-link:hover,
.header__nav-link.active {
    color: var(--color-primary);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
    width: 100%;
}

/* Hamburger */
.header__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.header__hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-primary-dark);
    transition: var(--transition);
}

.header__hamburger.active .header__hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.header__hamburger.active .header__hamburger-line:nth-child(2) {
    opacity: 0;
}

.header__hamburger.active .header__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    z-index: 999;
    padding: 40px 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu__link {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* ========================================
   HERO SECTION WITH VIDEO
   ======================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    max-height: 800px;
    overflow: hidden;
}

.hero__video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.hero__title {
    font-size: 72px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 4px;
    text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   ABOUT QOOT SECTION
   ======================================== */

.about-qoot {
    background: var(--gradient-primary);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
}

.about-qoot__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 664px;
}

.about-qoot__content {
    padding: 60px;
    padding-right: 40px;
}

.about-qoot__title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.3;
}

.about-qoot__text {
    font-size: 18px;
    line-height: 1.8;
}

.about-qoot__text p {
    margin-bottom: 20px;
}

.about-qoot__image {
    position: relative;
    overflow: hidden;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.about-qoot__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================================
   CHANNELS SECTION
   ======================================== */

.channels {
    padding: 80px 16px;
    background: var(--color-white);
}

.channels__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 16px;
    line-height: 1.3;
}

.section-subtitle {
    font-size: 16px;
    color: var(--color-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.channels__buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.channel-btn {
    padding: 16px 40px;
    border: 1px solid var(--color-text);
    border-radius: 28px;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    background: transparent;
    transition: var(--transition);
}

.channel-btn:hover {
    background: var(--color-gray-light);
}

.channels__images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.channel-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.channel-image.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.channel-image img {
    width: 100%;
    height: 464px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.channel-image:hover img {
    transform: scale(1.05);
}

/* ========================================
   TRADING SECTIONS
   ======================================== */

.trading-section {
    padding: 80px 16px;
    background: var(--color-white);
}

.trading-section--alt {
    background: var(--color-gray-light);
}

.trading-section__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.trading-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.trading-section__grid--reverse {
    direction: rtl;
}

.trading-section__grid--reverse>* {
    direction: ltr;
}

.trading-section__image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.trading-section__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.trading-section__features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease;
}

.feature-item.animate-in {
    opacity: 1;
    transform: translateX(0);
}

.feature-item__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
}

.feature-item__text {
    font-size: 16px;
    color: var(--color-gray);
    line-height: 1.5;
}

/* ========================================
   OPERATIONS SECTION
   ======================================== */

.operations {
    padding: 80px 16px;
    background: var(--color-white);
}

.operations__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.operations__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.operations__locations {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.location-item {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.location-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.location-item__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.location-item__text {
    font-size: 16px;
    color: var(--color-gray);
}

.operations__image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.operations__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
    padding: 80px 16px;
    background: var(--color-white);
}

.contact__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 48px;
}

.contact__info {
    padding: 40px 0;
}

.contact__intro {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 32px;
}

.contact__channel {
    margin-bottom: 24px;
}

.contact__channel-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: underline;
    margin-bottom: 8px;
}

.contact__channel p {
    font-size: 16px;
    color: var(--color-gray);
    margin-bottom: 4px;
}

.contact__form-wrapper {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 8px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #b8c0cc;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
    color: var(--color-text);
    background: var(--color-white);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    width: 100%;
    padding: 16px 32px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--color-primary-dark);
}

.contact__image {
    border-radius: var(--border-radius);
    overflow: hidden;
}

.contact__image img {
    width: 100%;
    height: 384px;
    object-fit: cover;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: #1D3557;
    color: var(--color-white);
    padding: 60px 16px 24px;
}

.footer__container {
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer__main {
    margin-bottom: 60px;
}

.footer__title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer__text {
    font-size: 24px;
    color: var(--color-text-light);
    line-height: 1.3;
}

.footer__copyright {
    font-size: 14px;
    color: var(--color-text-light);
}

/* ========================================
   WHATSAPP & BACK TO TOP
   ======================================== */

.whatsapp-button {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.whatsapp-button:hover {
    transform: scale(1.1);
}

.whatsapp-button svg {
    width: 28px;
    height: 28px;
    fill: var(--color-white);
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 92px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-primary-dark);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-white);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 992px) {
    .about-qoot__container {
        grid-template-columns: 1fr;
    }

    .about-qoot__content {
        padding: 60px 24px;
    }

    .about-qoot__image {
        clip-path: none;
        height: 400px;
    }

    .about-qoot__title {
        font-size: 40px;
        text-align: center;
    }

    .about-qoot__text {
        text-align: center;
    }

    .channels__images {
        grid-template-columns: 1fr;
    }

    .channel-image img {
        height: 300px;
    }

    .trading-section__grid,
    .trading-section__grid--reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }

    .trading-section__image {
        order: -1;
    }

    .operations__grid {
        grid-template-columns: 1fr;
    }

    .contact__grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .mobile-menu {
        display: block;
    }

    .header__container {
        padding: 24px 16px;
    }

    .hero {
        min-height: 400px;
        max-height: 500px;
    }

    .about-qoot__title {
        font-size: 36px;
    }

    .about-qoot__text {
        font-size: 16px;
    }

    .channels__buttons {
        flex-direction: column;
        align-items: center;
    }

    .channel-btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .contact__image img {
        height: 280px;
    }

    .footer__text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .about-qoot__content {
        padding: 40px 16px;
    }

    .about-qoot__title {
        font-size: 28px;
    }

    .section-title {
        font-size: 28px;
    }

    .trading-section,
    .channels,
    .operations,
    .contact {
        padding: 60px 16px;
    }
}

/* Security: Hide the spam trap from real humans */
.visual-hidden {
    display: none;
    visibility: hidden;
}