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

:root {
    --primary-color: #FFB800;
    --secondary-color: #FFA000;
    --dark-bg: #000000;
    --light-text: #ffffff;
    --gray-text: #a0a0a0;
    --card-bg: #1a1a1a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    overflow-x: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

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

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--light-text);
}

.nav-actions {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-signup {
    padding: 8px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-login {
    background: transparent;
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-signup {
    background: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 600;
}

.btn-signup:hover {
    background: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#networkCanvas {
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    display: block;
    font-size: 48px;
    margin-top: 10px;
}

.hero-description {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 15px 40px;
    border-radius: 8px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--dark-bg);
}

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 184, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Phone Mockup */
.hero-phone {
    flex: 0 0 400px;
}

.phone-mockup {
    position: relative;
    width: 320px;
    height: 650px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    border: 8px solid #2a2a2a;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

.phone-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    color: var(--light-text);
    font-size: 14px;
}

.phone-status {
    display: flex;
    gap: 5px;
    align-items: center;
}

.signal, .wifi, .battery {
    width: 18px;
    height: 12px;
    background: var(--light-text);
    border-radius: 2px;
}

.phone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 30px;
    text-align: center;
}

.app-logo {
    margin-bottom: 30px;
}

.app-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-text);
}

.app-subtitle {
    font-size: 13px;
    color: var(--gray-text);
    line-height: 1.5;
    margin-bottom: 40px;
}

.app-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary-color);
    color: var(--dark-bg);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 20px;
}

.app-footer {
    font-size: 12px;
    color: var(--gray-text);
}

.app-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #0a0a0a 100%);
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 184, 0, 0.3);
}

.feature-card:hover .feature-icon {
    color: var(--primary-color);
    transform: scale(1.1);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gray-text);
    transition: all 0.3s ease;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--light-text);
}

.feature-card p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-left {
    flex: 1;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand {
    font-size: 20px;
    font-weight: 700;
    color: var(--light-text);
}

.footer-description {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex: 2;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 8px;
}

.footer-column a {
    font-size: 14px;
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-text);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    color: var(--gray-text);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-social a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .phone-mockup {
        width: 280px;
        height: 560px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}
