
/* ========================================
   MY WORK APP — FUTURISTIC UI
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --bg: #060914;
    --bg-light: #0c1224;
    --card: rgba(16, 25, 47, 0.72);
    --cyan: #00e5ff;
    --blue: #4776ff;
    --purple: #a855f7;
    --white: #f5f8ff;
    --muted: #9ba9c5;
    --border: rgba(127, 170, 255, 0.16);
}

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

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 15% 15%, rgba(0, 229, 255, 0.08), transparent 40%),
        radial-gradient(ellipse at 85% 35%, rgba(71, 118, 255, 0.10), transparent 42%),
        radial-gradient(ellipse at 50% 90%, rgba(168, 85, 247, 0.07), transparent 45%);
}

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

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

::selection {
    color: #030713;
    background: var(--cyan);
}

/* BACKGROUND GLOW */

.background-glow {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.17;
    pointer-events: none;
    z-index: -1;
    animation: glowDrift 12s ease-in-out infinite alternate;
}

.glow-one {
    background: var(--cyan);
    top: 150px;
    left: -250px;
}

.glow-two {
    background: var(--purple);
    top: 550px;
    right: -250px;
    animation-delay: -5s;
}

@keyframes glowDrift {
    from {
        transform: translate3d(0, 0, 0) scale(0.9);
    }

    to {
        transform: translate3d(60px, -35px, 0) scale(1.15);
    }
}

/* NAVIGATION */

.navbar {
    width: min(1180px, calc(100% - 64px));
    min-height: 84px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.3px;
    white-space: nowrap;
}

.logo-icon,
.app-symbol {
    width: 39px;
    height: 39px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    color: #04111b;
    background: linear-gradient(135deg, var(--cyan), #6f9dff);
    box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
    font-weight: 900;
    font-size: 22px;
}

.accent {
    color: var(--cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cyan);
}

.nav-button {
    padding: 10px 18px;
    border: 1px solid rgba(0, 229, 255, 0.45);
    border-radius: 10px;
    color: var(--cyan);
    font-size: 13px;
    font-weight: 700;
    transition:
        background 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

.nav-button span {
    margin-left: 7px;
}

.nav-button:hover {
    background: var(--cyan);
    color: #04111b;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    transform: translateY(-2px);
}

/* HERO SECTION */

.hero {
    width: min(1180px, calc(100% - 64px));
    min-height: 650px;
    margin: 0 auto;
    padding: 85px 0 100px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 55px;
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: enterLeft 0.9s ease both;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border: 1px solid rgba(0, 229, 255, 0.22);
    border-radius: 50px;
    background: rgba(0, 229, 255, 0.055);
    color: #b9f7ff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 28px;
}

.status-dot,
.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #38f7b5;
    box-shadow: 0 0 12px rgba(56, 247, 181, 0.7);
    flex-shrink: 0;
}

.status-dot {
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    50% {
        opacity: 0.45;
        box-shadow: 0 0 3px rgba(56, 247, 181, 0.3);
    }
}

.hero h1 {
    font-size: clamp(43px, 5.4vw, 74px);
    line-height: 1.09;
    letter-spacing: -3.5px;
    font-weight: 900;
}

.gradient-text {
    color: transparent;
    background: linear-gradient(
        100deg,
        #00e5ff 0%,
        #62a0ff 48%,
        #b77bff 100%
    );
    background-clip: text;
    -webkit-background-clip: text;
    background-size: 200% auto;
    animation: gradientFlow 6s ease-in-out infinite alternate;
}

@keyframes gradientFlow {
    from {
        background-position: 0% center;
    }

    to {
        background-position: 100% center;
    }
}

.hero-description {
    max-width: 480px;
    margin-top: 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.primary-button,
.secondary-button {
    min-height: 49px;
    padding: 13px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.primary-button {
    color: #04111b;
    background: linear-gradient(110deg, var(--cyan), #78a8ff);
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.16);
}

.primary-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.35);
}

.primary-button span {
    font-size: 18px;
}

.secondary-button {
    color: var(--white);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.025);
}

.secondary-button:hover {
    border-color: var(--cyan);
    background: rgba(0, 229, 255, 0.06);
    transform: translateY(-3px);
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 30px;
    color: #8fa0bd;
    font-size: 10px;
}

/* APP PREVIEW */

.hero-visual {
    min-height: 440px;
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    animation: enterRight 1s ease both;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 290px;
    height: 290px;
    border-radius: 50%;
    background: var(--blue);
    opacity: 0.16;
    filter: blur(100px);
    z-index: -1;
}

.orbit {
    position: absolute;
    width: 370px;
    height: 370px;
    border: 1px solid rgba(0, 229, 255, 0.12);
    border-radius: 50%;
    pointer-events: none;
}

.orbit-one {
    animation: rotateOrbit 24s linear infinite;
}

.orbit-two {
    width: 300px;
    height: 420px;
    border-color: rgba(145, 111, 255, 0.15);
    transform: rotate(35deg);
    animation: rotateOrbit 30s linear infinite reverse;
}

@keyframes rotateOrbit {
    to {
        transform: rotate(360deg);
    }
}

.app-card {
    width: min(100%, 380px);
    padding: 25px;
    border: 1px solid rgba(125, 190, 255, 0.24);
    border-radius: 23px;
    background: linear-gradient(
        145deg,
        rgba(21, 33, 60, 0.94),
        rgba(8, 14, 29, 0.92)
    );
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        0 0 50px rgba(0, 229, 255, 0.07),
        inset 0 1px rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.app-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.app-card-header h3 {
    font-size: 14px;
    font-weight: 700;
}

.app-card-header p {
    color: var(--muted);
    font-size: 10px;
}

.app-card-header .live-dot {
    margin-left: auto;
}

.app-divider {
    height: 1px;
    background: var(--border);
    margin: 23px 0;
}

.card-label {
    color: #7f92b5;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 14px;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 13px 11px;
    margin-top: 7px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.025);
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease;
}

.preview-item:hover {
    background: rgba(0, 229, 255, 0.055);
    border-color: rgba(0, 229, 255, 0.22);
    transform: translateX(5px);
}

.preview-icon {
    width: 37px;
    height: 37px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 10px;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.09);
    font-size: 18px;
}

.preview-item h4 {
    font-size: 12px;
    font-weight: 600;
}

.preview-item p {
    color: var(--muted);
    font-size: 10px;
    margin-top: 2px;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: #8192b2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

/* SHARED SECTION */

.section {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 95px 0;
}

.section-heading {
    max-width: 680px;
    margin: 0 auto 48px;
    text-align: center;
}

.eyebrow {
    color: var(--cyan);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2 {
    margin-top: 15px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.2;
}

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

/* FEATURE CARDS */

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    min-height: 205px;
    padding: 25px 21px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 17px;
    background: linear-gradient(
        145deg,
        rgba(19, 30, 53, 0.8),
        rgba(9, 15, 29, 0.8)
    );
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.feature-card::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -60px;
    top: -60px;
    border-radius: 50%;
    background: var(--cyan);
    opacity: 0;
    filter: blur(55px);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::after {
    opacity: 0.23;
}

.feature-icon {
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 229, 255, 0.18);
    border-radius: 13px;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.07);
    font-size: 22px;
    margin-bottom: 23px;
}

.feature-card h3 {
    font-size: 14px;
    font-weight: 700;
}

.feature-card p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.8;
}

/* DOWNLOAD SECTION */

.download-section {
    padding-top: 80px;
    padding-bottom: 110px;
}

.download-grid {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.download-card {
    padding: 32px 27px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(
        145deg,
        rgba(19, 31, 56, 0.84),
        rgba(8, 14, 28, 0.95)
    );
    transition:
        transform 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease;
}

.download-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.download-icon {
    width: 53px;
    height: 53px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.09);
    border: 1px solid rgba(0, 229, 255, 0.15);
    font-size: 27px;
    margin-bottom: 24px;
}

.platform-label {
    color: var(--cyan);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.download-card h3 {
    margin-top: 8px;
    font-size: 25px;
    letter-spacing: -0.7px;
}

.download-card p {
    min-height: 50px;
    margin-top: 11px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.8;
}

.download-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 47px;
    margin-top: 22px;
    padding: 12px 15px;
    border: 1px solid rgba(0, 229, 255, 0.4);
    border-radius: 10px;
    color: var(--cyan);
    background: rgba(0, 229, 255, 0.055);
    font-size: 12px;
    font-weight: 700;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.download-button:hover {
    color: #04111b;
    background: var(--cyan);
    box-shadow: 0 0 27px rgba(0, 229, 255, 0.2);
}

.download-card small {
    display: block;
    margin-top: 13px;
    color: #71809c;
    font-size: 10px;
    text-align: center;
}

/* FOOTER */

.footer {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 35px 0 22px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    border-top: 1px solid var(--border);
}

.footer > p {
    flex: 1;
    color: var(--muted);
    font-size: 11px;
}

.back-top {
    color: var(--cyan);
    font-size: 11px;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.back-top:hover {
    opacity: 0.7;
}

.footer-bottom {
    width: 100%;
    padding-top: 20px;
    margin-top: 8px;
    border-top: 1px solid var(--border);
    color: #657590;
    font-size: 10px;
    text-align: center;
}

/* ENTRANCE ANIMATIONS */

@keyframes enterLeft {
    from {
        opacity: 0;
        transform: translateX(-25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes enterRight {
    from {
        opacity: 0;
        transform: translateX(25px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* TABLET */

@media (max-width: 950px) {
    .navbar,
    .hero,
    .section,
    .footer {
        width: min(100% - 40px, 760px);
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 45px;
        padding-top: 70px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons,
    .hero-info {
        justify-content: center;
    }

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

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MOBILE */

@media (max-width: 600px) {
    .navbar,
    .hero,
    .section,
    .footer {
        width: calc(100% - 32px);
    }

    .navbar {
        min-height: 72px;
        gap: 12px;
    }

    .logo {
        gap: 8px;
        font-size: 11px;
        letter-spacing: 0.6px;
    }

    .logo-icon {
        width: 33px;
        height: 33px;
        border-radius: 10px;
        font-size: 18px;
    }

    .nav-links {
        display: none;
    }

    .nav-button {
        padding: 9px 12px;
        font-size: 11px;
    }

    .hero {
        padding-top: 62px;
        padding-bottom: 50px;
        gap: 30px;
    }

    .status-badge {
        margin-bottom: 22px;
        padding: 8px 11px;
        font-size: 8px;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: clamp(38px, 10vw, 55px);
        letter-spacing: -2px;
    }

    .hero-description {
        margin-top: 19px;
        font-size: 13px;
        line-height: 1.8;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }

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

    .hero-info {
        gap: 10px 14px;
        font-size: 9px;
    }

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

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

    .orbit-two {
        width: 240px;
        height: 340px;
    }

    .app-card {
        padding: 20px 17px;
        border-radius: 18px;
    }

    .section {
        padding: 65px 0;
    }

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

    .section-heading h2 {
        font-size: 31px;
        letter-spacing: -1px;
    }

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

    .features-grid {
        gap: 12px;
    }

    .feature-card {
        min-height: 190px;
        padding: 18px 14px;
    }

    .feature-icon {
        width: 39px;
        height: 39px;
        margin-bottom: 17px;
    }

    .feature-card h3 {
        font-size: 12px;
    }

    .feature-card p {
        font-size: 10px;
    }

    .download-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .download-card {
        padding: 25px 21px;
    }

    .download-card p {
        min-height: auto;
    }

    .footer {
        justify-content: center;
        text-align: center;
        gap: 15px;
    }

    .footer > p {
        flex-basis: 100%;
        order: 2;
    }

    .back-top {
        order: 3;
    }

    .footer-bottom {
        order: 4;
    }
}

/* ACCESSIBILITY: REDUCE MOTION */

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