/* ===== Camlio Academy - Elegant Coming Soon Theme ===== */

/* CSS Variables - Sophisticated Color Palette */
:root {
    --primary-color: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary-color: #8B5CF6;
    --accent-color: #F59E0B;
    --accent-gold: #FCD34D;
    
    --dark-bg: #0F172A;
    --darker-bg: #020617;
    --card-bg: #1E293B;
    --card-border: #334155;
    
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    
    --gradient-primary: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
    --gradient-secondary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-accent: linear-gradient(135deg, #F59E0B 0%, #FCD34D 100%);
    --gradient-dark: linear-gradient(180deg, #0F172A 0%, #020617 100%);
    --gradient-mesh: radial-gradient(circle at 30% 40%, rgba(99, 102, 241, 0.2) 0%, transparent 50%),
                     radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
                     radial-gradient(circle at 50% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.5);
    --shadow-glow-secondary: 0 0 40px rgba(139, 92, 246, 0.5);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Geometric Background */
.geometric-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: var(--gradient-dark);
    opacity: 0.6;
}

.geometric-shape {
    position: absolute;
    background: var(--gradient-primary);
    opacity: 0.08;
    animation: geometric-float 25s ease-in-out infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    bottom: 15%;
    right: 8%;
    animation-delay: 5s;
    background: var(--gradient-secondary);
}

.shape-3 {
    width: 250px;
    height: 250px;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 50%;
    right: 15%;
    animation-delay: 10s;
    background: var(--gradient-accent);
}

.shape-4 {
    width: 350px;
    height: 350px;
    border-radius: 40% 60% 60% 40% / 60% 30% 70% 40%;
    bottom: 25%;
    left: 12%;
    animation-delay: 15s;
}

.shape-5 {
    width: 200px;
    height: 200px;
    border-radius: 30% 70% 50% 50% / 50% 50% 50% 50%;
    top: 30%;
    left: 50%;
    animation-delay: 20s;
    background: var(--gradient-secondary);
}

@keyframes geometric-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(30px, -40px) rotate(120deg) scale(1.1);
    }
    66% {
        transform: translate(-20px, 30px) rotate(240deg) scale(0.9);
    }
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Academy Badge */
.academy-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    position: relative;
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.badge-icon:hover {
    transform: rotate(0deg) scale(1.05);
}

.badge-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-primary);
    border-radius: 23px;
    opacity: 0.4;
    filter: blur(15px);
    z-index: -1;
}

.badge-icon i {
    font-size: 2.8rem;
    color: white;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.badge-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-secondary);
    background: rgba(99, 102, 241, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
}

/* Main Title */
.main-title {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: clamp(3.5rem, 12vw, 7rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.title-main {
    display: block;
    color: var(--text-primary);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

.title-accent {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-top: -0.2em;
}

.title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    opacity: 0.6;
}

/* Subtitle */
.subtitle {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.9;
    max-width: 650px;
    margin: 0 auto;
    font-style: italic;
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-block;
    position: relative;
    margin: 2rem 0;
}

.badge-content {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.badge-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.badge-content:hover::before {
    opacity: 0.1;
}

.badge-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-color);
    animation: pulse-dot 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes pulse-dot {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px var(--accent-color);
    }
    50% {
        transform: scale(1.2);
        box-shadow: 0 0 25px var(--accent-color);
    }
}

.badge-text {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

/* Contact Section */
.contact-section {
    margin-top: 3rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(99, 102, 241, 0.4);
    border-radius: 16px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.15rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.contact-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.contact-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    color: white;
}

.contact-link:hover::before {
    opacity: 1;
}

.contact-link:hover::after {
    width: 300px;
    height: 300px;
}

.contact-link i {
    font-size: 1.3rem;
    transition: transform 0.4s ease;
    position: relative;
    z-index: 1;
}

.contact-link:hover i {
    transform: scale(1.2) rotate(10deg);
}

.contact-link span {
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(10px);
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    font-weight: 400;
}

/* Animations */
.animate-fade-in {
    animation: fadeIn 1.2s ease-out;
}

.animate-fade-in-delay {
    animation: fadeIn 1.2s ease-out 0.4s both;
}

.animate-fade-in-delay-2 {
    animation: fadeIn 1.2s ease-out 0.8s both;
}

.animate-fade-in-delay-3 {
    animation: fadeIn 1.2s ease-out 1.2s both;
}

.animate-slide-up {
    animation: slideUp 1.2s ease-out 0.3s both;
}

.animate-slide-up-delay {
    animation: slideUp 1.2s ease-out 0.6s both;
}

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

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

/* Responsive Design */
@media (max-width: 992px) {
    .main-title {
        font-size: clamp(3rem, 10vw, 5.5rem);
    }
    
    .badge-icon {
        width: 75px;
        height: 75px;
    }
    
    .badge-icon i {
        font-size: 2.3rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: clamp(2.5rem, 9vw, 4rem);
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .contact-link {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .badge-icon {
        width: 65px;
        height: 65px;
    }
    
    .badge-icon i {
        font-size: 2rem;
    }
    
    .geometric-shape {
        opacity: 0.05;
    }
    
    .shape-1, .shape-2, .shape-3, .shape-4, .shape-5 {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .contact-link {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1.25rem 2rem;
    }
    
    .badge-content {
        padding: 0.875rem 2rem;
    }
    
    .badge-text {
        font-size: 0.85rem;
        letter-spacing: 2px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--darker-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 6px;
    border: 2px solid var(--darker-bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Loading Animation */
body.loaded .animate-fade-in,
body.loaded .animate-slide-up,
body.loaded .animate-fade-in-delay,
body.loaded .animate-fade-in-delay-2,
body.loaded .animate-fade-in-delay-3 {
    animation-play-state: running;
}
