/* ===================================
   LANDING PAGES PRO - STYLES
   Diseño moderno con animaciones
   =================================== */

/* Reset y Variables */
:root {
    /* Colores principales - Paleta moderna y vibrante */
    --primary: #FF6B35;
    --primary-dark: #E5541F;
    --primary-light: #FF8C66;
    --secondary: #004E89;
    --secondary-dark: #003A66;
    --accent: #F7B801;
    
    /* Colores neutros */
    --bg-primary: #0A0E27;
    --bg-secondary: #151934;
    --bg-tertiary: #1F2547;
    --text-primary: #FFFFFF;
    --text-secondary: #B4B9D6;
    --text-muted: #6B7199;
    
    /* Gradientes */
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7B801 100%);
    --gradient-secondary: linear-gradient(135deg, #004E89 0%, #1A659E 100%);
    --gradient-hero: linear-gradient(180deg, #0A0E27 0%, #151934 100%);
    
    /* Tipografía */
    --font-primary: 'Sora', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Espaciado */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Bordes */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px rgba(255, 107, 53, 0.3);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===================================
   NAVEGACIÓN
   =================================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(10, 14, 39, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: var(--transition);
}

.logo-bracket {
    color: var(--primary);
    font-family: var(--font-mono);
}

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

.logo-pro {
    color: var(--accent);
    font-size: 0.9rem;
    font-weight: 800;
}

.logo:hover {
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link-cta {
    background: var(--gradient-primary);
    color: var(--text-primary);
    font-weight: 600;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: var(--spacing-xl) 0;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
}

.hero-content {
    max-width: 900px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.5rem 1.5rem;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 100px;
    color: var(--primary-light);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    animation: fadeIn 1s ease-out 0.2s both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    animation: fadeIn 1s ease-out 0.4s both;
}

.hero-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.6s both;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
    animation: fadeIn 1s ease-out 0.8s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font-primary);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.btn-icon {
    transition: var(--transition);
}

.btn:hover .btn-icon {
    transform: translateX(5px);
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    animation: fadeIn 1s ease-out 1s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-mono);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: fadeIn 1s ease-out 1.2s both;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollMove 2s ease-in-out infinite;
}

@keyframes scrollMove {
    0%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

/* ===================================
   SECCIONES GENERALES
   =================================== */
section {
    padding: var(--spacing-xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--spacing-sm);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===================================
   SERVICIOS
   =================================== */
.services {
    background: var(--bg-secondary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 107, 53, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-featured {
    border: 2px solid var(--primary);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, transparent 100%);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.25rem 2.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: var(--shadow-md);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.service-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    color: var(--text-secondary);
    padding-left: 1.5rem;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* ===================================
   BENEFICIOS
   =================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.benefit {
    position: relative;
    padding-left: var(--spacing-lg);
}

.benefit-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
}

.benefit-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.benefit-description {
    color: var(--text-secondary);
}

/* ===================================
   PROCESO
   =================================== */
.process {
    background: var(--bg-secondary);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.process-step {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.step-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--bg-tertiary);
    border: 3px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    position: relative;
    z-index: 1;
}

.step-content {
    flex: 1;
    padding-top: 1rem;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.step-description {
    color: var(--text-secondary);
}

/* ===================================
   PORTAFOLIO
   =================================== */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-md);
}

.portfolio-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-tertiary);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: var(--spacing-md);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-tag {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
}

.portfolio-title {
    font-size: 1.25rem;
    font-weight: 700;
    padding: var(--spacing-sm) var(--spacing-md);
}

.portfolio-description {
    color: var(--text-secondary);
    padding: 0 var(--spacing-md) var(--spacing-md);
}

/* ===================================
   CONTACTO
   =================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.contact-info {
    position: sticky;
    top: 100px;
}

.contact-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
}

.feature-icon {
    color: var(--primary);
    flex-shrink: 0;
}

.contact-form-wrapper {
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
}

.messages {
    margin-bottom: var(--spacing-md);
}

.message {
    padding: 1rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--spacing-sm);
}

.message-success {
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.3);
    color: #81C784;
}

.message-error {
    background: rgba(244, 67, 54, 0.1);
    border: 1px solid rgba(244, 67, 54, 0.3);
    color: #E57373;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-label {
    display: block;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    display: block;
    color: #E57373;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-disclaimer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: var(--spacing-md);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-column a,
.footer-column p {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gradient-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .contact-info {
        position: static;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-stats {
        gap: var(--spacing-md);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    :root {
        --spacing-xl: 4rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   ANIMACIONES DE SCROLL
   =================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.slide-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ===================================
   SUCCESS MODAL ANIMATION - PREMIUM DESIGN
   =================================== */

/* Modal Container - Full Screen Overlay */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    display: none;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.success-modal.show {
    display: flex;
}

/* Overlay with Blur */
.success-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    animation: fadeIn 0.3s ease-out;
    cursor: pointer;
}

/* Modal Content Card */
.success-modal-content {
    position: relative;
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    border-radius: 30px;
    padding: 60px 50px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalAppear 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    transform: scale(0) rotateY(90deg);
    opacity: 0;
    overflow: hidden;
}

/* Fireworks Background */
.fireworks-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.firework {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    animation: fireworkExplode 1.5s ease-out infinite;
}

.firework:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    box-shadow: 0 0 60px 30px rgba(255, 107, 53, 0.4);
}

.firework:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 0.5s;
    box-shadow: 0 0 60px 30px rgba(247, 147, 30, 0.4);
}

.firework:nth-child(3) {
    bottom: 30%;
    left: 50%;
    animation-delay: 1s;
    box-shadow: 0 0 60px 30px rgba(255, 215, 0, 0.4);
}

/* Success Icon Wrapper with Glow */
.success-icon-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 30px;
    z-index: 2;
}

.success-glow-ring,
.success-glow-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 53, 0.3);
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.success-glow-ring {
    width: 140px;
    height: 140px;
}

.success-glow-ring-2 {
    width: 160px;
    height: 160px;
    animation-delay: 0.3s;
}

.success-checkmark {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 10px auto;
    animation: scaleIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s both;
}

.checkmark {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: block;
    stroke-width: 4;
    stroke: #ff6b35;
    stroke-miterlimit: 10;
    filter: drop-shadow(0 0 30px rgba(255, 107, 53, 0.8));
}

.checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 4;
    stroke: #ff6b35;
    fill: rgba(255, 107, 53, 0.1);
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) 0.5s forwards;
}

.checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke: #ff6b35;
    stroke-width: 5;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 1s forwards;
}

/* Content Section */
.success-content {
    position: relative;
    z-index: 2;
}

.success-title {
    margin-bottom: 20px;
    animation: fadeInUp 0.5s ease 0.6s both;
}

.success-title-main {
    display: block;
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, #ff6b35 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 5px;
}

.success-title-emoji {
    font-size: 42px;
    display: inline-block;
    animation: bounce 0.6s ease 1.2s both;
}

.success-message {
    color: #e0e0e0;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease 0.7s both;
}

.success-message strong {
    color: #ff6b35;
    font-weight: 600;
}

/* Features List */
.success-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease 0.8s both;
}

.success-feature {
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 20px 10px;
    transition: all 0.3s ease;
}

.success-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 107, 53, 0.15);
    border-color: rgba(255, 107, 53, 0.4);
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.5));
}

.feature-text {
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.success-next-steps {
    color: #ffd700;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 30px;
    animation: fadeInUp 0.5s ease 0.9s both;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* Button */
.success-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
    animation: fadeInUp 0.5s ease 1s both, pulse 2s ease-in-out 2s infinite;
    position: relative;
    overflow: hidden;
}

.success-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.success-button:hover::before {
    width: 300px;
    height: 300px;
}

.success-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.6);
}

.success-button svg {
    position: relative;
    z-index: 1;
}

.success-button span {
    position: relative;
    z-index: 1;
}

/* Confetti Container */
.confetti-container,
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: -10px;
    opacity: 0;
    animation: confettiFall linear forwards;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s ease-out forwards;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalAppear {
    0% {
        transform: scale(0) rotateY(90deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) rotateY(0deg);
    }
    100% {
        transform: scale(1) rotateY(0deg);
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    to {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

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

@keyframes bounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.2) rotate(-10deg);
    }
    50% {
        transform: scale(0.9) rotate(10deg);
    }
    75% {
        transform: scale(1.1) rotate(-5deg);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 10px 60px rgba(255, 107, 53, 0.7);
    }
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0;
    }
}

@keyframes fireworkExplode {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale(3);
    }
}

@keyframes confettiFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(120vh) rotate(720deg);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .success-modal-content {
        padding: 40px 30px;
        max-width: 95%;
        border-radius: 20px;
    }

    .success-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .success-checkmark {
        width: 90px;
        height: 90px;
    }

    .checkmark {
        width: 90px;
        height: 90px;
    }

    .success-title-main {
        font-size: 28px;
    }

    .success-title-emoji {
        font-size: 32px;
    }

    .success-message {
        font-size: 16px;
    }

    .success-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .success-feature {
        padding: 15px;
    }

    .feature-icon {
        font-size: 28px;
    }

    .success-button {
        padding: 15px 35px;
        font-size: 16px;
    }

    .success-next-steps {
        font-size: 14px;
    }
}


