/* Coming Soon Frontend Styles */

:root {
    --cs-bg: #0f172a;
    --cs-accent: #3b82f6;
    --cs-text: #ffffff;
    --cs-secondary: rgba(255, 255, 255, 0.7);
    --cs-border: rgba(255, 255, 255, 0.1);
}

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

html, body {
    width: 100%;
    height: 100%;
    background-color: var(--cs-bg);
    color: var(--cs-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    overflow-x: hidden;
}

body {
    line-height: 1.6;
}

/* Background Animation */
.cs-page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.cs-gradient-1,
.cs-gradient-2,
.cs-gradient-3 {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 15s ease-in-out infinite;
}

.cs-gradient-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--cs-accent) 0%, #06b6d4 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.cs-gradient-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #ec4899 0%, var(--cs-accent) 100%);
    bottom: -200px;
    right: -100px;
    animation-delay: 2s;
}

.cs-gradient-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    top: 50%;
    right: 10%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(30px, -30px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(20px, 30px);
    }
}

/* Container */
.cs-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
    padding: 60px 30px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

/* Content Section */
.cs-content {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--cs-border);
    border-radius: 24px;
    padding: 80px 60px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

/* Logo Area */
.cs-logo-area {
    margin-bottom: 40px;
    animation: fadeInDown 1s ease-out;
}

.cs-logo {
    display: inline-block;
    max-width: 120px;
    height: auto;
    margin-bottom: 15px;
}

.cs-logo img {
    max-width: 100%;
    height: auto;
    filter: brightness(1.1);
}

.cs-powered-by {
    margin-top: 15px;
    font-size: 12px;
    color: var(--cs-secondary);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cs-powered-by a {
    color: var(--cs-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.cs-powered-by a:hover {
    color: var(--cs-accent);
    text-decoration: underline;
}

/* Banner Image */
.cs-banner-image {
    width: 100%;
    max-width: 600px;
    margin: 30px auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease-out 0.3s backwards;
}

.cs-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Heading */
.cs-heading {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--cs-text) 0%, var(--cs-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.3s backwards;
    letter-spacing: -0.5px;
}

/* Tagline */
.cs-tagline {
    font-size: 1.25rem;
    color: var(--cs-secondary);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.4s backwards;
    line-height: 1.8;
}

/* Countdown Timer */
.cs-countdown {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 20px;
    margin-bottom: 60px;
    animation: fadeInUp 1s ease-out 0.5s backwards;
}

.cs-countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--cs-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.cs-countdown-item:hover {
    background: rgba(59, 130, 246, 0.15);
    border-color: var(--cs-accent);
    transform: translateY(-5px);
}

.cs-countdown-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--cs-accent);
    font-variant-numeric: tabular-nums;
    min-width: 70px;
    text-align: center;
}

.cs-countdown-label {
    font-size: 0.85rem;
    color: var(--cs-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Email Form */
.cs-email-form {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.6s backwards;
    flex-wrap: wrap;
    justify-content: center;
}

.cs-email-input {
    flex: 1;
    min-width: 250px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--cs-border);
    border-radius: 12px;
    color: var(--cs-text);
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.cs-email-input::placeholder {
    color: var(--cs-secondary);
}

.cs-email-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--cs-accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.cs-submit-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--cs-accent) 0%, #0ea5e9 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.cs-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

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

.cs-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.cs-form-message {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.95rem;
    min-height: 1.5rem;
    animation: slideDown 0.3s ease-out;
    display: none;
}

.cs-form-message.success {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
    display: block;
}

.cs-form-message.error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Social Links */
.cs-social-links {
    display: flex;
    gap: 30px;
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.7s backwards;
}

.cs-social-link {
    color: var(--cs-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cs-border);
    border-radius: 50%;
    transition: all 0.3s ease;
    fill: currentColor;
}

.cs-social-link:hover {
    color: var(--cs-accent);
    border-color: var(--cs-accent);
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .cs-content {
        padding: 50px 30px;
    }

    .cs-heading {
        font-size: 2.2rem;
    }

    .cs-tagline {
        font-size: 1.05rem;
        margin-bottom: 40px;
    }

    .cs-countdown {
        gap: 12px;
        grid-template-columns: repeat(2, 1fr);
    }

    .cs-countdown-item {
        padding: 15px;
    }

    .cs-countdown-number {
        font-size: 2rem;
        min-width: 60px;
    }

    .cs-email-form {
        flex-direction: column;
    }

    .cs-email-input,
    .cs-submit-btn {
        width: 100%;
    }

    .cs-gradient-1,
    .cs-gradient-2,
    .cs-gradient-3 {
        filter: blur(60px);
    }
}

@media (max-width: 480px) {
    .cs-container {
        padding: 40px 20px;
    }

    .cs-content {
        padding: 40px 20px;
        border-radius: 16px;
    }

    .cs-heading {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cs-tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .cs-countdown {
        gap: 10px;
    }

    .cs-countdown-item {
        padding: 12px;
        border-radius: 12px;
    }

    .cs-countdown-number {
        font-size: 1.5rem;
        min-width: 50px;
    }

    .cs-countdown-label {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    .cs-email-input {
        min-width: 100%;
        padding: 14px 16px;
    }

    .cs-submit-btn {
        padding: 14px 24px;
        font-size: 0.9rem;
        letter-spacing: 0.5px;
    }

    .cs-social-links {
        gap: 20px;
    }
}

/* Loading State */
.cs-submit-btn.loading {
    position: relative;
}

.cs-submit-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    right: 15px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Print Styles */
@media print {
    .cs-page-wrapper {
        background: white;
    }

    .cs-background-animation {
        display: none;
    }

    .cs-content {
        background: white;
        border: 1px solid #ccc;
        color: #000;
    }

    .cs-heading {
        background: none;
        -webkit-text-fill-color: #000;
        color: #000;
    }
}
