/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #8A2BE2;
    --purple-hover: #7B1FA2;
    --purple-light: #9C4DCC;
    --purple-dark: #6A1B9A;
    --bg-black: #0A0A0A;
    --bg-gray: #1A1A1A;
    --text-white: #FFFFFF;
    --text-gray: #A1A1AA;
    --border-gray: #27272A;
    --success-green: #10B981;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Network Background */
.network-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    opacity: 0.6;
    pointer-events: none;
}

#networkCanvas {
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
    position: absolute;
    top: 0;
    left: 0;
}

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

.header {
    padding: 0.5rem 2rem 0;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 3.3rem;
    width: auto;
}

.main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* Hero section */
.hero {
    max-width: 600px;
    text-align: center;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Info Boxes */
.info-boxes {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.info-box {
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 300px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    backdrop-filter: blur(10px);
}

.info-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary-purple);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.15);
}

.box-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--primary-purple);
    border-radius: 50%;
}

.brand-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.influencer-icon svg {
    width: 2rem;
    height: 2rem;
    color: white;
}

.info-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.75rem;
}

.info-box p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* Features */
.features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--bg-gray);
    border: 1px solid var(--border-gray);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.feature:hover {
    border-color: var(--primary-purple);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 1.1rem;
}

/* Form */
.waitlist-form {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.form-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.form-group {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.name-input,
.email-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-gray);
    border: 2px solid var(--border-gray);
    border-radius: 12px;
    color: var(--text-white);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.name-input:focus,
.email-input:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.name-input::placeholder,
.email-input::placeholder {
    color: var(--text-gray);
}

.submit-btn {
    padding: 1rem 2rem;
    background: var(--primary-purple);
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
}

.submit-btn:hover {
    background: var(--purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

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

.submit-btn.loading {
    pointer-events: none;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline;
}

.error-message {
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.error-text {
    color: #ef4444;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-note {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Success message */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem;
    background: var(--bg-black);
    border: 1px solid var(--success-green);
    border-radius: 16px;
    margin-top: 2rem;
}

.success-message.show {
    display: block;
    animation: slideUp 0.5s ease;
}

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

.success-message h3 {
    color: var(--success-green);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.success-message p {
    color: var(--text-gray);
}

/* About Section */
.about-section {
    padding: 2.5rem 0 4rem 0;
    background: rgba(255, 255, 255, 0.005);
    margin-top: 2rem;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.about-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content > p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 0;
}

.stat-item {
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-2px);
    border-color: var(--primary-purple);
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.1);
}

.stat-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 0.8rem;
    width: 2rem;
    height: 2rem;
    margin: 0 auto 0.8rem;
    background: var(--primary-purple);
    border-radius: 50%;
    align-items: center;
}

.stat-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: white;
}

.stat-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 0.6rem;
}

.stat-item p {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* About Icons - now using SVG */

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

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    color: var(--text-gray);
    font-size: 0.9rem;
}

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

.social-link {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Background decoration */
.main::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Responsive design */
@media (max-width: 768px) {
    /* Mobile Safari viewport fix */
    .network-background {
        position: absolute;
        height: 70vh; /* Fixed height to prevent address bar resize issues */
        max-height: 600px; /* Fallback max height */
        transform: translateZ(0); /* Force hardware acceleration */
        -webkit-transform: translateZ(0);
        overflow: hidden; /* Prevent any overflow */
    }
    
    #networkCanvas {
        transform: translateZ(0); /* Force hardware acceleration */
        -webkit-transform: translateZ(0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        max-width: 100%;
        max-height: 100%;
    }
    
    /* Prevent iOS Safari address bar issues */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    .header {
        padding: 1rem;
    }
    
    .logo-image {
        height: 2rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .main {
        padding: 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .features {
        gap: 1rem;
        margin-bottom: 2rem;
    }
    
    .feature {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .submit-btn {
        width: 100%;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .main::before {
        width: 300px;
        height: 300px;
    }
    
    .about-section {
        padding: 1.5rem 0 3rem 0;
        margin-top: 1.5rem;
    }
    
    .about-content h2 {
        font-size: 1.3rem;
    }
    
    .about-content > p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        margin-top: 1rem;
    }
    
    .stat-item {
        padding: 0.8rem;
    }
    
    .stat-item h4 {
        font-size: 0.9rem;
    }
    
    .stat-item p {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .info-boxes {
        flex-direction: column;
        gap: 2rem;
        margin-top: 2rem;
        align-items: center;
    }
    
    .info-box {
        max-width: 280px;
        padding: 1.5rem 1rem;
    }
    
    .box-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .brand-icon svg,
    .influencer-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
} 