
/* =========================================================
   GROWBIZCONNECT - PROFESSIONAL RESPONSIVE LANDING PAGE
   ========================================================= */

:root {
    --navy: #101c3a;
    --navy-light: #19294d;
    --blue: #4169e1;
    --blue-dark: #3154c6;
    --purple: #7958e8;
    --cyan: #6dd8f3;
    --green: #24b47e;
    --text: #17223d;
    --muted: #778198;
    --border: #e6eaf2;
    --white: #ffffff;
    --page-bg: #f7f9fd;
    --shadow: 0 18px 55px rgba(16, 28, 58, 0.08);
    --radius: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body.home {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: var(--page-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.home a {
    color: inherit;
    text-decoration: none;
}

body.home img,
body.home svg {
    display: block;
}

body.home img {
    max-width: 100%;
}

body.home a:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 5px;
}

body.home button,
body.home a {
    -webkit-tap-highlight-color: transparent;
}

/* ========================= HEADER ========================= */

.topbar {
    position: relative;
    z-index: 10;
    background: #ffffff;
    border-bottom: 1px solid rgba(230, 234, 242, 0.9);
}

.topbar-inner {
    width: min(1200px, calc(100% - 64px));
    min-height: 84px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
}

.brand-logo {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f2f5ff;
    border: 1px solid #e9edfa;
    border-radius: 15px;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.brand-text strong {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.8px;
    color: var(--navy);
}

.brand-text strong span,
.footer-brand span {
    color: var(--blue);
}

.brand-text small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.15px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.secure-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #657089;
    font-size: 12px;
    font-weight: 600;
}

.secure-dot,
.visual-status,
.visual-bottom-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green);
}

.secure-dot {
    box-shadow: 0 0 0 4px rgba(36, 180, 126, 0.12);
}

.topbar-login {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 11px 17px;
    border: 1px solid var(--border);
    border-radius: 11px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 700;
    transition: 0.25s ease;
}

.topbar-login span {
    color: var(--blue);
    font-size: 17px;
}

.topbar-login:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
}

/* ========================= HERO ========================= */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(ellipse at 83% 20%, rgba(77, 104, 220, 0.27), transparent 35%),
        linear-gradient(120deg, #101a36 0%, #15264c 57%, #20285a 100%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: min(1200px, calc(100% - 64px));
    min-height: 570px;
    margin: auto;
    padding: 80px 0 86px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.hero-glow {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(2px);
}

.hero-glow-one {
    width: 390px;
    height: 390px;
    top: -210px;
    left: 28%;
    background: rgba(94, 115, 238, 0.13);
}

.hero-glow-two {
    width: 430px;
    height: 430px;
    right: -200px;
    bottom: -280px;
    background: rgba(109, 216, 243, 0.09);
}

.hero-copy {
    max-width: 610px;
}

.eyebrow,
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #8faaff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.eyebrow {
    padding: 9px 13px;
    margin-bottom: 23px;
    border: 1px solid rgba(163, 180, 255, 0.22);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.045);
}

.eyebrow-icon {
    color: var(--cyan);
    font-size: 16px;
}

.hero-copy h1 {
    margin-bottom: 23px;
    color: #ffffff;
    font-size: clamp(39px, 4.5vw, 63px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -2.7px;
}

.hero-copy h1 span {
    color: #8eabff;
}

.hero-description {
    max-width: 520px;
    color: #bdc8e0;
    font-size: 15px;
    line-height: 1.95;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.primary-button,
.secondary-button {
    min-height: 51px;
    padding: 13px 19px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
    transition: 0.25s ease;
}

.primary-button {
    color: #ffffff !important;
    background: var(--blue);
    box-shadow: 0 9px 25px rgba(65, 105, 225, 0.27);
}

.primary-button span,
.secondary-button span {
    font-size: 17px;
}

.primary-button:hover {
    background: #5279ed;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(65, 105, 225, 0.36);
}

.secondary-button {
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.055);
}

.secondary-button:hover {
    border-color: #8faaff;
    background: rgba(255, 255, 255, 0.1);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
    color: #b5c3df;
    font-size: 11px;
    line-height: 1.8;
}

.note-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: #8de2bf;
    background: rgba(36, 180, 126, 0.15);
    border-radius: 50%;
    font-weight: 800;
}

/* ========================= HERO VISUAL ========================= */

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

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(171, 187, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    width: 390px;
    height: 390px;
}

.orbit-two {
    width: 310px;
    height: 310px;
    border-style: dashed;
    border-color: rgba(171, 187, 255, 0.17);
}

.visual-card {
    position: relative;
    z-index: 2;
    width: min(100%, 390px);
    padding: 24px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 21px;
    box-shadow: 0 35px 85px rgba(3, 10, 33, 0.3);
    transform: rotate(-2deg);
    transition: transform 0.35s ease;
}

.visual-card:hover {
    transform: rotate(0deg) translateY(-3px);
}

.visual-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.visual-brand-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #f1f4ff;
    border-radius: 12px;
}

.visual-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.visual-card-top > div:nth-child(2) {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.visual-card-top strong {
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.visual-card-top span:not(.visual-status) {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.visual-status {
    box-shadow: 0 0 0 4px rgba(36, 180, 126, 0.11);
}

.visual-divider {
    height: 1px;
    margin: 21px 0;
    background: #edf0f6;
}

.visual-kicker {
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.visual-message h2 {
    margin: 11px 0;
    color: var(--navy);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.22;
    letter-spacing: -1px;
}

.visual-message p {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

.visual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 23px;
}

.visual-tags span {
    padding: 7px 9px;
    border: 1px solid #e9edf7;
    border-radius: 8px;
    background: #f8faff;
    color: #53617d;
    font-size: 9px;
    font-weight: 700;
}

.visual-tags i {
    color: var(--blue);
    font-size: 12px;
    font-style: normal;
}

.visual-bottom {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #edf0f6;
    color: #7b859a;
    font-size: 9px;
    font-weight: 600;
}

.visual-bottom-dot {
    width: 7px;
    height: 7px;
}

.floating-badge {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(3, 10, 33, 0.18);
}

.badge-top {
    top: 25px;
    right: -8px;
}

.badge-bottom {
    bottom: 15px;
    left: -13px;
}

.floating-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 10px;
    font-size: 19px;
    font-weight: 800;
}

.floating-icon.purple {
    color: #7352df;
    background: #f0edff;
}

.floating-icon.green {
    color: #159b6b;
    background: #e8f9f1;
}

.floating-badge > span:last-child {
    display: flex;
    flex-direction: column;
}

.floating-badge strong {
    color: var(--navy);
    font-size: 10px;
}

.floating-badge small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
}

.hero-bottom-line {
    height: 3px;
    background: linear-gradient(
        90deg,
        #4169e1,
        #7958e8,
        #6dd8f3,
        #24b47e
    );
}

/* ========================= SIGNED-IN WELCOME ========================= */

.welcome-panel {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 30px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.07);
}

.welcome-avatar {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: var(--blue);
    border-radius: 12px;
    font-weight: 800;
}

.welcome-copy {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 120px;
}

.welcome-copy strong {
    color: #ffffff;
    font-size: 13px;
}

.welcome-copy span {
    margin-top: 3px;
    color: #bdc8e0;
    font-size: 10px;
}

.welcome-action {
    padding: 9px 12px;
    color: #ffffff !important;
    border-radius: 8px;
    background: var(--blue);
    font-size: 10px;
    font-weight: 700;
}

/* ========================= LOGIN SECTION ========================= */

.access-section {
    padding: 83px 0 92px;
    background:
        radial-gradient(ellipse at 10% 0%, #eef2ff 0%, transparent 35%),
        #f8faff;
}

.section-container {
    width: min(1000px, calc(100% - 64px));
    margin: auto;
}

.section-heading {
    margin-bottom: 35px;
    text-align: center;
}

.section-heading .section-eyebrow {
    color: var(--blue);
}

.section-heading h2 {
    margin-top: 10px;
    color: var(--navy);
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1.3px;
    line-height: 1.3;
}

.section-heading p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px;
}

.access-card {
    min-width: 0;
    padding: 27px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
    box-shadow: 0 5px 25px rgba(16, 28, 58, 0.025);
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease;
}

.access-card:hover {
    transform: translateY(-6px);
    border-color: #cbd7ff;
    box-shadow: var(--shadow);
}

.access-card-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 27px;
}

.access-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border-radius: 15px;
}

.access-icon svg {
    width: 25px;
    height: 25px;
}

.member-icon {
    color: #4169e1;
    background: #edf1ff;
}

.admin-icon {
    color: #7958e8;
    background: #f1edff;
}

.access-arrow {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: #75819b;
    font-size: 16px;
    transition: 0.25s ease;
}

.access-card:hover .access-arrow {
    color: #ffffff;
    border-color: var(--blue);
    background: var(--blue);
    transform: translate(2px, -2px);
}

.access-label {
    margin-bottom: 8px;
    color: var(--blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.admin-card .access-label {
    color: var(--purple);
}

.access-card h3 {
    color: var(--navy);
    font-size: 23px;
    font-weight: 800;
    letter-spacing: -0.6px;
}

.access-card > p {
    max-width: 350px;
    margin-top: 9px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}

.access-link {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 26px;
    padding-top: 18px;
    border-top: 1px solid #edf0f6;
    color: var(--navy);
    font-size: 13px;
    font-weight: 800;
}

.access-link span {
    color: var(--blue);
    font-size: 18px;
    transition: transform 0.25s ease;
}

.access-card:hover .access-link span {
    transform: translateX(4px);
}

/* ========================= APP INSTALL SECTION ========================= */

.app-section {
    position: relative;
    overflow: hidden;
    padding: 65px 0;
    color: #ffffff;
    background:
        radial-gradient(ellipse at 85% 50%, rgba(89, 111, 235, 0.2), transparent 38%),
        var(--navy);
}

.app-container {
    width: min(1100px, calc(100% - 64px));
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 70px;
}

.app-eyebrow {
    color: #91aaff;
}

.app-copy h2 {
    margin-top: 13px;
    color: #ffffff;
    font-size: clamp(30px, 3.5vw, 43px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
}

.app-copy h2 span {
    color: #91aaff;
}

.app-copy > p {
    max-width: 450px;
    margin-top: 17px;
    color: #b9c5df;
    font-size: 13px;
    line-height: 1.9;
}

.app-downloads {
    display: grid;
    gap: 12px;
}

.app-download {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 17px;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.055);
    transition: 0.25s ease;
}

.app-download:hover {
    border-color: rgba(145, 170, 255, 0.7);
    background: rgba(255, 255, 255, 0.11);
    transform: translateY(-3px);
}

.app-download.recommended {
    border-color: #91aaff;
    background: rgba(65, 105, 225, 0.22);
    box-shadow: 0 0 0 2px rgba(145, 170, 255, 0.08);
}

.download-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 11px;
    color: #a8bbff;
    background: rgba(255, 255, 255, 0.09);
}

.download-icon svg {
    width: 23px;
    height: 23px;
}

.download-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.download-copy small {
    color: #aab8d6;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1px;
}

.download-copy strong {
    margin-top: 2px;
    font-size: 15px;
    font-weight: 700;
}

.download-arrow {
    color: #9fb4ff;
    font-size: 21px;
    transition: transform 0.25s ease;
}

.app-download:hover .download-arrow {
    transform: translateX(4px);
}

.app-note {
    color: #aab8d6;
    font-size: 10px;
    line-height: 1.7;
}

/* ========================= FOOTER ========================= */

.site-footer {
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.footer-inner {
    width: min(1200px, calc(100% - 64px));
    min-height: 80px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding: 20px 0;
}

.footer-brand {
    color: var(--navy) !important;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.footer-inner p {
    color: var(--muted);
    font-size: 14px;
}

.footer-credit strong {
    color: var(--navy);
    font-weight: 800;
}

/* ========================= RESPONSIVE TABLETS ========================= */

@media (max-width: 1000px) {
    .hero-inner {
        gap: 30px;
        min-height: 540px;
    }

    .hero-copy h1 {
        font-size: clamp(38px, 5vw, 53px);
    }

    .hero-visual {
        padding: 35px 5px;
    }

    .visual-card {
        padding: 21px;
    }

    .badge-top {
        right: -5px;
    }

    .badge-bottom {
        left: -5px;
    }

    .app-container {
        gap: 40px;
    }
}

/* ========================= TABLET / SMALL LAPTOP ========================= */

@media (max-width: 760px) {
    .topbar-inner,
    .hero-inner,
    .section-container,
    .app-container,
    .footer-inner {
        width: min(100% - 40px, 600px);
    }

    .topbar-inner {
        min-height: 75px;
    }

    .brand-logo {
        width: 45px;
        height: 45px;
    }

    .brand-text strong {
        font-size: 17px;
    }

    .brand-text small {
        font-size: 10px;
    }

    .topbar-right {
        gap: 12px;
    }

    .secure-label {
        display: none;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 65px 0 55px;
    }

    .hero-copy {
        max-width: 600px;
    }

    .hero-copy h1 {
        font-size: clamp(40px, 8vw, 58px);
    }

    .hero-description {
        max-width: 550px;
    }

    .hero-visual {
        width: 100%;
        max-width: 480px;
        margin: 0 auto;
        min-height: 370px;
    }

    .visual-card {
        width: min(100%, 370px);
    }

    .orbit-one {
        width: 360px;
        height: 360px;
    }

    .orbit-two {
        width: 290px;
        height: 290px;
    }

    .badge-top {
        right: 0;
    }

    .badge-bottom {
        left: 0;
    }

    .access-section {
        padding: 65px 0;
    }

    .access-grid {
        gap: 16px;
    }

    .access-card {
        padding: 21px;
    }

    .access-card h3 {
        font-size: 20px;
    }

    .app-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .app-downloads {
        width: 100%;
        max-width: 480px;
    }
}

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

@media (max-width: 520px) {
    .topbar-inner,
    .hero-inner,
    .section-container,
    .app-container,
    .footer-inner {
        width: calc(100% - 32px);
    }

    .topbar-inner {
        min-height: 69px;
        gap: 8px;
    }

    .brand {
        gap: 9px;
    }

    .brand-logo {
        width: 39px;
        height: 39px;
        border-radius: 11px;
    }

    .brand-text strong {
        font-size: 15px;
        letter-spacing: -0.5px;
    }

    .brand-text small {
        max-width: 175px;
        font-size: 9px;
    }

    .topbar-login {
        gap: 6px;
        padding: 9px 10px;
        font-size: 11px;
    }

    .hero-inner {
        padding: 48px 0 43px;
        gap: 17px;
    }

    .eyebrow {
        gap: 7px;
        padding: 8px 10px;
        margin-bottom: 20px;
        font-size: 9px;
        letter-spacing: 1.3px;
    }

    .hero-copy h1 {
        margin-bottom: 17px;
        font-size: clamp(35px, 9vw, 45px);
        letter-spacing: -1.7px;
    }

    .hero-description {
        font-size: 12px;
        line-height: 1.9;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 25px;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
        min-height: 48px;
    }

    .hero-note {
        align-items: flex-start;
        margin-top: 20px;
        font-size: 10px;
    }

    .hero-visual {
        min-height: 340px;
        padding: 28px 3px;
    }

    .visual-card {
        width: calc(100% - 20px);
        padding: 18px;
        border-radius: 17px;
    }

    .visual-brand-icon {
        width: 39px;
        height: 39px;
    }

    .visual-card-top strong {
        font-size: 11px;
    }

    .visual-card-top span:not(.visual-status) {
        font-size: 8px;
    }

    .visual-divider {
        margin: 16px 0;
    }

    .visual-message h2 {
        font-size: 27px;
    }

    .visual-tags {
        gap: 5px;
        margin-top: 18px;
    }

    .visual-tags span {
        padding: 6px 7px;
        font-size: 8px;
    }

    .visual-bottom {
        font-size: 8px;
    }

    .orbit-one {
        width: 310px;
        height: 310px;
    }

    .orbit-two {
        width: 260px;
        height: 260px;
    }

    .floating-badge {
        gap: 8px;
        padding: 9px 10px;
        border-radius: 10px;
    }

    .badge-top {
        top: 5px;
        right: 0;
    }

    .badge-bottom {
        bottom: 0;
        left: 0;
    }

    .floating-icon {
        width: 29px;
        height: 29px;
        font-size: 15px;
    }

    .floating-badge strong {
        font-size: 9px;
    }

    .floating-badge small {
        font-size: 8px;
    }

    .welcome-panel {
        align-items: flex-start;
    }

    .welcome-copy {
        padding-top: 2px;
    }

    .welcome-action {
        width: 100%;
        text-align: center;
    }

    .access-section {
        padding: 49px 0 54px;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 28px;
        letter-spacing: -0.8px;
    }

    .section-heading p {
        font-size: 12px;
    }

    .access-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

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

    .access-card-top {
        margin-bottom: 19px;
    }

    .access-icon {
        width: 47px;
        height: 47px;
    }

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

    .access-card > p {
        font-size: 11px;
    }

    .access-link {
        margin-top: 20px;
    }

    .app-section {
        padding: 48px 0;
    }

    .app-container {
        gap: 25px;
    }

    .app-copy h2 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .app-copy > p {
        font-size: 12px;
    }

    .app-download {
        gap: 12px;
        padding: 13px;
    }

    .download-icon {
        width: 40px;
        height: 40px;
    }

    .download-copy strong {
        font-size: 14px;
    }

    .footer-inner {
        justify-content: center;
        text-align: center;
        gap: 9px;
        padding: 21px 0;
    }

    .footer-brand {
        width: 100%;
    }

    .footer-inner p {
        width: 100%;
        line-height: 1.7;
    }
}

/* ========================= VERY SMALL PHONES ========================= */

@media (max-width: 360px) {
    .brand-text strong {
        font-size: 13px;
    }

    .brand-text small {
        max-width: 145px;
        font-size: 8px;
    }

    .topbar-login {
        padding: 8px;
        font-size: 10px;
    }

    .hero-copy h1 {
        font-size: 33px;
    }

    .visual-card {
        padding: 15px;
    }

    .visual-message h2 {
        font-size: 24px;
    }

    .floating-badge {
        max-width: 175px;
    }

    .access-card {
        padding: 19px;
    }
}

/* ========================= REDUCED MOTION ========================= */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===== Responsive Header: All Screen Sizes ===== */

.topbar {
    width: 100%;
    position: relative;
    z-index: 100;
    background: #ffffff;
}

.topbar-inner {
    width: min(1200px, calc(100% - 40px));
    min-height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-text strong {
    display: block;
    white-space: nowrap;
    font-size: clamp(14px, 2vw, 20px);
    line-height: 1.35;
}

.brand-text small {
    display: block;
    white-space: normal;
    font-size: 10px;
    line-height: 1.4;
}

.topbar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 12px;
}

.topbar-login {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Tablets */
@media (max-width: 760px) {
    .topbar-inner {
        width: calc(100% - 28px);
        min-height: 72px;
        gap: 8px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .brand {
        gap: 8px;
    }

    .brand-text strong {
        font-size: 15px;
        letter-spacing: -0.4px;
    }

    .brand-text small {
        font-size: 9px;
    }

    .secure-label {
        display: none;
    }
}

/* Small mobile phones */
@media (max-width: 380px) {
    .topbar-inner {
        width: calc(100% - 20px);
        gap: 6px;
    }

    .brand {
        gap: 6px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .brand-text strong {
        font-size: 12px;
        letter-spacing: -0.3px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .topbar-login {
        padding: 8px;
        font-size: 10px;
    }
}

/* ========== RESPONSIVE NAVIGATION ========== */

.topbar {
    position: relative;
    z-index: 1000;
    background: #fff;
}

.topbar-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 25px;
}

.nav-link {
    position: relative;
    padding: 10px 0;
    color: #526079 !important;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #4169e1 !important;
}

.nav-link.active::after {
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: #4169e1;
    content: "";
}

.nav-actions {
    flex-shrink: 0;
}

.nav-signin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #4169e1;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background .2s ease, transform .2s ease;
}

.nav-signin:hover {
    background: #3154c6;
    transform: translateY(-2px);
}

.nav-signin span {
    font-size: 16px;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid #e6eaf2;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: #101c3a;
    transition: transform .2s ease, opacity .2s ease;
}

/* Tablet and mobile navigation */
@media (max-width: 1000px) {
    .topbar-inner {
        gap: 12px;
    }

    .menu-toggle {
        display: flex;
    }

    .main-navigation {
        position: absolute;
        top: calc(100% - 1px);
        right: 0;
        left: 0;
        z-index: 1001;
        display: none;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border: 1px solid #e6eaf2;
        border-radius: 0 0 16px 16px;
        background: #fff;
        box-shadow: 0 18px 35px rgba(16, 28, 58, .13);
    }

    .main-navigation.menu-open {
        display: flex;
    }

    .nav-link {
        display: block;
        padding: 13px 12px;
        border-radius: 8px;
        font-size: 13px;
    }

    .nav-link:hover {
        background: #f4f6ff;
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-actions {
        padding: 8px 0 2px;
    }

    .nav-signin {
        width: 100%;
        min-height: 44px;
    }
}

/* Compact phones */
@media (max-width: 380px) {
    .topbar-inner {
        gap: 8px;
    }

    .brand-logo {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .brand-text strong {
        font-size: 12px;
    }

    .brand-text small {
        font-size: 8px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }
}
/* =========================================================
   GROWBIZCONNECT - INSTALL PAGES (iPhone + Android)
   Replace the whole old "body.install ..." block in
   css/home.css with this file's content.
   Theme matches the home page: navy / royal blue / purple /
   cyan, Inter typography, 14-24px radii.
   ========================================================= */

body.install {
    --i-navy: #101c3a;
    --i-navy-2: #19294d;
    --i-blue: #4169e1;
    --i-blue-dark: #3154c6;
    --i-purple: #7958e8;
    --i-cyan: #6dd8f3;
    --i-green: #24b47e;
    --i-text: #17223d;
    --i-muted: #667189;
    --i-border: #e6eaf2;
    --i-bg: #f6f8fd;
    --i-surface: #ffffff;
    --i-grad: linear-gradient(135deg, var(--i-blue), var(--i-purple));
    --i-shadow: 0 20px 60px rgba(16, 28, 58, 0.08);

    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--i-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -webkit-text-size-adjust: 100%;
    background:
        radial-gradient(ellipse 60% 40% at 8% 0%, rgba(109, 216, 243, 0.16), transparent 70%),
        radial-gradient(ellipse 50% 40% at 100% 10%, rgba(121, 88, 232, 0.10), transparent 70%),
        var(--i-bg);
    background-repeat: no-repeat;
}

body.install *,
body.install *::before,
body.install *::after { box-sizing: border-box; }

body.install [hidden] { display: none !important; }

body.install a {
    color: var(--i-blue);
    text-decoration: none;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
body.install a:hover { color: var(--i-purple); }
body.install button { font: inherit; }

/* ========================= TOPBAR ========================= */

body.install .topbar {
    position: sticky;
    top: 0;
    z-index: 20;
    width: 100%;
    min-height: 74px;
    padding: 14px max(22px, calc((100% - 1100px) / 2));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--i-border);
}

body.install .topbar .back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--i-navy);
    background: #f2f5ff;
    border: 1px solid #e2e9ff;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
body.install .topbar .back:hover {
    color: #fff;
    background: var(--i-blue);
    border-color: var(--i-blue);
}

body.install .topbar > img {
    display: block;
    width: auto;
    max-width: 170px;
    max-height: 44px;
    object-fit: contain;
}

/* ========================= LAYOUT ========================= */

body.install .install-main {
    flex: 1 0 auto;
    width: 100%;
    padding: 44px 20px 56px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

body.install .install-card {
    position: relative;
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
    padding: 44px 46px 40px;
    background: var(--i-surface);
    border: 1px solid var(--i-border);
    border-radius: 24px;
    box-shadow: var(--i-shadow);
    overflow: hidden;
    animation: iFadeIn .5s ease both;
}

/* single brand accent along the top edge */
body.install .install-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, var(--i-blue), var(--i-purple) 60%, var(--i-cyan));
}

@keyframes iFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ========================= HEADING ========================= */

body.install .app-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 22px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #edf1ff, #e7faff);
    border: 1px solid #e0e8ff;
    border-radius: 24px;
    box-shadow: 0 12px 28px rgba(65, 105, 225, 0.16);
}
body.install .app-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 14px;
}

body.install .install-card > h1 {
    margin: 0 0 12px;
    color: var(--i-navy);
    font-size: clamp(26px, 4.4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-align: center;
}

body.install .install-card > .sub {
    max-width: 540px;
    margin: 0 auto 26px;
    color: var(--i-muted);
    font-size: 15px;
    line-height: 1.7;
    text-align: center;
}

/* ========================= PLATFORM SWITCH ========================= */

body.install .platform-switch {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 26px;
    padding: 4px;
    gap: 4px;
    background: #f1f4fb;
    border: 1px solid var(--i-border);
    border-radius: 14px;
}
body.install .platform-switch a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 20px;
    color: var(--i-muted);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}
body.install .platform-switch a:hover { color: var(--i-navy); }
body.install .platform-switch a.active {
    color: var(--i-navy);
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 28, 58, 0.10);
}
body.install .platform-switch svg {
    width: 17px;
    height: 17px;
    flex: none;
}

/* ========================= PERKS ========================= */

body.install .perks {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
body.install .perks li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 10px;
    color: var(--i-navy);
    background: #f7f9ff;
    border: 1px solid #e8edfb;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}

/* ========================= NOTICES ========================= */

body.install .notice {
    margin: 18px 0;
    padding: 15px 18px;
    border: 1px solid transparent;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
body.install .notice strong { font-weight: 700; }
body.install .notice.ok   { color: #0f6446; background: #eaf9f2; border-color: #c7eedb; }
body.install .notice.warn { color: #7a4d08; background: #fff8e8; border-color: #f5e0a8; }
body.install .notice.info { color: #23469a; background: #eff4ff; border-color: #d8e3ff; }
body.install .notice a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ========================= BUTTONS ========================= */

body.install .btn-install,
body.install .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
}

body.install .btn-install {
    color: #fff;
    background: var(--i-grad);
    border: 0;
    box-shadow: 0 12px 28px rgba(65, 105, 225, 0.32);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
body.install .btn-install svg { width: 20px; height: 20px; flex: none; }
body.install .btn-install:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(65, 105, 225, 0.4);
    filter: brightness(1.04);
}
body.install .btn-install:active { transform: translateY(0); }
body.install .btn-install:disabled {
    opacity: .65;
    cursor: wait;
    transform: none;
    box-shadow: none;
}

body.install .btn-secondary {
    margin-top: 14px;
    color: var(--i-blue);
    background: #fff;
    border: 1.5px solid #cfdaff;
}
body.install .btn-secondary:hover {
    color: #fff;
    background: var(--i-blue);
    border-color: var(--i-blue);
}

body.install .install-hint {
    margin: 12px 0 0;
    color: var(--i-muted);
    font-size: 13px;
    text-align: center;
}

/* ========================= COPY LINK ========================= */

body.install .copy-row {
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin-top: 12px;
}
body.install .copy-row input {
    flex: 1;
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 10px 13px;
    color: var(--i-navy);
    background: #fff;
    border: 1px solid #e3d3a2;
    border-radius: 10px;
    font-size: 14px;
}
body.install .copy-row input:focus {
    outline: none;
    border-color: var(--i-blue);
    box-shadow: 0 0 0 3px rgba(65, 105, 225, 0.14);
}
body.install .copy-row button {
    min-width: 92px;
    padding: 10px 18px;
    color: #fff;
    background: var(--i-blue);
    border: 1px solid var(--i-blue);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}
body.install .copy-row button:hover { background: var(--i-blue-dark); }

/* ========================= STEPS (iPhone) ========================= */

body.install .ios-steps {
    display: grid;
    gap: 14px;
    margin-top: 6px;
    counter-reset: istep;
}

body.install .ios-step {
    counter-increment: istep;
    min-width: 0;
    padding: 20px 22px;
    background: #fff;
    border: 1px solid var(--i-border);
    border-radius: 18px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
body.install .ios-step:hover {
    border-color: #cdd9ff;
    box-shadow: 0 10px 28px rgba(16, 28, 58, 0.06);
}

body.install .ios-step .hd {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-bottom: 8px;
}
body.install .ios-step .hd::before {
    content: counter(istep);
    flex: none;
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--i-grad);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(65, 105, 225, 0.28);
}
body.install .ios-step .hd h3 {
    margin: 0;
    color: var(--i-navy);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

body.install .ios-step p {
    margin: 0 0 0 45px;
    color: var(--i-muted);
    font-size: 14.5px;
    line-height: 1.75;
    overflow-wrap: anywhere;
}
body.install .ios-step p strong { color: var(--i-text); font-weight: 600; }
body.install .ios-step p em { color: var(--i-purple); font-style: normal; font-weight: 600; }

body.install .ios-step .visual {
    margin: 16px 0 0 45px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7f9ff;
    border: 1px solid #e9eef9;
    border-radius: 14px;
    overflow: hidden;
}
body.install .ios-step .visual svg {
    display: block;
    width: 100%;
    max-width: 340px;
    height: auto;
    margin: 0 auto;
}
body.install .ios-step .inline-ic { vertical-align: middle; }

/* ========================= MANUAL STEPS (Android) ========================= */

body.install .manual {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--i-border);
    border-radius: 18px;
    overflow: hidden;
}
body.install .manual summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 17px 22px;
    color: var(--i-navy);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
body.install .manual summary::-webkit-details-marker { display: none; }
body.install .manual summary::after {
    content: "";
    flex: none;
    width: 9px;
    height: 9px;
    margin-right: 4px;
    border-right: 2.5px solid var(--i-muted);
    border-bottom: 2.5px solid var(--i-muted);
    transform: rotate(45deg);
    transition: transform .25s ease;
}
body.install .manual[open] summary { border-bottom: 1px solid var(--i-border); }
body.install .manual[open] summary::after { transform: rotate(-135deg); }

body.install .manual .steps {
    list-style: none;
    margin: 0;
    padding: 8px 22px 12px;
    counter-reset: mstep;
}
body.install .manual .steps li {
    counter-increment: mstep;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 15px 0;
    border-bottom: 1px solid #eef1f8;
}
body.install .manual .steps li:last-child { border-bottom: 0; }
body.install .manual .steps li::before {
    content: counter(mstep);
    flex: none;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--i-grad);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}
body.install .st-title {
    color: var(--i-navy);
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
}
body.install .st-title .inline-ic {
    display: inline-flex;
    width: 24px;
    height: 24px;
    padding: 4px;
    vertical-align: middle;
    color: var(--i-blue);
    background: #eef3ff;
    border-radius: 7px;
}
body.install .st-title .inline-ic svg { width: 100%; height: 100%; }
body.install .st-text {
    margin-top: 3px;
    color: var(--i-muted);
    font-size: 14px;
    line-height: 1.7;
}
body.install .st-text strong { color: var(--i-text); font-weight: 600; }
body.install .st-text em { color: var(--i-purple); font-style: normal; font-weight: 600; }

/* ========================= NOTIFICATION TIP ========================= */

body.install .notice.tip {
    margin: 22px 0 0;
    padding: 18px 20px;
    color: var(--i-text);
    background: linear-gradient(120deg, rgba(65, 105, 225, 0.07), rgba(109, 216, 243, 0.12));
    border: 1px solid #d9e5ff;
}
body.install .notice.tip strong { color: var(--i-navy); }
body.install .notice.tip em { color: var(--i-blue-dark); font-style: normal; font-weight: 700; }

/* ========================= FOOTER ========================= */

body.install .install-footer {
    flex-shrink: 0;
    padding: 22px 20px 28px;
    color: var(--i-muted);
    font-size: 13px;
    text-align: center;
}
body.install .install-footer strong { color: var(--i-navy); font-weight: 600; }

/* ========================= ACCESSIBILITY ========================= */

body.install a:focus-visible,
body.install button:focus-visible,
body.install input:focus-visible,
body.install summary:focus-visible {
    outline: 3px solid var(--i-cyan);
    outline-offset: 3px;
}

/* ========================= TABLET ========================= */

@media (max-width: 760px) {
    body.install .topbar { min-height: 68px; padding: 12px 20px; }
    body.install .topbar > img { max-width: 145px; max-height: 40px; }
    body.install .install-main { padding: 30px 16px 44px; }
    body.install .install-card { padding: 34px 26px 30px; border-radius: 20px; }
    body.install .app-icon { width: 74px; height: 74px; border-radius: 21px; }
    body.install .ios-step { padding: 18px; }
}

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

@media (max-width: 520px) {
    body.install .topbar { min-height: 62px; padding: 10px 14px; }
    body.install .topbar .back { padding: 9px 12px; font-size: 12px; }
    body.install .topbar > img { max-width: 120px; max-height: 34px; }

    body.install .install-main { padding: 20px 12px 34px; }
    body.install .install-card { padding: 28px 16px 22px; border-radius: 18px; }

    body.install .app-icon { width: 66px; height: 66px; margin-bottom: 16px; padding: 8px; border-radius: 18px; }
    body.install .install-card > h1 { font-size: clamp(23px, 7vw, 28px); }
    body.install .install-card > .sub { margin-bottom: 20px; font-size: 14px; }

    body.install .platform-switch { width: 100%; }
    body.install .platform-switch a { flex: 1; padding: 8px 10px; }

    body.install .perks { grid-template-columns: 1fr; gap: 8px; }
    body.install .perks li { justify-content: flex-start; padding: 12px 14px; text-align: left; }

    body.install .notice { padding: 13px 14px; font-size: 13px; }

    body.install .ios-steps { gap: 12px; }
    body.install .ios-step { padding: 16px 14px; border-radius: 15px; }
    body.install .ios-step .hd { gap: 11px; }
    body.install .ios-step .hd h3 { font-size: 15px; }
    body.install .ios-step p { margin-left: 0; margin-top: 4px; font-size: 13.5px; }
    body.install .ios-step .visual { margin-left: 0; padding: 8px; }

    body.install .manual summary { padding: 15px 16px; font-size: 14px; }
    body.install .manual .steps { padding: 4px 16px 8px; }

    body.install .copy-row { flex-direction: column; gap: 8px; }
    body.install .copy-row button { width: 100%; min-height: 44px; }
    body.install .notice.tip { padding: 15px; }
}

/* ========================= SMALL PHONES ========================= */

@media (max-width: 360px) {
    body.install .topbar { padding-right: 10px; padding-left: 10px; }
    body.install .topbar .back { padding: 8px 10px; font-size: 11px; }
    body.install .topbar > img { max-width: 100px; }
    body.install .install-main { padding-right: 8px; padding-left: 8px; }
    body.install .install-card { padding: 24px 13px 18px; }
    body.install .install-card > h1 { font-size: 22px; }
}

/* ========================= REDUCED MOTION ========================= */

@media (prefers-reduced-motion: reduce) {
    body.install *,
    body.install *::before,
    body.install *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
/* =========================================================
   GROWBIZCONNECT - "Dashboard" back button (shared by every page)
   Load AFTER the page's own CSS:
   <link rel="stylesheet" href="css/back-button.css?v=1">
   ========================================================= */
a.back-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 40px;
    margin: 0 auto 16px 0;      
  padding: 0 18px 0 14px;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, Roboto, sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  color: #0c54a0;
  background: #fff;
  border: 1px solid #cfdcf3;
  border-radius: 999px;
  box-shadow: 0 6px 16px -10px rgba(10, 22, 48, 0.45);
  -webkit-tap-highlight-color: transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

a.back-link:hover {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #1f6fe0, #0c54a0);
  border-color: transparent;
  box-shadow: 0 12px 22px -12px rgba(12, 84, 160, 0.9);
  transform: translateY(-1px);
}

a.back-link:active {
  transform: translateY(0);
}

a.back-link:focus-visible {
  outline: 3px solid rgba(31, 111, 224, 0.45);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  a.back-link {
    min-height: 38px;
    margin-bottom: 12px;
    font-size: 0.88rem;
  }
}
