:root {
--cream: #F5F0E6;
--cream-light: #FCF9F3;
--teal: #173F3B;
--teal-dark: #102F2C;
--green: #246B52;
--terracotta: #B9674F;
--text: #263632;
--muted: #758078;
--border: #E6DCCD;
}

* {
    box-sizing: border-box;
    }

html {
scroll-behavior: smooth;
scroll-padding-top: 100px;
}

body {
    margin: 0;
    background: #F5F0E6;
    color: #263632;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

a {
color: inherit;
text-decoration: none;
}

.landing-header {
position: relative;
z-index: 10;
display: flex;
align-items: center;
justify-content: space-between;
gap: 28px;
min-height: 100px;
padding: 18px 5%;
border-bottom: 1px solid var(--border);
background: rgba(245, 240, 230, 0.96);
}

.brand {
display: inline-flex;
align-items: center;
gap: 14px;
flex-shrink: 0;
}

.brand > img {
width: 68px;
height: 68px;
object-fit: contain;
}

.brand-copy {
display: flex;
flex-direction: column;
gap: 1px;
}

.brand-copy strong {
color: var(--teal-dark);
font-size: 32px;
font-weight: 800;
letter-spacing: -1.5px;
line-height: 1.15;
}

.brand-copy strong span {
color: var(--green);
transition: color 200ms ease;
}

.brand:hover .brand-copy strong span {
color: var(--terracotta);
}

.brand-copy small {
margin-top: 5px;
color: var(--muted);
font-size: 9px;
letter-spacing: 1.4px;
white-space: nowrap;
}

.landing-nav {
display: flex;
align-items: center;
justify-content: center;
gap: 28px;
font-size: 13px;
}
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--teal);
    border-radius: 2px;
}
.landing-nav a {
transition: color 180ms ease;
}

.landing-nav a:hover,
.footer-links a:hover {
color: var(--terracotta);
}

.header-actions,
.hero-actions {
display: flex;
align-items: center;
gap: 12px;
}

.button {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
min-height: 46px;
padding: 11px 22px;
border: 1px solid transparent;
border-radius: 12px;
font-size: 13px;
font-weight: 700;
white-space: nowrap;
cursor: pointer;
transition:
transform 180ms ease,
background 180ms ease,
color 180ms ease,
border-color 180ms ease;
}

.button:hover {
transform: translateY(-2px);
}

.button-primary {
color: #FFFFFF;
background: #B9674F;
border: 1px solid #B9674F;
}

.button-primary:hover {
background: #9F543F;
border-color: #9F543F;
}


.button-outline {
color: var(--teal);
background: transparent;
border-color: #B8D0C3;
}

.button-outline:hover {
background: #E6EEE6;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 48px;
    min-height: 610px;
    padding: 70px 5%;
    overflow: hidden;
    isolation: isolate;
}

.hero-copy {
position: relative;
z-index: 2;
max-width: 600px;
}

.eyebrow {
display: inline-block;
color: var(--terracotta);
font-size: 11px;
font-weight: 800;
letter-spacing: 2px;
}

.hero .eyebrow {
padding: 7px 13px;
border-radius: 30px;
background: #EFE4D5;
}

.hero h1 {
margin: 22px 0 18px;
color: var(--teal-dark);
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(42px, 4.4vw, 65px);
font-weight: 600;
letter-spacing: -2px;
line-height: 1.07;
}

.hero h1 span {
color: var(--terracotta);
}

.hero-copy > p {
max-width: 500px;
margin: 0 0 25px;
color: #68736D;
font-size: 16px;
line-height: 1.85;
}

.hero-actions {
flex-wrap: wrap;
gap: 14px;
}

.hero-actions .button {
min-height: 50px;
padding: 12px 25px;
}

.hero-benefits {
display: flex;
flex-wrap: wrap;
gap: 28px;
margin-top: 42px;
}

.hero-benefits div {
display: flex;
flex-direction: column;
gap: 2px;
font-size: 12px;
}

.hero-benefits strong {
color: var(--teal-dark);
font-size: 13px;
}

.hero-benefits span {
color: var(--muted);
}

.hero-visual {
position: relative;
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
min-height: 440px;
}

.orbit {
position: absolute;
aspect-ratio: 1;
border: 1px solid rgba(185, 103, 79, 0.4);
border-radius: 50%;
pointer-events: none;
}

.orbit-one {
    width: 600px;
    animation: orbitRotate 18s linear infinite;
}

.orbit-two {
    width: 720px;
    animation: orbitRotate 28s linear infinite reverse;
}

.planet {
position: absolute;
top: 3%;
right: 5%;
width: 185px;
aspect-ratio: 1;
border-radius: 50%;
background: linear-gradient(135deg, #D18A6C, #A94F37);
opacity: 0.9;
}

.preview-card {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 550px;
    padding: 15px;
    border: 8px solid #173F3B;
    border-radius: 22px;
    background: #FCF9F3;
    box-shadow: 0 25px 55px rgba(24, 48, 40, 0.15);
    transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) rotate(-2deg);
    animation: dashboardFloat 5s ease-in-out infinite;
    will-change: transform;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 5px 12px;
    border-bottom: 1px solid #E6DCCD;
}

.preview-brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}

.preview-header img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.preview-header strong {
    color: #102F2C;
    font-size: 16px;
}

.preview-header strong span {
    color: #246B52;
}

.preview-account {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
    font-size: 10px;
}

.preview-telegram-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid #B8DCC9;
    border-radius: 20px;
    background: #E8F5EC;
    color: #246B52;
    white-space: nowrap;
}

.preview-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #55A879;
}

.preview-account-email {
    color: #52655D;
    white-space: nowrap;
}

.preview-signout {
    padding: 6px 9px;
    border: 1px solid #DCCDB8;
    border-radius: 8px;
    color: #173F3B;
    white-space: nowrap;
}
.preview-content {
    margin-top: 12px;
    padding: 20px;
    border-radius: 12px;
    color: #FFFFFF;
    background: #173F3B;
}
.preview-label {
color: #D9A18C;
font-size: 9px;
font-weight: 800;
letter-spacing: 2px;
}

.preview-content h2 {
margin: 8px 0;
font-family: Georgia, "Times New Roman", serif;
font-size: 25px;
font-weight: 500;
}

.preview-content > p {
margin: 0;
color: #E0E9E4;
font-size: 12px;
line-height: 1.7;
}

.preview-stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 9px;
margin-top: 22px;
}

.preview-stats div {
display: flex;
flex-direction: column;
gap: 7px;
padding: 13px 10px;
border: 1px solid var(--border);
border-radius: 9px;
color: var(--text);
background: var(--cream-light);
}

.preview-stats small {
    color: #52655D;
    font-size: 10px;
}
.preview-stats strong {
color: var(--teal);
font-family: Georgia, "Times New Roman", serif;
font-size: 25px;
}

.preview-monitor {
margin-top: 13px;
padding: 15px;
border: 1px solid var(--border);
border-radius: 9px;
color: var(--terracotta);
background: var(--cream-light);
font-size: 9px;
font-weight: 800;
letter-spacing: 1px;
}

.monitor-line {
height: 7px;
margin-top: 14px;
border-radius: 10px;
background: #809B83;
}

.monitor-line.short {
width: 65%;
margin-top: 8px;
background: #D8CDBD;
}

.section {
    width: 100%;
    padding: 80px 6%;
}

.features {
    border-top: 1px solid #E6DCCD;
    background: #FCF9F3;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden;
}

.section h2 {
margin: 12px 0;
color: var(--teal-dark);
font-family: Georgia, "Times New Roman", serif;
font-size: clamp(32px, 3.5vw, 46px);
font-weight: 500;
letter-spacing: -1px;
line-height: 1.2;
}

.section-intro {
max-width: 570px;
margin: 15px auto 35px;
color: var(--muted);
font-size: 15px;
}

.feature-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 22px;
max-width: 1120px;
margin: 38px auto 0;
text-align: left;
}

.feature-card {
padding: 30px;
border: 1px solid var(--border);
border-radius: 18px;
background: #FFFFFF;
box-shadow: 0 8px 24px rgba(35, 51, 42, 0.04);
transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: #B9674F;
    box-shadow: 0 14px 32px rgba(35, 51, 42, 0.12);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    color: #FFFFFF;
    background: #173F3B;
    font-size: 25px;
    font-weight: 700;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.feature-card:hover .feature-icon {
    color: #FFFFFF;
    background: #9F543F;
}

.feature-card h3 {
margin: 20px 0 8px;
color: var(--teal);
font-size: 18px;
}

.feature-card p,
.about-section > p,
.pricing-section > p {
color: var(--muted);
font-size: 14px;
line-height: 1.9;
}

.about-section {
    background: var(--cream);
    text-align: center;
    padding: 65px 6%;
}

.about-section > p {
max-width: 720px;
margin: 20px auto 0;
}

.pricing-section {
background: #EDE5D8;
text-align: center;
}

.pricing-section > p {
margin: 18px auto 25px;
}

.landing-footer {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 24px;
padding: 30px 5%;
border-top: 1px solid var(--border);
background: var(--cream-light);
}

.footer-brand > img {
width: 48px;
height: 48px;
}

.footer-brand .brand-copy strong {
font-size: 23px;
}

.footer-brand .brand-copy small {
font-size: 7px;
letter-spacing: 0.8px;
}

.landing-footer > p {
color: var(--muted);
font-size: 12px;
}

.footer-links {
display: flex;
gap: 20px;
color: var(--muted);
font-size: 12px;
}

@media (max-width: 1100px) {
.landing-header {
flex-wrap: wrap;
gap: 18px;
}

.landing-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-top: 10px;
}
.hero {
    gap: 25px;
    padding-top: 55px;
    padding-bottom: 55px;
}
.hero-benefits {
    gap: 18px;
}

}

/* ========================================
   MOBILE RESPONSIVENESS
======================================== */

@media (max-width: 760px) {

    /* Header */
    .landing-header {
        padding: 16px 5%;
    }

    .brand > img {
        width: 52px;
        height: 52px;
    }

    .brand-copy strong {
        font-size: 26px;
    }

    .brand-copy small {
        font-size: 7px;
        letter-spacing: 0.8px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .landing-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 10px 5%;
        background: var(--cream-light);
        border-bottom: 1px solid var(--border);
        font-size: 14px;
    }

    .landing-nav.active {
        display: flex;
    }

    .landing-nav a {
        width: 100%;
        padding: 12px 0;
    }

    .header-actions {
        gap: 7px;
    }

    .header-actions .button {
        min-height: 40px;
        padding: 8px 12px;
        font-size: 11px;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 35px 6% 25px;
    }

    .hero h1 {
        font-size: clamp(36px, 8.5vw, 46px);
        letter-spacing: -1.5px;
        line-height: 1.08;
    }

    .hero-copy > p {
        font-size: 14px;
        line-height: 1.65;
        margin-bottom: 20px;
    }

    .hero-benefits {
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    /* Hero Visual */
    .hero-visual {
        min-height: 290px;
    }

    .orbit-one {
        width: 300px;
    }

    .orbit-two {
        width: 370px;
    }

    .planet {
        width: 120px;
    }

    /* Dashboard Preview */
    .preview-card {
        padding: 12px;
        border-width: 3px;
    }

    .preview-content {
        padding: 12px;
    }

    .preview-content h2 {
        font-size: 18px;
    }

    .preview-stats {
        gap: 5px;
    }

    .preview-stats div {
        padding: 9px 6px;
    }

    .preview-stats strong {
        font-size: 20px;
    }

    /* Features */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .feature-card {
        padding: 24px;
    }

    /* Footer */
    .landing-footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }
}


/* ========================================
   SMALL MOBILE DEVICES
======================================== */

@media (max-width: 400px) {

    .landing-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        position: relative;
    }

    .header-actions {
        width: 100%;
    }

    .header-actions .button {
        flex: 1;
    }

    .landing-nav {
        order: initial;
        width: 100%;
    }

    .hero-actions .button {
        padding: 11px 16px;
    }

    .hero-benefits {
        flex-direction: column;
        gap: 12px;
    }

    .hero-visual {
        min-height: 290px;
    }

    .preview-content h2 {
        font-size: 18px;
    }
}



@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
transition-duration: 0.01ms !important;
animation-duration: 0.01ms !important;
}

}

@keyframes dashboardFloat {
    0%, 100% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) rotate(-2deg) translateY(0);
    }

    50% {
        transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) rotate(-2deg) translateY(-12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .preview-card {
        animation: none;
        transform: perspective(1000px) rotateY(-8deg) rotateX(3deg) rotate(-2deg);
        will-change: auto;
    }
}
@keyframes orbitRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .orbit-one,
    .orbit-two {
        animation: none;
    }
}
.orbit-planet {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52px;
    height: 52px;
    margin: -26px 0 0 -26px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #F5C49B, #B9674F 70%);
    box-shadow: 0 0 18px rgba(185, 103, 79, 0.45);
    animation: planetOrbit 12s linear infinite;
}

@keyframes planetOrbit {
    from {
        transform: rotate(0deg) translateX(300px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(300px) rotate(-360deg);
    }
}
.orbit-planet-green {
    width: 60px;
    height: 60px;
    margin: -30px 0 0 -30px;
    background: radial-gradient(circle at 30% 30%, #A8E6A1 0%, #32A852 35%, #14752F 75%, #0B5420 100%);
    box-shadow: 0 0 18px rgba(20, 117, 47, 0.4); 
    animation: greenPlanetOrbit 16s linear infinite;
}

@keyframes greenPlanetOrbit {
    from {
        transform: rotate(360deg) translateX(360px) rotate(-360deg);
    }
    to {
        transform: rotate(0deg) translateX(360px) rotate(0deg);
    }
}

.star-field::before,
.star-field::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    z-index: 1;
    animation: starTwinkle 3s ease-in-out infinite alternate;
}

.star-field::before {
    background-image:
        radial-gradient(circle, #B9674F 1.5px, transparent 2px),
        radial-gradient(circle, #173F3B 2px, transparent 2.5px),
        radial-gradient(circle, #D99A69 1.5px, transparent 2px),
        radial-gradient(circle, #B9674F 2px, transparent 2.5px),
        radial-gradient(circle, #173F3B 1.5px, transparent 2px),
        radial-gradient(circle, #D99A69 2px, transparent 2.5px);
    background-size: 100% 100%;
    background-position:
        12% 20%,
        82% 12%,
        90% 42%,
        15% 75%,
        78% 85%,
        42% 8%;
}

.star-field::after {
    background-image:
        radial-gradient(circle, #D99A69 2px, transparent 2.5px),
        radial-gradient(circle, #B9674F 1.5px, transparent 2px),
        radial-gradient(circle, #173F3B 2px, transparent 2.5px),
        radial-gradient(circle, #D99A69 1.5px, transparent 2px),
        radial-gradient(circle, #B9674F 2px, transparent 2.5px);
    background-size: 100% 100%;
    background-position:
        25% 35%,
        70% 28%,
        95% 70%,
        30% 90%,
        60% 78%;
    animation-delay: 1.5s;
}

@keyframes starTwinkle {
    from {
        opacity: 0.25;
        filter: brightness(0.8);
    }
    to {
        opacity: 1;
        filter: brightness(1.8);
    }
}
.star-field {
    position: absolute;
    inset: -30px;
    z-index: 4;
    pointer-events: none;
    overflow: visible;
}

.star {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #D99A69;
    box-shadow: 0 0 10px 3px rgba(217, 154, 105, 0.45);
    animation: starGlow 2s ease-in-out infinite alternate;
}

.star:nth-child(1) { top: 12%; left: 18%; animation-delay: 0s; }
.star:nth-child(2) { top: 22%; left: 82%; animation-delay: 0.7s; }
.star:nth-child(3) { top: 65%; left: 12%; animation-delay: 1.2s; }
.star:nth-child(4) { top: 78%; left: 88%; animation-delay: 0.4s; }
.star:nth-child(5) { top: 42%; left: 92%; animation-delay: 1.5s; }
.star:nth-child(6) { top: 8%; left: 55%; animation-delay: 0.9s; }
.star:nth-child(7) { top: 88%; left: 45%; animation-delay: 1.8s; }
.star:nth-child(8) { top: 35%; left: 8%; animation-delay: 0.3s; }

@keyframes starGlow {
    from {
        opacity: 0.25;
        transform: scale(0.7);
        box-shadow: 0 0 4px 1px rgba(217, 154, 105, 0.25);
    }
    to {
        opacity: 1;
        transform: scale(1.5);
        box-shadow: 0 0 14px 5px rgba(217, 154, 105, 0.65);
    }
}

/* Global Theme Toggle */
.header-actions .theme-toggle {
    width: 44px !important;
    min-width: 44px;
    height: 44px !important;
    min-height: 44px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #b8d2c9;
    border-radius: 12px;
    background: transparent;

    font-size: 21px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}

.header-actions .theme-toggle:hover {
    background: rgba(20, 65, 57, 0.08);
}

.header-actions .theme-toggle:focus-visible {
    outline: 2px solid #164b40;
    outline-offset: 3px;
}
/* ========================================
   ORBITFLOW LANDING PAGE — DARK THEME
======================================== */

html[data-theme="dark"] {
    color-scheme: dark;

    --cream: #101820;
    --cream-light: #1C2733;
    --teal: #3390EC;
    --teal-dark: #F1F5F9;
    --green: #55C2D9;
    --terracotta: #55C2D9;
    --text: #F1F5F9;
    --muted: #AAB8C5;
    --border: #344454;
}

/* Main background and text */

html[data-theme="dark"] body {
    background: #101820;
    color: #F1F5F9;
}

/* Header */

html[data-theme="dark"] .landing-header {
    background: rgba(16, 24, 32, 0.97);
    border-color: #344454;
}

html[data-theme="dark"] .brand-copy strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .brand-copy strong span {
    color: #55C2D9;
}

html[data-theme="dark"] .brand-copy small {
    color: #AAB8C5;
}

html[data-theme="dark"] .landing-nav a {
    color: #D5DEE7;
}

html[data-theme="dark"] .landing-nav a:hover,
html[data-theme="dark"] .footer-links a:hover {
    color: #55C2D9;
}

/* Header and outline buttons */

html[data-theme="dark"] .button-outline {
    color: #55C2D9;
    border-color: #45677D;
    background: transparent;
}

html[data-theme="dark"] .button-outline:hover {
    background: #26394A;
}

html[data-theme="dark"] .button-primary {
    color: #FFFFFF;
    background: #287CCB;
    border-color: #287CCB;
}

html[data-theme="dark"] .button-primary:hover {
    background: #1F69B1;
    border-color: #1F69B1;
}

/* Theme toggle */

html[data-theme="dark"] .header-actions .theme-toggle {
    color: #F1F5F9;
    border-color: #45677D;
    background: #1C2733;
}

html[data-theme="dark"] .header-actions .theme-toggle:hover {
    background: #26394A;
}

/* Hero section */

html[data-theme="dark"] .hero {
    background: #101820;
}

html[data-theme="dark"] .hero .eyebrow {
    color: #55C2D9;
    background: #26394A;
}

html[data-theme="dark"] .hero h1 {
    color: #F1F5F9;
}

html[data-theme="dark"] .hero h1 span {
    color: #55C2D9;
}

html[data-theme="dark"] .hero-copy > p {
    color: #AAB8C5;
}

html[data-theme="dark"] .hero-benefits strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .hero-benefits span {
    color: #AAB8C5;
}

/* Orbit graphics */

html[data-theme="dark"] .orbit {
    border-color: rgba(85, 194, 217, 0.25);
}

html[data-theme="dark"] .planet {
    background: linear-gradient(135deg, #55C2D9, #287CCB);
}

html[data-theme="dark"] .orbit-planet {
    background: radial-gradient(circle at 30% 30%, #8DDCEC, #287CCB 70%);
    box-shadow: 0 0 18px rgba(51, 144, 236, 0.45);
}

html[data-theme="dark"] .orbit-planet-green {
    background: radial-gradient(
        circle at 30% 30%,
        #A2E9E2 0%,
        #269D91 40%,
        #12665F 100%
    );
}

/* Stars */

html[data-theme="dark"] .star-field::before {
    background-image:
        radial-gradient(circle, #55C2D9 1.5px, transparent 2px),
        radial-gradient(circle, #3390EC 2px, transparent 2.5px),
        radial-gradient(circle, #A2E9E2 1.5px, transparent 2px),
        radial-gradient(circle, #55C2D9 2px, transparent 2.5px),
        radial-gradient(circle, #3390EC 1.5px, transparent 2px),
        radial-gradient(circle, #A2E9E2 2px, transparent 2.5px);
}

html[data-theme="dark"] .star-field::after {
    background-image:
        radial-gradient(circle, #A2E9E2 2px, transparent 2.5px),
        radial-gradient(circle, #55C2D9 1.5px, transparent 2px),
        radial-gradient(circle, #3390EC 2px, transparent 2.5px),
        radial-gradient(circle, #A2E9E2 1.5px, transparent 2px),
        radial-gradient(circle, #55C2D9 2px, transparent 2.5px);
}

html[data-theme="dark"] .star {
    background: #55C2D9;
    box-shadow: 0 0 10px 3px rgba(85, 194, 217, 0.45);
}

/* Dashboard preview */

html[data-theme="dark"] .preview-card {
    background: #1C2733;
    border-color: #287CCB;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.4);
}

html[data-theme="dark"] .preview-header {
    border-color: #344454;
}

html[data-theme="dark"] .preview-header strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .preview-header strong span {
    color: #55C2D9;
}

html[data-theme="dark"] .preview-account-email {
    color: #AAB8C5;
}

html[data-theme="dark"] .preview-signout {
    color: #D5DEE7;
    border-color: #45677D;
}

html[data-theme="dark"] .preview-telegram-status {
    color: #79D7B0;
    background: #203D3B;
    border-color: #356B5C;
}

html[data-theme="dark"] .preview-content {
    background: #101820;
    color: #F1F5F9;
}

html[data-theme="dark"] .preview-content > p {
    color: #AAB8C5;
}

html[data-theme="dark"] .preview-stats div,
html[data-theme="dark"] .preview-monitor {
    background: #1C2733;
    border-color: #344454;
    color: #55C2D9;
}

html[data-theme="dark"] .preview-stats small {
    color: #AAB8C5;
}

html[data-theme="dark"] .preview-stats strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .monitor-line {
    background: #3390EC;
}

html[data-theme="dark"] .monitor-line.short {
    background: #45677D;
}

/* Features section */

html[data-theme="dark"] .features {
    background: #151F29;
    border-color: #344454;
}

html[data-theme="dark"] .section h2 {
    color: #F1F5F9;
}

html[data-theme="dark"] .section-intro {
    color: #AAB8C5;
}

html[data-theme="dark"] .feature-card {
    background: #1C2733;
    border-color: #344454;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

html[data-theme="dark"] .feature-card:hover {
    border-color: #3390EC;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
}

html[data-theme="dark"] .feature-icon {
    background: #287CCB;
    color: #FFFFFF;
}

html[data-theme="dark"] .feature-card:hover .feature-icon {
    background: #55C2D9;
    color: #101820;
}

html[data-theme="dark"] .feature-card h3 {
    color: #F1F5F9;
}

html[data-theme="dark"] .feature-card p {
    color: #AAB8C5;
}

/* About section */

html[data-theme="dark"] .about-section {
    background: #101820;
}

html[data-theme="dark"] .about-section > p {
    color: #AAB8C5;
}

/* Pricing section */

html[data-theme="dark"] .pricing-section {
    background: #151F29;
}

html[data-theme="dark"] .pricing-section > p {
    color: #AAB8C5;
}

/* Footer */

html[data-theme="dark"] .landing-footer {
    background: #1C2733;
    border-color: #344454;
}

html[data-theme="dark"] .landing-footer > p,
html[data-theme="dark"] .footer-links {
    color: #AAB8C5;
}

html[data-theme="dark"] .footer-brand .brand-copy strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .footer-brand .brand-copy strong span {
    color: #55C2D9;
}

/* Dark Mode — OrbitFlow Logo Colours */

html[data-theme="dark"] .brand-copy strong {
    color: #2196D2;
}

html[data-theme="dark"] .brand-copy strong span {
    color: #FFFFFF;
    transition: color 200ms ease;
}

html[data-theme="dark"] .brand:hover .brand-copy strong span {
    color: #E18A70;
}

/* Footer logo */
html[data-theme="dark"] .footer-brand .brand-copy strong {
    color: #2196D2;
}

html[data-theme="dark"] .footer-brand .brand-copy strong span {
    color: #FFFFFF;
}

html[data-theme="dark"] .footer-brand:hover .brand-copy strong span {
    color: #E18A70;
}
/* ========================================
   LOGO SWITCHING — LIGHT / DARK MODE
======================================== */

.logo-dark {
    display: none;
}

html[data-theme="dark"] .logo-light {
    display: none;
}

html[data-theme="dark"] .logo-dark {
    display: block;
}
/* Theme toggle icon colours */

/* Light theme — dark teal moon */
html:not([data-theme="dark"]) [data-theme-toggle] .theme-toggle-icon {
    filter: grayscale(1) brightness(0.35) sepia(1) hue-rotate(115deg) saturate(2);
}

/* Dark theme — preserve the original yellow sun */
html[data-theme="dark"] [data-theme-toggle] .theme-toggle-icon {
    filter: none;
}

/* Theme toggle icon */
.theme-toggle-icon {
    font-size: 28px;
}

html:not([data-theme="dark"]) .theme-toggle-icon {
    color: #173F3B;
}

html[data-theme="dark"] .theme-toggle-icon {
    color: #FFD54A;
}
/* Theme toggle — full moon in light mode */
html:not([data-theme="dark"]) .theme-toggle-icon {
    font-size: 25px;
    filter: none;
}

/* Preserve yellow sun in dark mode */
html[data-theme="dark"] .theme-toggle-icon {
    font-size: 25px;
    filter: none;
}

.theme-toggle .theme-toggle-icon.moon-icon {
    filter: grayscale(100%) !important;
    opacity: 1 !important;
    display: inline-block !important;
    width: 27px;
    height: 27px;
    flex-shrink: 0;
    border-radius: 50%;

    background-color: #bdbdbd !important;

    background-image:
        radial-gradient(circle at 28% 28%, #ffffff 0 7%, transparent 9%),
        radial-gradient(circle at 68% 30%, #777777 0 10%, transparent 12%),
        radial-gradient(circle at 42% 65%, #eeeeee 0 12%, transparent 14%),
        radial-gradient(circle at 72% 72%, #858585 0 8%, transparent 10%),
        radial-gradient(circle at 35% 35%, #ffffff, #bdbdbd 55%, #777777 100%) !important;

    box-shadow:
        inset -3px -3px 6px rgba(0, 0, 0, 0.3),
        0 0 5px rgba(255, 255, 255, 0.5);
}
/* ================================
   PRICING SECTION
================================ */

.pricing-section {
    background: var(--cream);
    color: var(--text);
    text-align: center;
}

.pricing-intro {
    max-width: 560px;
    margin: 18px auto 28px;
    color: var(--muted);
    line-height: 1.7;
}

/* Billing switch */

.pricing-billing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px;
    margin: 10px auto 42px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 50px;
}

.billing-option {
    border: none;
    border-radius: 40px;
    padding: 11px 20px;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s ease;
}

.billing-option.active {
    background: var(--teal);
    color: #fff;
}

.billing-option span {
    margin-left: 5px;
    font-size: 11px;
    font-weight: 700;
    color: var(--terracotta);
}

.billing-option.active span {
    color: #fff;
}

/* Pricing grid */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1120px;
    margin: 0 auto;
    text-align: left;
    align-items: stretch;
}

/* Pricing cards */

.pricing-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.09);
}

.pricing-card.popular {
    border: 2px solid var(--green);
    transform: translateY(-10px);
}

.pricing-card.popular:hover {
    transform: translateY(-16px);
}

.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 18px;
    border-radius: 30px;
    background: var(--green);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Plan information */

.plan-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 13px;
    background: rgba(36, 107, 82, 0.10);
    color: var(--green);
    font-size: 25px;
}

.pricing-card h3 {
    margin: 0 0 7px;
    color: var(--text);
    font-size: 23px;
}

.plan-description {
    min-height: 24px;
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 14px;
}

/* Price */

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 3px;
    margin-bottom: 8px;
    color: var(--text);
}

.plan-price .currency {
    font-size: 23px;
    font-weight: 600;
}

.plan-price strong {
    font-size: 43px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -2px;
}

.plan-price .price-period {
    margin-left: 4px;
    color: var(--muted);
    font-size: 13px;
}

.yearly-note {
    min-height: 20px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 12px;
}

/* Buttons */

.plan-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 18px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: transparent;
    color: var(--text);
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.plan-button:hover {
    border-color: var(--green);
    color: var(--green);
}

.plan-button-primary {
    border-color: var(--teal);
    background: var(--teal);
    color: #fff;
}

.plan-button-primary:hover {
    border-color: var(--teal-dark);
    background: var(--teal-dark);
    color: #fff;
}

/* Features */

.plan-divider {
    height: 1px;
    margin: 26px 0 22px;
    background: var(--border);
}

.pricing-card h4 {
    margin: 0 0 17px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
}

.plan-features {
    display: flex;
    flex-direction: column;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plan-features li {
    position: relative;
    padding-left: 25px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--green);
    font-weight: 800;
}

/* Disclaimer */

.pricing-disclaimer {
    margin: 35px auto 0;
    color: var(--muted);
    font-size: 12px;
}

/* Dark theme */

html[data-theme="dark"] .pricing-section {
    background: var(--cream);
    color: var(--text);
}

html[data-theme="dark"] .pricing-card {
    background: var(--cream-light);
    border-color: var(--border);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}

html[data-theme="dark"] .pricing-card.popular {
    border-color: var(--green);
}

html[data-theme="dark"] .pricing-billing {
    background: var(--cream-light);
    border-color: var(--border);
}

html[data-theme="dark"] .billing-option.active {
    background: var(--teal);
    color: #fff;
}

html[data-theme="dark"] .plan-icon {
    background: rgba(85, 194, 217, 0.12);
    color: var(--green);
}

html[data-theme="dark"] .plan-button {
    border-color: var(--border);
    color: var(--text);
}

html[data-theme="dark"] .plan-button-primary {
    border-color: var(--teal);
    background: var(--teal);
    color: #fff;
}

html[data-theme="dark"] .plan-button-primary:hover {
    background: var(--green);
    border-color: var(--green);
}

/* Responsive layout */

@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-6px);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .pricing-card {
        padding: 28px 24px;
    }

    .pricing-billing {
        margin-bottom: 35px;
    }

    .billing-option {
        padding: 10px 15px;
        font-size: 13px;
    }

    .plan-price strong {
        font-size: 39px;
    }
}

/* =====================================
   HOW IT WORKS
===================================== */

.how-it-works {
    text-align: center;
    background: var(--cream);
}

.how-it-works > h2 {
    margin: 15px 0;
    color: var(--teal-dark);
    font-size: clamp(28px, 4vw, 38px);
}

.how-it-works .section-intro {
    max-width: 650px;
    margin: 0 auto 45px;
    color: var(--muted);
    line-height: 1.7;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.step-card {
    position: relative;
    padding: 32px 28px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.step-number {
    margin-bottom: 24px;
    color: var(--green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
}

.step-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    border-radius: 14px;
    background: rgba(36, 107, 82, 0.10);
    color: var(--green);
    font-size: 25px;
}

.step-card h3 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 21px;
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Dark theme */

html[data-theme="dark"] .how-it-works {
    background: var(--cream);
}

html[data-theme="dark"] .step-card {
    background: var(--cream-light);
    border-color: var(--border);
}

html[data-theme="dark"] .step-icon {
    background: rgba(85, 194, 217, 0.12);
    color: var(--green);
}

/* Responsive */

@media (max-width: 850px) {
    .steps-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 28px 24px;
    }
}

/* =====================================
   FAQ SECTION
===================================== */

.faq-section {
    background: var(--cream);
    text-align: center;
}

.faq-section > h2 {
    margin: 15px 0;
    color: var(--teal-dark);
    font-size: clamp(28px, 4vw, 38px);
}

.faq-section .section-intro {
    max-width: 600px;
    margin: 0 auto 40px;
    color: var(--muted);
    line-height: 1.7;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 14px;
    padding: 0 24px;
    background: var(--cream-light);
    border: 1px solid var(--border);
    border-radius: 13px;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--green);
}

.faq-item summary {
    position: relative;
    padding: 22px 35px 22px 0;
    color: var(--text);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--green);
    font-size: 25px;
    font-weight: 400;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0;
    padding: 0 0 22px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* Dark theme */

html[data-theme="dark"] .faq-section {
    background: var(--cream);
}

html[data-theme="dark"] .faq-item {
    background: var(--cream-light);
    border-color: var(--border);
}

html[data-theme="dark"] .faq-item[open] {
    border-color: var(--green);
}

/* Responsive */

@media (max-width: 600px) {
    .faq-item {
        padding: 0 18px;
    }

    .faq-item summary {
        font-size: 14px;
    }
}

/* =====================================
   EXPANDED FEATURES
===================================== */

.expanded-features {
    background: var(--cream);
    text-align: center;
    overflow: hidden;
}

.expanded-features > h2 {
    margin: 15px 0;
}

.expanded-feature-list {
    max-width: 1150px;
    margin: 65px auto 0;
    display: flex;
    flex-direction: column;
    gap: 75px;
}

.expanded-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    text-align: left;
}

.expanded-feature-reverse .expanded-feature-copy {
    order: 2;
}

.expanded-feature-reverse .expanded-feature-visual {
    order: 1;
}

.expanded-feature-copy {
    max-width: 480px;
}

.expanded-feature-number {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--terracotta);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 3px;
}

.expanded-feature-copy h3 {
    margin: 0 0 18px;
    color: var(--teal-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 500;
    line-height: 1.2;
}

.expanded-feature-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

/* Visual containers */

.expanded-feature-visual {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--cream-light);
    box-shadow: 0 18px 45px rgba(35, 51, 42, 0.07);
    transition: transform 250ms ease, box-shadow 250ms ease;
}

.expanded-feature-visual:hover {
    transform: translateY(-5px);
    box-shadow: 0 24px 55px rgba(35, 51, 42, 0.12);
}

/* Mockup window */

.mockup-window {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #FFFFFF;
    color: #263632;
    box-shadow: 0 8px 25px rgba(35, 51, 42, 0.06);
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 18px;
    border-bottom: 1px solid #E6DCCD;
    background: #FCF9F3;
    color: #758078;
    font-size: 11px;
    font-weight: 700;
}

.mockup-dots {
    color: #B9674F;
    font-size: 9px;
    letter-spacing: 3px;
}

/* Campaign management */

.mockup-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 20px;
}

.mockup-toolbar strong {
    font-size: 14px;
}

.mockup-button {
    padding: 8px 11px;
    border-radius: 8px;
    background: #173F3B;
    color: #FFFFFF;
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.mockup-campaign {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid #F0E9DF;
}

.mockup-campaign > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    gap: 4px;
}

.mockup-campaign strong {
    font-size: 12px;
}

.mockup-campaign small {
    color: #758078;
    font-size: 10px;
}

.mockup-status {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-running {
    background: #55A879;
    box-shadow: 0 0 0 4px #E8F5EC;
}

.status-complete {
    background: #3390EC;
    box-shadow: 0 0 0 4px #EAF3FC;
}

.status-scheduled {
    background: #D99A69;
    box-shadow: 0 0 0 4px #F8EEE3;
}

.mockup-tag {
    padding: 5px 8px;
    border-radius: 20px;
    background: #F1F3EF;
    color: #52655D;
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

/* Configuration */

.mockup-form {
    padding: 22px;
}

.mockup-form label {
    display: block;
    margin-bottom: 7px;
    color: #758078;
    font-size: 10px;
    font-weight: 700;
}

.mockup-input {
    margin-bottom: 18px;
    padding: 11px 13px;
    border: 1px solid #E6DCCD;
    border-radius: 8px;
    background: #FCF9F3;
    color: #263632;
    font-size: 11px;
}

.mockup-message {
    min-height: 75px;
    color: #758078;
}

.mockup-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mockup-launch {
    padding: 12px;
    border-radius: 9px;
    background: #173F3B;
    color: #FFFFFF;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
}

/* Monitoring */

.monitoring-content {
    padding: 22px;
}

.monitoring-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 22px;
}

.monitoring-title strong {
    font-size: 13px;
}

.live-indicator {
    color: #246B52;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.monitoring-progress {
    display: flex;
    align-items: center;
    gap: 13px;
}

.progress-track {
    flex: 1;
    height: 10px;
    overflow: hidden;
    border-radius: 20px;
    background: #E6DCCD;
}

.progress-fill {
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #246B52, #55A879);
}

.monitoring-progress strong {
    color: #246B52;
    font-size: 13px;
}

.monitoring-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 25px;
}

.monitoring-stats div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 13px;
    border: 1px solid #E6DCCD;
    border-radius: 9px;
    background: #FCF9F3;
}

.monitoring-stats small {
    color: #758078;
    font-size: 9px;
}

.monitoring-stats strong {
    color: #263632;
    font-size: 18px;
}

.monitoring-stats .running-text {
    color: #246B52;
    font-size: 12px;
}

.monitoring-activity {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding: 12px;
    border-radius: 8px;
    background: #E8F5EC;
    color: #246B52;
    font-size: 10px;
}

.activity-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #55A879;
}

/* Activity logs */

.log-list {
    padding: 8px 0;
}

.log-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 18px;
    border-bottom: 1px solid #F0E9DF;
}

.log-entry:last-child {
    border-bottom: none;
}

.log-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    border-radius: 50%;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
}

.log-success {
    background: #E8F5EC;
    color: #246B52;
}

.log-warning {
    background: #F8EEE3;
    color: #B9674F;
}

.log-entry > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
    min-width: 0;
}

.log-entry strong {
    color: #263632;
    font-size: 11px;
}

.log-entry small {
    color: #758078;
    font-size: 10px;
}

.log-entry time {
    color: #758078;
    font-size: 10px;
}

/* Dark theme */

html[data-theme="dark"] .expanded-features {
    background: var(--cream);
}

html[data-theme="dark"] .expanded-feature-copy h3 {
    color: #F1F5F9;
}

html[data-theme="dark"] .expanded-feature-copy p {
    color: #AAB8C5;
}

html[data-theme="dark"] .expanded-feature-visual {
    background: #1C2733;
    border-color: #344454;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .mockup-window {
    background: #101820;
    border-color: #344454;
    color: #F1F5F9;
}

html[data-theme="dark"] .mockup-header {
    background: #1C2733;
    border-color: #344454;
    color: #AAB8C5;
}

html[data-theme="dark"] .mockup-toolbar strong,
html[data-theme="dark"] .mockup-campaign strong,
html[data-theme="dark"] .monitoring-title strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .mockup-campaign {
    border-color: #344454;
}

html[data-theme="dark"] .mockup-campaign small,
html[data-theme="dark"] .mockup-form label,
html[data-theme="dark"] .monitoring-stats small,
html[data-theme="dark"] .log-entry small,
html[data-theme="dark"] .log-entry time {
    color: #AAB8C5;
}

html[data-theme="dark"] .mockup-tag {
    background: #26394A;
    color: #D5DEE7;
}

html[data-theme="dark"] .mockup-input {
    background: #1C2733;
    border-color: #344454;
    color: #F1F5F9;
}

html[data-theme="dark"] .mockup-message {
    color: #AAB8C5;
}

html[data-theme="dark"] .mockup-launch {
    background: #287CCB;
}

html[data-theme="dark"] .progress-track {
    background: #344454;
}

html[data-theme="dark"] .progress-fill {
    background: linear-gradient(90deg, #287CCB, #55C2D9);
}

html[data-theme="dark"] .monitoring-progress strong,
html[data-theme="dark"] .live-indicator {
    color: #55C2D9;
}

html[data-theme="dark"] .monitoring-stats div {
    background: #1C2733;
    border-color: #344454;
}

html[data-theme="dark"] .monitoring-stats strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .monitoring-stats .running-text {
    color: #55C2D9;
}

html[data-theme="dark"] .monitoring-activity {
    background: #203D3B;
    color: #79D7B0;
}

html[data-theme="dark"] .log-entry {
    border-color: #344454;
}

html[data-theme="dark"] .log-entry strong {
    color: #F1F5F9;
}

html[data-theme="dark"] .log-success {
    background: #203D3B;
    color: #79D7B0;
}

html[data-theme="dark"] .log-warning {
    background: #3B3028;
    color: #E7A27E;
}

/* Tablet layout */

@media (max-width: 900px) {
    .expanded-feature {
        gap: 35px;
    }

    .expanded-feature-visual {
        padding: 18px;
    }
}

/* =====================================
   EXPANDED FEATURES — MOBILE
   Detailed mobile layout will be handled
   during Phase 10 mobile responsiveness.
===================================== */

/* =========================================
   ORBITFLOW — MOBILE LAYOUT FIX
========================================= */

@media (max-width: 760px) {

    /* Global spacing */
    .section {
        padding: 55px 5%;
    }

    .section h2,
    .expanded-features > h2 {
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.2;
    }

    .section-intro {
        font-size: 14px;
        line-height: 1.65;
        margin: 12px auto 28px;
    }

    /* HERO */
    .hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        padding: 35px 6% 30px;
        min-height: auto;
    }

    .hero-copy {
        width: 100%;
        max-width: none;
    }

    .hero h1 {
        font-size: clamp(34px, 8vw, 43px);
        line-height: 1.08;
        letter-spacing: -1.5px;
        margin: 20px 0 16px;
    }

    .hero-copy > p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .hero-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    .hero-actions .button {
        flex: 1 1 auto;
        min-height: 48px;
        padding: 12px 16px;
        font-size: 13px;
    }

    .hero-benefits {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        margin-top: 28px;
    }

    .hero-benefits div {
        min-width: 0;
    }

    .hero-benefits strong {
        font-size: 12px;
    }

    .hero-benefits span {
        font-size: 11px;
        line-height: 1.4;
    }

    /* HERO VISUAL */
    .hero-visual {
        width: 100%;
        min-height: 0;
        padding: 10px 0;
        overflow: hidden;
    }

    .orbit-one {
        width: 280px;
    }

    .orbit-two {
        width: 330px;
    }

    .planet {
        width: 90px;
    }

    /* DASHBOARD PREVIEW */
    .preview-card {
        width: 100%;
        max-width: 100%;
        padding: 10px;
        border-width: 3px;
        border-radius: 16px;
        transform: none;
        animation: none;
    }

    .preview-header {
        gap: 6px;
        flex-wrap: wrap;
        padding-bottom: 9px;
    }

    .preview-brand {
        gap: 5px;
    }

    .preview-header img {
        width: 25px;
        height: 25px;
    }

    .preview-header strong {
        font-size: 12px;
    }

    .preview-account {
        gap: 5px;
        font-size: 8px;
    }

    .preview-telegram-status {
        padding: 4px 6px;
        font-size: 8px;
    }

    .preview-account-email {
        display: none;
    }

    .preview-signout {
        padding: 4px 6px;
        font-size: 8px;
    }

    .preview-content {
        margin-top: 9px;
        padding: 12px;
    }

    .preview-content h2 {
        font-size: 19px;
    }

    .preview-content > p {
        font-size: 11px;
    }

    .preview-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 5px;
        margin-top: 14px;
    }

    .preview-stats div {
        padding: 8px 5px;
        gap: 4px;
    }

    .preview-stats strong {
        font-size: 18px;
    }

    .preview-stats small {
        font-size: 8px;
    }

    .preview-monitor {
        padding: 10px;
        margin-top: 10px;
    }

    /* FEATURES */
    .features {
        padding: 55px 5%;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        margin-top: 25px;
    }

    .feature-card {
        padding: 22px;
        border-radius: 16px;
    }

    .feature-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .feature-card h3 {
        margin: 15px 0 8px;
        font-size: 17px;
    }

    .feature-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* EXPANDED FEATURES */
    .expanded-feature-list {
        margin-top: 35px;
        gap: 35px;
    }

    .expanded-feature {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        text-align: left;
    }

    .expanded-feature-reverse .expanded-feature-copy,
    .expanded-feature-reverse .expanded-feature-visual {
        order: initial;
    }

    .expanded-feature-copy {
        max-width: none;
        width: 100%;
    }

    .expanded-feature-number {
        margin-bottom: 12px;
    }

    .expanded-feature-copy h3 {
        font-size: 25px;
        line-height: 1.2;
    }

    .expanded-feature-copy p {
        font-size: 14px;
        line-height: 1.7;
    }

    .expanded-feature-visual {
        width: 100%;
        min-width: 0;
        padding: 12px;
        overflow: hidden;
    }

    .mockup-window {
        width: 100%;
        min-width: 0;
    }

    /* HOW IT WORKS */
    .how-it-works {
        padding: 55px 5%;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .step-card {
        padding: 23px;
    }

    .step-number {
        margin-bottom: 14px;
    }

    .step-icon {
        width: 46px;
        height: 46px;
        margin-bottom: 16px;
    }

    .step-card h3 {
        font-size: 19px;
        margin-bottom: 10px;
    }

    .step-card p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* ABOUT */
    .about-section {
        padding: 55px 5%;
    }

    .about-section > p {
        font-size: 14px;
        line-height: 1.7;
    }

    /* FAQ */
    .faq-section {
        padding: 55px 5%;
    }

    .faq-container {
        width: 100%;
    }

    .faq-item {
        padding: 0 15px;
        margin-bottom: 10px;
    }

    .faq-item summary {
        padding: 17px 28px 17px 0;
        font-size: 14px;
        line-height: 1.5;
    }

    .faq-item p {
        font-size: 13px;
        line-height: 1.7;
        padding-bottom: 17px;
    }

    /* PRICING */
    .pricing-section {
        padding: 55px 5%;
        overflow: hidden;
    }

    .pricing-intro {
        font-size: 14px;
        line-height: 1.65;
    }

    .pricing-billing {
        max-width: 100%;
        margin: 10px auto 30px;
    }

    .billing-option {
        padding: 9px 12px;
        font-size: 12px;
    }

    .pricing-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: 420px;
        gap: 18px;
    }

    .pricing-card {
        width: 100%;
        min-width: 0;
        padding: 24px 20px;
        transform: none !important;
    }

    .pricing-card.popular {
        transform: none !important;
    }

    .pricing-card:hover,
    .pricing-card.popular:hover {
        transform: none !important;
    }

    .pricing-card h3 {
        font-size: 21px;
    }

    .plan-description {
        margin-bottom: 18px;
    }

    .plan-price strong {
        font-size: 38px;
    }

    .plan-features {
        gap: 11px;
    }

    .plan-features li {
        font-size: 13px;
        line-height: 1.5;
    }

    /* FOOTER */
    .landing-footer {
        padding: 25px 5%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}


/* SMALL PHONES */
@media (max-width: 400px) {

    .hero h1 {
        font-size: 34px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-benefits {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-visual {
        padding: 0;
    }

    .preview-card {
        padding: 8px;
    }

    .preview-content {
        padding: 10px;
    }

    .feature-card {
        padding: 20px;
    }

    .pricing-card {
        padding: 22px 17px;
    }
}
/* =========================================
   MOBILE PRICING — HORIZONTAL SWIPE CAROUSEL
========================================= */

@media (max-width: 600px) {

    .pricing-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        gap: 16px;
        width: 100%;
        max-width: none;
        padding: 15px 5px 25px;
        margin: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 88%;
        width: 88%;
        min-width: 88%;
        box-sizing: border-box;
        scroll-snap-align: center;
        padding: 25px 20px;
    }

    .pricing-card.popular {
        transform: none !important;
    }

    .pricing-card:hover,
    .pricing-card.popular:hover {
        transform: none !important;
    }

    .popular-badge {
        z-index: 2;
    }
}
/* =========================================
   MOBILE — HORIZONTAL SWIPE FOR ALL CARDS
========================================= */

@media (max-width: 760px) {

    /* FEATURES */
    .feature-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 12px 5px 24px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .feature-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-card {
        flex: 0 0 85%;
        min-width: 85%;
        box-sizing: border-box;
        scroll-snap-align: center;
    }


    /* HOW IT WORKS */
    .steps-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 12px 5px 24px;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .steps-grid::-webkit-scrollbar {
        display: none;
    }

    .step-card {
        flex: 0 0 85%;
        min-width: 85%;
        box-sizing: border-box;
        scroll-snap-align: center;
    }


    /* PRICING */
    .pricing-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        gap: 16px;
        width: 100%;
        max-width: none;
        padding: 25px 5px 30px;
        margin: 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 88%;
        min-width: 88%;
        width: 88%;
        box-sizing: border-box;
        scroll-snap-align: center;
    }

    .pricing-card.popular {
        transform: none !important;
    }

    .pricing-card:hover,
    .pricing-card.popular:hover {
        transform: none !important;
    }

}


/* SMALLER PHONES */
@media (max-width: 400px) {

    .feature-card {
        flex-basis: 90%;
        min-width: 90%;
    }

    .step-card {
        flex-basis: 90%;
        min-width: 90%;
    }

    .pricing-card {
        flex-basis: 90%;
        min-width: 90%;
        width: 90%;
    }

}
@media (max-width: 760px) {

    .landing-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 35px 24px 25px;
        gap: 28px;
        box-sizing: border-box;
    }

    /* Logo + text on same row */
    .landing-footer .footer-brand,
    .landing-footer .footer-logo {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 100%;
        text-align: left;
    }

    .landing-footer .footer-logo img {
        width: 75px;
        height: 75px;
        flex-shrink: 0;
    }

    .landing-footer .footer-logo h2 {
        font-size: 36px;
        margin: 0;
    }

    .landing-footer .footer-logo p {
        font-size: 10px;
        letter-spacing: 1px;
        margin-top: 5px;
        text-align: left;
    }

    /* Copyright centered */
    .landing-footer .footer-copyright {
        text-align: center;
        font-size: 14px;
        margin: 0;
    }

    /* About left — Contact right */
    .landing-footer .footer-links {
        display: flex;
        justify-content: space-between;
        width: 100%;
        margin-top: 5px;
    }
}

@media (max-width: 400px) {

    .landing-footer {
        padding: 28px 18px;
    }

    .landing-footer .footer-logo img {
        width: 60px;
        height: 60px;
    }

    .landing-footer .footer-logo h2 {
        font-size: 29px;
    }

    .landing-footer .footer-logo p {
        font-size: 8px;
    }
}

/* CONTACT MODAL */
.contact-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.contact-modal.active {
    display: flex;
}

.contact-modal-content {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: var(--card-bg, #1c2a36);
    border: 1px solid var(--border-color, #344b5c);
    border-radius: 20px;
    padding: 30px;
    box-sizing: border-box;
    text-align: center;
}

.contact-modal-content h2 {
    margin-bottom: 10px;
}

.contact-modal-content p {
    color: #aab8c5;
    line-height: 1.6;
}

.contact-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: inherit;
}

.contact-email {
    margin: 25px 0;
    padding: 15px;
    border: 1px solid #344b5c;
    border-radius: 12px;
    overflow-wrap: anywhere;
}

.contact-email a {
    color: #55c4d8;
    text-decoration: none;
}

.contact-copy-btn {
    width: 100%;
    padding: 14px;
    background: #287bc9;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}
.user-dropdown {
    position: relative;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 8px;
    z-index: 1000;
}

.user-dropdown-menu.show {
    display: flex;
    flex-direction: column;
}

.user-dropdown-menu a,
.user-dropdown-menu button {
    padding: 10px;
    text-align: left;
    background: none;
    border: none;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
#auth-header {
    display: flex;
    align-items: center;
    gap: 12px;
}