/**
 * SquareAxiom - Coming Soon Page Styles
 * Dark mode Discord-style design
 */

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

:root {
    --primary-color: #7c3aed;
    --bg-color: #0f0f1a;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --glow-color: #a855f7;
    --hover-color: #9333ea;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Background Pattern */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(124, 58, 237, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    z-index: -1;
    animation: gradientShift 15s ease infinite;
}

.bg-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(124, 58, 237, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(124, 58, 237, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.5;
}

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

/* Header / Logo */
.header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, var(--glow-color) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0.6;
    animation: pulseGlow 2s ease-in-out infinite;
    filter: blur(20px);
}

@keyframes pulseGlow {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 
        0 0 20px var(--glow-color),
        0 0 40px var(--glow-color),
        0 0 60px var(--primary-color);
    letter-spacing: 0.1em;
    position: relative;
    z-index: 1;
    animation: logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% {
        text-shadow: 
            0 0 20px var(--glow-color),
            0 0 40px var(--glow-color),
            0 0 60px var(--primary-color);
    }
    50% {
        text-shadow: 
            0 0 30px var(--glow-color),
            0 0 60px var(--glow-color),
            0 0 90px var(--primary-color);
    }
}

.site-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* Main Content */
main.main-content,
.main-content {
    display: flex !important;
    flex-direction: column !important;
    gap: 3rem !important;
    animation: fadeInUp 1s ease-out 0.3s both;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    position: relative !important;
    z-index: 1 !important;
    box-sizing: border-box !important;
}

/* Title Section */
.title-section {
    text-align: center;
}

.main-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.main-title .emoji {
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
    margin-right: 0.5rem;
}

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

.subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Countdown Section */
.countdown-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.countdown-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 2rem;
    background: rgba(26, 26, 46, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 20px rgba(124, 58, 237, 0.1);
    width: 100%;
    max-width: 800px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 100px;
}

.countdown-number {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 0 20px var(--glow-color);
    transition: var(--transition);
    position: relative;
}

.countdown-number.flip {
    animation: flipNumber 0.3s ease;
}

@keyframes flipNumber {
    0% {
        transform: rotateX(0deg);
    }
    50% {
        transform: rotateX(90deg);
        opacity: 0.5;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.countdown-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.countdown-separator {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    opacity: 0.7;
}

.countdown-message {
    font-size: 1.25rem;
    color: var(--glow-color);
    text-align: center;
    min-height: 2rem;
    font-weight: 600;
    animation: fadeIn 0.5s ease;
}

.countdown-message.urgent {
    animation: urgentPulse 1s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

.launch-message {
    font-size: 3rem;
    font-weight: 700;
    color: var(--glow-color);
    text-align: center;
    animation: celebrate 0.5s ease;
}

@keyframes celebrate {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Message Card */
.message-section {
    display: flex;
    justify-content: center;
}

.message-card {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 700px;
    width: 100%;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(124, 58, 237, 0.05);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(124, 58, 237, 0.2);
}

.message-icon {
    font-size: 2rem;
    animation: rotate 3s linear infinite;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.message-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.message-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.message-content p {
    margin-bottom: 1rem;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-signature {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(124, 58, 237, 0.2);
    color: var(--text-primary);
    font-style: italic;
}

.message-signature strong {
    color: var(--glow-color);
    font-weight: 600;
}

/* About Section */
.about-section {
    display: flex !important;
    justify-content: center !important;
    margin-top: 4rem;
    width: 100%;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.about-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1rem !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.about-card {
    background: rgba(26, 26, 46, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(124, 58, 237, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(124, 58, 237, 0.05);
    transition: var(--transition);
}

.about-card:hover {
    border-color: var(--primary-color);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        inset 0 0 40px rgba(124, 58, 237, 0.1),
        0 0 30px rgba(124, 58, 237, 0.2);
    transform: translateY(-5px);
}

.about-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

.about-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px var(--glow-color);
}

.about-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1rem;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-content strong {
    color: var(--glow-color);
    font-weight: 600;
}

.about-list {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.about-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

.about-list li:last-child {
    border-bottom: none;
}

.about-list li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-list li strong {
    color: var(--text-primary);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-item {
    background: rgba(22, 33, 62, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.2);
    transition: var(--transition);
}

.service-item:hover {
    background: rgba(22, 33, 62, 0.7);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 8px var(--glow-color));
}

.service-item h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.service-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Roadmap */
.roadmap {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.roadmap-item {
    background: rgba(22, 33, 62, 0.5);
    border-radius: 15px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    position: relative;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--glow-color));
    border-radius: 2px;
    opacity: 0;
    transition: var(--transition);
}

.roadmap-item:hover {
    background: rgba(22, 33, 62, 0.7);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
}

.roadmap-item:hover::before {
    opacity: 1;
}

.roadmap-phase {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--glow-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.roadmap-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.roadmap-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--text-primary);
    font-style: italic;
}

.roadmap-note strong {
    color: var(--glow-color);
}

/* Footer */
.footer {
    margin-top: 4rem;
    text-align: center;
    animation: fadeIn 1s ease-out 0.9s both;
}

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

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(26, 26, 46, 0.6);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--text-secondary);
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(124, 58, 237, 0.2);
    border-color: var(--primary-color);
    color: var(--glow-color);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
}

.social-link svg {
    width: 24px;
    height: 24px;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

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

@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);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .logo-text {
        font-size: 3rem;
    }
    
    .site-subtitle {
        font-size: 1.25rem;
    }
    
    .countdown-container {
        padding: 1.5rem;
        gap: 0.5rem;
    }
    
    .countdown-item {
        min-width: 70px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-separator {
        font-size: 1.5rem;
    }
    
    .countdown-label {
        font-size: 0.75rem;
    }
    
    .message-card {
        padding: 1.5rem;
    }
    
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .about-card {
        padding: 1.5rem;
    }
    
    .about-title {
        font-size: 1.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .roadmap-item {
        padding: 1.25rem;
    }
    
    .roadmap-phase {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .countdown-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    .countdown-item {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        padding: 0.5rem;
        background: rgba(124, 58, 237, 0.1);
        border-radius: 10px;
    }
    
    .countdown-number {
        font-size: 1.75rem;
    }
    
    .social-links {
        gap: 1rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }
}

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

/* Focus styles for accessibility */
.social-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

