/* home.css - Single Page Hero Layout - Cleaned Version */

/* RESET & GLOBALS */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --accent-color: #feca57;
    --text-white: #ffffff;
    --text-dark: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-accent: linear-gradient(135deg, #feca57 0%, #ff9ff3 50%, #48dbfb 100%);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #0a0a1a 0%, #0f0f23 30%, #764ba2 70%, #667eea 100%);
    color: var(--text-white);
    overflow: hidden;
    line-height: 1.6;
    height: 100vh;
    max-height: 100vh;
    position: relative;
}

body.single-page-layout {
    height: 100vh;
    max-height: 100vh;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* BACKGROUND EFFECTS */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a1a 0%, #000000 30%, #000000 70%, #000000 100%);
}

.floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-shapes::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(240, 147, 251, 0.08) 0%, transparent 50%);
    animation: glowPulse 4s ease-in-out infinite alternate;
}

@keyframes glowPulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.floating-shapes .shape {
    position: absolute;
    opacity: 0.1;
    border-radius: 50%;
    background: var(--gradient-primary);
    animation: floatShape 20s ease-in-out infinite;
}

.shape-1 { width: 200px; height: 200px; top: 10%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 150px; height: 150px; top: 60%; left: 80%; animation-delay: 5s; }
.shape-3 { width: 100px; height: 100px; top: 80%; left: 20%; animation-delay: 10s; }
.shape-4 { width: 300px; height: 300px; top: 30%; left: 70%; animation-delay: 15s; }
.shape-5 { width: 120px; height: 120px; top: 20%; left: 60%; animation-delay: 8s; }

.gradient-orbs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.3;
    animation: orbFloat 25s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #667eea 0%, transparent 70%);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, #764ba2 0%, transparent 70%);
    top: 60%;
    right: 20%;
    animation-delay: 8s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #feca57 0%, transparent 70%);
    top: 40%;
    left: 50%;
    animation-delay: 15s;
}

/* MINIMAL HEADER WITH CENTERED LOGO */
.minimal-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: transparent;
    backdrop-filter: none;
    border-bottom: none;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.minimal-header::before {
    display: none;
}

.minimal-header .header-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding-bottom: 15px;
}

.centered-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: block;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoLevitate 6s ease-in-out infinite;
}

.logo-wrapper:hover {
    animation-duration: 2s;
}

.logo-image {
    height: 60px; /* Reduced logo size */
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    animation: logoGlow 4s ease-in-out infinite;
}

.logo-link:hover .logo-image {
    filter: brightness(0) invert(1) drop-shadow(0 0 60px rgba(255, 255, 255, 1));
    transform: scale(1.2) rotateY(20deg);
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px; /* Reduced glow for smaller logo */
    height: 120px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: glowPulse 3s ease-in-out infinite;
    z-index: 1;
}

.logo-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 240px; /* Bigger particles area */
    height: 240px;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.logo-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    opacity: 1;
    animation: particleOrbit 8s linear infinite;
}

.logo-particles .particle:nth-child(1) {
    animation-delay: 0s;
    animation-duration: 8s;
}

.logo-particles .particle:nth-child(2) {
    animation-delay: 2s;
    animation-duration: 10s;
}

.logo-particles .particle:nth-child(3) {
    animation-delay: 4s;
    animation-duration: 12s;
}

.logo-particles .particle:nth-child(4) {
    animation-delay: 6s;
    animation-duration: 14s;
}

/* OLD HEADER STYLES - COMMENTED OUT
/* MODERN HEADER NAVIGATION */
/*
.modern-header {
    display: none;
}
*/

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

/* LOGO SECTION */
.header-logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.logo-link:hover {
    transform: translateY(-2px) scale(1.05);
}

.logo-image {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
    animation: logoFloat 4s ease-in-out infinite;
}

.logo-link:hover .logo-image {
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.5));
}

/* NAVIGATION MENU */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.nav-item:hover::before {
    left: 100%;
}

.nav-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--text-white);
}

.nav-login {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.nav-login:hover {
    background: linear-gradient(135deg, #5a6fd8, #6b4190);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.nav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 1rem;
}

.nav-text {
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* MOBILE MENU */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-menu-toggle.active .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    height: calc(100vh - 90px);
    background: rgba(15, 15, 35, 0.98);
    backdrop-filter: blur(25px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 999;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
    padding: 2rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
    transition: all 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
    animation: mobileItemSlide 0.5s ease forwards;
}

.mobile-nav-item:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-item:nth-child(2) { animation-delay: 0.2s; }

.mobile-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: var(--text-white);
}

.mobile-nav-item i {
    font-size: 1.2rem;
}

/* HERO FULLSCREEN */
.hero-fullscreen {
    height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.1;
}

.animated-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.animated-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--accent-color);
    border-radius: 50%;
    opacity: 0.7;
    animation: particleFloat 8s ease-in-out infinite;
}

.animated-particles .particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.animated-particles .particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.animated-particles .particle:nth-child(3) { top: 80%; left: 40%; animation-delay: 4s; }
.animated-particles .particle:nth-child(4) { top: 40%; left: 70%; animation-delay: 6s; }
.animated-particles .particle:nth-child(5) { top: 10%; left: 60%; animation-delay: 8s; }

/* HERO CONTAINER */
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    height: calc(100vh - 100px);
    display: flex;
    align-items: center;
}

.hero-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
    width: 100%;
    align-items: center;
    height: 100%;
}

/* HERO MAIN CONTENT */
.hero-main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.content-inner {
    max-width: 600px;
}

/* HERO TITLE */
.hero-main-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-white);
}

.title-row {
    display: flex;
    gap: 0.3rem;
    margin-bottom: 0.2rem;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    animation: wordReveal 0.8s ease-out forwards;
    transform-origin: bottom;
}

.title-word.highlight-word {
    background: var(--gradient-accent);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: wordReveal 0.8s ease-out forwards, gradientShift 4s ease-in-out infinite;
}

/* HERO DESCRIPTION */
.hero-description {
    margin-bottom: 2rem;
}

.main-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease-out 1.5s backwards;
}

.brand-highlight {
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.feature-highlight {
    color: #48dbfb;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(72, 219, 251, 0.3);
    text-underline-offset: 4px;
}

/* HERO ACTIONS */
.hero-actions {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 2.5s backwards;
}

.action-btn {
    position: relative;
    padding: 0;
    border: none;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 160px;
    height: 50px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 25px;
    transition: all 0.4s ease;
}

.primary-action .btn-bg {
    background: linear-gradient(135deg, #10b981 0%, #059669 50%, #047857 100%);
    background-size: 300% 300%;
    animation: emeraldFlow 4s ease-in-out infinite;
}

.secondary-action .btn-bg {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6d28d9 100%);
    border: 2px solid rgba(139, 92, 246, 0.4);
    background-size: 300% 300%;
    animation: purpleFlow 4s ease-in-out infinite;
}

.btn-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    color: var(--text-white) !important;
    transition: all 0.3s ease;
    pointer-events: none;
}

.btn-content i,
.btn-content span {
    color: var(--text-white) !important;
    z-index: 3;
    position: relative;
}

.btn-arrow {
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.action-btn:hover .btn-arrow {
    opacity: 1;
    transform: translateX(0);
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.08) rotateZ(-1deg);
    text-decoration: none;
    color: var(--text-white);
}

.primary-action:hover {
    transform: translateY(-5px) scale(1.08) rotateZ(-1deg);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.5);
}

.primary-action:hover .btn-bg {
    background: linear-gradient(135deg, #34d399 0%, #10b981 50%, #059669 100%);
    animation: emeraldExplosion 1s ease-out;
}

.secondary-action:hover {
    transform: translateY(-5px) scale(1.08) rotateZ(1deg);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.5);
}

.secondary-action:hover .btn-bg {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 50%, #7c3aed 100%);
    animation: purpleExplosion 1s ease-out;
}

.btn-ripple {
    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: all 0.6s ease;
}

.action-btn:active .btn-ripple {
    width: 300px;
    height: 300px;
}

.hot-label {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ff4757, #ff3742);
    color: white;
    font-size: 0.6rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 900;
    letter-spacing: 0.5px;
    z-index: 10;
    animation: hotFloat 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

.btn-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 28px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.primary-action .btn-glow {
    background: linear-gradient(135deg, #10b981, #059669);
}

.secondary-action .btn-glow {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.primary-action:hover .btn-glow {
    opacity: 0.8;
    animation: emeraldGlow 1.5s ease-in-out infinite;
}

.secondary-action:hover .btn-glow {
    opacity: 0.8;
    animation: purpleGlow 1.5s ease-in-out infinite;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease;
}

.primary-action .btn-shine {
    background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.6), transparent);
}

.secondary-action .btn-shine {
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.6), transparent);
}

.primary-action:hover .btn-shine,
.secondary-action:hover .btn-shine {
    left: 100%;
}

/* PHONE PREVIEW */
.hero-phone-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.phone-mockup {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    max-height: calc(100vh - 120px);
}

.phone-container {
    width: 500px;
    height: 900px;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d2d5a 100%);
    border-radius: 60px;
    padding: 30px;
    position: relative;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.4),
        0 0 0 12px rgba(255, 255, 255, 0.1),
        inset 0 2px 6px rgba(255, 255, 255, 0.1);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: phoneFloat 6s ease-in-out infinite;
    overflow: hidden;
    max-height: calc(100vh - 160px);
}

.phone-container:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 32px;
    padding: 25px 20px;
    position: relative;
    overflow: hidden;
}

/* STATUS BAR */
.status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #1a1a1a;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* PROFILE HEADER */
.profile-header {
    text-align: center;
    margin-bottom: 25px;
}

.profile-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.avatar-img {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 900;
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
    overflow: hidden;
    position: relative;
}

.avatar-favicon {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    background: rgba(255, 255, 255, 1);
    padding: 6px;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.avatar-img:hover .avatar-favicon {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 1);
}

.avatar-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 3px solid rgba(102, 126, 234, 0.3);
    border-radius: 50%;
    animation: avatarPulse 3s ease-in-out infinite;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.profile-username {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* LINKS GRID */
.links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.link-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.link-item:hover::before {
    left: 100%;
}

.link-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
}

.link-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.link-item:hover .link-icon {
    transform: scale(1.1) rotateY(180deg);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.link-text {
    font-size: 0.6rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.2;
    transition: all 0.3s ease;
}

.link-item:hover .link-text {
    color: #0f172a;
    transform: scale(1.05);
}

/* LINK ICON GRADIENTS */
.contact-card .link-icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.phone-call .link-icon { background: linear-gradient(135deg, #10b981, #059669); }
.whatsapp .link-icon { background: linear-gradient(135deg, #25d366, #128c7e); }
.sms .link-icon { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.email .link-icon { background: linear-gradient(135deg, #ef4444, #dc2626); }
.location .link-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.share .link-icon { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.qr-code .link-icon { background: linear-gradient(135deg, #10b981, #059669); }
.instagram .link-icon { background: linear-gradient(135deg, #e1306c, #fd1d1d); }

/* FLOATING ELEMENTS AROUND PHONE */
.floating-elements {
    position: absolute;
    top: -50px;
    left: -50px;
    width: calc(100% + 100px);
    height: calc(100% + 100px);
    pointer-events: none;
    z-index: 1;
}

/* NFC CARDS FLOATING */
.nfc-card {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    animation: floatNFC 8s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.nfc-card-1 {
    top: -25px;
    right: -25px;
    animation-delay: 0s;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.nfc-card-2 {
    bottom: -25px;
    left: -25px;
    animation-delay: 3s;
    background: linear-gradient(135deg, #10b981, #059669);
}

.nfc-card-3 {
    top: 50%;
    right: -25px;
    animation-delay: 6s;
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* QR CODES FLOATING */
.qr-code-float {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatQR 10s ease-in-out infinite;
    border: 2px solid rgba(0, 0, 0, 0.1);
}

.qr-code-1 {
    top: 20%;
    left: -40px;
    animation-delay: 1s;
}

.qr-code-2 {
    bottom: 30%;
    right: -40px;
    animation-delay: 5s;
}

/* SOCIAL MEDIA ICONS FLOATING */
.social-icon {
    position: absolute;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    animation: floatSocial 12s ease-in-out infinite;
}

.social-instagram {
    background: linear-gradient(135deg, #e1306c, #fd1d1d);
    top: 10%;
    right: -50px;
    animation-delay: 2s;
}

.social-twitter {
    background: linear-gradient(135deg, #1da1f2, #0d95e8);
    bottom: 20%;
    left: -50px;
    animation-delay: 4s;
}

.social-linkedin {
    background: linear-gradient(135deg, #0077b5, #005582);
    top: 70%;
    right: -55px;
    animation-delay: 7s;
}

.social-tiktok {
    background: linear-gradient(135deg, #ff0050, #000000);
    top: 40%;
    left: -50px;
    animation-delay: 9s;
}

/* FLOATING STATS - Updated */
.float-stat {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 600;
    animation: floatStat 8s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.stat-1 {
    top: 15%;
    right: -25px;
    animation-delay: 0s;
}

.stat-2 {
    bottom: 25%;
    left: -25px;
    animation-delay: 4s;
}

/* ANIMATIONS */
@keyframes floatShape {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(50px, -30px) rotate(90deg); }
    50% { transform: translate(-30px, 50px) rotate(180deg); }
    75% { transform: translate(-50px, -20px) rotate(270deg); }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, -50px) scale(1.1); }
    50% { transform: translate(-50px, 100px) scale(0.9); }
    75% { transform: translate(-100px, -50px) scale(1.05); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
    50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

@keyframes badgeEntrance {
    0% { opacity: 0; transform: translateY(-20px) scale(0.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes statusGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

@keyframes typing {
    0% { width: 0; }
    100% { width: 100%; border-right: none; }
}

@keyframes blink {
    0%, 50% { border-color: var(--accent-color); }
    51%, 100% { border-color: transparent; }
}

@keyframes wordReveal {
    0% { opacity: 0; transform: translateY(50px) rotateX(-90deg); }
    100% { opacity: 1; transform: translateY(0) rotateX(0deg); }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes hotFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.1); }
}

@keyframes avatarPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@keyframes floatStat {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.8; }
    50% { transform: translateY(-15px) scale(1.05); opacity: 1; }
}

@keyframes mobileItemSlide {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1.02); }
}

@keyframes headerGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(102, 126, 234, 0); }
    50% { box-shadow: 0 0 30px rgba(102, 126, 234, 0.1); }
}

/* ENHANCED LOGO ANIMATIONS */
@keyframes logoLevitate {
    0% { 
        transform: translateY(0) rotateZ(0deg) scale(1);
    }
    25% { 
        transform: translateY(-15px) rotateZ(3deg) scale(1.05);
    }
    50% { 
        transform: translateY(-8px) rotateZ(0deg) scale(1.02);
    }
    75% { 
        transform: translateY(-20px) rotateZ(-3deg) scale(1.08);
    }
    100% { 
        transform: translateY(0) rotateZ(0deg) scale(1);
    }
}

@keyframes logoGlow {
    0% { 
        filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
        transform: rotateX(0deg);
    }
    25% { 
        filter: brightness(0) invert(1) drop-shadow(0 0 40px rgba(102, 126, 234, 0.8));
        transform: rotateX(10deg);
    }
    50% { 
        filter: brightness(0) invert(1) drop-shadow(0 0 50px rgba(118, 75, 162, 0.9));
        transform: rotateX(0deg);
    }
    75% { 
        filter: brightness(0) invert(1) drop-shadow(0 0 45px rgba(254, 202, 87, 0.7));
        transform: rotateX(-10deg);
    }
    100% { 
        filter: brightness(0) invert(1) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
        transform: rotateX(0deg);
    }
}

@keyframes glowPulse {
    0% { 
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 0.4;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    }
    33% { 
        transform: translate(-50%, -50%) scale(1.3) rotate(120deg);
        opacity: 0.8;
        background: radial-gradient(circle, rgba(118, 75, 162, 0.6) 0%, transparent 70%);
    }
    66% { 
        transform: translate(-50%, -50%) scale(0.8) rotate(240deg);
        opacity: 0.6;
        background: radial-gradient(circle, rgba(254, 202, 87, 0.5) 0%, transparent 70%);
    }
    100% { 
        transform: translate(-50%, -50%) scale(1) rotate(360deg);
        opacity: 0.4;
        background: radial-gradient(circle, rgba(102, 126, 234, 0.4) 0%, transparent 70%);
    }
}

@keyframes particleOrbit {
    0% { 
        transform: rotate(0deg) translateX(80px) rotate(0deg) scale(1);
        opacity: 0;
        background: linear-gradient(45deg, #667eea, #764ba2);
    }
    15% {
        opacity: 1;
        background: linear-gradient(45deg, #10b981, #059669);
    }
    30% {
        background: linear-gradient(45deg, #8b5cf6, #7c3aed);
        transform: rotate(90deg) translateX(85px) rotate(-90deg) scale(1.3);
    }
    45% {
        background: linear-gradient(45deg, #feca57, #ff9ff3);
    }
    60% {
        background: linear-gradient(45deg, #ff6b6b, #ee5a24);
        transform: rotate(180deg) translateX(90px) rotate(-180deg) scale(0.8);
    }
    75% {
        background: linear-gradient(45deg, #48dbfb, #0abde3);
    }
    90% {
        opacity: 1;
        background: linear-gradient(45deg, #764ba2, #667eea);
    }
    100% { 
        transform: rotate(360deg) translateX(80px) rotate(-360deg) scale(1);
        opacity: 0;
        background: linear-gradient(45deg, #667eea, #764ba2);
    }
}

/* RESPONSIVE DESIGN - Fixed Modal */
@media (max-width: 1200px) {
    .hero-content-grid {
        gap: 3rem;
    }
    
    .phone-container {
        width: 450px;
        height: 800px;
        max-height: calc(100vh - 140px);
    }
    
    .register-popup .popup-container {
        width: 80vw;
        max-width: 850px;
        height: 80vh;
        max-height: 80vh;
    }
    
    .register-popup .popup-content {
        max-height: calc(80vh - 120px);
    }
}

@media (max-width: 1024px) {
    .header-container {
        padding: 0 1.5rem;
    }
    
    .nav-item {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
        gap: 0.5rem;
    }
    
    .register-popup .popup-container {
        width: 85vw;
        max-width: 800px;
        height: 85vh;
        max-height: 85vh;
    }
    
    .register-popup .popup-content {
        max-height: calc(85vh - 120px);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
}

@media (max-width: 968px) {
    .hero-content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-phone-preview {
        order: 1;
    }

    .phone-container {
        width: 380px;
        height: 720px;
        max-height: calc(100vh - 120px);
        transform: scale(0.9);
    }

    .hero-actions {
        justify-content: center;
        gap: 1rem;
    }

    .action-btn {
        min-width: 140px;
        height: 45px;
        font-size: 0.85rem;
    }

    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .minimal-header {
        height: 80px;
    }

    .minimal-header .header-container {
        padding-bottom: 10px;
        align-items: flex-end;
    }

    .logo-image {
        height: 45px;
    }

    .hero-fullscreen {
        padding-top: 80px;
    }
    
    .register-popup .popup-container {
        width: 90vw;
        max-width: 700px;
        height: 90vh;
        max-height: 90vh;
    }
    
    .register-popup .popup-content {
        max-height: calc(90vh - 120px);
    }
    
    .step-content {
        padding: 0.2rem 0.6rem 0.1rem;
    }
    
    .form-grid {
        gap: 0.25rem;
    }
    
    .form-group {
        min-height: 55px;
    }
    
    .form-input {
        height: 30px;
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
}

    .hero-container {
        height: calc(100vh - 80px);
        padding: 0 1.5rem;
    }

    .hero-content-grid {
        gap: 1.5rem;
    }

    .hero-phone-preview {
        display: flex;
    }

    .phone-container {
        display: block;
        width: 350px;
        height: 700px;
        transform: scale(0.8);
    }

    .links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.8rem;
    }

    .link-item {
        padding: 0.8rem;
    }

    .link-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .link-text {
        font-size: 0.8rem;
    }

    .floating-elements {
        display: none;
    }

    .hero-main-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
        margin-bottom: 1rem;
    }

    .hero-description {
        margin-bottom: 1.5rem;
    }

    .main-desc {
        font-size: 1rem;
        line-height: 1.5;
    }

    .logo-glow {
        width: 90px;
        height: 90px;
    }

    .logo-particles {
        display: none;
    }
}

@media (max-width: 640px) {
    body.single-page-layout {
        height: 100vh;
        max-height: 100vh;
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    .minimal-header {
        height: 70px;
    }

    .minimal-header .header-container {
        padding: 0 1rem;
        padding-bottom: 8px;
        align-items: flex-end;
    }

    .logo-image {
        height: 35px;
    }

    .hero-fullscreen {
        padding-top: 70px;
    }

    .hero-container {
        height: calc(100vh - 70px);
        padding: 0 1rem;
    }

    .hero-main-title {
        font-size: clamp(1.5rem, 7vw, 2.2rem);
        margin-bottom: 0.8rem;
    }

    .hero-description {
        margin-bottom: 1rem;
    }

    .main-desc {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .title-row {
        flex-wrap: wrap;
    }

    .phone-container {
        transform: scale(0.6);
    }

    .links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
    }

    .link-item {
        padding: 0.6rem;
    }

    .link-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .link-text {
        font-size: 0.75rem;
    }

    .floating-elements {
        display: none;
    }

    .hero-actions {
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .action-btn {
        min-width: 130px;
        height: 42px;
        font-size: 0.8rem;
    }

    .logo-glow {
        width: 70px;
        height: 70px;
    }

    .logo-particles {
        display: none;
    }

    .hero-copyright {
        margin-top: 0.5rem;
    }
}

@media (max-width: 480px) {
    .minimal-header {
        height: 45px;
    }

    .minimal-header .header-container {
        padding: 0 0.5rem;
    }

    .logo-image {
        height: 30px;
    }

    .hero-fullscreen {
        padding-top: 45px;
    }

    .hero-main-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
        margin-bottom: 0.6rem;
    }

    .hero-description {
        margin-bottom: 0.8rem;
    }

    .main-desc {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .phone-container {
        transform: scale(0.5);
    }

    .action-btn {
        min-width: 120px;
        height: 40px;
        font-size: 0.75rem;
    }

    .hero-actions {
        gap: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .logo-glow {
        width: 60px;
        height: 60px;
    }

    .logo-particles {
        display: none;
    }

    .hero-container {
        height: calc(100vh - 45px);
        padding: 0 0.8rem;
    }
}

@media (max-width: 360px) {
    .minimal-header {
        height: 40px;
    }

    .minimal-header .header-container {
        padding: 0 0.5rem;
    }

    .logo-image {
        height: 25px;
    }

    .hero-fullscreen {
        padding-top: 40px;
    }

    .hero-main-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        margin-bottom: 0.5rem;
    }

    .hero-description {
        margin-bottom: 0.6rem;
    }

    .main-desc {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .phone-container {
        transform: scale(0.45);
    }

    .links-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .link-item {
        padding: 0.5rem;
    }

    .link-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .link-text {
        font-size: 0.7rem;
    }

    .action-btn {
        min-width: 110px;
        height: 38px;
        font-size: 0.7rem;
    }

    .hero-actions {
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }

    .logo-glow {
        width: 50px;
        height: 50px;
    }

    .logo-particles {
        display: none;
    }

    .hero-container {
        height: calc(100vh - 40px);
        padding: 0 0.6rem;
    }
}

/* ENHANCED BUTTON ANIMATIONS - Updated */
.primary-action {
    animation: emeraldFlow 3s ease-in-out infinite;
}

.primary-action:hover {
    animation: emeraldExplosion 1s ease-out;
}

.secondary-action {
    animation: purpleFlow 3s ease-in-out infinite;
}

.secondary-action:hover {
    animation: purpleExplosion 1s ease-out;
}

/* POPUP MODALS */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(15px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.popup-container {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: popupFloat 6s ease-in-out infinite;
}

.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}

.popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.popup-title {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--text-white);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    background: var(--gradient-accent);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-close {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-close:hover {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    transform: rotate(90deg) scale(1.1);
}

.popup-content {
    padding: 2rem;
}

/* CONTACT POPUP */
.contact-popup .popup-container {
    max-width: 500px;
    width: 90vw;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.contact-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.contact-value {
    font-size: 1rem;
    color: var(--text-white);
    font-weight: 600;
}

.contact-actions {
    display: flex;
    gap: 1rem;
}

.contact-btn {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.phone-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.phone-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: white;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.email-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.contact-btn {
    flex: 1;
    padding: 1rem;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.phone-btn {
    background: linear-gradient(135deg, #10b981, #059669);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-decoration: none;
    color: white;
}

/* LOGIN POPUP */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    z-index: 3;
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
    position: relative;
    z-index: 1;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.input-border {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.form-input:focus + .input-border {
    width: 100%;
}

.form-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0.75rem 0 1rem 0;
    padding: 0.5rem 0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.3s ease;
    user-select: none;
}

.remember-me:hover {
    color: rgba(255, 255, 255, 0.9);
}

.remember-me input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 1.5px solid rgba(102, 126, 234, 0.4);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
    background: transparent;
    transition: all 0.3s ease;
}

.remember-me input[type="checkbox"]:hover {
    border-color: rgba(102, 126, 234, 0.6);
    background: rgba(102, 126, 234, 0.1);
}

.remember-me input[type="checkbox"]:checked {
    background: rgba(102, 126, 234, 0.8);
    border-color: rgba(102, 126, 234, 0.8);
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.remember-me input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.remember-text {
    font-size: 0.8rem;
    font-weight: 400;
}

.forgot-password {
    color: rgba(102, 126, 234, 0.7);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    transition: all 0.3s ease;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    position: relative;
}

.forgot-password:hover {
    color: rgba(102, 126, 234, 0.9);
    background: rgba(102, 126, 234, 0.1);
    text-decoration: none;
    transform: translateY(-1px);
}

.forgot-password:active {
    transform: translateY(0);
}

.login-submit-btn {
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.login-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.signup-link {
    text-align: center;
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.signup-btn {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.signup-btn:hover {
    color: #48dbfb;
    text-decoration: underline;
}

/* ENHANCED ANIMATIONS */
@keyframes gradientMove {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes slideShine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes popupFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RESPONSIVE POPUP */
@media (max-width: 640px) {
    .popup-container {
        width: 95%;
        margin: 1rem;
    }
    
    .popup-header, .popup-content {
        padding: 1.5rem;
    }
    
    .contact-actions {
        flex-direction: column;
    }
}

/*
.header-container {
    display: none;
}

.header-logo,
.header-nav,
.nav-menu,
.nav-item,
.nav-login,
.nav-icon,
.nav-text,
.mobile-menu-toggle,
.hamburger,
.mobile-menu-overlay,
.mobile-menu-content,
.mobile-nav-item {
    display: none;
}
*/

@keyframes emeraldFlow {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1.02);
    }
}

@keyframes purpleFlow {
    0%, 100% { 
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% { 
        background-position: 100% 50%;
        transform: scale(1.02);
    }
}

@keyframes emeraldExplosion {
    0% { 
        background-size: 300% 300%;
        filter: brightness(1);
    }
    50% { 
        background-size: 400% 400%;
        filter: brightness(1.2);
    }
    100% { 
        background-size: 300% 300%;
        filter: brightness(1);
    }
}

@keyframes purpleExplosion {
    0% { 
        background-size: 300% 300%;
        filter: brightness(1);
    }
    50% { 
        background-size: 400% 400%;
        filter: brightness(1.2);
    }
    100% { 
        background-size: 300% 300%;
        filter: brightness(1);
    }
}

@keyframes emeraldGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(16, 185, 129, 0.8);
        transform: scale(1.05);
    }
}

@keyframes purpleGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 40px rgba(139, 92, 246, 0.8);
        transform: scale(1.05);
    }
}

@keyframes phoneFloat {
    0%, 100% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(0); }
    50% { transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateY(-10px); }
}

/* NEW FLOATING ANIMATIONS */
@keyframes floatNFC {
    0%, 100% { 
        transform: translateY(0) rotateX(0deg) rotateY(0deg) scale(1);
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-20px) rotateX(10deg) rotateY(5deg) scale(1.1);
        opacity: 1;
    }
    50% { 
        transform: translateY(-10px) rotateX(-5deg) rotateY(-10deg) scale(1.05);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-25px) rotateX(15deg) rotateY(8deg) scale(1.15);
        opacity: 1;
    }
}

@keyframes floatQR {
    0%, 100% { 
        transform: translateY(0) rotateZ(0deg) scale(1);
        opacity: 0.7;
    }
    20% { 
        transform: translateY(-15px) rotateZ(5deg) scale(1.1);
        opacity: 1;
    }
    40% { 
        transform: translateY(-30px) rotateZ(-3deg) scale(1.05);
        opacity: 0.8;
    }
    60% { 
        transform: translateY(-20px) rotateZ(8deg) scale(1.15);
        opacity: 1;
    }
    80% { 
        transform: translateY(-35px) rotateZ(-2deg) scale(1.08);
        opacity: 0.9;
    }
}

@keyframes floatSocial {
    0%, 100% { 
        transform: translateY(0) rotateZ(0deg) scale(1);
        opacity: 0.6;
    }
    16% { 
        transform: translateY(-18px) rotateZ(10deg) scale(1.1);
        opacity: 1;
    }
    33% { 
        transform: translateY(-5px) rotateZ(-5deg) scale(1.05);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-25px) rotateZ(15deg) scale(1.15);
        opacity: 1;
    }
    66% { 
        transform: translateY(-12px) rotateZ(-8deg) scale(1.08);
        opacity: 0.9;
    }
    83% { 
        transform: translateY(-30px) rotateZ(12deg) scale(1.12);
        opacity: 1;
    }
}

/* LOGIN ERROR/SUCCESS MESSAGES - Enhanced */
.login-error, .login-success, .forgot-error, .forgot-success {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 12px;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0;
    transform: translateY(-10px);
}

.login-error, .forgot-error {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ff4757;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
}

.login-success, .forgot-success {
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid rgba(34, 197, 94, 0.4);
    color: #2ed573;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
}

/* INPUT GROUP STATES - New */
.input-group {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.input-group.error {
    animation: inputError 0.6s ease-in-out;
}

.input-group.error .form-input {
    background: rgba(255, 85, 85, 0.1);
    border-color: #ff5555;
    box-shadow: 0 0 0 3px rgba(255, 85, 85, 0.1);
}

.input-group.error .input-icon {
    color: #ff5555;
    animation: iconShake 0.5s ease-in-out;
}

.input-group.success {
    animation: inputSuccess 0.6s ease-in-out;
}

.input-group.success .form-input {
    background: rgba(45, 213, 115, 0.1);
    border-color: #2dd573;
    box-shadow: 0 0 0 3px rgba(45, 213, 115, 0.1);
}

.input-group.success .input-icon {
    color: #2dd573;
    animation: iconSuccess 0.5s ease-in-out;
}

/* Enhanced form input styles */
.form-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    outline: none;
    position: relative;
    z-index: 1;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
}

.form-input:focus::placeholder {
    opacity: 0.7;
    transform: translateX(5px);
}

/* Enhanced input icon */
.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    z-index: 3;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.input-group:hover .input-icon {
    color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
}

/* Login submit button enhancements */
.login-submit-btn {
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 15px;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.login-submit-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5a6fd8, #6b4190);
}

.login-submit-btn:active {
    transform: translateY(-1px);
}

.login-submit-btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none;
}

.login-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.8s ease;
}

.login-submit-btn:hover::before {
    left: 100%;
}

/* Loader styles */
.btn-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-text {
    transition: opacity 0.3s ease;
}

/* Enhanced checkbox styles */
.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-container:hover {
    color: var(--primary-color);
}

.checkbox-container input {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.checkbox-container input:hover {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.checkbox-container input:checked {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.checkbox-container input:checked::after {
    content: '✓';
    position: absolute;
    top: -3px;
    left: 1px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    animation: checkboxCheck 0.3s ease-out;
}

/* NEW ANIMATIONS */
@keyframes inputError {
    0% { 
        transform: translateX(0);
    }
    10% { 
        transform: translateX(-8px);
        background: rgba(255, 71, 87, 0.1);
    }
    20% { 
        transform: translateX(8px);
    }
    30% { 
        transform: translateX(-5px);
    }
    40% { 
        transform: translateX(5px);
    }
    50% { 
        transform: translateX(-2px);
    }
    60% { 
        transform: translateX(2px);
    }
    100% { 
        transform: translateX(0);
    }
}

@keyframes inputSuccess {
    0% { 
        transform: scale(1);
    }
    50% { 
        transform: scale(1.02);
        background: rgba(46, 213, 115, 0.15);
    }
    100% { 
        transform: scale(1);
    }
}

@keyframes iconShake {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    25% { transform: translateY(-50%) rotate(-5deg) scale(1.1); }
    75% { transform: translateY(-50%) rotate(5deg) scale(1.1); }
}

@keyframes iconSuccess {
    0% { 
        transform: translateY(-50%) scale(1);
        color: rgba(255, 255, 255, 0.6);
    }
    50% { 
        transform: translateY(-50%) scale(1.3);
        color: #2ed573;
    }
    100% { 
        transform: translateY(-50%) scale(1.1);
        color: #2ed573;
    }
}

@keyframes errorPulse {
    0% { 
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(239, 68, 68, 0.4);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.2);
        transform: scale(1);
    }
}

@keyframes successGlow {
    0% { 
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 15px 40px rgba(34, 197, 94, 0.5);
        transform: scale(1.02);
    }
    100% { 
        box-shadow: 0 8px 25px rgba(34, 197, 94, 0.2);
        transform: scale(1);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

@keyframes checkboxCheck {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Popup container enhancements */
.popup-container {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 25px;
    max-width: 480px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: popupFloat 6s ease-in-out infinite;
    position: relative;
}

.popup-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    border-radius: 25px 25px 0 0;
    opacity: 0.8;
}

/* FORGOT PASSWORD POPUP */
.forgot-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    text-align: center;
}

.back-to-login {
    text-align: center;
    margin-top: 1.5rem;
}

.back-to-login a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-to-login a:hover {
    color: #48dbfb;
    text-decoration: underline;
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* LOGOUT SUCCESS POPUP */
.logout-success-popup {
    max-width: 420px;
}

.logout-success-content {
    text-align: center;
    padding: 1rem 0;
}

.logout-icon {
    margin-bottom: 1.5rem;
    font-size: 4rem;
    color: #2ed573;
    animation: logoutPulse 2s ease-in-out infinite;
}

.logout-success-content h4 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #2ed573, #20bf6b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logout-success-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.logout-countdown {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logout-countdown span {
    color: #2ed573;
    font-weight: 700;
    font-size: 1.1rem;
}

@keyframes logoutPulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.8; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 1; 
    }
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* COPYRIGHT SECTION */
.hero-copyright {
    margin-top: 1rem;
    text-align: left;
    opacity: 0.8;
}

.copyright-text {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.powered-by {
    font-size: 0.7rem;
}

.powered-by a {
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.powered-by a:hover {
    transform: translateY(-1px);
    filter: brightness(1.2);
}

.powered-by a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffb300, #ff8f00);
    transition: width 0.3s ease;
}

.powered-by a:hover::after {
    width: 100%;
}

/* Responsive adjustments for copyright */
@media (max-width: 768px) {
    .hero-copyright {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .copyright-text {
        font-size: 0.75rem;
    }
    
    .powered-by {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-copyright {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
    
    .copyright-text {
        font-size: 0.7rem;
    }
    
    .powered-by {
        font-size: 0.65rem;
    }
}

/* ========================================
   MODERN REGISTER MODAL DESIGN
   ======================================== */

/* Step Content - Optimized for Better Fit */
.step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem 1.25rem 0.5rem;
    min-height: 0;
    max-height: 100%;
    position: relative;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.4rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    flex-shrink: 0;
    line-height: 1.2;
}

.step-description {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex-shrink: 0;
}

.form-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    min-height: 0;
    max-height: calc(100% - 120px);
}

.form-group {
    min-height: 75px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.form-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.4rem;
    font-weight: 500;
    flex-shrink: 0;
}

.form-input {
    padding: 0.7rem 0.9rem;
    height: 42px;
    font-size: 0.85rem;
    border-radius: 9px;
    border: 2px solid rgba(102, 126, 234, 0.2);
    background: rgba(102, 126, 234, 0.05);
    color: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.input-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
    line-height: 1.2;
    flex-shrink: 0;
}

.step-actions {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    min-height: 55px;
    margin-top: auto;
}

.btn-next, .btn-prev, .btn-submit {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    min-height: 42px;
    border-radius: 9px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

/* Modal Container - Optimized Size */
.register-popup .popup-container {
    max-width: 950px;
    width: 85vw;
    max-height: 85vh;
    height: 85vh;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 62, 0.95) 100%);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 
        0 32px 64px -12px rgba(102, 126, 234, 0.4),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(102, 126, 234, 0.2);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.register-popup .popup-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    background: rgba(102, 126, 234, 0.03);
    min-height: 0;
    max-height: calc(85vh - 120px);
    position: relative;
}

/* Header Size - Restored */
.register-popup .popup-header {
    padding: 1rem 1.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 62, 0.95) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    flex-shrink: 0;
}

.header-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    margin-right: 1rem;
    animation: iconShimmer 2s ease-in-out infinite;
    overflow: hidden;
}

.popup-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.25rem 0 0 0;
    line-height: 1.3;
}

/* Header Size Optimization */
.register-popup .popup-header {
    padding: 0.75rem 1.5rem 0.5rem;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 62, 0.95) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    flex-shrink: 0;
}

.header-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.popup-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0.25rem 0 0 0;
    line-height: 1.3;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) translateY(0);
    }
}

/* Header Design */
.register-popup .popup-header {
    padding: 0.75rem 1.25rem 0.5rem;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 62, 0.95) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    backdrop-filter: blur(20px);
}

.register-popup .popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.header-content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    gap: 1rem;
}

.header-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
}

.header-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.header-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(102, 126, 234, 0.3) 50%, transparent 70%);
    animation: iconShimmer 2s infinite;
}

@keyframes iconShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.header-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.popup-title {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #667eea 50%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
}

.popup-subtitle {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
    line-height: 1.3;
}

.close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.close-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    color: white;
    transform: scale(1.05);
}

/* Popup Content - Fixed Layout */
.register-popup .popup-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
    background: rgba(102, 126, 234, 0.03);
    min-height: 0;
    max-height: calc(95vh - 120px);
}

/* Form Steps - Optimized Layout */
.form-step {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    margin: 0;
}

.form-step.active {
    display: flex;
}

.form-step .step-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem 1.25rem 0.5rem;
    min-height: 0;
    max-height: 100%;
    position: relative;
}

.form-step .form-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    overflow: hidden;
    min-height: 0;
    max-height: calc(100% - 120px);
}

.form-step .form-group {
    min-height: 75px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.form-step .step-actions {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.75rem;
    min-height: 55px;
    margin-top: auto;
}

/* Progress Indicator - Restored */
.form-progress {
    padding: 0.75rem 1.5rem 1rem;
    background: rgba(102, 126, 234, 0.05);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.progress-bar {
    height: 4px;
    background: rgba(102, 126, 234, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.step-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    flex-shrink: 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    width: 33.33%;
    transition: width 0.5s ease;
    position: relative;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    flex: 1;
    position: relative;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.step-label {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    font-weight: 500;
    line-height: 1.1;
}

.step.active .step-label {
    color: #667eea;
    font-weight: 600;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0.4;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
}

.step.active {
    opacity: 1;
}

.step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.step.active .step-number {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.4);
    transform: scale(1.1);
}

.step-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.step.active .step-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* Form Steps */
.form-step {
    display: none;
    padding: 0.125rem 0;
    flex: 1;
    overflow: hidden;
    max-width: 100%;
}

.form-step.active {
    display: flex;
    flex-direction: column;
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Step Content Layout - Compact */
.step-content {
    max-width: 100%;
    margin: 0;
    padding: 0.75rem 1.25rem 0.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.375rem;
    padding-bottom: 0.375rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    flex-shrink: 0;
}

.step-title i {
    color: #667eea;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.step-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
    flex-shrink: 0;
}

/* Form Grid - Compact */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex: 1;
    padding: 0;
    max-width: 100%;
    min-height: 0;
    align-content: start;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-height: 85px;
    position: relative;
    flex-shrink: 0;
}

/* Form Label - Compact */
.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.375rem;
    flex-shrink: 0;
}

.form-label i {
    color: #667eea;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* Form Input - Compact */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 0.85rem;
    height: 40px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Input Hint - Compact */
.input-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Form Grid - Improved Layout */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    flex: 1;
    padding: 0;
    max-width: 100%;
    min-height: 0;
    align-content: start;
}

.form-group {
    display: flex;
    flex-direction: column;
    min-height: 95px;
    position: relative;
    flex-shrink: 0;
}

/* Form Label */
.form-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.375rem;
    font-size: 0.85rem;
    padding: 0.125rem 0;
}

.form-label i {
    color: #667eea;
    font-size: 0.85rem;
    width: 16px;
    text-align: center;
}

.required {
    color: #ff4757;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Input Wrapper */
.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Form Input */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-white);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 42px;
    font-weight: 400;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.form-input:valid {
    border-color: rgba(46, 213, 115, 0.3);
    background: rgba(46, 213, 115, 0.05);
}

/* Input Validation */
.input-validation {
    position: absolute;
    right: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.form-input:valid + .input-validation {
    opacity: 1;
}

/* Input Validation Icons - Blue-Purple Theme */
.validation-icon {
    color: rgba(102, 126, 234, 0.6);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-input:valid + .input-validation .validation-icon {
    color: #667eea;
}

.form-input:invalid:not(:placeholder-shown) + .input-validation .validation-icon {
    color: #ff4757;
}

/* Form Input Border Colors - Blue-Purple Theme */
.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    border-radius: 12px;
    color: white;
    font-size: 0.9rem;
    height: 44px;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.15);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

/* Select Dropdown - Fixed Colors for Visibility */
select.form-input {
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    color: white;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(102,126,234,0.8)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
}

select.form-input:focus {
    background: rgba(102, 126, 234, 0.15);
    border-color: #667eea;
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

select.form-input option {
    background: #1a1a3e !important;
    color: white !important;
    padding: 0.75rem;
    border: none;
    font-size: 0.9rem;
}

select.form-input option:hover {
    background: rgba(102, 126, 234, 0.3) !important;
    color: white !important;
}

select.form-input option:checked {
    background: #667eea !important;
    color: white !important;
}

select.form-input option:focus {
    background: rgba(102, 126, 234, 0.3) !important;
    color: white !important;
}

/* Password Toggle - Enhanced Visibility and Functionality */
.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 2;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.3);
    border-color: #667eea;
    transform: translateY(-50%) scale(1.05);
}

.password-toggle:active {
    transform: translateY(-50%) scale(0.95);
}

.password-toggle i {
    transition: all 0.3s ease;
}

.password-toggle.active i {
    color: #667eea;
}

/* Password Input with Toggle */
.form-group:has(.password-toggle) .form-input {
    padding-right: 3.5rem;
}

/* Step 3 Font Sizes - Ultra Compact */
.form-step[data-step="3"] .step-title {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    padding-bottom: 0.25rem;
}

.form-step[data-step="3"] .step-title i {
    font-size: 0.85rem;
}

.form-step[data-step="3"] .step-description {
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.form-step[data-step="3"] .form-label {
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.form-step[data-step="3"] .form-label i {
    font-size: 0.75rem;
}

.form-step[data-step="3"] .form-input {
    font-size: 0.8rem;
    height: 36px;
    padding: 0.6rem 0.75rem;
}

.form-step[data-step="3"] .input-hint {
    font-size: 0.65rem;
    margin-top: 0.15rem;
    line-height: 1.1;
}

.form-step[data-step="3"] .form-group {
    min-height: 70px;
}

.form-step[data-step="3"] .form-grid {
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.form-step[data-step="3"] .checkbox-label {
    font-size: 0.75rem;
    line-height: 1.2;
}

.form-step[data-step="3"] .checkbox-item {
    padding: 0.375rem;
    gap: 0.375rem;
}

.form-step[data-step="3"] .checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.form-step[data-step="3"] .checkbox-item input[type="checkbox"]:checked::after {
    font-size: 9px;
}

.form-step[data-step="3"] .terms-section {
    margin-top: 0.75rem;
    padding-top: 0.5rem;
}

.form-step[data-step="3"] .step-actions {
    padding-top: 0.5rem;
    min-height: 45px;
}

.form-step[data-step="3"] .btn-next, 
.form-step[data-step="3"] .btn-prev, 
.form-step[data-step="3"] .btn-submit {
    padding: 0.6rem 1.25rem;
    font-size: 0.8rem;
    min-height: 36px;
}

/* Step 3 Layout Improvements */
.form-step[data-step="3"] .form-grid {
    margin-bottom: 1rem;
}

.form-step[data-step="3"] .terms-section {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

.form-step[data-step="3"] .step-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

/* Step 3 Input Validation Icons */
.form-step[data-step="3"] .validation-icon {
    color: rgba(102, 126, 234, 0.6);
    transition: all 0.3s ease;
}

.form-step[data-step="3"] .form-input:valid + .input-validation .validation-icon {
    color: #2ed573;
}

.form-step[data-step="3"] .form-input:invalid:not(:placeholder-shown) + .input-validation .validation-icon {
    color: #ff4757;
}

/* Step 3 Enhanced Focus States */
.form-step[data-step="3"] .form-input:focus {
    transform: translateY(-1px);
    box-shadow: 
        0 0 20px rgba(102, 126, 234, 0.3),
        0 4px 15px rgba(102, 126, 234, 0.1);
}

/* Step 3 Button Enhancements */
.form-step[data-step="3"] .btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.form-step[data-step="3"] .btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.form-step[data-step="3"] .btn-submit:hover::before {
    left: 100%;
}

.form-step[data-step="3"] .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.checkbox-item:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-1px);
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 6px;
    background: rgba(102, 126, 234, 0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkbox-item input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.4);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-item input[type="checkbox"]:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    line-height: 1.4;
    cursor: pointer;
    flex: 1;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkbox-label a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Mini Calendar Styles */
.mini-calendar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.mini-calendar-overlay.active {
    display: flex;
    opacity: 1;
}

.mini-calendar-container {
    background: linear-gradient(145deg, rgba(15, 15, 35, 0.95) 0%, rgba(26, 26, 62, 0.95) 100%);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(20px);
    min-width: 300px;
    max-width: 350px;
    animation: calendarSlideIn 0.3s ease;
}

@keyframes calendarSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.mini-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
}

.calendar-nav-btn {
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
    color: white;
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.calendar-nav-btn:hover {
    background: rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.calendar-month-year {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.mini-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.calendar-day-header {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.5rem 0;
}

.calendar-day {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 6px;
    padding: 0.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.calendar-day.other-month {
    color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.02);
}

.calendar-day.today {
    background: rgba(102, 126, 234, 0.3);
    border-color: #667eea;
    font-weight: 600;
}

.calendar-day.selected {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    color: white;
    font-weight: 600;
}

.mini-calendar-footer {
    display: flex;
    gap: 0.5rem;
    justify-content: space-between;
}

.calendar-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

.calendar-clear {
    background: rgba(255, 107, 107, 0.2);
    color: #ff6b6b;
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.calendar-clear:hover {
    background: rgba(255, 107, 107, 0.3);
}

.calendar-today {
    background: rgba(102, 126, 234, 0.2);
    color: #667eea;
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.calendar-today:hover {
    background: rgba(102, 126, 234, 0.3);
}

.calendar-close {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.calendar-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Input Hints */
.input-hint {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.25rem;
    padding-left: 0.125rem;
    font-style: italic;
    line-height: 1.2;
    font-weight: 400;
}

/* Password Strength */
.password-strength {
    margin-top: 0.75rem;
}

.strength-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff4757, #ffa502, #2ed573);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.strength-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

/* Password Requirements - Improved Layout */
.password-requirements {
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    padding: 0.75rem;
    margin-top: 0.75rem;
    border: 1px solid rgba(102, 126, 234, 0.1);
    flex-shrink: 0;
}

.password-requirements h5 {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.password-requirements ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.requirement-item.valid {
    color: rgba(46, 213, 115, 0.8);
}

.requirement-item.valid i {
    color: rgba(46, 213, 115, 0.8);
}

.requirement-item i {
    font-size: 0.7rem;
    width: 12px;
    text-align: center;
}

.requirement-item i {
    font-size: 0.8rem;
    color: #ff4757;
}

.requirement-item.valid i {
    color: #2ed573;
}

/* Terms Section */
.terms-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
}

/* Step 4 - Compact Terms Section */
.form-step[data-step="4"] .terms-section {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    flex-shrink: 0;
}

.form-step[data-step="4"] .checkbox-group {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-shrink: 0;
}

.form-step[data-step="4"] .checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.form-step[data-step="4"] .checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 4px;
    background: rgba(102, 126, 234, 0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.form-step[data-step="4"] .checkbox-item input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    box-shadow: 0 0 8px rgba(102, 126, 234, 0.3);
}

.form-step[data-step="4"] .checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 10px;
    font-weight: bold;
}

.form-step[data-step="4"] .checkbox-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    line-height: 1.2;
    cursor: pointer;
    flex: 1;
}

.form-step[data-step="4"] .checkbox-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-step[data-step="4"] .checkbox-label a:hover {
    color: #764ba2;
    text-decoration: underline;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(102, 126, 234, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    flex-shrink: 0;
}

.checkbox-item:hover {
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.15);
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 5px;
    background: rgba(102, 126, 234, 0.1);
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkbox-item input[type="checkbox"]:checked {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-item input[type="checkbox"]:hover {
    border-color: #667eea;
    transform: scale(1.05);
}

.checkbox-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.3;
    cursor: pointer;
    flex: 1;
}

.checkbox-label a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.checkbox-label a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Terms Section - Compact */
.terms-section {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
}

/* Step Actions - Compact */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.75rem;
    flex-shrink: 0;
    min-height: 50px;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    color: var(--text-white);
    font-size: 0.9rem;
    line-height: 1.4;
}

.checkbox-text a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.checkbox-text a:hover {
    color: #ff9ff3;
    text-decoration: underline;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    padding-top: 0.75rem;
    flex-shrink: 0;
}

.btn-next, .btn-prev, .btn-submit {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-next, .btn-submit {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    margin-left: auto;
}

.btn-prev {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-next:hover, .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-prev:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, #2ed573, #7bed9f);
}

.btn-submit:hover {
    box-shadow: 0 10px 25px rgba(46, 213, 115, 0.4);
}

/* Button Loader */
.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
}

.btn-submit.loading .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-loader {
    display: flex;
}

.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error and Success Messages */
.register-error, .register-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin: 1rem 0;
    font-weight: 500;
}

.register-error {
    background: rgba(255, 71, 87, 0.1);
    border: 1px solid rgba(255, 71, 87, 0.3);
    color: #ff4757;
}

.register-success {
    background: rgba(46, 213, 115, 0.1);
    border: 1px solid rgba(46, 213, 115, 0.3);
    color: #2ed573;
}

/* Footer */
.register-footer {
    padding: 0.375rem 1.25rem 0.5rem;
    border-top: 1px solid rgba(102, 126, 234, 0.2);
    background: rgba(102, 126, 234, 0.05);
    flex-shrink: 0;
}

.register-footer p {
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0;
    font-size: 0.8rem;
}

.register-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.register-footer a:hover {
    color: #764ba2;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .register-popup .popup-container {
        max-width: 1000px;
        width: 85vw;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .register-popup .popup-container {
        max-width: 900px;
        width: 80vw;
    }
    
    .form-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.875rem;
    }
}

@media (max-width: 768px) {
    .register-popup .popup-container {
        width: 95vw;
        height: 95vh;
        max-height: 95vh;
        border-radius: 15px;
    }
    
    .register-popup .popup-content {
        max-height: calc(95vh - 100px);
    }
    
    .popup-header {
        padding: 0.5rem 1rem 0.375rem;
    }
    
    .header-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .popup-title {
        font-size: 1.1rem;
    }
    
    .popup-subtitle {
        font-size: 0.7rem;
    }
    
    .form-progress {
        padding: 0.375rem 1rem 0.5rem;
    }
    
    .step-content {
        padding: 0.75rem 1rem 0.375rem;
    }
    
    .step-title {
        font-size: 0.85rem;
        margin-bottom: 0.2rem;
        padding-bottom: 0.2rem;
    }
    
    .step-description {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group {
        min-height: 80px;
    }
    
    .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .form-input {
        padding: 0.75rem 1rem;
        height: 40px;
        font-size: 0.9rem;
    }
    
    .input-hint {
        font-size: 0.7rem;
        margin-top: 0.25rem;
    }
    
    .step-actions {
        padding-top: 0.5rem;
        gap: 0.75rem;
        flex-direction: column;
    }
    
    .btn-next, .btn-prev, .btn-submit {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
    
    .password-requirements {
        padding: 0.5rem;
        margin-top: 0.5rem;
    }
    
    .password-requirements h5 {
        font-size: 0.75rem;
        margin-bottom: 0.375rem;
    }
    
    .requirement-item {
        font-size: 0.7rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .progress-steps {
        gap: 0.5rem;
    }
    
    .step-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .register-popup .popup-container {
        width: 100vw;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .popup-header {
        padding: 1rem;
    }
    
    .form-progress {
        padding: 1rem;
    }
    
    .form-step {
        padding: 1rem;
    }
    
    .register-footer {
        padding: 1rem;
    }
}