/* =============================================
   PROFESSIONAL TRANSITION PAGE - VIZUON
   Modern, Clean, Elegant Design System
   ============================================= */

:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #4facfe;
    --accent-light: #00f2fe;
    --danger: #f5576c;
    --danger-light: #f093fb;
    --dark-bg: #0a0a1a;
    --dark-card: rgba(15, 15, 35, 0.8);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--dark-bg);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* PARTICLE CANVAS */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* CONTAINER */
.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
}

/* PRELOADER */
.preloader {
    position: fixed;
    inset: 0;
    background: var(--dark-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s, visibility 0.5s;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-ring:nth-child(1) {
    width: 80px;
    height: 80px;
}

.loader-ring:nth-child(2) {
    width: 100px;
    height: 100px;
    border-top-color: var(--secondary);
    animation-duration: 1.5s;
}

.loader-ring:nth-child(3) {
    width: 120px;
    height: 120px;
    border-top-color: var(--accent);
    animation-duration: 2s;
}

.loader-text {
    position: absolute;
    top: calc(100% + 2rem);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 1rem;
    color: var(--text-secondary);
    animation: pulse 2s ease-in-out infinite;
}

/* MAIN CONTENT */
.content {
    background: var(--dark-card);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    padding: 4rem 3rem;
    max-width: 1200px;
    width: 100%;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease forwards 0.3s;
}

/* GLASS MORPHISM */
.glass-morphism {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition);
}

.glass-morphism:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

/* LOGO SECTION */
.logo-section {
    text-align: center;
    margin-bottom: 4rem;
}

.brand-animation-container {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.old-brand-container,
.new-brand-container {
    position: relative;
}

.old-brand,
.new-brand {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin: 0;
    position: relative;
    line-height: 1;
}

.old-brand {
    background: linear-gradient(135deg, var(--danger-light), var(--danger));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.old-brand .letter {
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
    transition: var(--transition);
}

.new-brand {
    background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
}

.new-brand .letter-new {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    transition: var(--transition);
}

.brand-underline {
    height: 4px;
    border-radius: 2px;
    margin-top: 0.5rem;
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.brand-underline.old {
    background: linear-gradient(90deg, var(--danger-light), var(--danger));
}

.brand-underline.new {
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--primary));
}

.transformation-icon {
    width: 60px;
    height: 60px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.morph-icon {
    width: 100%;
    height: 100%;
}

.morph-circle {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    animation: rotate 3s linear infinite;
}

/* STATUS INDICATOR */
.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--accent);
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* MESSAGE SECTION */
.message-section {
    margin-bottom: 4rem;
}

.message-card {
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.transition-icon {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #ffffff, var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-message {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.brand-old {
    background: linear-gradient(135deg, var(--danger-light), var(--danger));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.brand-new {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.description {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

/* FEATURES SECTION */
.features-section {
    margin-bottom: 4rem;
}

.features-title {
    text-align: center;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: var(--delay, 0s);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    stroke: white;
    stroke-width: 2;
}

.feature-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA SECTION */
.cta-section {
    margin-bottom: 4rem;
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.6);
}

.button-icon svg {
    width: 24px;
    height: 24px;
    stroke: white;
    stroke-width: 2.5;
    transition: transform 0.3s ease;
}

.cta-button:hover .button-icon svg {
    transform: translateX(5px);
}

/* MANUAL REDIRECT TEXT */
.manual-redirect-text {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 1rem;
    font-weight: 400;
}

/* CONTACT SECTION */
.contact-section {
    padding: 2rem;
    margin-top: 3rem;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 25px;
    height: 25px;
    stroke: white;
    stroke-width: 2;
}

.contact-text {
    flex: 1;
    min-width: 200px;
}

.contact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

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

.contact-button {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
}

/* GRADIENT ORBS */
.gradient-orbs {
    position: fixed;
    inset: 0;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatOrb 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--primary), transparent);
    top: -200px;
    left: -200px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--secondary), transparent);
    bottom: -150px;
    right: -150px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--accent), transparent);
    top: 50%;
    right: -100px;
    animation-delay: 10s;
}

.orb-4 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--danger-light), transparent);
    bottom: 30%;
    left: -100px;
    animation-delay: 15s;
}

/* MESH GRADIENT */
.mesh-gradient {
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(at 0% 0%, rgba(102, 126, 234, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(118, 75, 162, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(79, 172, 254, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(240, 147, 251, 0.15) 0px, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* FOOTER */
.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    z-index: 100;
    background: linear-gradient(to top, rgba(10, 10, 26, 0.9), transparent);
}

/* ANIMATIONS */
@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes floatOrb {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

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

/* RESPONSIVE */
@media (max-width: 768px) {
    .content {
        padding: 3rem 2rem;
    }
    
    .brand-wrapper {
        flex-direction: column;
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .countdown-circle {
        width: 100px;
        height: 100px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 2rem 1.5rem;
    }
    
    .old-brand,
    .new-brand {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .message-card {
        padding: 2rem 1.5rem;
    }
    
    .orb {
        filter: blur(60px);
    }
}
