/* Coming Soon Page Styles - Matching Kairos Theme */

/* ==================== RESET AND BASE STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* ==================== BACKGROUND ANIMATION ==================== */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    top: 40%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.particle:nth-child(3) {
    top: 60%;
    left: 20%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    top: 80%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    top: 30%;
    left: 50%;
    animation-delay: 3s;
    animation-duration: 5s;
}

.particle:nth-child(6) {
    top: 70%;
    left: 30%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.particle:nth-child(7) {
    top: 10%;
    left: 60%;
    animation-delay: 1.5s;
    animation-duration: 7s;
}

.particle:nth-child(8) {
    top: 90%;
    left: 40%;
    animation-delay: 3.5s;
    animation-duration: 6s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.1;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-40px) translateX(-10px);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-20px) translateX(15px);
        opacity: 0.4;
    }
}

/* ==================== MAIN CONTAINER ==================== */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 1rem;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

/* ==================== LOGO SECTION ==================== */
.logo-section {
    margin-bottom: 2rem;
    animation: fadeInDown 1s ease-out;
}

.logo {
    width: 200px;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1200px;
}

.content-wrapper {
    text-align: center;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.3s both;
}

/* ==================== TITLE SECTION ==================== */
.title-section {
    margin-bottom: 4rem;
}

.main-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line:nth-child(3) {
    animation-delay: 0.3s;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 0%, #00bfff 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background: linear-gradient(135deg, #ffffff 0%, #00bfff 50%, #ffffff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    50% {
        background: linear-gradient(135deg, #00bfff 0%, #ffffff 50%, #00bfff 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #cccccc;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    animation: fadeIn 1s ease-out 0.8s both;
}

/* ==================== COUNTDOWN SECTION ==================== */
.countdown-section {
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out 1s both;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.countdown-item {
    text-align: center;
    min-width: 80px;
}

.countdown-number {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    animation: pulse 2s ease-in-out infinite;
}

.countdown-label {
    font-size: 0.9rem;
    color: #cccccc;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.countdown-separator {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #00bfff;
    animation: blink 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(0, 191, 255, 0.5);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 30px rgba(0, 191, 255, 0.8);
    }
}

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

/* ==================== FEATURES PREVIEW ==================== */
.features-preview {
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out 1.2s both;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 191, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 191, 255, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-item:nth-child(2) .feature-icon {
    animation-delay: 1s;
}

.feature-item:nth-child(3) .feature-icon {
    animation-delay: 2s;
}

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

.feature-text {
    text-align: left;
}

.feature-text h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.feature-text p {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.5;
}

/* ==================== SUBSCRIPTION SECTION ==================== */
.subscription-section {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 1.4s both;
}

.subscription-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.subscription-description {
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.subscription-form {
    max-width: 500px;
    margin: 0 auto;
}

.input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.email-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: #999999;
}

.email-input:focus {
    outline: none;
    border-color: #00bfff;
    box-shadow: 0 0 0 3px rgba(0, 191, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.subscribe-btn {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00bfff 0%, #0080ff 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

.subscribe-btn:active {
    transform: translateY(0);
}

.subscribe-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;
}

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

.btn-icon {
    transition: transform 0.3s ease;
}

.subscribe-btn:hover .btn-icon {
    transform: translateX(3px);
}

.subscription-message {
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.subscription-message.success {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    opacity: 1;
}

.subscription-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    opacity: 1;
}

/* ==================== SOCIAL SECTION ==================== */
.social-section {
    margin-bottom: 2rem;
    animation: fadeIn 1s ease-out 1.6s both;
}

.social-text {
    font-size: 1rem;
    color: #cccccc;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: #00bfff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 191, 255, 0.3);
}

.social-link i {
    font-size: 1.2rem;
}

/* ==================== FOOTER ==================== */
.footer {
    margin-top: auto;
    text-align: center;
    animation: fadeIn 1s ease-out 1.8s both;
}

.footer-text {
    font-size: 0.9rem;
    color: #999999;
    line-height: 1.5;
}

.footer-link {
    color: #00bfff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffffff;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
    .container {
        padding: 1rem 0.5rem;
    }
    
    .logo {
        width: 150px;
    }
    
    .countdown-container {
        padding: 1.5rem;
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 60px;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    
    .feature-text {
        text-align: center;
    }
    
    .input-group {
        flex-direction: column;
        gap: 1rem;
    }
    
    .subscribe-btn {
        width: 100%;
        justify-content: center;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 0.95rem;
    }
    
    .countdown-container {
        padding: 1rem;
    }
    
    .countdown-item {
        min-width: 50px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.8rem;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
    }
    
    .feature-text p {
        font-size: 0.9rem;
    }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
.email-input:focus,
.subscribe-btn:focus,
.social-link:focus {
    outline: 2px solid #00bfff;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-item,
    .countdown-container {
        border-color: #ffffff;
    }
    
    .social-link {
        border-color: #ffffff;
    }
}
