/* =================================
   Timee - Coming Soon Page Styles
   Brand: Purple (#8B5CF6) to Pink (#EC4899)
   ================================= */

:root {
    /* Brand Colors - Purple to Pink Gradient */
    --primary: #8B5CF6;
    --primary-light: #A855F7;
    --primary-pink: #EC4899;
    --primary-dark: #7C3AED;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --pink-glow: rgba(236, 72, 153, 0.3);

    /* Neutral Colors - Dark Theme */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --gray-950: #0A0A0F;

    /* Background */
    --bg-dark: #0D0D12;
    --bg-card: rgba(255, 255, 255, 0.03);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1100px;
    --container-padding: 24px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =================================
   Reset & Base Styles
   ================================= */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--bg-dark);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* =================================
   Background Animation
   ================================= */

.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.6;
    animation: pulse 8s ease-in-out infinite;
}

.orb-1 {
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    top: 0;
    left: 25%;
    transform: translateY(-50%);
}

.orb-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(219, 39, 119, 0.1) 0%, transparent 70%);
    bottom: 0;
    right: 25%;
    transform: translateY(50%);
    animation: pulse-bottom 10s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.4;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translateY(-50%) scale(1.05);
    }
}

@keyframes pulse-bottom {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(50%) scale(1);
    }

    50% {
        opacity: 0.5;
        transform: translateY(50%) scale(1.1);
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(40px, -40px) scale(1.05);
    }

    50% {
        transform: translate(-30px, 30px) scale(0.95);
    }

    75% {
        transform: translate(-40px, -30px) scale(1.02);
    }
}

.grid-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.6;
}

/* Floating Particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary), var(--primary-pink));
    border-radius: 50%;
    opacity: 0;
    animation: particleFall 12s linear infinite;
}

@keyframes particleFall {
    0% {
        opacity: 0;
        transform: translateY(-5vh) scale(0.3);
    }

    15% {
        opacity: 0.6;
    }

    85% {
        opacity: 0.6;
    }

    100% {
        opacity: 0;
        transform: translateY(102vh) scale(1);
    }
}

/* =================================
   Main Container
   ================================= */

/* =================================
   Main Container
   ================================= */

.main-container {
    position: relative;
    width: 100%;
    z-index: 10;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* =================================
   Hero Section
   ================================= */

.hero-section {
    text-align: center;
    padding: 60px var(--container-padding) 40px;
    max-width: 900px;
}

/* Hero Logo Styles */
.hero-logo-large {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
}

.logo-box-xl {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-pink) 100%);
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    box-shadow:
        0 15px 35px rgba(124, 58, 237, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.logo-box-xl::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.6), rgba(244, 114, 182, 0.6));
    border-radius: 24px;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.8;
}

.hero-logo-icon {
    width: 48px;
    height: 48px;
}

.hero-brand-name {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1;
}


.version-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #A5B4FC;
    margin-bottom: 32px;
}

.sparkle-icon {
    width: 16px;
    height: 16px;
    color: #818CF8;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.gradient-text-animate {
    background: linear-gradient(to right, #A78BFA, #F472B6, #818CF8);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray-400);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 40px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(to right, #7C3AED, #DB2777);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: scale(1.05);
    opacity: 0.95;
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

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

.zap-icon {
    width: 20px;
    height: 20px;
    color: #FACC15;
}

.arrow-icon {
    width: 20px;
    height: 20px;
}

/* =================================
   Logo Section
   ================================= */

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.logo-wrapper {
    position: relative;
    animation: logoEntrance 1s ease-out;
}

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-10deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.logo-icon {
    filter: drop-shadow(0 0 40px var(--primary-glow));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 40px var(--primary-glow));
    }

    50% {
        filter: drop-shadow(0 0 60px var(--primary-glow)) drop-shadow(0 0 30px var(--pink-glow));
    }
}

/* Stack layer animations */
.stack-layer {
    opacity: 0;
    animation: layerAppear 0.5s ease-out forwards;
}

.layer-1 {
    animation-delay: 0.3s;
}

.layer-2 {
    animation-delay: 0.5s;
}

.layer-3 {
    animation-delay: 0.7s;
}

@keyframes layerAppear {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand Name Animation */
.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    display: flex;
    gap: 2px;
}

.letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: letterReveal 0.5s ease-out forwards;
    animation-delay: calc(var(--delay) * 0.08s + 0.4s);
}

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

.brand-name .letter:hover {
    background: linear-gradient(135deg, var(--primary), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateY(-3px);
    transition: var(--transition-fast);
}

/* =================================
   Coming Soon Badge
   ================================= */

.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-light);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

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

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--primary-glow);
    }

    50% {
        transform: scale(1.2);
        box-shadow: 0 0 0 12px transparent;
    }
}

/* =================================
   Content Section
   ================================= */

/* =================================
   Showcase Mockup
   ================================= */

.showcase-section {
    width: 100%;
    max-width: 1100px;
    margin: 60px auto;
    perspective: 1000px;
}



/* =================================
   Mosaic Features
   ================================= */

.features-section-main {
    padding: 100px var(--container-padding);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .subtitle {
    color: #F472B6;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.section-title h3 {
    font-size: 3rem;
    font-weight: 800;
    margin-top: 12px;
}

.features-mosaic {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.mosaic-card {
    background: rgba(26, 26, 46, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 28px;
    padding: 36px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.mosaic-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(139, 92, 246, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.mosaic-card:hover::before {
    opacity: 1;
}

.card-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
    transition: all 0.6s ease;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(circle at top right, black, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at top right, black, transparent 70%);
}

.mosaic-card:hover .card-pattern {
    opacity: 0.1;
    transform: scale(1.1) rotate(-5deg);
}

.mosaic-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
}

.mosaic-card.span-4 {
    grid-column: span 4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mosaic-card.span-2 {
    grid-column: span 2;
}

/* Base icon style for all mosaic icons */
.mosaic-icon-violet,
.mosaic-icon-pink,
.mosaic-icon-orange,
.mosaic-icon-blue,
.mosaic-icon-emerald {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

/* Primary icon border radius (keeping it slightly softer if desired, or same) */
.mosaic-icon-violet {
    border-radius: 14px;
}

/* Colors and Glows */
.mosaic-icon-violet {
    background: rgba(139, 92, 246, 0.1);
    color: #A78BFA;
}

.mosaic-icon-pink {
    background: rgba(244, 114, 182, 0.1);
    color: #F472B6;
}

.mosaic-icon-orange {
    background: rgba(251, 146, 60, 0.1);
    color: #FB923C;
}

.mosaic-icon-blue {
    background: rgba(96, 165, 250, 0.1);
    color: #60A5FA;
}

.mosaic-icon-emerald {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
}

/* Special Moodle Theme */
.moodle-theme {
    background: rgba(249, 128, 18, 0.1) !important;
    color: #F98012 !important;
}

/* SVG Sizing standardized */
.mosaic-icon-violet svg,
.mosaic-icon-pink svg,
.mosaic-icon-orange svg,
.mosaic-icon-blue svg,
.mosaic-icon-emerald svg {
    width: 24px;
    height: 24px;
}

/* Global hover behavior */
.mosaic-card:hover .mosaic-icon-violet {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.2);
    background: rgba(139, 92, 246, 0.2);
}

.mosaic-card:hover .mosaic-icon-pink {
    transform: translateY(-3px) scale(1.05);
    background: rgba(244, 114, 182, 0.2);
}

.mosaic-card:hover .mosaic-icon-orange {
    transform: translateY(-3px) scale(1.05);
    background: rgba(251, 146, 60, 0.2);
}

.mosaic-card:hover .mosaic-icon-blue {
    transform: translateY(-3px) scale(1.05);
    background: rgba(96, 165, 250, 0.2);
}

.mosaic-card:hover .mosaic-icon-emerald {
    transform: translateY(-3px) scale(1.05);
    background: rgba(16, 185, 129, 0.2);
}

.mosaic-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.mosaic-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.mosaic-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-400);
    max-width: 100%;
    margin: 0;
}


/* =================================
   Footer Refined
   ================================= */

.footer-main {
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 80px;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--gray-500);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

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

.footer-copy {
    font-size: 0.9rem;
    color: var(--gray-600);
    opacity: 0.8;
}

/* Signup Section Polish */
.signup-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    padding: 60px;
    max-width: 900px;
    margin: 80px auto;
    text-align: center;
}

.signup-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-copy {
        text-align: center;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================
   Features Grid
   ================================= */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 800px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition-base);
    animation: cardReveal 0.6s ease-out both;
    animation-delay: calc(var(--delay) * 0.12s + 1.3s);
}

@keyframes cardReveal {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.15);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-pink) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    color: var(--white);
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* =================================
   Stats Section
   ================================= */

.stats-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 40px;
    animation: fadeInUp 0.8s ease-out 1.4s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* =================================
   Signup Section
   ================================= */

.signup-section {
    width: 100%;
    max-width: 480px;
    animation: fadeInUp 0.8s ease-out 1.6s both;
}

.signup-text {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 14px;
}

.signup-form {
    width: 100%;
}

.input-wrapper {
    display: flex;
    gap: 10px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 14px;
    padding: 6px;
    transition: var(--transition-base);
}

.input-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.email-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--white);
    font-family: inherit;
}

.email-input::placeholder {
    color: var(--gray-600);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-pink) 100%);
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-base);
    font-family: inherit;
}

.submit-btn:hover {
    transform: translateX(2px);
    box-shadow: 0 6px 24px var(--primary-glow);
}

.submit-btn:active {
    transform: scale(0.98);
}

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

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

.privacy-note {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: 10px;
}

/* =================================
   Social Section
   ================================= */

.social-section {
    display: flex;
    gap: 14px;
    animation: fadeInUp 0.8s ease-out 1.8s both;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    color: var(--gray-400);
    text-decoration: none;
    transition: var(--transition-base);
}

.social-link:hover {
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

/* =================================
   Footer
   ================================= */

.footer {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 24px var(--container-padding);
    border-top: 1px solid var(--glass-border);
    font-size: 0.8rem;
    color: var(--gray-600);
}

.footer p {
    margin: 2px 0;
}

.location {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* =================================
   Toast Notification
   ================================= */

.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-pink));
    color: var(--white);
    padding: 14px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    z-index: 100;
    opacity: 0;
    transition: all var(--transition-base);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* =================================
   Horizontal Logo Layout
   ================================= */

.logo-section.horizontal {
    flex-direction: row;
    gap: 0;
}

.logo-wrapper.horizontal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-name.horizontal {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-out 0.5s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* =================================
   Secondary Features Grid
   ================================= */

.features-grid.secondary {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 1.5s both;
}

.feature-card.compact {
    padding: 18px 16px;
}

.feature-card.compact h3 {
    font-size: 0.9rem;
}

.feature-card.compact p {
    font-size: 0.8rem;
}

.feature-icon.small {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    margin-bottom: 10px;
}

/* =================================
   More Features Section
   ================================= */

.more-features {
    width: 100%;
    max-width: 800px;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 1.7s both;
}

.more-features-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.features-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature-tag {
    display: inline-block;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.8rem;
    color: var(--gray-400);
    transition: var(--transition-base);
}

.feature-tag:hover {
    color: var(--white);
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

/* =================================
   Animated Logo
   ================================= */

.animated-logo {
    animation: logoEntrance 1s ease-out forwards;
}

.animated-logo:hover {
    animation: logoBounce 0.6s ease;
}

.logo-bg {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
}

@keyframes logoBounce {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.1);
    }

    50% {
        transform: scale(0.95);
    }

    70% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.logo-bg {
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {

    0%,
    100% {
        filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 40px rgba(236, 72, 153, 0.7)) drop-shadow(0 0 60px rgba(139, 92, 246, 0.4));
    }
}

/* Stack layer hover animations */
.animated-logo:hover .layer-1 {
    animation: layerBounce 0.6s ease 0.1s;
}

.animated-logo:hover .layer-2 {
    animation: layerBounce 0.6s ease 0.2s;
}

.animated-logo:hover .layer-3 {
    animation: layerBounce 0.6s ease 0.3s;
}

@keyframes layerBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

/* =================================
   Hero CTA Button
   ================================= */

.hero-cta {
    margin-top: 28px;
    animation: fadeInUp 0.8s ease-out 1.2s both;
}

.main-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-pink) 100%);
    color: var(--white);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 16px 32px;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.main-cta-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.5s ease;
}

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

.main-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
}

.main-cta-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-icon {
    display: flex;
    animation: ctaPulse 2s ease-in-out infinite;
}

@keyframes ctaPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.cta-arrow {
    display: flex;
    transition: transform 0.3s ease;
}

.main-cta-btn:hover .cta-arrow {
    transform: translateX(4px);
}

/* =================================
   Enhanced Signup Form
   ================================= */

.signup-section {
    width: 100%;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 1.6s both;
    scroll-margin-top: 40px;
}

.signup-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-300) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.signup-text {
    font-size: 0.95rem;
    color: var(--gray-400);
    margin-bottom: 24px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-400);
}

.form-input {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 0.95rem;
    color: var(--white);
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-600);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-select option {
    background: var(--bg-dark);
    color: var(--white);
}

.submit-btn.full-width {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1rem;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
}

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

.submit-btn.full-width:hover::before {
    left: 100%;
}

/* =================================
   Additional Animations
   ================================= */

/* Reveal animation for feature tags */
.feature-tag {
    opacity: 0;
    animation: tagReveal 0.5s ease-out forwards;
}

.feature-tag:nth-child(1) {
    animation-delay: 1.8s;
}

.feature-tag:nth-child(2) {
    animation-delay: 1.9s;
}

.feature-tag:nth-child(3) {
    animation-delay: 2.0s;
}

.feature-tag:nth-child(4) {
    animation-delay: 2.1s;
}

.feature-tag:nth-child(5) {
    animation-delay: 2.2s;
}

.feature-tag:nth-child(6) {
    animation-delay: 2.3s;
}

.feature-tag:nth-child(7) {
    animation-delay: 2.4s;
}

.feature-tag:nth-child(8) {
    animation-delay: 2.5s;
}

.feature-tag:nth-child(9) {
    animation-delay: 2.6s;
}

@keyframes tagReveal {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced card hover */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(139, 92, 246, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

/* Stat counter animation */
.stat-value {
    display: inline-block;
    animation: statPop 0.6s ease-out both;
}

.stat-item:nth-child(1) .stat-value {
    animation-delay: 1.4s;
}

.stat-item:nth-child(3) .stat-value {
    animation-delay: 1.6s;
}

.stat-item:nth-child(5) .stat-value {
    animation-delay: 1.8s;
}

@keyframes statPop {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }

    60% {
        transform: scale(1.1);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Continuous subtle animations */
.coming-soon-badge {
    animation: fadeInUp 0.8s ease-out 0.8s both, badgeGlow 3s ease-in-out infinite 1.5s;
}

@keyframes badgeGlow {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(139, 92, 246, 0);
    }

    50% {
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.3);
    }
}

/* Social link animations */
.social-link {
    animation: socialPop 0.5s ease-out both;
}

.social-section .social-link:nth-child(1) {
    animation-delay: 1.8s;
}

.social-section .social-link:nth-child(2) {
    animation-delay: 1.9s;
}

.social-section .social-link:nth-child(3) {
    animation-delay: 2.0s;
}

@keyframes socialPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gradient text shimmer */
.gradient-text {
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Loading state animation */
.submit-btn.loading {
    pointer-events: none;
}

.submit-btn.loading .btn-text {
    animation: textBlink 1s ease-in-out infinite;
}

@keyframes textBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Success animation for form */
@keyframes successPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }

    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(34, 197, 94, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    }
}

.signup-form.success {
    animation: successPulse 0.6s ease;
}

/* =================================
   Institution Input
   ================================= */

.institution-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-size: 0.95rem;
    color: var(--white);
    font-family: inherit;
    border-left: 1px solid var(--glass-border);
}

.institution-input::placeholder {
    color: var(--gray-600);
}

/* =================================
   Error Toast
   ================================= */

.toast.error {
    background: linear-gradient(135deg, #EF4444, #DC2626);
}

/* =================================
   Timee Green Theme for Logo
   ================================= */

.logo-icon circle[fill="#2B9220"] {
    filter: drop-shadow(0 0 20px rgba(43, 146, 32, 0.5));
}

/* =================================
   Responsive Design
   ================================= */

@media (max-width: 1024px) {
    .features-mosaic {
        grid-template-columns: repeat(2, 1fr);
    }

    .mosaic-card.span-4,
    .mosaic-card.span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .section-title h3 {
        font-size: 1.8rem;
    }

    .features-mosaic {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mosaic-card.span-4,
    .mosaic-card.span-2 {
        grid-column: span 1;
    }

    .mosaic-card {
        padding: 28px;
    }

    .stats-section {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .logo-box-main {
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-brand-name {
        font-size: 1.8rem;
    }

    .mosaic-content h3 {
        font-size: 1.3rem;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* =================================
   Accessibility
   ================================= */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}