/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #0a0e27;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    background-color: rgba(10, 14, 39, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}


/* .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /
    background: 
        radial-gradient(circle at 20% 30%, rgba(76, 0, 255, 0.2), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 204, 255, 0.2), transparent 40%),
        rgba(10, 14, 39, 0.8); 
    background-size: 150% 150%;
    animation: gradientMove 10s ease infinite;
    pointer-events: none;
    z-index: -1; 
    } */

    .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    /* Оставляем текстуру и базовый темный цвет */
    background-color: rgba(10, 14, 39, 0.8);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    
    /* Размер одного элемента текстуры */
    background-size: 80px 88px;
    
    /* Анимация больше не нужна, если мы убрали пятна */
    pointer-events: none;
    z-index: -1;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(13, 17, 41, 0.5) 50%, rgba(26, 31, 58, 0) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(13, 17, 41, 0.5) 50%, rgba(26, 31, 58, 0) 100%);
    pointer-events: none;
}

.hero-pattern {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(10, 14, 39, 0.8), rgba(10, 14, 39, 0.9)),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.02)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    background-size: cover, 100px 100px;
    pointer-events: none;
    z-index: 2;
}

.hero-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
    padding: 20px 0 0 0;
    height: 100%;
}

@media (min-width: 1025px) {
    .hero-content {
        align-items: center;
    }
}

.hero-text {
    flex: 1;
    max-width: 600px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1025px) {
    .hero-text {
        position: relative;
        margin-top: -5rem;
    }
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: font-size 0.3s ease;
}

/* Smooth scaling for title on wide devices when height decreases */
@media (min-width: 1025px) and (max-height: 700px) {
    .hero-title {
        font-size: 42px;
    }
}

@media (min-width: 1025px) and (max-height: 600px) {
    .hero-title {
        font-size: 36px;
    }
}

@media (min-width: 1025px) and (max-height: 500px) {
    .hero-title {
        font-size: 30px;
    }
}

.hero-title .highlight {
    color: #00d4ff;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-cta {
    margin-top: 130px;
    margin-bottom: 30px;
    text-align: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.trader-photo {
    position: relative;
    width: 600px;
    height: 70vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.trader-avatar {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.trader-photo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 0%);
    border-radius: 50%;
}

.trader-badge {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, rgba(0, 80, 120, 0.95) 0%, rgba(0, 100, 80, 0.95) 100%);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 80, 120, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 280px;
}

.trader-name {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.trader-role {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 5px;
}

.trader-deposit {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

/* CTA Button Styles */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 40px;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 40px rgba(0, 136, 204, 0.4);
    transition: all 0.3s ease, padding 0.3s ease, font-size 0.3s ease;
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
}

/* Smooth scaling for button on wide devices when height decreases */
@media (min-width: 1025px) and (max-height: 700px) {
    .cta-button {
        padding: 18px 35px;
        font-size: 17px;
    }
}

@media (min-width: 1025px) and (max-height: 600px) {
    .cta-button {
        padding: 16px 30px;
        font-size: 16px;
    }
}

@media (min-width: 1025px) and (max-height: 500px) {
    .cta-button {
        padding: 14px 25px;
        font-size: 15px;
    }
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(0, 136, 204, 0.6);
    background: linear-gradient(135deg, #0099dd 0%, #0077aa 100%);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 136, 204, 0.4);
    }
    50% {
        box-shadow: 0 10px 60px rgba(0, 136, 204, 0.6), 0 0 0 10px rgba(0, 136, 204, 0.2);
    }
}

.telegram-icon {
    width: 24px;
    height: 24px;
    fill: #ffffff;
}

.cta-subtitle {
    margin-top: 20px;
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
    text-shadow:
        0 0 10px rgba(0, 212, 255, 0.8),
        0 0 20px rgba(0, 212, 255, 0.6),
        0 0 30px rgba(0, 212, 255, 0.4),
        0 0 40px rgba(0, 212, 255, 0.2);
    letter-spacing: 1px;
}

/* Reviews Section */
/* .reviews {
    padding: 80px 0;
    background: linear-gradient(180deg, #0d1229 0%, #1a1f3a 100%);
} */

    
.reviews {
    padding: 80px 0;
    background-color: rgba(10, 14, 39, 0.8);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    
    /* Размер одного элемента текстуры */
    background-size: 80px 88px;
    
  
}


.reviews-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.reviews-title .highlight {
    color: #00d4ff;
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.reviews-row {
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.reviews-scroll {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
}

.reviews-scroll.active {
    cursor: grabbing;
}

.reviews-scroll img {
    pointer-events: none;
    user-drag: none;
    -webkit-user-drag: none;
}

.reviews-scroll::-webkit-scrollbar {
    height: 8px;
}

.reviews-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.reviews-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #00d4ff, #00ff88);
    border-radius: 10px;
}

.review-item {
    flex: 0 0 auto;
    width: 280px;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 212, 255, 0.2);
    background: linear-gradient(135deg, #1a1f3a 0%, #0d1229 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.5);
}

.review-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Review Modal */
.review-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.review-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: #1a1f3a;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    border: none;
    border-radius: 50%;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    line-height: 1;
}

.modal-close:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.6);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.8) 0%, rgba(0, 255, 136, 0.8) 100%);
    border: none;
    border-radius: 50%;
    font-size: 30px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-nav:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.6);
    background: linear-gradient(135deg, rgba(0, 212, 255, 1) 0%, rgba(0, 255, 136, 1) 100%);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

#modalImage {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
}

/* Footer */
.footer {
    padding: 30px 0;
    background: #0a0e27;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-text {
    text-align: center;
    font-size: 14px;
    color: #718096;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 40px;
    }
    
    .hero-content {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-text {
        font-size: 12px;
        text-align: center;
        max-width: 100%;
        margin-top: 40px;
        margin-bottom: -2rem;
    }
    
    .hero-image {
        flex: none;
        max-width: 100%;
    }
    
    .trader-photo {
        width: 500px;
        height: 70vh;
    }
    
    .trader-badge {
        min-width: 250px;
        padding: 15px 25px;
    }
    
    .trader-name {
        font-size: 18px;
    }
    
    .trader-role {
        font-size: 15px;
    }
    
    .trader-deposit {
        font-size: 13px;
    }
    
    .hero-cta {
        position: relative;
        margin-top: -3rem;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 20px 0 0 0;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 0;
        position: relative;
        margin-top: 40px;
    }
    
    .hero-title {
        font-size: 32px;
        text-align: center;
    }
    
    .hero-cta {
        position: relative;
        margin-top: -3rem;
    }
    
    .hero-image {
        max-width: 100%;
    }
    
    .trader-photo {
        width: 100%;
        height: 50vh;
    }
    
    .trader-badge {
        min-width: 220px;
        padding: 12px 20px;
        bottom: 20px;
    }
    
    .trader-name {
        font-size: 16px;
    }
    
    .trader-role {
        font-size: 14px;
    }
    
    .trader-deposit {
        font-size: 12px;
    }
    
    .cta-button {
        padding: 18px 35px;
        font-size: 16px;
    }
    
    .cta-subtitle {
        font-size: 14px;
    }
    
    .reviews {
        padding: 60px 0;
    }
    
    .reviews-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
    
    .review-item {
        width: 250px;
        height: 450px;
    }
    
    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .trader-photo {
        width: 100%;
        height: 45vh;
    }
    
    .trader-badge {
        min-width: 200px;
        padding: 10px 15px;
    }
    
    .trader-name {
        font-size: 15px;
    }
    
    .trader-role {
        font-size: 13px;
    }
    
    .trader-deposit {
        font-size: 11px;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 14px;
    }
    
    .reviews-title {
        font-size: 24px;
    }
    
    .review-item {
        width: 220px;
        height: 400px;
    }
    
    .reviews-scroll {
        gap: 15px;
    }
    
    .modal-nav {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .modal-prev {
        left: 5px;
    }
    
    .modal-next {
        right: 5px;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98) 0%, rgba(26, 31, 58, 0.98) 100%);
    backdrop-filter: blur(10px);
    padding: 20px;
    z-index: 9999;
    border-top: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
    font-size: 14px;
    color: #e2e8f0;
    line-height: 1.5;
    margin: 0;
}

.cookie-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-link {
    color: #00d4ff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-link:hover {
    color: #00ff88;
    text-decoration: underline;
}

.cookie-accept {
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cookie-accept:hover {
    background: linear-gradient(135deg, #0099dd 0%, #0077aa 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.4);
}

/* Footer Company Info */
.footer-company-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.footer-company-name {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.footer-cnpj {
    font-size: 13px;
    color: #718096;
    margin-bottom: 8px;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.footer-address {
    font-size: 13px;
    color: #718096;
    margin-bottom: 8px;
}

.footer-contact {
    font-size: 13px;
    color: #718096;
}

/* Responsive for Cookie Banner */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-text {
        font-size: 13px;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .cookie-accept {
        padding: 10px 25px;
        font-size: 13px;
    }
}
