/* ==========================================================================
   GOOGLE PLAY STORE SHOWCASE & LIGHT FROSTED ECOSYSTEM (AA-SECTION)
   ========================================================================== */

.aa-section,
.aa-section * {
    box-sizing: border-box;
}

.aa-section {
    --ink: #0b1430;
    --muted: #5a6e9c;
    --blue: #507bfa;
    --aa-display: 'Bricolage Grotesque', 'Plus Jakarta Sans', 'Inter', sans-serif;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: var(--ink);
    font-family: 'Inter', "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    background:
        radial-gradient(ellipse at 64% 29%, rgba(184, 204, 250, 0.65), transparent 50%),
        radial-gradient(ellipse at 4% 5%, rgba(249, 250, 255, 0.85), transparent 45%),
        radial-gradient(ellipse at 92% 88%, rgba(208, 223, 250, 0.7), transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.6), transparent 70%),
        linear-gradient(125deg, #eef0ff 0%, #dce3ff 53%, #efedff 100%);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding: 60px 0 70px;
    margin: 0;
    transition: background 0.6s ease;
}

/* Smooth Transition Fades (Deep Black #09090b <-> Luminous Light Frosted Realm) */
.aa-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, #09090b 0%, rgba(9, 9, 11, 0.5) 30%, rgba(9, 9, 11, 0.1) 70%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.aa-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(0deg, #09090b 0%, rgba(9, 9, 11, 0.5) 30%, rgba(9, 9, 11, 0.1) 70%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.aa-top-glow {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100px;
    background: radial-gradient(ellipse at 50% 50%, rgba(80, 123, 250, 0.4), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.aa-bottom-glow {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100px;
    background: radial-gradient(ellipse at 50% 50%, rgba(80, 123, 250, 0.4), transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 1;
}

.aa-section a {
    color: inherit;
    text-decoration: none;
}

.aa-section svg {
    display: block;
}

.aa-section a:focus-visible {
    outline: 3px solid #315cd8;
    outline-offset: 6px;
}

.aa-section .aa-wrap {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 34px 44px 32px;
    z-index: 2;
}

/* Header & Brand */
.aa-section .aa-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-bottom: 20px;
}

.aa-section .aa-brand {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin: 0 auto;
}

.aa-section .aa-brand-logo {
    width: 36px;
    height: 42px;
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.aa-section .aa-brand:hover .aa-brand-logo {
    transform: scale(1.08) rotate(-4deg);
}

.aa-section .aa-brand strong {
    font-family: var(--aa-display);
    display: block;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: var(--ink);
    line-height: 1.2;
}

.aa-section .aa-brand small {
    display: block;
    color: #5572b8;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 3.2px;
    margin-top: 4px;
    text-transform: uppercase;
}

/* Hero Section */
.aa-section .aa-hero {
    position: relative;
    min-height: 500px;
    display: grid;
    grid-template-columns: 50% 50%;
    align-items: center;
    margin-top: 43px;
}

.aa-section .aa-copy {
    position: relative;
    z-index: 3;
    padding-bottom: 27px;
}

.aa-section .aa-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 4px 12px rgba(80, 123, 250, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 40px;
    color: #354979;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: transform 0.25s ease, background 0.25s ease;
}

.aa-section .aa-pill:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.8);
}

.aa-section .aa-pill svg {
    width: 18px;
    height: 18px;
    color: #507bfa;
}

.aa-section h1 {
    font-family: var(--aa-display);
    font-size: clamp(52px, 5.2vw, 80px);
    line-height: 1.035;
    letter-spacing: -3.8px;
    font-weight: 750;
    margin: 24px 0 18px;
    color: var(--ink);
}

.aa-section h1 span {
    display: block;
    background: linear-gradient(105deg, #8d70dc 0%, #507afa 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    white-space: nowrap;
}

.aa-section .aa-intro {
    font-size: 17px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
    max-width: 470px;
    font-weight: 450;
}

.aa-section .aa-actions {
    display: flex;
    align-items: center;
    gap: 27px;
    margin-top: 32px;
}

.aa-section .aa-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 19px 26px;
    border-radius: 26px;
    background: linear-gradient(115deg, #6f9bff 0%, #557cfa 100%);
    box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.4), 0 13px 26px rgba(79, 117, 213, 0.28);
    color: #ffffff;
    font-size: 17px;
    font-weight: 650;
    white-space: nowrap;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
}

.aa-section .aa-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: inset 2px 2px 4px rgba(255, 255, 255, 0.45), 0 18px 34px rgba(79, 117, 213, 0.38);
}

.aa-section .aa-cta svg:first-child {
    width: 27px;
    height: 32px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.aa-section .aa-cta svg:last-child {
    width: 22px;
    height: 22px;
    margin-left: 10px;
    transition: transform 0.25s ease;
}

.aa-section .aa-cta:hover svg:last-child {
    transform: translateX(4px);
}


/* 3D Isometric Layered Art Illustration */
.aa-section .aa-art {
    position: absolute;
    right: -20px;
    top: -21px;
    width: 670px;
    height: 554px;
    pointer-events: none;
    z-index: 1;
    perspective: 1000px;
}

.aa-section .aa-aura {
    position: absolute;
    inset: 40px -20px -20px 30px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(170, 196, 239, 0.65), transparent 66%);
    filter: blur(30px);
}

.aa-section .aa-glass-layer {
    position: absolute;
    top: 64px;
    left: 300px;
    width: 226px;
    height: 450px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(204, 218, 245, 0.1) 47%, rgba(146, 182, 243, 0.28));
    box-shadow: inset 2px 2px 2px rgba(255, 255, 255, 0.65), 10px 18px 36px rgba(92, 125, 189, 0.16);
    transform: rotate(15deg) skewY(-11deg);
    transition: transform 0.4s ease-out;
}

.aa-section .aa-layer-back {
    left: 400px;
    top: 130px;
    height: 379px;
    width: 180px;
    opacity: 0.66;
}

.aa-section .aa-layer-mid {
    left: 355px;
    top: 92px;
    height: 414px;
    width: 205px;
    opacity: 0.85;
}

.aa-section .aa-app-rail {
    position: absolute;
    left: 381px;
    top: 103px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transform: rotate(15deg) skewY(-11deg);
    z-index: 2;
}

.aa-section .aa-icon {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    border-radius: 18px;
    background: linear-gradient(140deg, #282a35 0%, #11131c 70%);
    box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.45), inset -2px -2px 3px rgba(0, 0, 0, 0.5), 0 8px 16px rgba(28, 41, 94, 0.18);
    flex-shrink: 0;
    border: 2px solid rgba(74, 75, 88, 0.3);
    overflow: hidden;
}

.aa-section .aa-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    display: block;
}

.aa-section .aa-icon svg {
    width: 47px;
    height: 47px;
}

.aa-section .aa-app-rail .aa-icon {
    width: 57px;
    height: 57px;
    border-radius: 15px;
}

.aa-section .aa-app-rail .aa-icon svg {
    width: 39px;
    height: 39px;
}

/* Phone Mockup */
.aa-section .aa-phone {
    position: absolute;
    left: 115px;
    top: 4px;
    width: 254px;
    height: 506px;
    padding: 6px;
    border-radius: 40px;
    background: linear-gradient(115deg, #7c8ca6, #f3f4fb 7%, #101722 11%, #070c13 84%, #667b9f 92%, #d3def2);
    box-shadow: 7px 4px 0 #8c9cbc, 11px 8px 0 rgba(181, 196, 229, 0.35), 23px 21px 33px rgba(56, 84, 137, 0.22);
    transform: rotate(15deg) skewY(-11deg);
    z-index: 3;
    pointer-events: auto;
    display: block;
    text-decoration: none;
    animation: aaPhoneFloat 6s ease-in-out infinite alternate;
    transition: box-shadow 0.3s ease, filter 0.3s ease;
}

.aa-section .aa-phone:hover {
    filter: drop-shadow(0 15px 30px rgba(59, 130, 246, 0.28));
}

@keyframes aaPhoneFloat {
    0% {
        transform: rotate(15deg) skewY(-11deg) translateY(0);
    }
    100% {
        transform: rotate(15.5deg) skewY(-10.5deg) translateY(-8px);
    }
}

.aa-section .aa-screen {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    border: 2px solid #090d16;
    border-radius: 34px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #ffffff;
    user-select: none;
    -webkit-user-select: none;
}

.aa-section .aa-screen:after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 1.5px 1.5px 4px rgba(255, 255, 255, 0.35);
    pointer-events: none;
    z-index: 20;
}

.aa-section .aa-camera {
    position: absolute;
    top: 8px;
    left: calc(50% - 6px);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 40%, #203554 1px, #000000 4px);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    z-index: 15;
}

.aa-section .aa-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px 2px;
    color: #f1f5f9;
    font-size: 9.5px;
    font-weight: 600;
    z-index: 10;
    line-height: 1;
}

.aa-section .aa-status-time {
    letter-spacing: -0.2px;
}

.aa-section .aa-status-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #cbd5e1;
}

.aa-section .aa-battery {
    width: 15px;
    height: 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    padding: 1px;
    display: flex;
    align-items: center;
    position: relative;
}

.aa-section .aa-battery:after {
    content: "";
    position: absolute;
    right: -2.5px;
    top: 2px;
    width: 1.5px;
    height: 3px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 0 1px 1px 0;
}

.aa-section .aa-battery-fill {
    width: 80%;
    height: 100%;
    background: #10b981;
    border-radius: 1px;
}

/* Android Home Screen */
.aa-section .aa-screen {
    background:
        radial-gradient(circle at 18% 12%, rgba(141, 112, 220, 0.75), transparent 46%),
        radial-gradient(circle at 92% 38%, rgba(80, 123, 250, 0.7), transparent 50%),
        radial-gradient(circle at 30% 96%, rgba(21, 218, 244, 0.45), transparent 48%),
        linear-gradient(170deg, #1a1f4b 0%, #0b1030 60%, #070a1f 100%);
}

.aa-section .aa-status i {
    font-size: 9px;
}

.aa-section .aa-home {
    position: relative;
    z-index: 5;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    padding: 14px 12px 18px;
}

.aa-section .aa-clock {
    text-align: center;
    color: #ffffff;
    margin-bottom: 14px;
}

.aa-section .aa-clock strong {
    display: block;
    font-family: var(--aa-display);
    font-size: 46px;
    font-weight: 300;
    letter-spacing: -2px;
    line-height: 1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.aa-section .aa-clock span {
    display: block;
    margin-top: 5px;
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.82);
}

.aa-section .aa-search {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.78);
    font-size: 9px;
    font-weight: 500;
}

.aa-section .aa-search svg {
    width: 10px;
    height: 12px;
}

.aa-section .aa-search i {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.7);
    font-size: 9px;
}

/* shortcut: 4 rows fit (16 apps); beyond that the grid clips, add a second page if the catalogue grows */
.aa-section .aa-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: start;
    gap: 13px 6px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.aa-section .aa-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 0;
    opacity: 0;
    transform: scale(0.6);
    animation: aaAppPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: calc(0.35s + var(--i, 0) * 0.07s);
}

/* Icons pop in once the section scrolls into view (playstore.js adds .aa-in-view) */
.aa-section:not(.aa-in-view) .aa-app {
    animation-play-state: paused;
}

@keyframes aaAppPop {
    to { opacity: 1; transform: scale(1); }
}

.aa-section .aa-app-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 13px;
    overflow: hidden;
    background: linear-gradient(140deg, #282a35 0%, #11131c 70%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.aa-section .aa-app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aa-section .aa-app-icon svg {
    width: 28px;
    height: 28px;
}

.aa-section .aa-app-label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
    font-size: 8px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.aa-section .aa-app:hover .aa-app-icon,
.aa-section .aa-app:focus-visible .aa-app-icon,
.aa-section .aa-app.is-active .aa-app-icon {
    transform: scale(1.14);
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 5px rgba(80, 123, 250, 0.65), 0 10px 20px rgba(0, 0, 0, 0.4);
}

.aa-section .aa-dock {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 6px;
    margin-top: 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.aa-section .aa-dock-app {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--c, #ffffff);
    color: #ffffff;
    font-size: 13px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.aa-section .aa-dock-play {
    background: #ffffff;
    transition: transform 0.25s ease;
}

.aa-section .aa-dock-play:hover {
    transform: scale(1.12);
}

.aa-section .aa-dock-play svg {
    width: 16px;
    height: 18px;
    margin-left: 2px;
}

.aa-section .aa-card.active-preview {
    border-color: rgba(80, 123, 250, 0.5);
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 8px 24px rgba(80, 123, 250, 0.18);
}

.aa-section .aa-home-bar {
    position: absolute;
    bottom: 6px;
    left: 35%;
    width: 30%;
    height: 3px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.68);
    z-index: 20;
}

.aa-section .aa-orbit {
    position: absolute;
    left: 18px;
    top: 168px;
    width: 630px;
    height: 258px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-left-width: 3px;
    border-bottom-width: 3px;
    border-radius: 50%;
    transform: rotate(21deg);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.04) 46%, rgba(255, 255, 255, 0.2));
    z-index: 2;
    box-shadow: 0 2px 2px rgba(255, 255, 255, 0.15);
    animation: aaOrbitBreathe 8s ease-in-out infinite alternate;
}

@keyframes aaOrbitBreathe {
    0% { transform: rotate(21deg) scale(1); opacity: 0.85; }
    100% { transform: rotate(22deg) scale(1.02); opacity: 1; }
}









/* Glassy Application Cards */
.aa-section .aa-cards {
    position: relative;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: -5px;
}

.aa-section .aa-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px 32px 24px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 35px;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.55), rgba(245, 245, 255, 0.35));
    box-shadow: inset 1px 1px 1px rgba(255, 255, 255, 0.75), 0 15px 36px rgba(124, 145, 194, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    cursor: pointer;
    overflow: hidden;
}

.aa-section .aa-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: inset 1px 1px 1px #ffffff, 0 20px 38px rgba(107, 131, 189, 0.22);
}

.aa-section .aa-card-head {
    display: flex;
    gap: 19px;
    align-items: center;
}

.aa-section .aa-card-heading {
    min-width: 0;
    flex: 1;
}

.aa-section h2 {
    font-family: var(--aa-display);
    font-size: 21px;
    letter-spacing: -0.5px;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aa-section .aa-category {
    font-size: 12px;
    color: var(--muted);
    font-weight: 550;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.aa-section .aa-open {
    display: grid;
    place-items: center;
    width: 47px;
    height: 47px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-left: auto;
    color: #3f609f;
    flex-shrink: 0;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.aa-section .aa-card:hover .aa-open {
    transform: translateX(4px);
    background: #507bfa;
    color: #ffffff;
}

.aa-section .aa-open svg {
    width: 22px;
    height: 22px;
}

.aa-section .aa-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: #485e88;
    margin: 16px 0 16px;
    max-width: 100%;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aa-section .aa-stats {
    display: flex;
    align-items: center;
    gap: 17px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    margin-top: auto;
}

.aa-section .aa-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.aa-section .aa-stats svg {
    width: 18px;
    height: 18px;
    color: #3d588e;
}

.aa-section .aa-stats .aa-star {
    color: #ffb61d;
    width: 20px;
    height: 20px;
}

.aa-section .aa-stat-divider {
    width: 1px;
    height: 14px;
    background: rgba(141, 157, 195, 0.35);
    display: inline-block;
}

/* Footer & Watermark */


.aa-section .aa-android-ghost {
    position: absolute;
    left: -50px;
    bottom: -57px;
    width: 245px;
    height: 230px;
    color: #768dcc;
    opacity: 0.36;
    filter: blur(5px);
    transform: rotate(-9deg);
    pointer-events: none;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (MATCHING USER REFERENCE DESIGN)
   ========================================================================== */

@media (min-width: 1500px) {
    .aa-section .aa-wrap {
        padding: 36px 44px 34px;
        min-height: 940px;
        display: flex;
        flex-direction: column;
    }
    .aa-section .aa-hero {
        margin-top: 62px;
        min-height: 509px;
    }
    .aa-section .aa-art {
        right: 18px;
        transform: scale(1.12);
        transform-origin: top right;
    }
    .aa-section .aa-cards {
        gap: 28px;
    }
    .aa-section .aa-card {
        padding: 27px 39px 25px;
    }
}

@media (min-width: 901px) and (max-width: 1150px) {
    .aa-section .aa-wrap {
        padding: 28px 30px;
    }
    .aa-section .aa-nav-note {
        font-size: 9px;
        letter-spacing: 2px;
    }
    .aa-section .aa-hero {
        min-height: 465px;
        margin-top: 34px;
    }
    .aa-section h1 {
        font-size: 57px;
        letter-spacing: -2.8px;
    }
    .aa-section .aa-art {
        right: -38px;
        top: 11px;
        transform: scale(0.83);
        transform-origin: top right;
    }
    .aa-section .aa-actions {
        gap: 14px;
    }
    .aa-section .aa-cta {
        font-size: 14px;
        padding: 18px;
    }
    .aa-section .aa-cards {
        gap: 15px;
    }
    .aa-section .aa-card {
        padding: 21px;
        border-radius: 27px;
    }
    .aa-section .aa-card-head {
        gap: 12px;
    }
    .aa-section .aa-icon {
        width: 51px;
        height: 51px;
        border-radius: 14px;
    }
    .aa-section .aa-icon svg {
        width: 37px;
        height: 37px;
    }
    .aa-section .aa-open {
        width: 36px;
        height: 36px;
    }
    .aa-section h2 {
        font-size: 18px;
    }
    .aa-section .aa-category {
        font-size: 11px;
    }
    .aa-section .aa-card-desc {
        font-size: 13px;
    }
}

/* Mobile Composition: Centered copy, contained illustration, stacked cards with breathing room */
@media (max-width: 900px) {
    .aa-fade-top {
        height: 60px;
        background: linear-gradient(180deg, #09090b 0%, rgba(9, 9, 11, 0.3) 50%, transparent 100%);
    }
    .aa-fade-bottom {
        height: 60px;
        background: linear-gradient(0deg, #09090b 0%, rgba(9, 9, 11, 0.3) 50%, transparent 100%);
    }
    .aa-section .aa-wrap {
        padding: 40px 24px 30px;
        max-width: 670px;
        position: relative;
        z-index: 2;
    }
    .aa-section .aa-nav {
        justify-content: center;
        margin-bottom: 16px;
    }
    .aa-section .aa-brand {
        gap: 13px;
        margin: 0 auto;
        justify-content: center;
    }
    .aa-section .aa-brand-logo {
        width: 28px;
        height: 33px;
    }
    .aa-section .aa-brand strong {
        font-size: 17px;
    }
    .aa-section .aa-brand small {
        font-size: 9px;
        letter-spacing: 2.4px;
        margin-top: 4px;
    }
    .aa-section .aa-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 28px 0 0;
        min-height: 0;
    }
    .aa-section .aa-copy {
        padding: 0;
        max-width: 580px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }
    .aa-section .aa-pill {
        font-size: 11px;
        padding: 8px 14px;
        gap: 7px;
        margin: 0 auto;
        align-self: center;
    }
    .aa-section .aa-pill svg {
        width: 15px;
        height: 15px;
    }
    .aa-section h1 {
        font-size: clamp(40px, 8vw, 58px);
        letter-spacing: -2px;
        line-height: 1.05;
        margin: 18px auto 14px;
        text-align: center;
        width: 100%;
    }
    .aa-section h1 span {
        white-space: normal;
        text-align: center;
        display: block;
        margin: 0 auto;
    }
    .aa-section .aa-intro {
        font-size: 14px;
        line-height: 1.6;
        max-width: 420px;
        text-align: center;
        margin: 0 auto;
    }
    .aa-section .aa-actions {
        margin-top: 22px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 10px;
    }
    .aa-section .aa-cta {
        width: 100%;
        font-size: 15px;
        border-radius: 19px;
        padding: 16px 22px;
        max-width: 380px;
        margin: 0 auto;
        justify-content: center;
        gap: 11px;
    }
    .aa-section .aa-cta svg:first-child {
        width: 25px;
        height: 28px;
    }
    .aa-section .aa-cta svg:last-child {
        margin-left: auto;
        width: 20px;
        height: 20px;
    }
    .aa-section .aa-art {
        position: relative;
        right: auto;
        top: auto;
        width: 520px;
        height: 450px;
        align-self: center;
        /* explicit centring: auto margins collapse to 0 once the 520px art overflows narrow screens;
           negative bottom margin removes the layout height that scale() leaves behind */
        margin: 24px calc(50% - 260px) -81px;
        transform: scale(0.82);
        transform-origin: top center;
    }
    .aa-section .aa-phone {
        left: 111px;
        top: 4px;
        width: 208px;
        height: 406px;
        border-radius: 34px;
    }
    .aa-section .aa-screen {
        border-radius: 28px;
    }
    .aa-section .aa-status {
        font-size: 8px;
        padding: 12px 14px;
    }
    .aa-section .aa-camera {
        width: 12px;
        height: 12px;
        left: calc(50% - 6px);
    }
    .aa-section .aa-glass-layer {
        left: 264px;
        top: 46px;
        height: 353px;
        width: 180px;
        border-radius: 27px;
    }
    .aa-section .aa-layer-mid {
        left: 305px;
        top: 71px;
        height: 326px;
        width: 165px;
    }
    .aa-section .aa-layer-back {
        left: 346px;
        top: 96px;
        height: 292px;
        width: 155px;
    }
    .aa-section .aa-app-rail {
        left: 330px;
        top: 92px;
        gap: 19px;
    }
    .aa-section .aa-app-rail .aa-icon {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }
    .aa-section .aa-app-rail .aa-icon svg {
        width: 33px;
        height: 33px;
    }
    .aa-section .aa-orbit {
        left: 37px;
        top: 135px;
        width: 483px;
        height: 205px;
    }
    .aa-section .aa-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin: 28px 0 0;
        width: 100%;
    }
    .aa-section .aa-card {
        padding: 20px 22px 18px;
        border-radius: 25px;
        background: linear-gradient(115deg, rgba(255, 255, 255, 0.7), rgba(244, 247, 255, 0.4));
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .aa-section .aa-card-head {
        gap: 14px;
    }
    .aa-section .aa-icon {
        width: 54px;
        height: 54px;
        border-radius: 15px;
    }
    .aa-section .aa-icon svg {
        width: 39px;
        height: 39px;
    }
    .aa-section h2 {
        font-size: 19px;
        letter-spacing: -0.4px;
        margin-bottom: 5px;
    }
    .aa-section .aa-category {
        font-size: 12px;
    }
    .aa-section .aa-open {
        width: 43px;
        height: 43px;
    }
    .aa-section .aa-card-desc {
        font-size: 13px;
        line-height: 1.55;
        max-width: 100%;
        min-height: 0;
        margin: 14px 0 13px;
    }
    .aa-section .aa-stats {
        font-size: 12px;
        gap: 15px;
    }
    .aa-section .aa-stats .aa-star {
        width: 19px;
        height: 19px;
    }
    .aa-section .aa-stats svg {
        width: 17px;
        height: 17px;
    }
    .aa-section .aa-android-ghost {
        width: 150px;
        height: 150px;
        left: -60px;
        opacity: 0.15;
        filter: blur(3px);
    }
}

@media (max-width: 520px) {
    .aa-section .aa-wrap {
        padding: 34px 18px 26px;
    }
    .aa-section .aa-art {
        transform: scale(0.66);
        margin-top: 18px;
        margin-bottom: -153px;
    }
    .aa-section .aa-cards {
        margin-top: 24px;
        gap: 16px;
    }
    .aa-section .aa-hero {
        margin-top: 24px;
    }
    .aa-section .aa-intro {
        max-width: 320px;
    }
}

@media (max-width: 380px) {
    .aa-section .aa-wrap {
        padding: 30px 14px 22px;
    }
    .aa-section h1 {
        font-size: 38px;
        letter-spacing: -1.5px;
    }
    .aa-section .aa-art {
        transform: scale(0.6);
        margin-top: 14px;
        margin-bottom: -180px;
    }
    .aa-section .aa-card {
        padding: 18px 16px;
    }
    .aa-section .aa-card-head {
        gap: 11px;
    }
    .aa-section h2 {
        font-size: 18px;
    }
    .aa-section .aa-open {
        width: 38px;
        height: 38px;
    }
    .aa-section .aa-category {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aa-section .aa-cta,
    .aa-section .aa-card,
    .aa-section .aa-phone,
    .aa-section .aa-app,
    .aa-section .aa-orbit {
        transition: none;
        animation: none;
    }
    .aa-section .aa-cta:hover,
    .aa-section .aa-card:hover {
        transform: none;
    }
    .aa-section .aa-app {
        opacity: 1;
        transform: none;
    }
}
