
:root {
    --navy: #11152e;
    --purple: #7155dc;
    --purple-dark: #5940c0;
    --text: #24263b;
    --muted: #73778c;
    --background: #ffffff;
    --light: #f7f6fc;
    --border: #eceaf4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: white;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

.header {
    height: 82px;
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    font-weight: 800;
    color: var(--navy);
    letter-spacing: -0.6px;
}

.logo-icon {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    color: white;
    background: var(--purple);
    border-radius: 12px;
    font-size: 22px;
}

.logo-light {
    font-weight: 500;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation a {
    font-size: 14px;
    font-weight: 600;
    color: #65677b;
    transition: .2s;
}

.navigation a:hover,
.navigation a.active {
    color: var(--purple);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 8px;
    font-weight: 700;
    transition: .25s;
}

.btn-primary {
    color: white;
    background: var(--purple);
    padding: 12px 21px;
}

.btn-primary:hover {
    background: var(--purple-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 23px;
    font-size: 14px;
}

.btn-outline {
    border: 1px solid #dedbe9;
    padding: 14px 20px;
    background: white;
    font-size: 13px;
}

.btn-outline:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 27px;
    cursor: pointer;
    color: var(--navy);
}

.hero {
    background: linear-gradient(120deg, #faf9ff, #f1efff);
    padding: 105px 0 115px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 65px;
    align-items: center;
}

.eyebrow,
.section-tag {
    color: var(--purple);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.eyebrow-dot {
    width: 9px;
    height: 9px;
    background: var(--purple);
    border-radius: 50%;
}

.hero h1 {
    font-family: 'Manrope', sans-serif;
    font-size: clamp(43px, 5vw, 65px);
    line-height: 1.14;
    letter-spacing: -3px;
    color: var(--navy);
    font-weight: 800;
}

.hero h1 span {
    color: var(--purple);
}

.hero-content > p {
    color: var(--muted);
    max-width: 490px;
    font-size: 16px;
    margin: 24px 0 30px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.trust-line {
    margin-top: 26px;
    font-size: 12px;
    color: #73778c;
}

.trust-icon {
    color: #259f78;
    font-weight: 800;
    margin-right: 6px;
}

.trust-separator {
    margin: 0 8px;
}

.hero-visual {
    min-height: 410px;
    display: grid;
    place-items: center;
    position: relative;
}

.main-visual-card {
    position: relative;
    z-index: 2;
    background: white;
    padding: 30px;
    width: 100%;
    max-width: 390px;
    border-radius: 22px;
    box-shadow: 0 25px 65px #38305c20;
}

.visual-top,
.visual-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.small-label {
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 800;
    color: var(--purple);
}

.visual-top h3 {
    margin-top: 6px;
    font-family: 'Manrope', sans-serif;
    font-size: 23px;
    color: var(--navy);
}

.visual-icon {
    width: 42px;
    height: 42px;
    background: #f1edff;
    border-radius: 13px;
    color: var(--purple);
    display: grid;
    place-items: center;
    font-size: 23px;
}

.social-illustration {
    height: 190px;
    margin: 22px 0;
    border-radius: 17px;
    background: linear-gradient(135deg, #eeeaff, #e5e2ff);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    position: relative;
}

.social-circle {
    width: 55px;
    height: 55px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: white;
    color: var(--purple);
    font-size: 23px;
    font-weight: 800;
    box-shadow: 0 7px 20px #40308c15;
}

.circle-one {
    transform: translateY(-25px);
}

.circle-two {
    transform: translateY(23px);
}

.circle-three {
    transform: translateY(-22px);
}

.circle-four {
    transform: translateY(25px);
}

.social-lines {
    position: absolute;
    bottom: 17px;
    display: flex;
    gap: 5px;
}

.social-lines span {
    width: 19px;
    height: 4px;
    border-radius: 5px;
    background: #a99ae9;
}

.visual-bottom strong,
.visual-bottom span {
    display: block;
}

.visual-bottom strong {
    font-size: 13px;
}

.visual-bottom span {
    font-size: 10px;
    color: var(--muted);
    margin-top: 3px;
}

.arrow-circle {
    background: var(--purple);
    color: white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
}

.visual-decoration {
    position: absolute;
    border-radius: 50%;
    background: #ded6ff;
}

.decoration-one {
    width: 115px;
    height: 115px;
    right: 0;
    top: 5px;
}

.decoration-two {
    width: 75px;
    height: 75px;
    left: 0;
    bottom: 15px;
}

.floating-card {
    position: absolute;
    z-index: 3;
    background: white;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    border-radius: 12px;
    box-shadow: 0 10px 35px #38305c20;
}

.floating-top {
    top: 35px;
    left: -30px;
}

.floating-bottom {
    bottom: 35px;
    right: -15px;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 11px;
}

.floating-card small {
    font-size: 9px;
    color: var(--muted);
}

.floating-check,
.floating-purple {
    width: 33px;
    height: 33px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: white;
    background: #24a77b;
}

.floating-purple {
    background: var(--purple);
}

.section-padding {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 600px;
    margin: auto auto 48px;
}

.section-heading h2,
.cta-content h2 {
    font-family: 'Manrope', sans-serif;
    font-size: 34px;
    line-height: 1.3;
    color: var(--navy);
    margin: 12px 0;
    letter-spacing: -1px;
}

.section-heading p {
    font-size: 14px;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 15px;
    transition: .25s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #29204b0d;
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    font-weight: 800;
    margin-bottom: 22px;
}

.purple-icon {
    background: #f0ecff;
    color: var(--purple);
}

.blue-icon {
    background: #eaf3ff;
    color: #3978c8;
}

.green-icon {
    background: #e8f8f0;
    color: #21976a;
}

.feature-card h3 {
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    margin-bottom: 9px;
    color: var(--navy);
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.cta-section {
    background: var(--navy);
    padding: 65px 0;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.light-tag {
    color: #b8aaff;
}

.cta-content h2 {
    color: white;
}

.cta-content p {
    color: #c1c2d2;
    font-size: 14px;
}

.btn-white {
    color: var(--navy);
    background: white;
    white-space: nowrap;
}

.btn-white:hover {
    background: #eeeaff;
}

.footer {
    background: #0b0e20;
    padding: 45px 0 20px;
    color: white;
    text-align: center;
}

.footer-logo {
    justify-content: center;
    color: white;
}

.footer-logo .logo-light {
    color: #d1cee4;
}

.footer-content > p {
    font-size: 12px;
    color: #a3a5b7;
    margin: 17px 0;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0;
}

.footer-links a {
    font-size: 12px;
    color: #c6c6d4;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    border-top: 1px solid #292c40;
    padding-top: 20px;
    color: #8d90a4;
    font-size: 11px;
}

@media(max-width: 850px) {
    .navigation {
        gap: 16px;
    }

    .hero-grid {
        gap: 25px;
    }

    .floating-top {
        left: -5px;
    }

    .floating-bottom {
        right: -5px;
    }
}

@media(max-width: 650px) {
    .header {
        height: 70px;
    }

    .menu-toggle {
        display: block;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        padding: 22px 5%;
        background: white;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .navigation.open {
        display: flex;
    }

    .nav-button {
        display: none;
    }

    .hero {
        padding: 70px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 43px;
        letter-spacing: -2px;
    }

    .hero-visual {
        margin-top: 20px;
        min-height: 370px;
    }

    .main-visual-card {
        padding: 22px;
    }

    .floating-top {
        left: 0;
    }

    .floating-bottom {
        right: 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .cta-content h2 {
        font-size: 27px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-padding {
        padding: 65px 0;
    }
}


/* =====================================
   OLENA AGENCY - MOBILE FIRST ENHANCEMENTS
===================================== */

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid #a99ae9;
    outline-offset: 3px;
}

.btn {
    min-height: 48px;
}

.navigation a {
    min-height: 40px;
    display: flex;
    align-items: center;
}

@media (max-width: 650px) {
    .container {
        width: 91%;
    }

    .hero {
        padding: 55px 0 65px;
    }

    .hero h1 {
        font-size: clamp(36px, 10vw, 46px);
        line-height: 1.17;
    }

    .hero-content > p {
        font-size: 15px;
        line-height: 1.8;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
        min-height: 54px;
    }

    .hero-visual {
        min-height: 340px;
        width: 100%;
    }

    .main-visual-card {
        width: 94%;
    }

    .floating-card {
        padding: 10px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 9px;
    }

    .section-padding {
        padding: 55px 0;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .feature-card {
        padding: 24px;
    }

    .cta-content {
        gap: 22px;
    }

    .cta-content .btn {
        width: 100%;
    }

    .footer-links {
        gap: 18px;
    }

    .navigation.open a {
        width: 100%;
        padding: 7px 0;
    }
}

@media (max-width: 380px) {
    .logo {
        font-size: 16px;
    }

    .logo-icon {
        width: 34px;
        height: 34px;
    }

    .hero h1 {
        font-size: 35px;
    }

    .floating-bottom {
        right: 0;
    }
}
/* =====================================
   OLENA AGENCY - MOBILE CENTER ALIGNMENT
===================================== */

@media (max-width: 650px) {

    .container {
        width: 90%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Center homepage hero */
    .hero-content {
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .eyebrow {
        justify-content: center;
    }

    .hero h1 {
        text-align: center;
        width: 100%;
    }

    .hero-content > p {
        margin: 20px auto 25px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
        align-items: center;
    }

    .trust-line {
        text-align: center;
    }

    /* Center homepage illustration */
    .hero-visual {
        margin-left: auto;
        margin-right: auto;
    }

    /* Center section headings */
    .section-heading {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    /* Center feature cards */
    .feature-card {
        text-align: center;
    }

    .feature-icon {
        margin-left: auto;
        margin-right: auto;
    }

    /* Center call-to-action */
    .cta-content {
        text-align: center;
        align-items: center;
    }

    /* Center footer */
    .footer-content {
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ==========================================
   OLENA AGENCY - SITE-WIDE MOBILE RESPONSIVE
   Applies to public, member and admin pages
========================================== */

html {
    width: 100%;
    max-width: 100%;
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: hidden;
}

img,
video,
iframe {
    max-width: 100%;
}

input,
select,
textarea,
button {
    max-width: 100%;
    font: inherit;
}

input,
select,
textarea {
    min-width: 0;
    font-size: 16px;
}

button,
.btn,
a {
    -webkit-tap-highlight-color: transparent;
}

table {
    max-width: 100%;
}

@media (max-width: 650px) {

    body {
        font-size: 15px;
    }

    .container {
        width: calc(100% - 32px);
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    /* Header and navigation */

    .header {
        width: 100%;
        height: 68px;
    }

    .nav-container {
        width: calc(100% - 28px);
        gap: 10px;
    }

    .logo {
        min-width: 0;
        font-size: 16px;
        gap: 7px;
    }

    .logo-icon {
        flex-shrink: 0;
        width: 35px;
        height: 35px;
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
        min-width: 44px;
        min-height: 44px;
    }

    .navigation {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        width: 100%;
        padding: 18px 22px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 12px 20px rgba(20, 15, 50, .08);
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        z-index: 200;
    }

    .navigation.open {
        display: flex;
    }

    .navigation a {
        width: 100%;
        min-height: 46px;
        padding: 10px 5px;
    }

    .nav-button {
        display: none;
    }

    /* General headings and spacing */

    h1 {
        font-size: clamp(28px, 8vw, 38px);
        line-height: 1.2;
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    h3 {
        overflow-wrap: anywhere;
    }

    .section-padding {
        padding: 48px 0;
    }

    /* Buttons */

    .btn {
        min-height: 48px;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    button {
        min-height: 44px;
    }

    /* Forms and input fields */

    form {
        max-width: 100%;
    }

    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        width: 100%;
        min-height: 48px;
        padding: 12px;
        font-size: 16px;
    }

    input[type="checkbox"],
    input[type="radio"] {
        width: auto;
        min-width: 18px;
        min-height: 18px;
    }

    label {
        display: block;
        max-width: 100%;
        margin-bottom: 7px;
    }

    textarea {
        min-height: 110px;
        resize: vertical;
    }

    /* Cards and grids */

    .feature-grid,
    .earning-grid,
    .steps-grid,
    .dashboard-grid,
    .stats-grid,
    .card-grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
    }

    .feature-card,
    .earning-card,
    .step-card,
    .card {
        width: 100%;
        min-width: 0;
        padding: 22px 18px;
    }

    /* Dashboard and account content */

    .dashboard,
    .dashboard-content,
    .main-content,
    .page-content,
    .content,
    .admin-content,
    .member-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    .dashboard-header,
    .page-header,
    .content-header {
        flex-wrap: wrap;
        gap: 12px;
    }

    /* Sidebars */

    .sidebar {
        max-width: 100%;
    }

    /* Tables: allow horizontal scrolling without moving the whole page */

    .table-responsive,
    .table-wrapper,
    .table-container {
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    table {
        width: 100%;
        min-width: 600px;
        border-collapse: collapse;
    }

    th,
    td {
        padding: 10px;
        font-size: 13px;
        white-space: nowrap;
    }

    /* Images and uploaded screenshots */

    .profile-image,
    .submission-image,
    .preview-image {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Footer */

    .footer {
        padding: 38px 0 20px;
    }

    .footer-links {
        gap: 12px 18px;
        justify-content: center;
    }

    /* Prevent long content from pushing layouts wider */

    p,
    a,
    span,
    td,
    th {
        overflow-wrap: anywhere;
    }
}

/* Very small phones */

@media (max-width: 380px) {

    .container {
        width: calc(100% - 24px);
    }

    .logo {
        font-size: 14px;
    }

    .section-padding {
        padding: 40px 0;
    }

    .feature-card,
    .earning-card,
    .step-card {
        padding: 18px 14px;
    }

    .dashboard,
    .dashboard-content,
    .main-content,
    .page-content,
    .content,
    .admin-content,
    .member-content {
        padding-left: 12px;
        padding-right: 12px;
    }
}
