* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #ffffff;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#networkCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

/* iPhone 16 Mockup */
.iphone-mockup {
    perspective: 1000px;
    animation: fadeInUp 1.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.iphone-frame {
    width: 390px;
    height: 844px;
    background: linear-gradient(145deg, #2c2c2c, #1a1a1a);
    border-radius: 55px;
    padding: 12px;
    box-shadow: 
        0 30px 90px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    position: relative;
    animation: phoneFloat 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes phoneFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(-5deg) rotateX(2deg);
    }
    25% {
        transform: translateY(-15px) rotateY(-3deg) rotateX(3deg);
    }
    50% {
        transform: translateY(-20px) rotateY(0deg) rotateX(0deg);
    }
    75% {
        transform: translateY(-15px) rotateY(3deg) rotateX(-3deg);
    }
}

/* Dynamic Island */
.dynamic-island {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 126px;
    height: 37px;
    background: #000000;
    border-radius: 20px;
    z-index: 100;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* iPhone Screen */
.iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    border-radius: 45px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iphone-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(77, 184, 172, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

/* Content inside iPhone */
.content {
    padding: 80px 30px 40px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
}

.logo {
    max-width: 280px;
    width: 85%;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 10px 30px rgba(77, 184, 172, 0.3));
}

.tagline {
    font-size: 0.85rem;
    font-weight: 300;
    color: #4DB8AC;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0 0 20px rgba(77, 184, 172, 0.5);
}

.coming-soon {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #4DB8AC 0%, #6DD5C7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.description {
    font-size: 0.95rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
    padding: 0 10px;
}

.email-container {
    margin-top: 20px;
}

.email-link {
    display: inline-block;
    color: #4DB8AC;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 12px 30px;
    border: 2px solid #4DB8AC;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
}

.email-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(77, 184, 172, 0.3), transparent);
    transition: left 0.5s ease;
}

.email-link:hover::before {
    left: 100%;
}

.email-link:hover {
    background-color: #4DB8AC;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(77, 184, 172, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
    .iphone-frame {
        width: 340px;
        height: 736px;
        border-radius: 48px;
        padding: 10px;
    }

    .dynamic-island {
        width: 110px;
        height: 32px;
        top: 18px;
    }

    .iphone-screen {
        border-radius: 40px;
    }

    .content {
        padding: 70px 25px 35px;
    }

    .logo {
        max-width: 240px;
    }

    .coming-soon {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

    .tagline {
        font-size: 0.75rem;
    }

    .description {
        font-size: 0.85rem;
    }

    .email-link {
        font-size: 0.85rem;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .iphone-frame {
        width: 300px;
        height: 650px;
        border-radius: 42px;
        padding: 8px;
    }

    .dynamic-island {
        width: 100px;
        height: 28px;
        top: 16px;
    }

    .iphone-screen {
        border-radius: 36px;
    }

    .content {
        padding: 60px 20px 30px;
    }

    .logo {
        max-width: 200px;
    }

    .coming-soon {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    .description {
        font-size: 0.8rem;
    }
}

@media (max-height: 900px) {
    .iphone-frame {
        height: 750px;
    }
}

@media (max-height: 800px) {
    .iphone-frame {
        height: 650px;
    }
}
