* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #7c3aed;
    --secondary-purple: #a855f7;
    --accent-pink: #ec4899;
    --dark-bg: #0f0f23;
    --darker-bg: #050507;
    --card-bg: rgba(15, 15, 35, 0.8);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --border-subtle: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--darker-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Aurora Background */
.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: -1;
}

@keyframes aurora-shift {
    0% { 
        background: 
            radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(168, 85, 247, 0.2) 0%, transparent 50%);
    }
    100% { 
        background: 
            radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%);
    }
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 15, 35, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1rem 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.brand-icon {
    position: relative;
    width: 40px;
    height: 40px;
}

.brand-icon.small {
    width: 28px;
    height: 28px;
}

.shield-layers {
    position: relative;
    width: 100%;
    height: 100%;
}

.shield-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: shield-pulse 3s ease-in-out infinite;
}

.shield-layer:nth-child(1) {
    border-color: var(--primary-purple);
    animation-delay: 0s;
}

.shield-layer:nth-child(2) {
    border-color: var(--secondary-purple);
    animation-delay: 1s;
    transform: scale(0.8);
}

.shield-layer:nth-child(3) {
    border-color: var(--accent-pink);
    animation-delay: 2s;
    transform: scale(0.6);
}

@keyframes shield-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.1); }
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--secondary-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* Main Wrapper */
.main-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
    padding: 4rem 0;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
}

.announcement-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    color: var(--secondary-purple);
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.availability-notice {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.notice-icon {
    color: var(--secondary-purple);
}

/* Phone Mockup */
.hero-visual {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out 0.3s both;
}

.phone-mockup {
    position: relative;
    transform: rotate(5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.05);
}

.phone-frame {
    width: 280px;
    height: 560px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 30px;
    padding: 20px;
    box-shadow: 
        0 0 50px rgba(124, 58, 237, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--dark-bg), var(--darker-bg));
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.message-preview {
    padding: 1.5rem 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.chat-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.chat-avatar svg {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.chat-info {
    flex: 1;
}

.chat-name {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.chat-status {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.encryption-badge {
    font-size: 1.2rem;
}

.messages {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow: hidden;
    max-height: 320px;
    position: relative;
}

/* Message explosion animation */
.messages.exploding .message {
    animation: messageShake 3s ease-in-out, messageExplode 0.5s ease-in 2.5s forwards;
}

@keyframes messageShake {
    0%, 100% { transform: translateX(0); }
    10% { transform: translateX(-2px); }
    20% { transform: translateX(2px); }
    30% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    50% { transform: translateX(-1px); }
    60% { transform: translateX(1px); }
    70% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
    90% { transform: translateX(-1px); }
}

@keyframes messageExplode {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(180deg);
    }
}

.message {
    display: flex;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.message.received {
    justify-content: flex-start;
}

.message.sent {
    justify-content: flex-end;
}

.message.system {
    justify-content: center;
}

.message-bubble {
    max-width: 80%;
    padding: 0.75rem 1rem;
    border-radius: 18px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.message.received .message-bubble {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.message.sent .message-bubble {
    background: linear-gradient(135deg, var(--primary-purple), var(--secondary-purple));
    color: white;
}

.message.system .message-bubble {
    background: rgba(236, 72, 153, 0.2);
    color: var(--accent-pink);
    font-size: 0.8rem;
    max-width: 100%;
    text-align: center;
}

/* Features Section */
.features-showcase {
    padding: 6rem 0;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-purple), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card.primary {
    border-color: rgba(124, 58, 237, 0.4);
    background: rgba(124, 58, 237, 0.05);
}

.feature-icon {
    color: var(--secondary-purple);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.feature-tag {
    display: inline-block;
    background: rgba(124, 58, 237, 0.2);
    color: var(--secondary-purple);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Development Status */
.development-status {
    padding: 6rem 0;
    background: rgba(15, 15, 35, 0.5);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    margin: 4rem 0;
}

.status-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.status-header {
    text-align: center;
    margin-bottom: 3rem;
}

.status-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.status-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.progress-dashboard {
    margin-bottom: 3rem;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.progress-label {
    min-width: 140px;
    font-weight: 500;
    color: var(--text-primary);
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple));
    border-radius: 4px;
    transition: width 2s ease-in-out;
    animation: progress-shimmer 2s ease-in-out infinite;
}

@keyframes progress-shimmer {
    0%, 100% { box-shadow: 0 0 10px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 0 20px rgba(124, 58, 237, 0.6); }
}

.progress-percent {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
    color: var(--secondary-purple);
}

/* Timeline */
.status-timeline {
    position: relative;
    padding-left: 2rem;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--primary-purple), var(--secondary-purple));
    opacity: 0.6;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 2rem;
}

.timeline-dot {
    position: absolute;
    left: -6px;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--secondary-purple);
    border-radius: 50%;
    border: 3px solid var(--darker-bg);
    z-index: 1;
}

.timeline-item.active .timeline-dot {
    background: var(--primary-purple);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.8);
    border-color: var(--primary-purple);
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--secondary-purple);
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid var(--border-subtle);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-desc {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.link-group h4 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--secondary-purple);
}

.discord-contacts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.discord-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.discord-label {
    color: var(--text-secondary);
    min-width: 50px;
}

.discord-username {
    color: var(--secondary-purple);
    font-family: 'SF Mono', 'Monaco', 'Cascadia Code', monospace;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid var(--border-subtle);
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .hero-banner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .phone-frame {
        width: 220px;
        height: 440px;
        padding: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .progress-label {
        min-width: auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .main-wrapper {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .features-showcase,
    .development-status {
        padding: 3rem 0;
    }
    
    .status-container {
        padding: 0 1rem;
    }
}
