/*
 Theme Name: Pocket Option Mirror
 Description: Custom adaptive theme for binary options & trading info sites
 Version: 1.1
*/

:root {
    --main-dark:      #0a1e3d;
    --brand-cyan:     #00d4ff;
    --dark-accent:    #1e3a5c;
    --light-text:     #ffffff;
    --success-green:  #34c759;
    --highlight-gold: #ffd700;
    --content-fade:   rgba(255, 255, 255, 0.88);
    --btn-active:     #34c759;
    --btn-primary:    #00d4ff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', system-ui, sans-serif;
    color: var(--light-text);
    background: var(--main-dark);
    line-height: 1.5;
}

.main-wrapper {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================== Hero / Promo Section ================== */

.hero-offer {
    position: relative;
    min-height: 100vh;
    padding-top: 110px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 50px 15px;
}

.hero-title {
    font-size: 70px;
    font-weight: 800;
    margin-bottom: 35px;
    line-height: 1.05;
    color: var(--highlight-gold);
}

.hero-desc {
    font-size: 27px;
    margin-bottom: 55px;
}

.hero-desc span,
.hero-desc i {
    display: block;
    margin-bottom: 10px;
}

.hero-desc i b {
    color: var(--brand-cyan);
}

.hero-actions {
    margin-bottom: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.primary-cta,
.secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 22px 55px;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.35s ease;
    box-shadow: 0 5px 18px rgba(0, 212, 255, 0.25);
}

.primary-cta {
    background: var(--success-green);
    color: var(--main-dark);
}

.primary-cta:hover {
    background: var(--brand-cyan);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 25px rgba(52, 199, 89, 0.4);
}

.secondary-cta {
    background: var(--brand-cyan);
    color: var(--main-dark);
}

.secondary-cta:hover {
    background: var(--success-green);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.45);
}

.hero-stats-intro {
    font-size: 26px;
    color: var(--brand-cyan);
    font-weight: 500;
    margin-bottom: 45px;
}

.hero-stats-grid {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 200px;
}

.stat-label {
    font-size: 22px;
    color: var(--highlight-gold);
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 6px;
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--success-green);
    margin-bottom: 10px;
}

.stat-info {
    font-size: 17px;
    opacity: 0.9;
}

/* ================== Benefits / Accounts Section ================== */

.benefits-section {
    padding: 90px 0;
    background: linear-gradient(to bottom, #0f2b4a, #1e3a5c);
    border-top: 1px solid rgba(255,255,255,0.12);
}

.benefits-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 65px;
    color: var(--highlight-gold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 220px repeat(4, minmax(180px, 1fr));
    gap: 12px;
    background: rgba(0,0,0,0.25);
    padding: 25px;
    border-radius: 14px;
}

.highlight-label {
    font-size: 21px;
    font-weight: 700;
    color: var(--brand-cyan);
    padding: 12px 0;
    text-align: left;
}

.benefit-row {
    background: var(--dark-accent);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-row:hover {
    transform: scale(1.04);
    box-shadow: 0 0 20px rgba(52,199,89,0.3);
}

.benefit-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--brand-cyan);
    margin-bottom: 8px;
}

.benefit-detail,
.benefit-perk {
    font-size: 18px;
    line-height: 1.4;
}

.benefit-perk {
    color: var(--success-green);
    font-weight: 500;
}

.benefits-actions {
    text-align: center;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

/* ================== Steps Section ================== */

.start-steps {
    padding: 90px 0;
    background: var(--main-dark);
    border-top: 1px solid rgba(255,255,255,0.12);
}

.steps-title {
    font-size: 38px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 65px;
    color: var(--highlight-gold);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
    margin-bottom: 70px;
}

.step-block {
    text-align: center;
    padding: 25px 15px;
    transition: transform 0.4s ease;
}

.step-block:hover {
    transform: translateY(-8px);
}

.step-visual {
    display: block;
    width: 100%;
    max-width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.step-1 { background-image: url('..po/assets/step-1-icon.webp'); }
.step-2 { background-image: url('..po/assets/step-2-icon.webp'); }
.step-3 { background-image: url('..po/assets/step-3-icon.webp'); }
.step-4 { background-image: url('..po/assets/step-4-icon.webp'); }

.step-heading {
    font-size: 28px;
    font-weight: 700;
    color: var(--highlight-gold);
    margin-bottom: 12px;
}

.step-info {
    font-size: 18px;
    opacity: 0.85;
}

.page-content {
    max-width: 920px;
    margin: 0 auto 70px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--content-fade);
    text-align: justify;
}

.payment-options {
    text-align: center;
}

.payment-title {
    font-size: 22px;
    color: var(--brand-cyan);
    margin-bottom: 35px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
}

.payment-logo {
    width: 170px;
    height: 100px;
    background-size: 85%;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    border: 1px solid rgba(16,126,126,0.4);
    box-shadow: 0 0 12px rgba(0,212,255,0.3);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.payment-logo:hover {
    transform: scale(1.08);
    filter: brightness(1.15);
}

/* ================== Media Queries ================== */

@media (max-width: 1024px) {
    .hero-title       { font-size: 58px; }
    .hero-desc        { font-size: 24px; }
    .primary-cta,
    .secondary-cta    { padding: 20px 50px; font-size: 22px; }
    .hero-stats-grid  { gap: 50px; }
}

@media (max-width: 768px) {
    .hero-offer       { padding-top: 90px; min-height: 90vh; }
    .hero-title       { font-size: 50px; }
    .hero-desc        { font-size: 22px; }
    .hero-actions     { flex-direction: column; gap: 18px; }
    .hero-stats-grid  { flex-direction: column; align-items: center; gap: 60px; }
    .benefits-grid    { grid-template-columns: 1fr; }
    .highlight-label  { display: none; }
    .steps-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .hero-title       { font-size: 42px; }
    .hero-desc        { font-size: 20px; padding: 0 10px; }
    .primary-cta,
    .secondary-cta    { padding: 18px 45px; font-size: 20px; }
    .stat-value       { font-size: 38px; }
    .benefits-title,
    .steps-title      { font-size: 32px; }
    .steps-grid       { grid-template-columns: 1fr; }
    .payment-logo     { width: 140px; height: 80px; }
}
/* ================== Header Navigation ================== */

.main-header {
    background: linear-gradient(90deg, #101f2a 0%, #164472 80%, #1e90ff 100%);
    padding: 20px 0;
    position: relative;
    z-index: 10;
}

.main-header .main-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo .logo-main {
    height: 40px; /* или подгони под свой логотип */
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.hamburger-line {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--light-text);
    position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: var(--light-text);
    left: 0;
}

.hamburger-line::before { top: -8px; }
.hamburger-line::after  { bottom: -8px; }

.navigation-container {
    display: flex;
}

.main-navigation .nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-menu a:hover {
    color: var(--brand-cyan);
    text-shadow: 0 0 8px var(--brand-cyan);
}

/* Мобильное меню (как в оригинале) */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .navigation-container {
        display: none;
        position: fixed;
        top: 80px; /* высота шапки примерно */
        right: -250px;
        width: 250px;
        height: calc(100% - 80px);
        background: var(--dark-accent);
        flex-direction: column;
        padding: 20px;
        transition: right 0.4s ease-in-out;
        z-index: 10;
    }

    .navigation-container.active {
        display: flex;
        right: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu a {
        font-size: 18px;
    }
}



/* ================== Красивый анимированный текстовый логотип ================== */

.brand-logo {
    position: relative;
}

.logo-text-link {
    text-decoration: none;
    display: inline-block;
}

.logo-text {
    font-family: 'Orbitron', 'Roboto', sans-serif; /* Orbitron даёт футуристический шик */
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 1px;
    background: linear-gradient(90deg, #00d4ff, #34c759, #ffd700, #00d4ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
    animation: softGlow 10s ease-in-out infinite;
    transition: transform 0.5s ease, text-shadow 0.5s ease;
}

.logo-text:hover {
    transform: translateY(-5px) scale(1.05);
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.9), 0 0 50px rgba(52, 199, 89, 0.7);
}

/* Мягкое свечение и перелив градиента */
@keyframes softGlow {
    0%   { background-position: 0% 50%; text-shadow: 0 0 15px rgba(0, 212, 255, 0.6); }
    50%  { background-position: 100% 50%; text-shadow: 0 0 25px rgba(52, 199, 89, 0.8); }
    100% { background-position: 0% 50%; text-shadow: 0 0 15px rgba(0, 212, 255, 0.6); }
}

/* Лёгкая задержка анимации для частей текста (эффект волны) */
.logo-part {
    display: inline-block;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1.2s ease forwards;
}

.logo-part:nth-child(1) { animation-delay: 0.1s; }   /* P */
.logo-part:nth-child(2) { animation-delay: 0.2s; }   /* o */
.logo-part:nth-child(3) { animation-delay: 0.3s; }   /* c */
.logo-part:nth-child(4) { animation-delay: 0.4s; }   /* k */
.logo-part:nth-child(5) { animation-delay: 0.5s; }   /* e */
.logo-part:nth-child(6) { animation-delay: 0.6s; }   /* t */
.logo-part:nth-child(7) { animation-delay: 0.7s; }   /* - */
.logo-part:nth-child(8) { animation-delay: 0.8s; }   /* O */
.logo-part:nth-child(9) { animation-delay: 0.9s; }   /* p */
.logo-part:nth-child(10){ animation-delay: 1.0s; }   /* t */
.logo-part:nth-child(11){ animation-delay: 1.1s; }   /* i */
.logo-part:nth-child(12){ animation-delay: 1.2s; }   /* o */
.logo-part:nth-child(13){ animation-delay: 1.3s; }   /* n */
.logo-part:nth-child(14){ animation-delay: 1.4s; }   /* . */
.logo-part:nth-child(15){ animation-delay: 1.5s; }   /* C */

/* Анимация появления с подъёмом */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .logo-text { font-size: 32px; }
}

@media (max-width: 480px) {
    .logo-text { font-size: 26px; }
}