/* 
   SED.COM.AR - Premium Design System
   Color Palette: Tech Light & Sophisticated
*/

:root {
    /* Colors */
    --primary: #feb92f;
    --primary-hover: #db9d21;
    --primary-light: #EEF2FF;

    --accent: #06B6D4;

    --text-main: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-soft: #F1F5F9;

    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Misc */
    --container-max: 1240px;
    --section-padding: 100px 0;
    --transition: cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    --shadow-soft: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.07), 0 4px 6px -4px rgb(0 0 0 / 0.07);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 0.08);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn--primary {
    background-color: var(--primary);
    color: #373536;
    box-shadow: 0 4px 14px 0 rgba(79, 70, 229, 0.3);
}

.btn--primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(79, 70, 229, 0.4);
}

.btn--ghost {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border);
}

.btn--ghost:hover {
    background-color: var(--bg-soft);
    border-color: var(--text-light);
}

.btn--full {
    width: 100%;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 85px;
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav--scrolled {
    height: 70px;
    box-shadow: var(--shadow-soft);
}

.nav__container {
    display: grid;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    grid-template-columns: 1fr 0.9fr;
    gap: 2rem;
}

.nav__logo-img {
    height: 55px;
    transition: var(--transition);
}

.nav__logo:hover .nav__logo-img {
    transform: scale(1.02);
}

.nav__menu {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-left: auto;
}

.nav__link {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.nav__link:hover {
    color: var(--primary);
}

.nav__link--cta {
    background-color: var(--primary);
    color: #373536 !important;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
}

.nav__link--cta:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle span {
    width: 28px;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
}

/* Hero Section */
.hero {
    padding-top: 160px;
    padding-bottom: 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-white);
    background-image:
        radial-gradient(circle at 80% 20%, rgba(79, 70, 229, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.05) 0%, transparent 40%),
        linear-gradient(rgba(0, 0, 0, 0.01) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.01) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    overflow: hidden;
}

.hero__bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero__blob {
    position: absolute;
    top: -150px;
    right: -150px;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: blob-float 20s infinite alternate ease-in-out;
}

.hero__blob--2 {
    top: 60%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.05) 0%, transparent 70%);
}

@keyframes blob-float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-5%, 10%) scale(1.1);
    }
}

.hero__container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
    position: relative;
    z-index: 1;
    margin: auto;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 3px 15px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.03);
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--primary-light);
}


.hero__title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--text-main);
    letter-spacing: -0.02em;
    font-weight: 800;
}

.hero__title--accent {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

.hero__description {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 4rem;
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 1.5rem;
    width: fit-content;
}

.hero__trust-avatars {
    display: flex;
}

.hero__trust-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -12px;
    background-color: var(--bg-soft);
    overflow: hidden;
}

.hero__trust-avatar:first-child {
    margin-left: 0;
}

.hero__trust-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

.hero__trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 3D Phone and Scene */
.hero__scene {
    position: relative;
    width: 100%;
    height: 500px;
    perspective: 1000px;
}

.phone {
    width: 280px;
    height: 560px;
    margin: 0 auto;
    position: relative;
    transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg);
    animation: float 8s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float {

    0%,
    100% {
        transform: rotateY(-18deg) rotateX(8deg) rotateZ(2deg) translateY(0);
    }

    50% {
        transform: rotateY(-12deg) rotateX(4deg) rotateZ(0deg) translateY(-25px);
    }
}

.phone__frame {
    width: 100%;
    height: 100%;
    background: #0F172A;
    border-radius: 44px;
    padding: 10px;
    box-shadow:
        -20px 30px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
}

.phone__frame::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 44px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.phone__notch {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 25px;
    background: #111827;
    border-radius: 0 0 15px 15px;
    z-index: 2;
}

.phone__screen {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 36px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.phone__screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.2) 0%, transparent 40%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 5;
    pointer-events: none;
}

.phone__screens-track {
    display: flex;
    width: 200%;
    height: 100%;
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone__app {
    width: 50%;
    height: 100%;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.app__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app__header-dot {
    width: 8px;
    height: 8px;
    background: var(--bg-soft);
    border-radius: 50%;
}

.app__header-title {
    width: 60px;
    height: 10px;
    background: var(--bg-soft);
    border-radius: 5px;
}

.app__chart {
    height: 100px;
    margin: 1rem 0;
}

.app__stats {
    display: flex;
    justify-content: space-between;
    height: 60px;
    align-items: flex-end;
}

.app__stat-bar {
    width: 30px;
    border-radius: 6px 6px 0 0;
    background: var(--primary-light);
}

.app__stat-bar--4 {
    background: var(--primary);
    height: 50px;
}

.app__stat-bar--3 {
    height: 40px;
}

.app__stat-bar--2 {
    height: 45px;
}

.app__stat-bar--1 {
    height: 35px;
}

.app__list-item {
    height: 40px;
    background: var(--bg-soft);
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.phone__home-bar {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

/* Floating Elements */
.hero__float {
    position: absolute;
    z-index: 10;
}

.hero__float--1 {
    top: 15%;
    right: 0;
}

.hero__float--2 {
    top: 50%;
    left: -2%;
}

.hero__float--3 {
    bottom: 15%;
    right: 10%;
}

.float-card {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.float-card__icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 0.5rem;
    padding: 8px;
}

.float-card__line {
    width: 60px;
    height: 6px;
    background: var(--bg-soft);
    border-radius: 3px;
    margin-bottom: 6px;
}

.float-card__line--short {
    width: 40px;
    height: 6px;
    background: var(--bg-soft);
    border-radius: 3px;
}

.float-tag {
    background: #10B981;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
}

.float-code {
    background: #0F172A;
    color: #38BDF8;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    font-family: monospace;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

/* Sections Global */
section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-main);
    margin-bottom: 1rem;
}

.text-accent {
    color: var(--primary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Services Grid */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.service-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.service-card__icon svg {
    width: 32px;
    height: 32px;
}

.service-card__icon--blue {
    background: #DBEAFE;
    color: #3B82F6;
}

.service-card__icon--purple {
    background: #F3E8FF;
    color: #A855F7;
}

.service-card__icon--green {
    background: #DCFCE7;
    color: #10B981;
}

.service-card__icon--orange {
    background: #FFEDD5;
    color: #F97316;
}

.service-card__icon--pink {
    background: #FCE7F3;
    color: #EC4899;
}

.service-card__icon--cyan {
    background: #CFFAFE;
    color: #0891B2;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.service-card__desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Works Section */
.works {
    background-color: var(--bg-light);
}

.works__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.work-card {
    background: white;
    border-radius: 2rem;
    overflow: hidden;
    height: 400px;
    position: relative;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.work-card:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

.work-card__image {
    width: 100%;
    height: 145px;
    overflow: hidden;
    background: var(--bg-soft);
    opacity: 0.3;
    filter: grayscale(0.4);
}

.work-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
}

.work-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 6rem 3rem 3rem;
    background: linear-gradient(0deg, white 80%, transparent);
}

.work-card__tag {
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 0.5rem;
    display: block;
}

.work-card__title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.work-card__desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.work-card__features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.work-card__features li {
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--bg-soft);
    padding: 0.4rem 0.8rem;
    border-radius: 2rem;
    color: var(--text-main);
}

/* Process Section */
.process__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
}

.process__step {
    position: relative;
}

.process__num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-light);
    margin-bottom: -1rem;
    opacity: 0.5;
}

.process__name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.process__text {
    color: var(--text-muted);
}

/* Clients */
.clients {
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.clients__title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.clients__slider {
    overflow: hidden;
}

.clients__track {
    display: flex;
    gap: 6rem;
    animation: scroll 20s linear infinite;
    align-items: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.clients__track img {
    height: 40px;
    filter: grayscale(1) opacity(0.5);
    transition: 0.3s;
}

.clients__track img:hover {
    filter: grayscale(0) opacity(1);
}

/* Contact */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.contact__text {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact__info-item {
    margin-bottom: 2rem;
}

.contact__info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact__social {
    display: flex;
    gap: 2rem;
}

.social-link {
    font-weight: 600;
    color: var(--primary);
    position: relative;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.social-link:hover::after {
    width: 100%;
}

.contact__form-container {
    background: white;
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
}

.form-status--success {
    color: #10B981;
}

.form-status--error {
    color: #EF4444;
}

/* Spinner */
.btn__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-light);
}

.footer__content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer__logo {
    height: 32px;
    margin-bottom: 1.5rem;
}

.footer__brand p {
    color: var(--text-muted);
}

.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer__col h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer__col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.footer__col a:hover {
    color: var(--primary);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations Trigger Classes */
[data-animate] {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
    transform: translateY(40px);
}

[data-animate="fade-left"] {
    transform: translateX(40px);
}

[data-animate="fade-right"] {
    transform: translateX(-40px);
}

[data-animate="zoom-out"] {
    transform: scale(1.1);
}

[data-animate="blur"] {
    filter: blur(10px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav__container {
        grid-template-columns: 1fr auto;
    }

    .hero__container,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero__actions,
    .hero__trust {
        justify-content: center;
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .works__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        height: 70px;
    }

    .nav__container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 1.25rem;
    }

    .nav__logo-img {
        height: 42px;
    }

    .nav__menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 2.5rem 1.5rem;
        gap: 1.25rem;
        box-shadow: var(--shadow-xl);
        transform: translateY(-10px);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        border-top: 1px solid var(--border-light);
    }

    .nav__menu--active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .nav>.container {
        width: 80%;
    }

    .nav__toggle {
        display: flex;
        align-self: center;
        margin-left: auto;
    }

    #contacto>.container {
        margin: 1%;
        width: 98%;
        padding: 5px;
    }

    [data-animate] {
        padding: 10px;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .footer__content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero {
        padding-top: 130px;
        padding-bottom: 80px;
        text-align: center;
        min-height: auto;
    }

    .hero__title {
        font-size: 2.4rem;
        line-height: 1.1;
    }

    .hero__description {
        font-size: 1.05rem;
        margin-bottom: 2rem;
    }

    .hero__actions {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 3rem auto;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__trust {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(5px);
        border: 1px solid var(--border-light);
    }

    .hero__scene {
        display: none;
    }
}

/* ================================================
   SUCCESS MODAL
   ================================================ */

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay--active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #fff;
    border-radius: 24px;
    padding: 52px 44px 44px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.28);
    transform: scale(0.82) translateY(24px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease;
}

.modal-overlay--active .modal-card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* × close button */
.modal-card__x {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 34px;
    height: 34px;
    border: none;
    background: var(--bg-soft);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.modal-card__x:hover {
    background: var(--border);
    color: var(--text-main);
    transform: rotate(90deg);
}

/* Icon */
.modal-icon-wrap {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 28px;
}

.modal-icon-bg {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    opacity: 0;
    transform: scale(0.7);
}

.modal-overlay--active .modal-icon-bg {
    animation: iconBgPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.8s forwards;
}

@keyframes iconBgPop {
    to { opacity: 1; transform: scale(1); }
}

.modal-check-svg {
    width: 96px;
    height: 96px;
}

.modal-check-circle {
    stroke: #10b981;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 226.2;
    stroke-dashoffset: 226.2;
    transform-origin: 40px 40px;
    transform: rotate(-90deg);
}

.modal-check-path {
    stroke: #10b981;
    stroke-width: 4.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 58;
    stroke-dashoffset: 58;
}

.modal-overlay--active .modal-check-circle {
    animation: drawCircle 0.65s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}

.modal-overlay--active .modal-check-path {
    animation: drawCheck 0.32s ease 0.78s forwards;
}

@keyframes drawCircle {
    to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
    to { stroke-dashoffset: 0; }
}

/* Particles */
.modal-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.modal-particles span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    opacity: 0;
}

.modal-particles span:nth-child(1) { background: var(--primary); }
.modal-particles span:nth-child(2) { background: var(--accent); }
.modal-particles span:nth-child(3) { background: #10b981; }
.modal-particles span:nth-child(4) { background: var(--primary); }
.modal-particles span:nth-child(5) { background: #f472b6; }
.modal-particles span:nth-child(6) { background: var(--accent); }
.modal-particles span:nth-child(7) { background: var(--primary); }
.modal-particles span:nth-child(8) { background: #10b981; }

.modal-overlay--active .modal-particles span:nth-child(1) { animation: mburst1 0.75s ease 0.85s forwards; }
.modal-overlay--active .modal-particles span:nth-child(2) { animation: mburst2 0.75s ease 0.90s forwards; }
.modal-overlay--active .modal-particles span:nth-child(3) { animation: mburst3 0.75s ease 0.87s forwards; }
.modal-overlay--active .modal-particles span:nth-child(4) { animation: mburst4 0.75s ease 0.92s forwards; }
.modal-overlay--active .modal-particles span:nth-child(5) { animation: mburst5 0.75s ease 0.88s forwards; }
.modal-overlay--active .modal-particles span:nth-child(6) { animation: mburst6 0.75s ease 0.94s forwards; }
.modal-overlay--active .modal-particles span:nth-child(7) { animation: mburst7 0.75s ease 0.86s forwards; }
.modal-overlay--active .modal-particles span:nth-child(8) { animation: mburst8 0.75s ease 0.93s forwards; }

@keyframes mburst1 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% - 58px),calc(-50% - 28px)) scale(1)} }
@keyframes mburst2 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% + 58px),calc(-50% - 28px)) scale(1)} }
@keyframes mburst3 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% - 34px),calc(-50% - 62px)) scale(1)} }
@keyframes mburst4 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% + 34px),calc(-50% - 62px)) scale(1)} }
@keyframes mburst5 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% - 64px),calc(-50% + 22px)) scale(1)} }
@keyframes mburst6 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% + 64px),calc(-50% + 22px)) scale(1)} }
@keyframes mburst7 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% - 22px),calc(-50% + 66px)) scale(1)} }
@keyframes mburst8 { 0%{opacity:1;transform:translate(-50%,-50%) scale(0)} 100%{opacity:0;transform:translate(calc(-50% + 22px),calc(-50% + 66px)) scale(1)} }

/* Text */
.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(14px);
}

.modal-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    opacity: 0;
    transform: translateY(14px);
}

.modal-btn {
    opacity: 0;
    transform: translateY(14px);
}

.modal-overlay--active .modal-title {
    animation: modalFadeUp 0.4s ease 1.0s forwards;
}

.modal-overlay--active .modal-desc {
    animation: modalFadeUp 0.4s ease 1.12s forwards;
}

.modal-overlay--active .modal-btn {
    animation: modalFadeUp 0.4s ease 1.22s forwards;
}

@keyframes modalFadeUp {
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .modal-card {
        padding: 44px 24px 36px;
    }
    .modal-title {
        font-size: 1.5rem;
    }
}