/* ==========================================================================
   CASUAL WEB - COMING SOON PAGE STYLES
   ========================================================================== */

/* 1. Design Tokens & CSS Variables */
:root {
    --font-primary: 'Plus Jakarta Sans', 'Noto Sans JP', sans-serif;
    
    /* Sleek Dark Mode Palette */
    --bg-dark: #070913;
    --card-bg: rgba(13, 17, 30, 0.45);
    --card-border: rgba(255, 255, 255, 0.08);
    --card-border-glow: rgba(105, 37, 255, 0.2);
    
    /* Harmonious Brand Colors */
    --color-primary: #ff3b8f;   /* Radiant Pink */
    --color-secondary: #6925ff; /* Deep Violet */
    --color-tertiary: #00f2fe;  /* Electric Cyan */
    
    /* Text Colors */
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 2. Global Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    font-family: var(--font-primary);
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 3. Dynamic Background Animations */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
    background: radial-gradient(circle at 20% 30%, rgba(105, 37, 255, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 70%, rgba(255, 59, 143, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(0, 242, 254, 0.08) 0%, transparent 60%);
    opacity: 0.8;
    animation: pulseGlow 15s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(2%, 3%);
    }
    100% {
        transform: scale(1) translate(-1%, -2%);
    }
}

/* Interactive Cursor Glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(105, 37, 255, 0.15) 0%, rgba(0, 242, 254, 0.03) 50%, transparent 70%);
    z-index: -1;
    pointer-events: none;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    will-change: left, top;
}

/* 4. Layout Structure */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* 5. Glassmorphism Card Component */
.card {
    width: 100%;
    max-width: 680px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 50px 45px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: border-color var(--transition-normal), box-shadow var(--transition-normal), transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    animation: cardEntry 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cardEntry {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card:hover {
    border-color: var(--card-border-glow);
    box-shadow: 0 25px 60px rgba(105, 37, 255, 0.15),
                0 0 30px rgba(255, 59, 143, 0.05),
                inset 0 1px 2px rgba(255, 255, 255, 0.15);
}

.card-inner {
    position: relative;
    z-index: 2;
}

/* 6. Logo Styles */
.logo-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    filter: drop-shadow(0 4px 10px rgba(105, 37, 255, 0.4));
    animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-4px) rotate(3deg);
    }
}

.logo-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    background: linear-gradient(135deg, #ffffff 40%, var(--text-muted));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 7. Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-tertiary);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-tertiary);
    opacity: 0.4;
    animation: dotPulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
}

@keyframes dotPulse {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

/* 8. Headings & Typography */
.main-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    word-break: keep-all;
}

.main-title .highlight {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-tertiary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineText 4s linear infinite;
    font-weight: 800;
}

@keyframes shineText {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

.description {
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

/* 9. Interactive Notify Form */
.notify-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 35px;
    position: relative;
}

.notify-lead {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-main);
    margin-bottom: 15px;
}

.notify-form {
    display: flex;
    gap: 10px;
    position: relative;
}

.input-wrapper {
    position: relative;
    flex-grow: 1;
}

.notify-form input[type="email"] {
    width: 100%;
    padding: 14px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-main);
    font-family: var(--font-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.notify-form input[type="email"]::placeholder {
    color: var(--text-dim);
}

.notify-form input[type="email"]:focus {
    border-color: rgba(105, 37, 255, 0.6);
    background: rgba(0, 0, 0, 0.35);
}

/* Input Focus Line Effect */
.focus-border {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-tertiary));
    transition: width var(--transition-normal), left var(--transition-normal);
    pointer-events: none;
}

.notify-form input[type="email"]:focus ~ .focus-border {
    width: 100%;
    left: 0;
}

/* Submit Button */
.submit-btn {
    padding: 0 28px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), opacity var(--transition-fast);
    box-shadow: 0 4px 15px rgba(255, 59, 143, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.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(-2px);
    box-shadow: 0 6px 20px rgba(255, 59, 143, 0.45);
}

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

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

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

/* Loading animation for form */
.btn-loader {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #ffffff;
    animation: spin 0.8s linear infinite;
    position: absolute;
}

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

.submit-btn.loading .btn-text {
    opacity: 0;
}

.submit-btn.loading .btn-loader {
    display: block;
}

/* Form Message */
.form-message {
    font-size: 0.8rem;
    margin-top: 12px;
    min-height: 20px;
    transition: color var(--transition-fast);
    font-weight: 400;
    text-align: left;
}

.form-message.success {
    color: #10b981; /* Emerald Green */
}

.form-message.error {
    color: #ef4444; /* Bright Red */
}

/* 10. Social Links & Contact Section */
.social-section {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all var(--transition-normal);
}

.social-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.social-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

#mailLink:hover {
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 5px 15px rgba(0, 242, 254, 0.08);
}

#twitterLink:hover {
    border-color: rgba(255, 59, 143, 0.3);
    box-shadow: 0 5px 15px rgba(255, 59, 143, 0.08);
}

#githubLink:hover {
    border-color: rgba(105, 37, 255, 0.3);
    box-shadow: 0 5px 15px rgba(105, 37, 255, 0.08);
}

.social-link:hover .social-icon {
    transform: scale(1.1);
}

/* 11. Footer */
.footer {
    margin-top: 40px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    animation: fadeIn 1.5s ease forwards;
    opacity: 0;
    animation-delay: 0.5s;
}

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

/* 12. Responsive Adjustments */
.br-sp {
    display: none;
}

@media (max-width: 768px) {
    .br-sp {
        display: block;
    }
    
    .card {
        padding: 40px 24px;
        border-radius: 24px;
    }
    
    .main-title {
        font-size: 1.75rem;
    }
    
    .notify-form {
        flex-direction: column;
        gap: 12px;
    }
    
    .submit-btn {
        padding: 14px 20px;
    }
    
    .social-section {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .social-link {
        flex: 1 1 120px;
        justify-content: center;
    }
}


