:root {
    --primary: #38BDF8;
    --primary-dark: #0088CC;
    --bg-base: #020617;
}

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

body,
html {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-base);
    color: #FFFFFF;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    max-width: 100vw;
    overflow-x: clip;
    height: 100dvh;
    overflow-y: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

body {
    animation: pageEnter 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.page-exit {
    opacity: 0 !important;
    transform: translateY(-15px) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(2, 6, 23, 0) 65%);
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
    will-change: transform;
}

header {
    width: 100%;
    padding: 16px 24px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    header {
        padding: 40px 64px 0;
        justify-content: flex-start;
    }
}

.logo {
    height: 52px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

@media (min-width: 768px) {
    .logo {
        height: 64px;
    }
}

@media (min-width: 1024px) {
    .logo {
        height: 80px;
    }
}

.main-wrapper {
    flex: 1;
    min-height: 0;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 12px 24px 0;
}

@media (min-width: 1024px) {
    .main-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 64px;
    }
}

.left-col {
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 8px;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .left-col {
        max-width: 540px;
        align-items: flex-start;
        text-align: left;
        margin-bottom: 40px;
    }
}

h1 {
    font-size: clamp(32px, 10vw, 48px);
    font-weight: 300;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    margin-bottom: 0;
}

h1 span {
    font-weight: 800;
    background: linear-gradient(180deg, #FFFFFF 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (min-width: 768px) {
    h1 {
        font-size: 80px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 110px;
        margin-bottom: 24px;
    }
}

.action-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.action-panel.desktop-only {
    display: none;
}

.action-panel.mobile-only {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
    order: 3;
    flex-shrink: 0;
    gap: 12px;
}

.mobile-row-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.mobile-row-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 1024px) {
    .action-panel.mobile-only {
        display: none;
    }

    .action-panel.desktop-only {
        display: flex;
        justify-content: flex-start;
        margin-top: 24px;
    }
}

.btn-email {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    height: 36px;
    border-radius: 18px;
    border: none;
    background: #FFFFFF;
    color: #020617;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.btn-email svg {
    width: 14px;
    height: 14px;
    color: #020617;
}

@media (min-width: 1024px) {
    .btn-email {
        padding: 0 24px;
        height: 48px;
        border-radius: 24px;
        font-size: 14px;
        gap: 8px;
    }

    .btn-email svg {
        width: 18px;
        height: 18px;
    }
}

.btn-email:hover {
    background: #F1F5F9;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    height: 36px;
    border-radius: 18px;
    border: none;
    background: var(--primary);
    color: var(--bg-base);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

@media (min-width: 1024px) {
    .btn-primary {
        padding: 0 24px;
        height: 48px;
        border-radius: 24px;
        font-size: 14px;
    }
}

.btn-primary:hover {
    background: #7DD3FC;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(56, 189, 248, 0.4);
}

.icon-social {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s;
}

.icon-social svg {
    width: 14px;
    height: 14px;
}

@media (min-width: 1024px) {
    .icon-social {
        width: 48px;
        height: 48px;
    }

    .icon-social svg {
        width: 20px;
        height: 20px;
    }
}

.icon-social:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: #FFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.right-col {
    order: 2;
    width: 100%;
    position: relative;
    z-index: 20;
    flex: 1;
    min-height: 0;
    margin: 0;
}

.visual-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding-left: 10%;
}

@media (min-width: 1024px) {
    .visual-content {
        padding-left: 0;
        justify-content: flex-end;
        transform: translateY(-8vh);
    }
}

.mockup-img {
    position: relative;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
    transform-style: preserve-3d;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

@media (max-width: 1023px) {
    .mockup-img {
        max-height: 100%;
        width: auto;
    }

    .phone-left {
        height: 80%;
        margin-right: -35%;
        margin-top: 5%;
        z-index: 20;
        filter: drop-shadow(-5px 10px 15px rgba(0, 0, 0, 0.5)) brightness(0.65);
        animation: floatSecondaryMob 12s ease-in-out infinite;
    }

    .phone-right {
        height: 100%;
        z-index: 22;
        filter: drop-shadow(-8px 15px 20px rgba(0, 0, 0, 0.6));
        animation: floatPrimaryMob 10s ease-in-out infinite;
    }
}

@media (min-width: 1024px) {
    .phone-left {
        height: 60vh;
        max-height: 600px;
        margin-right: -15vh;
        margin-top: 15vh;
        z-index: 20;
        filter: drop-shadow(-10px 20px 40px rgba(0, 0, 0, 0.5)) brightness(0.70);
        animation: floatSecondaryDesk 12s ease-in-out infinite;
    }

    .phone-right {
        height: 75vh;
        max-height: 800px;
        z-index: 22;
        filter: drop-shadow(-15px 30px 50px rgba(0, 0, 0, 0.6));
        animation: floatPrimaryDesk 10s ease-in-out infinite;
    }
}

@keyframes floatPrimaryMob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -16px, 0);
    }
}

@keyframes floatSecondaryMob {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -10px, 0);
    }
}

@keyframes floatPrimaryDesk {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -24px, 0);
    }
}

@keyframes floatSecondaryDesk {
    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -14px, 0);
    }
}

.footer-sec {
    width: 100%;
    padding: 8px 24px;
    text-align: center;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
}

@media (min-width: 1024px) {
    .footer-sec {
        position: absolute;
        bottom: 0;
        left: 0;
        text-align: left;
        padding: 24px 64px;
        pointer-events: none;
    }
}

.copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    letter-spacing: 0.05em;
}
