/* Font Loading */
@font-face {
    font-family: 'RIFORMA LL';
    src: url('./fonts/RiformaLL-Medium.woff2') format('woff2'),
         url('./fonts/RiformaLL-Medium.woff') format('woff'),
         url('./fonts/RiformaLL-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* CSS Custom Properties */
:root {
    --primary-green: #1C9677;
    --secondary-grey: #969DAF;
    --dark-grey: #282A32;
    --black: #000000;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1C9677 0%, #282A32 100%);
    --gradient-secondary: linear-gradient(45deg, #282A32 0%, #000000 100%);
}

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

body {
    font-family: 'RIFORMA LL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.03;
    animation: wave-float 20s ease-in-out infinite;
}

.wave-1 {
    top: -50%;
    left: -50%;
    animation-delay: 0s;
}

.wave-2 {
    top: -30%;
    right: -50%;
    animation-delay: -7s;
    opacity: 0.02;
}

.wave-3 {
    bottom: -50%;
    left: -30%;
    animation-delay: -14s;
    opacity: 0.025;
}

@keyframes wave-float {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    25% { transform: translate(20px, -20px) rotate(90deg) scale(1.05); }
    50% { transform: translate(-20px, 20px) rotate(180deg) scale(0.95); }
    75% { transform: translate(-20px, -20px) rotate(270deg) scale(1.02); }
}

/* Particles */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 50%;
    opacity: 0.6;
    animation: particle-float 15s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: -3s; }
.particle:nth-child(3) { left: 30%; animation-delay: -6s; }
.particle:nth-child(4) { left: 40%; animation-delay: -9s; }
.particle:nth-child(5) { left: 60%; animation-delay: -12s; }
.particle:nth-child(6) { left: 70%; animation-delay: -15s; }
.particle:nth-child(7) { left: 80%; animation-delay: -18s; }
.particle:nth-child(8) { left: 90%; animation-delay: -21s; }

@keyframes particle-float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Main Container */
.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    padding: 2rem 0;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo-icon {
    position: relative;
    width: 50px;
    height: 50px;
}

.mirror-frame {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-green);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: mirror-rotate 8s linear infinite;
}

.mirror-reflection {
    width: 30px;
    height: 30px;
    background: var(--gradient-primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: mirror-pulse 2s ease-in-out infinite;
}

@keyframes mirror-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

.logo-text {
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    max-width: 800px;
    text-align: center;
    animation: fade-in-up 1s ease-out;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Coming Soon Badge */
.coming-soon-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    border: none;
    box-shadow: 0 2px 16px 0 rgba(0,0,0,0.10);
    padding: 0.5rem 1.75rem;
    border-radius: 32px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.badge-text {
    font-size: 1.15rem;
    font-family: 'RIFORMA LL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.badge-pulse {
    display: none;
}

/* Main Heading */
.main-heading {
    font-size: 3.5rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.heading-line {
    display: block;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Launch Progress */
.launch-progress {
    margin-bottom: 4rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.progress-label span:first-child {
    font-weight: 500;
    color: var(--white);
}

.progress-percentage {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: var(--primary-green);
}

.progress-bar {
    height: 8px;
    background: var(--dark-grey);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 85%;
    background: var(--gradient-primary);
    border-radius: 4px;
    position: relative;
    animation: progress-grow 2s ease-out;
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 85%;
    background: var(--gradient-primary);
    border-radius: 4px;
    opacity: 0.3;
    filter: blur(4px);
}

@keyframes progress-grow {
    from { width: 0; }
    to { width: 85%; }
}

/* Notify Section */
.notify-section {
    margin-bottom: 4rem;
}

.notify-heading {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

.input-group {
    display: flex;
    gap: 0;
    background: var(--dark-grey);
    border-radius: 50px;
    padding: 0.5rem;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.input-group:focus-within {
    border-color: var(--primary-green);
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem 1.5rem;
    color: var(--white);
    font-size: 1rem;
    outline: none;
    font-family: 'RIFORMA LL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 500;
}

.input-group input::placeholder {
    color: var(--secondary-grey);
}

.input-group button {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    font-family: 'RIFORMA LL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28, 150, 119, 0.3);
}

.button-animation {
    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;
}

.input-group button:hover .button-animation {
    left: 100%;
}

.form-note {
    color: var(--secondary-grey);
    font-size: 0.9rem;
    text-align: center;
}

/* Status Indicators */
.status-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--secondary-grey);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
}

.status-dot.active {
    background: var(--primary-green);
    animation: dot-pulse 2s ease-in-out infinite;
}

.status-dot.building {
    background: #f59e0b;
    animation: dot-building 1.5s ease-in-out infinite;
}

.status-dot.pending {
    background: var(--secondary-grey);
}

@keyframes dot-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(28, 150, 119, 0.7); }
    50% { box-shadow: 0 0 0 8px rgba(28, 150, 119, 0); }
}

@keyframes dot-building {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--dark-grey);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    gap: 2rem;
}

.social-link {
    color: var(--secondary-grey);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--primary-green);
}

.footer-text {
    color: var(--secondary-grey);
    font-size: 0.9rem;
    text-align: center;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--dark-grey);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 400px;
    margin: 2rem;
    border: 1px solid var(--primary-green);
    animation: modal-slide-up 0.3s ease-out;
}

@keyframes modal-slide-up {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.modal-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 500;
}

.modal-content p {
    color: var(--secondary-grey);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.modal-close {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    color: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'RIFORMA LL', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.modal-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(28, 150, 119, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }

    .main-heading {
        font-size: 2.5rem;
    }

    .input-group {
        flex-direction: column;
        border-radius: 15px;
    }

    .input-group input {
        border-radius: 12px;
        background: rgba(40, 42, 50, 0.5);
        margin-bottom: 0.5rem;
    }

    .input-group button {
        border-radius: 12px;
    }

    .status-indicators {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .social-links {
        gap: 1.5rem;
    }

    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .main-heading {
        font-size: 2rem;
    }

    .logo-container {
        gap: 0.5rem;
    }

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .mirror-frame {
        width: 40px;
        height: 40px;
    }

    .mirror-reflection {
        width: 24px;
        height: 24px;
    }
}

/* Loading states and micro-interactions */
.button-loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.button-loading .button-text {
    opacity: 0.5;
}

.form-success input {
    border-color: var(--primary-green);
    background: rgba(28, 150, 119, 0.1);
} 