:root {
    --primary: #003398;
    --secondary: #183877;
    --highlight: #4C76E4;
    --soft-tint: #AFC9FF;
    --background: #F3F8FF;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-light: rgba(76, 118, 228, 0.1);
    --shadow-medium: rgba(76, 118, 228, 0.2);
    --shadow-heavy: rgba(76, 118, 228, 0.4);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: 
        radial-gradient(ellipse 50% 80% at 20% 40%, rgba(76, 118, 228, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 80% 50%, rgba(175, 201, 255, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 50% 80% at 40% 80%, rgba(0, 51, 152, 0.1) 0%, transparent 60%),
        linear-gradient(135deg, #F3F8FF 0%, rgba(175, 201, 255, 0.3) 50%, #F3F8FF 100%);
    background-size: 100% 100%;
    background-attachment: fixed;
    color: var(--primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: var(--highlight);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0);
}

.cursor.active {
    opacity: 1;
    transform: scale(1);
}

.cursor-follower {
    position: fixed;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(76, 118, 228, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0;
    transform: scale(0);
}

.cursor-follower.active {
    opacity: 1;
    transform: scale(1);
}

.cursor-hover {
    transform: scale(2);
    background: rgba(76, 118, 228, 0.5);
    mix-blend-mode: difference;
}

.cursor-follower-hover {
    transform: scale(1.5);
    border-color: var(--highlight);
}

/* Morphing background blobs */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: blob 15s infinite;
    pointer-events: none;
    opacity: 0.7;
}

.blob:nth-child(1) {
    top: 10%;
    left: 20%;
    width: 300px;
    height: 300px;
    background: linear-gradient(45deg, var(--highlight), var(--soft-tint));
    animation-delay: -5s;
}

.blob:nth-child(2) {
    top: 60%;
    right: 20%;
    width: 400px;
    height: 400px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    animation-delay: -10s;
}

.blob:nth-child(3) {
    bottom: 10%;
    left: 10%;
    width: 250px;
    height: 250px;
    background: linear-gradient(45deg, var(--soft-tint), var(--highlight));
    animation-delay: -15s;
}

@keyframes blob {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(30px, -50px) scale(1.1) rotate(90deg); }
    50% { transform: translate(-20px, 20px) scale(0.9) rotate(180deg); }
    75% { transform: translate(50px, 30px) scale(1.05) rotate(270deg); }
}

/* Floating geometric shapes */
.geometric-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    opacity: 0.1;
    animation: floatGeometric 20s infinite ease-in-out;
}

.shape-circle {
    border-radius: 50%;
    background: var(--highlight);
}

.shape-square {
    background: var(--primary);
    transform: rotate(45deg);
}

.shape-triangle {
    width: 0;
    height: 0;
    background: transparent;
    border-style: solid;
}

@keyframes floatGeometric {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(15px) rotate(240deg); }
}

/* Parallax layers */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.parallax-layer-1 { z-index: 1; }
.parallax-layer-2 { z-index: 2; }
.parallax-layer-3 { z-index: 3; }

/* Main container with smooth reveal */
.container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    opacity: 0;
    animation: containerReveal 2s cubic-bezier(0.23, 1, 0.32, 1) forwards;
    overflow-x: hidden;
}

@keyframes containerReveal {
    from { opacity: 0; transform: translateY(60px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Logo with morphing text effect */
.logo-container {
    position: relative;
    overflow: hidden;
}

.logo {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -2px;
    background: linear-gradient(135deg, var(--primary), var(--highlight), var(--secondary));
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: logoFlow 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 20px 40px rgba(76, 118, 228, 0.3));
}

.logo img {
    max-width: 300px;
}

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

/* Domain extension with subtle animation */
.domain-ext {
    font-size: 0.7em;
    opacity: 0.8;
    animation: domainPulse 4s ease-in-out infinite;
}

@keyframes domainPulse {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

/* Enhanced tagline with typewriter effect */
.tagline {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.8;
    font-weight: 400;
    position: relative;
    opacity: 0;
    animation: fadeInUp 1.5s cubic-bezier(0.23, 1, 0.32, 1) 0.8s forwards;
}

.tagline::after {
    content: '|';
    animation: blink 1s infinite;
    color: var(--highlight);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Premium coming soon section */
.hero-section {
    margin-bottom: 2rem;
    position: relative;
}

.coming-soon {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.5rem, 6vw, 3rem);
    font-weight: 700;
    /* text-transform: uppercase; */
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    margin-bottom: 1rem;
    animation: textReveal 2s cubic-bezier(0.23, 1, 0.32, 1) 1.2s both;
}

.coming-soon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background);
    animation: textRevealBg 2s cubic-bezier(0.23, 1, 0.32, 1) 1.2s both;
}

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

@keyframes textRevealBg {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--highlight);
    font-weight: 500;
    margin-bottom: 2rem;
    animation: fadeInUp 1.5s cubic-bezier(0.23, 1, 0.32, 1) 1.5s both;
    position: relative;
}

.hero-subtitle::before {
    content: '✨';
    margin-right: 10px;
    animation: sparkle 2s ease-in-out infinite;
}

.hero-subtitle::after {
    content: '🚀';
    margin-left: 10px;
    animation: rocket 3s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
}

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

/* Ultra-premium countdown */
.countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 800px;
    width: 100%;
    animation: fadeInUp 1.5s cubic-bezier(0.23, 1, 0.32, 1) 1.8s both;
}

.countdown-item {
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem 1rem;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 8px 32px var(--shadow-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.countdown-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 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.countdown-item:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(76, 118, 228, 0.4);
    box-shadow: 
        0 25px 50px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.countdown-item:hover::before {
    left: 100%;
}

.countdown-item:hover::after {
    transform: scaleX(1);
}

.countdown-number {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 200;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    position: relative;
}

.countdown-label {
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    opacity: 0.8;
    transition: all 0.4s ease;
}

.countdown-item:hover .countdown-number {
    color: var(--highlight);
    transform: scale(1.1);
    text-shadow: 0 0 30px rgba(76, 118, 228, 0.5);
}

.countdown-item:hover .countdown-label {
    opacity: 1;
    color: var(--highlight);
}

/* Sophisticated email signup */
.signup {
    margin-bottom: 2rem;
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 1.5s cubic-bezier(0.23, 1, 0.32, 1) 2.1s both;
}

.signup h3 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 600;
    position: relative;
}

.email-form {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-container {
    position: relative;
    width: 100%;
}

.email-input {
    width: 100%;
    padding: 1.5rem 2.5rem 1.5rem 2rem;
    border: 2px solid var(--glass-border);
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 60px;
    color: var(--primary);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.email-input::placeholder {
    color: var(--secondary);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--highlight);
    box-shadow: 
        0 0 0 3px rgba(76, 118, 228, 0.1),
        0 10px 40px var(--shadow-light);
    background: rgba(255, 255, 255, 0.12);
}

.email-input:focus::placeholder {
    opacity: 0.5;
    transform: translateY(-2px);
}

.submit-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    padding: 1.2rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--highlight));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
}

.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.6s ease;
}

.submit-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 15px 35px var(--shadow-heavy);
}

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

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

/* Elite social links */
.social-section {
    animation: fadeInUp 1.5s cubic-bezier(0.23, 1, 0.32, 1) 2.4s both;
}

.social-title {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 2rem;
    font-weight: 500;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.social-link {
    width: 70px;
    height: 70px;
    background: var(--glass-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 
        0 8px 32px var(--shadow-light),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--highlight), var(--soft-tint));
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link:hover {
    transform: translateY(-8px) scale(1.1);
    border-color: var(--highlight);
    box-shadow: 
        0 20px 40px var(--shadow-medium),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.social-link:hover::before {
    opacity: 0.2;
    transform: scale(1);
}

.social-link svg {
    width: 28px;
    height: 28px;
    z-index: 2;
    position: relative;
    transition: all 0.3s ease;
}

.social-link:hover svg {
    color: white;
    transform: scale(1.1);
}

/* Micro-interaction: Social link names */
.social-link::after {
    content: attr(data-social);
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    white-space: nowrap;
}

.social-link:hover::after {
    opacity: 1;
    bottom: -45px;
}

/* Success message with celebration */
.success-message {
    background: linear-gradient(135deg, var(--highlight), var(--soft-tint));
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    font-weight: 500;
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(30px) translateX(-50%) scale(0.9);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    text-align: center;
    position: absolute;
    bottom: 40px;
    left: 50%;
    overflow: hidden;
    z-index: -1;
}

.success-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: successShimmer 2s ease-in-out infinite;
}

.success-message.show {
    opacity: 1;
    z-index: 9999;
    transform: translateY(0) translateX(-50%) scale(1);
}

@keyframes successShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Footer with subtle animation */
.footer {
    position: relative;
    color: var(--secondary);
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.8;
    animation: fadeIn 1.5s cubic-bezier(0.23, 1, 0.32, 1) 2.7s both;
    letter-spacing: 0.5px;
}

/* Advanced responsive design */
@media (max-width: 768px) {
    .countdown {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .social-links {
        gap: 1rem;
    }

    .social-link {
        width: 60px;
        height: 60px;
    }

    .email-input {
        padding-right: 120px;
    }

    .submit-btn {
        position: static;
        transform: none;
        margin-top: 1rem;
        width: 100%;
    }

    .submit-btn:hover {
        transform: scale(1.02);
    }
}

@media (max-width: 480px) {
    .countdown {
        grid-template-columns: 1fr 1fr;
    }

    .countdown-item {
        padding: 2rem 1rem;
    }
}

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

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

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.3; }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --glass-bg: rgba(255, 255, 255, 0.9);
        --glass-border: rgba(0, 0, 0, 0.3);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: 
            radial-gradient(ellipse 50% 80% at 20% 40%, rgba(76, 118, 228, 0.1) 0%, transparent 60%),
            radial-gradient(ellipse 50% 80% at 80% 50%, rgba(175, 201, 255, 0.1) 0%, transparent 60%),
            linear-gradient(135deg, #0a0f1c 0%, #1a1f3a 100%);
    }
}