:root {
    --color-bg: #111c2f;
    --color-surface: #162841;
    --color-surface-alt: #1d3150;
    --color-surface-light: #f7f9fc;
    --color-primary: #5a7bff;
    --color-primary-dark: #3f5dd8;
    --color-primary-soft: rgba(90, 123, 255, 0.14);
    --color-accent: #0dc5a5;
    --color-outline: rgba(255, 255, 255, 0.1);
    --color-text: #e8edf7;
    --color-text-muted: rgba(232, 237, 247, 0.72);
    --color-divider: rgba(255, 255, 255, 0.06);
    --shadow-soft: 0 20px 50px rgba(8, 15, 31, 0.3);
    --shadow-card: 0 25px 60px rgba(9, 17, 32, 0.35);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    position: relative;
    background: radial-gradient(140% 140% at 50% -20%, rgba(119, 137, 255, 0.28) 0%, rgba(17, 28, 47, 0) 55%),
                radial-gradient(110% 140% at 12% 85%, rgba(13, 197, 165, 0.2) 0%, rgba(17, 28, 47, 0) 62%),
                radial-gradient(120% 160% at 88% 12%, rgba(255, 189, 110, 0.15) 0%, rgba(17, 28, 47, 0) 65%),
                linear-gradient(185deg, #152743 0%, #101c34 42%, #0d1629 100%);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

body::before {
    background:
        radial-gradient(60% 80% at 18% 18%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 65%),
        radial-gradient(70% 90% at 82% 12%, rgba(90, 123, 255, 0.16) 0%, rgba(90, 123, 255, 0) 70%),
        linear-gradient(185deg, rgba(44, 62, 120, 0.4), rgba(13, 19, 36, 0));
    opacity: 0.55;
    animation: auroraShift 26s ease-in-out infinite alternate;
}

body::after {
    background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, rgba(255, 255, 255, 0) 1px);
    background-size: 4px 4px;
    mix-blend-mode: soft-light;
    opacity: 0.45;
    animation: grainDrift 90s linear infinite;
}

@keyframes auroraShift {
    0% {
        transform: translate3d(-4%, -2%, 0) rotate(0.5deg) scale(1.02);
        opacity: 0.48;
    }
    50% {
        transform: translate3d(3%, 2%, 0) rotate(-0.75deg) scale(1.06);
        opacity: 0.62;
    }
    100% {
        transform: translate3d(-2%, 4%, 0) rotate(1deg) scale(1.04);
        opacity: 0.5;
    }
}

@keyframes grainDrift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-10%, -12%, 0);
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translate3d(0, -4px, 0) rotate(-0.5deg);
    }
    50% {
        transform: translate3d(0, 6px, 0) rotate(0.8deg);
    }
}

@keyframes pulseSoft {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(90, 123, 255, 0.22);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(90, 123, 255, 0);
    }
}

@keyframes glowSweep {
    0% {
        transform: translateX(-120%) skewX(-12deg);
        opacity: 0;
    }
    50% {
        opacity: 0.35;
    }
    100% {
        transform: translateX(140%) skewX(-12deg);
        opacity: 0;
    }
}

@keyframes ribbonSlide {
    0% {
        transform: translateX(-20%) scaleX(1);
        opacity: 0.6;
    }
    50% {
        transform: translateX(15%) scaleX(1.05);
        opacity: 0.85;
    }
    100% {
        transform: translateX(-10%) scaleX(1);
        opacity: 0.6;
    }
}

body.nav-open {
    overflow: hidden;
}

img {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

section {
    scroll-margin-top: 110px;
}

.container {
    width: min(1240px, 92vw);
    margin: 0 auto;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 16px;
    border: 1px solid transparent;
    transition: var(--transition);
    position: relative;
    cursor: pointer;
    background: transparent;
    color: inherit;
}

.btn i {
    font-size: 18px;
}

.btn--primary {
    background: linear-gradient(135deg, #5a7bff 0%, #384dff 100%);
    color: #fff;
    box-shadow: 0 12px 35px rgba(58, 83, 255, 0.4);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(58, 83, 255, 0.45);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn--outline {
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: transparent;
}

.btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.05);
}

.btn--outline-light {
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.06);
}

.btn--outline-light:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--color-text);
    opacity: 0.75;
    transition: var(--transition);
}

.text-link:hover {
    opacity: 1;
    transform: translateX(4px);
}

.eyebrow {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 18px;
}

.eyebrow--light {
    color: rgba(255, 255, 255, 0.7);
}

.subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    max-width: 620px;
}

.subtitle--light {
    color: rgba(255, 255, 255, 0.75);
}

.section {
    padding: 120px 0;
}

.section--dark {
    background: linear-gradient(135deg, rgba(34, 54, 86, 0.92) 0%, rgba(22, 36, 60, 0.94) 100%);
    backdrop-filter: blur(12px);
}

.section--alt {
    background: rgba(24, 38, 60, 0.58);
}

.section--highlight {
    background: linear-gradient(125deg, rgba(90, 123, 255, 0.24), rgba(13, 197, 165, 0.18));
}

.section__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.section__header--center {
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.section__header h2 {
    font-size: clamp(32px, 4vw, 44px);
    letter-spacing: -0.02em;
    margin-bottom: 18px;
}

.grid {
    display: grid;
    gap: 32px;
}

.grid--features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: row;
}

.grid--testimonials {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--pricing {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

/* HEADER & NAV */
.site-header {
    padding-top: 24px;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: linear-gradient(90deg, #2e3847 0%, #121928 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    z-index: 1200;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 18px 45px rgba(5, 10, 18, 0.45);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1;
}

.brand-mark {
    height: 36px;
    width: auto;
    display: block;
    border-radius: 10px;
    object-fit: contain;
    background: transparent;
}

.brand-wordmark {
    font-size: 20px;
    letter-spacing: -0.01em;
    transform: translateY(0px);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.78);
    position: relative;
    padding: 6px 0;
    transition: var(--transition);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #5a7bff 0%, #384dff 100%);
    transition: width 0.28s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    transition: var(--transition);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* HERO */
.hero {
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(160% 120% at 10% 10%, rgba(90, 123, 255, 0.35) 0%, transparent 45%),
                radial-gradient(120% 120% at 90% 10%, rgba(13, 197, 165, 0.18) 0%, transparent 55%);
    opacity: 0.85;
    pointer-events: none;
}

.hero__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 72px;
    align-items: center;
    z-index: 1;
}

.hero__content {
    display: grid;
    gap: 24px;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(12, 20, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    position: relative;
    overflow: hidden;
    animation: pulseSoft 6s ease-in-out infinite;
}

.hero__badge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, rgba(255, 255, 255, 0) 10%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0) 85%);
    transform: translateX(-120%);
    animation: glowSweep 9s ease-in-out infinite;
}

.hero__title {
    font-size: clamp(42px, 5vw, 64px);
    letter-spacing: -0.035em;
    line-height: 1.05;
}

.hero__subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.72);
    max-width: 540px;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero__divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.14);
    margin: 8px 0 4px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    font-weight: 600;
}

.hero__stats dt {
    font-size: 30px;
    color: #fff;
}

.hero__stats dd {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.62);
}

.hero__visual {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 420px;
    justify-self: center;
}

.hero__card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero__card img {
    border-radius: var(--radius-lg);
    box-shadow: none;
    width: 100%;
    height: auto;
}

.hero__annotation {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    background: rgba(10, 16, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(9, 16, 27, 0.4);
    backdrop-filter: blur(18px);
    animation: floatY 10s ease-in-out infinite;
    animation-delay: var(--shift, 0s);
    z-index: 1;
    pointer-events: none;
}

.hero__annotation--primary {
    top: 12%;
    right: auto;
    left: calc(100% + 24px);
    --shift: 0s;
}

.hero__annotation--secondary {
    bottom: 18%;
    left: auto;
    right: calc(100% + 24px);
    --shift: 2.4s;
}

.annotation__label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.55);
}

.annotation__value {
    font-weight: 600;
    color: #fff;
    font-size: 13px;
}

/* FEATURES */
.feature-card {
    background: rgba(14, 23, 36, 0.72);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    gap: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: -40% -40% auto;
    height: 70%;
    background: conic-gradient(from 90deg, rgba(90, 123, 255, 0), rgba(90, 123, 255, 0.35), rgba(90, 123, 255, 0));
    filter: blur(18px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.feature-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 0% 0%, rgba(90, 123, 255, 0.24), transparent 55%);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(90, 123, 255, 0.35);
}

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

.feature-card:hover::before {
    opacity: 1;
    transform: translateY(12%);
}

.feature-card h3 {
    font-size: 22px;
    letter-spacing: -0.02em;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 16px;
}

.feature-card ul {
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: rgba(90, 123, 255, 0.12);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 22px;
}

/* WORKFLOW */
.workflow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.workflow-step {
    background: rgba(12, 20, 32, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 32px;
    display: grid;
    gap: 16px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.workflow-step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 20% 20%, rgba(90, 123, 255, 0.24), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.workflow-step:hover::before {
    opacity: 1;
}

.workflow-step__badge {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    background: rgba(90, 123, 255, 0.18);
    border: 1px solid rgba(90, 123, 255, 0.35);
}

.workflow-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, rgba(90, 123, 255, 0.28), rgba(12, 20, 32, 0.65));
    border: 1px solid rgba(90, 123, 255, 0.25);
    color: #fff;
    font-size: 24px;
    box-shadow: 0 16px 36px rgba(7, 12, 24, 0.38);
}

/* LOGOS */
.logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 48px;
    padding: 28px 0 10px;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* SCREENSHOTS */
.screenshots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.screenshot-card {
    display: grid;
    gap: 14px;
    text-align: center;
}

.screenshot-card img {
    border-radius: 18px;
}

.screenshot-card figcaption {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.74);
}

/* TESTIMONIALS */
.testimonial {
    background: rgba(12, 20, 32, 0.68);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 32px;
    display: grid;
    gap: 20px;
    position: relative;
}

.testimonial__rating {
    color: #f7b500;
    display: flex;
    gap: 6px;
    font-size: 16px;
}

.testimonial__quote {
    font-size: 18px;
    color: #fff;
}

.testimonial__meta h3 {
    font-size: 16px;
}

.testimonial__meta p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
}

/* PRICING */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 18px 26px;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(14, 22, 36, 0.85), rgba(11, 18, 30, 0.75));
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 auto 56px;
    width: 100%;
    max-width: 520px;
    box-shadow: 0 18px 36px rgba(6, 10, 18, 0.45);
}

.pricing-toggle span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.72);
}

.pricing-toggle .badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(90, 123, 255, 0.24);
    color: #fff;
    font-size: 12px;
}

.switch {
    position: relative;
    width: 56px;
    height: 28px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transition: var(--transition);
}

.slider::before {
    content: "";
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    top: 4px;
    left: 6px;
    transition: var(--transition);
    box-shadow: 0 6px 15px rgba(7, 10, 16, 0.35);
}

.switch input:checked + .slider {
    background: rgba(90, 123, 255, 0.35);
}

.switch input:checked + .slider::before {
    transform: translateX(26px);
    background: rgba(12, 20, 32, 0.9);
}

.pricing-savings {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: -32px;
    margin-bottom: 48px;
    text-align: center;
}

.pricing-card {
    background: rgba(12, 20, 32, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 26px;
    padding: 38px;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    gap: 26px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
    isolation: isolate;
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: -40% 40% 60% -40%;
    background: radial-gradient(120% 120% at 20% 20%, rgba(90, 123, 255, 0.28), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.pricing-card:hover {
    transform: translateY(-12px);
    border-color: rgba(90, 123, 255, 0.35);
    box-shadow: 0 28px 60px rgba(5, 10, 18, 0.55);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card__pill {
    position: absolute;
    top: 24px;
    right: 24px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(90, 123, 255, 0.22);
    color: #fff;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.pricing-card__header {
    display: grid;
    gap: 8px;
}

.pricing-card__header h3 {
    font-size: 24px;
    letter-spacing: -0.01em;
}

.pricing-card__header p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
}

.pricing-card__price {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    font-size: 46px;
    font-weight: 700;
}

.pricing-card__price .currency {
    font-size: 20px;
    opacity: 0.7;
}

.pricing-card__price .period {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 4px;
}

.pricing-card__list {
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 15px;
    align-self: stretch;
}

.pricing-card__list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-card__list li i {
    color: rgba(90, 123, 255, 0.85);
    font-size: 14px;
}

.pricing-card .btn {
    justify-content: center;
    width: 100%;
}

.pricing-card--featured {
    background: linear-gradient(155deg, rgba(90, 123, 255, 0.32), rgba(12, 20, 32, 0.9));
    border-color: rgba(90, 123, 255, 0.55);
    box-shadow: 0 32px 70px rgba(7, 12, 24, 0.65);
}

/* HIGHLIGHT */
.highlight {
    background: rgba(12, 20, 32, 0.78);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 56px 58px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.highlight__text {
    display: grid;
    gap: 22px;
}

.highlight__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.highlight__preview {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.highlight__preview img {
    width: 180px;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
    background: rgba(12, 20, 32, 0.8);
}

.highlight::before {
    content: "";
    position: absolute;
    inset: 12% -40% 12% 60%;
    background: linear-gradient(120deg, rgba(90, 123, 255, 0.35), rgba(13, 197, 165, 0.15));
    filter: blur(32px);
    opacity: 0.55;
    animation: ribbonSlide 14s ease-in-out infinite;
    pointer-events: none;
}

/* CONTACT */
.contact {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 48px;
    background: rgba(12, 20, 32, 0.7);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 56px;
    box-shadow: var(--shadow-soft);
}

.contact__intro {
    display: grid;
    gap: 20px;
}

.contact__channels {
    display: grid;
    gap: 12px;
    color: rgba(255, 255, 255, 0.72);
}

.contact__channels i {
    margin-right: 10px;
    color: rgba(90, 123, 255, 0.75);
}

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

.form-field {
    display: grid;
    gap: 10px;
}

.form-field label {
    font-weight: 600;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
}

.label-optional {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    margin-left: 4px;
    font-size: 13px;
}

.form-field input,
.form-field textarea {
    background: rgba(11, 17, 26, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 16px;
    color: #fff;
    font-size: 15px;
    transition: var(--transition);
    font-family: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(90, 123, 255, 0.6);
    box-shadow: 0 0 0 4px rgba(90, 123, 255, 0.18);
}

.form-field--span {
    grid-column: 1 / -1;
}

textarea {
    resize: vertical;
    min-height: 140px;
}

.form-footer {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 16px;
}

.form-note {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-status {
    grid-column: 1 / -1;
    font-size: 14px;
    min-height: 18px;
    color: rgba(255, 255, 255, 0.7);
}

.form-status.success {
    color: #58f5c6;
}

.form-status.error {
    color: #ff8b7b;
}

/* FOOTER */
.site-footer {
    padding: 80px 0 48px;
    background: linear-gradient(120deg, rgba(18, 26, 39, 0.85), rgba(9, 15, 25, 0.95));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-divider);
}

.footer__brand {
    display: grid;
    gap: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.footer__brand p {
    max-width: 320px;
}

.social {
    display: flex;
    gap: 14px;
}

.social a {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.social a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.footer__links h4 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.footer__links ul {
    display: grid;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer__links a {
    transition: var(--transition);
}

.footer__links a:hover {
    color: #fff;
}

.footer__cta {
    background: rgba(11, 17, 26, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 28px;
    display: grid;
    gap: 18px;
    color: rgba(255, 255, 255, 0.75);
}

.newsletter {
    display: grid;
    gap: 12px;
}

.newsletter input {
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(9, 15, 26, 0.85);
    color: #fff;
    font-size: 15px;
    transition: var(--transition);
}

.newsletter input:focus {
    outline: none;
    border-color: rgba(90, 123, 255, 0.5);
    box-shadow: 0 0 0 4px rgba(90, 123, 255, 0.18);
}

.footer__meta {
    padding-top: 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer__meta-links {
    display: flex;
    gap: 18px;
}

.footer__meta-links a {
    transition: var(--transition);
}

.footer__meta-links a:hover {
    color: #fff;
}

/* ACCESSIBILITY */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero__grid {
        gap: 48px;
    }

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

    .highlight {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .highlight__buttons {
        justify-content: center;
    }

    .highlight__preview {
        justify-content: center;
    }

    .contact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: absolute;
        top: 80px;
        right: 24px;
        width: calc(100vw - 48px);
        border-radius: 24px;
        background: rgba(9, 15, 26, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: var(--shadow-soft);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 16px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-links a {
        width: 100%;
        padding: 10px 0;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-cta {
        display: none;
    }

    .brand-mark {
        height: 32px;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        justify-items: center;
    }

    .hero__subtitle {
        max-width: 620px;
    }

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

    .hero__visual {
        order: -1;
        max-width: 360px;
    }

    .hero__annotation {
        position: static;
        animation: none;
        margin-top: 16px;
        align-items: center;
        text-align: center;
        pointer-events: auto;
    }

    .hero__annotation--primary,
    .hero__annotation--secondary {
        left: auto;
        right: auto;
    }

    .hero__visual {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .section__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .section {
        padding: 96px 0;
    }

    .hero {
        padding: 140px 0 96px;
    }

    .hero__stats {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__actions {
        width: 100%;
        flex-direction: column;
    }

    .grid {
        gap: 24px;
    }

    .pricing-card {
        padding: 28px;
    }

    .pricing-card__price {
        font-size: 34px;
    }

    .highlight {
        padding: 40px 28px;
    }

    .contact {
        padding: 40px 28px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer__links {
        grid-template-columns: 1fr;
    }

    .footer__meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Mobile-Optimierungen */
@media (max-width: 768px) {
    .grid--features { grid-template-columns: 1fr; }
  .nav-container { padding: 0.5rem 1rem; }
  .nav-logo .logo-img { height: 48px; }
  .nav-menu { top: 60px; } /* vorher: 70px */

  .pricing-card { padding: 1.25rem; }
  .pricing-card.featured { transform: none; } /* Scale entfernen, damit nichts abschneidet */
}

/* Kleines Smartphone: Überlappungen vermeiden, 2 Spalten sicherstellen */
@media (max-width: 480px) {
  .floating-cards { display: none; } /* visuelle Ruhe im Hero */

  /* Screenshots: wirklich 2 gleich breite Spalten */
  .screenshots-gallery {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem;
  }

  /* Download: Überlappungen zurückfahren */
  .download .phone-stack { gap: 12px !important; }
  .download .phone-stack .phone-img { width: 46%; }
  .download .phone-stack .phone-1,
  .download .phone-stack .phone-2 {
    margin: 0 !important;
    transform: none !important;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* ===== SCROLL ANIMATIONS ===== */
/* Standard: sichtbar. AOS blendet nur vor Animation aus */
[data-aos] {
    opacity: 1;
    transition-property: opacity, transform;
}

.aos-init[data-aos] {
    opacity: 0;
}

.aos-animate[data-aos] {
    opacity: 1;
}

/* ===== PRICING TOGGLE FUNCTIONALITY ===== */
.yearly-active .monthly {
    display: none;
}

.yearly-active .yearly {
    display: inline;
}

/* Globale Defaults für diagonale Bewegung */
:root {
  --float-dx: -4px; /* Horizontal (negativ = nach links) */
  --float-dy:  24px; /* Vertikal (positiv = nach unten) */
  --screenshots-min: 260px; /* minimale Breite je Screenshot-Kachel */
}

.download .phone-stack .phone-2 {
  margin-left: -24px; /* vorher: -10px */
}

/* Download: Überlappung final erzwingen (steht am Ende der Datei) */
.download .phone-stack { gap: 0 !important; }

.download .phone-stack .phone-img {
  /* stabile Basis für Überlappung */
  position: relative;
  flex: 0 0 auto;
  width: 48%;
}

.download .phone-stack .phone-1 {
  z-index: 2;
  transform: translateX(32px) !important; /* nach rechts */
}

.download .phone-stack .phone-2 {
  z-index: 1;
  margin-left: 0 !important;              /* frühere margin-Regeln neutralisieren */
  transform: translateX(-32px) !important; /* nach links -> Überlappung */
}

/* Download: fixe Überlappung (harte Overrides am Dateiende) */
.download .phone-stack { 
  gap: 0 !important;
  justify-content: center;
}

.download .phone-stack .phone-img {
  position: relative;
  flex: 0 0 auto;
  width: 48%;
  transform: none !important; /* frühere transforms neutralisieren */
}

.download .phone-stack .phone-1 {
  z-index: 2;
  margin-right: -56px !important; /* schiebt nach links in Bild 2 */
}

.download .phone-stack .phone-2 {
  z-index: 1;
  margin-left: -56px !important;  /* schiebt nach rechts in Bild 1 */
}

/* Screenshots: Auto-Fit + Minimalbreite (steht am Dateiende, übersteuert frühere Regeln) */
.screenshots-gallery {
  grid-template-columns: repeat(auto-fit, minmax(var(--screenshots-min, 260px), 1fr));
  gap: clamp(12px, 2vw, 24px);
  /* max-width ggf. schon gesetzt; falls nicht gewünscht, hier optional:
     max-width: min(1400px, 100%); */
}

/* Screenshots: Fixe Spalten (4 oder 2) – Override am Dateiende */
.screenshots-gallery {
  /* überschreibt das vorherige auto-fit */
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 2vw, 24px);
}

/* Kleinstes Breakpoint: weiterhin 2 Spalten (nicht 1) */
@media (max-width: 480px) {
  .screenshots-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem; /* optional konsistent halten */
  }
}

/* Body: Scroll-Lock wenn Menü offen */
body.no-scroll { overflow: hidden; }
body.menu-open { overflow: hidden; } /* zusätzlich für Inline-Script */

/* Backdrop für Mobile-Menü */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 900;
}
.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* Hamburger -> "X" Animation */
.hamburger .bar { transition: transform 0.3s ease, opacity 0.3s ease; }
.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile-Menü: volle Höhe und scrollfähig */
@media (max-width: 768px) {
  .nav-menu {
    height: calc(100vh - 60px); /* unter der Navbar */
    overflow-y: auto;
    z-index: 1001; /* über dem Backdrop */
  }
}


