:root {
    --background: 224 71.4% 4.1%;
    --foreground: 210 20% 98%;
    --primary: 263.4 70% 50.4%;
    --primary-muted: 263.4 70% 25%;
    --surface: 222 45% 12%;
    --surface-contrast: 228 24% 18%;
    --accent: 214 95% 68%;
    --success: 142 72% 45%;
    --danger: 0 84% 60%;
    --radius: 0.75rem;
    --shadow-color: 263 70% 20%;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --glow-primary: 263.4 70% 50.4%;
    --glow-accent: 214 95% 68%;
}

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

html {
    color-scheme: dark;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background: radial-gradient(circle at top, hsl(263 70% 20% / 0.35), transparent 45%), linear-gradient(135deg, hsl(224 71.4% 4.1%), hsl(263.4 50% 15%), hsl(224 71.4% 4.1%));
    color: hsl(var(--foreground));
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

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

a:hover,
a:focus-visible {
    color: hsl(var(--accent));
}

:focus-visible {
    outline: 2px solid hsl(var(--accent));
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.12);
    color: hsl(var(--foreground));
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    transition: top 0.2s ease;
    z-index: 999;
}

.skip-link:focus {
    top: 16px;
}

img {
    max-width: 100%;
    height: auto;
}

.icon {
    display: inline-flex;
    vertical-align: middle;
}

.icon--check {
    width: 18px;
    height: 18px;
    color: hsl(var(--accent));
    flex-shrink: 0;
}

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

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px) saturate(180%);
    background: rgba(15, 18, 32, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.header__inner {
    display: flex;
    align-items: center;
    padding: 0.65rem 0;
    gap: 1.5rem;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.035em;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo picture {
    display: inline-flex;
}

.logo img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3), 0 0 16px hsl(var(--glow-primary) / 0.2);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.logo:hover img {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4), 0 0 20px hsl(var(--glow-primary) / 0.3);
    transform: rotate(-2deg);
}

.logo-text span {
    color: hsl(var(--primary));
}

.nav {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    flex-wrap: nowrap;
}

.nav__link {
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s ease;
    white-space: nowrap;
}

.nav__link:hover,
.nav__link:focus-visible {
    color: hsl(var(--foreground));
}

.nav__cta {
    padding: 0.55rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: var(--radius);
    padding: 0.85rem 1.6rem;
    font-size: 1rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    color: hsl(var(--foreground));
}

.button--primary {
    background: linear-gradient(135deg, hsl(var(--primary)), hsl(var(--primary-muted)));
    box-shadow: 0 10px 24px hsl(var(--shadow-color) / 0.25);
}

.button--primary:hover,
.button--primary:focus-visible {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px hsl(var(--shadow-color) / 0.35), 0 0 24px hsl(var(--glow-primary) / 0.3);
}

.button--primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 6px 16px hsl(var(--shadow-color) / 0.2);
}

.button--secondary {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.button--secondary:hover,
.button--secondary:focus-visible {
    border-color: hsl(var(--primary));
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px) scale(1.01);
}

.button--secondary:active {
    transform: translateY(0) scale(0.99);
}

.button--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.22);
    color: rgba(255, 255, 255, 0.85);
}

.button--ghost:hover,
.button--ghost:focus-visible {
    border-color: hsl(var(--primary));
    color: hsl(var(--foreground));
    transform: translateY(-1px);
}

.button--ghost:active {
    transform: translateY(0);
}

.button:disabled,
.button[aria-disabled="true"] {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    pointer-events: none;
}

.button__label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.button__loader {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    display: none;
}

.hero {
    padding: 5.5rem 0 4rem;
    text-align: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(147, 51, 234, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(147, 51, 234, 0.25);
}

.hero__badge {
    letter-spacing: 0.01em;
}

.hero__title {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0 1rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff 0%, hsl(var(--primary)) 70%, hsl(var(--accent)) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding: 0.2em 0;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2.5rem;
    max-width: 720px;
    margin-inline: auto;
}

.hero__note {
    font-size: 0.95rem;
    color: hsl(var(--accent));
    max-width: 640px;
    margin: 1rem auto 0;
    font-style: italic;
    letter-spacing: 0.01em;
}

.hero__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero__actions .button--primary {
    animation: pulse-glow 3s ease-in-out infinite;
}

.section {
    padding: 4.5rem 0;
}

.section--tinted {
    background: rgba(147, 51, 234, 0.06);
    border-block: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2rem 0;
}

.section--accent {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.16), rgba(79, 70, 229, 0.18));
    padding: 2rem 0;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.82);
    font-size: 1.05rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

.feature-media {
    max-width: 860px;
    margin: 0 auto 3.5rem;
}

.feature-media__frame {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), 0 0 24px hsl(var(--glow-primary) / 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-media__frame:hover {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.5), 0 0 32px hsl(var(--glow-primary) / 0.15);
    transform: translateY(-4px);
}

.feature-media__frame video {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.feature-media__caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.card {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius);
    transition: transform 0.3s ease, border 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: hsl(var(--primary) / 0.4);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 20px hsl(var(--glow-primary) / 0.15);
}

.feature-card {
    position: relative;
    padding: 3.25rem 1.75rem 1.75rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.18), rgba(79, 70, 229, 0.16));
    border-color: rgba(147, 51, 234, 0.5);
    box-shadow: 0 22px 48px rgba(17, 24, 39, 0.5), 0 0 30px hsl(var(--glow-primary) / 0.2);
    transform: translateY(-4px) scale(1.02);
}

.feature-icon {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.45), rgba(79, 70, 229, 0.32));
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.35);
    color: hsl(var(--foreground));
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: translateX(-50%) scale(1.1) rotate(-5deg);
    box-shadow: 0 16px 36px rgba(79, 70, 229, 0.45), 0 0 20px hsl(var(--glow-primary) / 0.3);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
}

.feature-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0.75rem 0 0.65rem;
    letter-spacing: -0.015em;
}

.feature-card__description {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.98rem;
    margin: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 2.25rem 2rem;
}

.pricing-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    background: rgba(147, 51, 234, 0.12);
    color: hsl(var(--foreground));
    border: 1px solid rgba(147, 51, 234, 0.25);
    margin-bottom: 1rem;
}

.pricing-card__header {
    margin-bottom: 1.5rem;
}

.pricing-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    letter-spacing: -0.015em;
}

.pricing-card__price {
    font-size: clamp(2.2rem, 4vw, 2.6rem);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin: 0 0 0.35rem;
}

.pricing-card__price span {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    margin-left: 0.35rem;
}

.pricing-card__description {
    font-size: 0.98rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.pricing-card__list {
    list-style: none;
    margin: 2rem 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.78);
}

.pricing-card__list li {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.pricing-card__cta {
    margin-top: auto;
}

.pricing-card__cta .button {
    width: 100%;
    justify-content: center;
}

.pricing-card--featured {
    border: 1px solid rgba(147, 51, 234, 0.4);
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(79, 70, 229, 0.18));
    box-shadow: 0 16px 36px rgba(88, 28, 135, 0.22);
}

.pricing-card--featured .pricing-card__badge {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.3);
    color: hsl(var(--foreground));
}

.pricing-card--featured .button--primary {
    box-shadow: 0 12px 28px rgba(147, 51, 234, 0.28);
}

.plans-note {
    margin-top: 1.75rem;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.62);
}

.problem-cta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.problem-cta__copy {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
}

.problem-cta__copy .section-title {
    margin: 0;
}

.problem-cta__copy picture {
    display: inline-flex;
}

.problem-cta__logo {
    width: 80px;
    height: auto;
}

.problem-copy {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 540px;
}

.problem-copy strong {
    color: hsl(var(--foreground));
}

.problem-cta__form {
    width: 100%;
}

.steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.steps--hero {
    margin-top: 3rem;
}

.steps__item {
    position: relative;
    padding: 3.25rem 1.75rem 1.75rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    text-align: center;
}

.steps__number {
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: hsl(var(--foreground));
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.45), rgba(79, 70, 229, 0.32));
    border: 2px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.35);
}

.steps__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 0.75rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.01em;
}

.steps__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.98rem;
    margin: 0;
}

.cta {
    text-align: center;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
    padding: 3.5rem 2.5rem;
    border-radius: 1rem;
    background: rgba(15, 18, 32, 0.65);
    border: 1px solid rgba(147, 51, 234, 0.25);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
    height: 100%;
    text-align: center;
}

.cta-card img {
    width: 72px;
    height: auto;
    margin-bottom: 1.5rem;
}

.cta-card__title {
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-card__description {
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.form {
    display: grid;
    gap: 1rem;
    width: 100%;
}

.form__field {
    display: grid;
    gap: 0.5rem;
    text-align: left;
}

.form__input {
    width: 100%;
    padding: 0.9rem 1.25rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.05);
    color: hsl(var(--foreground));
    font-size: 1rem;
    transition: border 0.2s ease, background 0.2s ease;
}

.form__input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.form__input:focus-visible {
    border-color: hsl(var(--primary));
    background: rgba(255, 255, 255, 0.08);
}

.form__help {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}

.alert {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
    display: none;
    align-items: center;
    gap: 0.5rem;
}

.alert--success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #4ade80;
}

.alert--error {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
}

.alert.show {
    display: flex;
}

.footer {
    padding: 3.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: auto;
    background: rgba(255, 255, 255, 0.02);
}

.footer__inner {
    display: grid;
    gap: 1.25rem;
    justify-items: center;
    text-align: center;
}

.footer__cta {
    margin: 0;
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    font-weight: 600;
    color: hsl(var(--foreground));
}

.footer__button .button {
    min-width: 200px;
}

.footer__meta {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.52);
}

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

@media (max-width: 1024px) {
    .nav {
        gap: 1rem;
    }

    .header__inner {
        gap: 1.5rem;
    }
}

@media (max-width: 860px) {
    .header__inner {
        gap: 1.5rem;
    }

    .nav {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        row-gap: 0.5rem;
    }

    .nav__link {
        color: rgba(255, 255, 255, 0.88);
        padding: 0.25rem 0;
    }

    .button--ghost {
        width: auto;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 3.5rem 0;
    }

    .section--tinted,
    .section--accent {
        padding: 2rem 0;
    }

    .header__inner {
        gap: 0.75rem;
        flex-wrap: nowrap;
        padding: 0.85rem 0;
    }

    .logo {
        font-size: 1.4rem;
    }

    .logo picture {
        display: inline-flex;
    }

    .logo img {
        width: 44px;
        height: 44px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25), 0 0 12px hsl(var(--glow-primary) / 0.15);
    }

    .nav {
        width: auto;
        justify-content: flex-end;
        margin-left: auto;
        gap: 0.5rem;
        flex: 0 0 auto;
    }

    .nav__link,
    .nav__cta {
        font-size: 0.85rem;
    }

    .nav__cta {
        padding: 0.4rem 0.85rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .hero__badge {
        font-size: 0.85rem;
        padding-inline: 0.75rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .card {
        padding: 1.75rem;
    }

    .steps__item {
        padding: 3.25rem 1.75rem 1.75rem;
    }

    .feature-card {
        padding: 3.25rem 1.75rem 1.75rem;
    }

    .feature-media {
        margin-bottom: 2.5rem;
    }

    .feature-media__frame {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 20px hsl(var(--glow-primary) / 0.08);
    }

    .feature-media__frame:hover {
        transform: none;
    }

    .hero__actions {
        justify-content: flex-start;
    }

    .faq__item {
        padding: 1.85rem 1.65rem;
    }

    .cta-card {
        padding: 3rem 1.85rem;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
    }

    .nav {
        gap: 0.65rem;
        flex: 0 1 auto;
    }

    .nav__link {
        font-size: 0.9rem;
    }

    .nav__cta {
        padding: 0.45rem 0.95rem;
        font-size: 0.85rem;
    }
}

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

    .hero__actions .button--primary {
        animation: none !important;
    }

    .card:hover,
    .feature-card:hover {
        transform: none !important;
    }
}

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

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 10px 24px hsl(var(--shadow-color) / 0.25);
    }
    50% {
        box-shadow: 0 10px 24px hsl(var(--shadow-color) / 0.25), 0 0 20px hsl(var(--glow-primary) / 0.3);
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
