/* OneByte Security - Main Stylesheet */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #0D0D0D;
    color: #FFFFFF;
    overflow-x: hidden;
    position: relative;
}

/* ===== GLOBAL NETWORK BACKGROUND ===== */
.global-network-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.global-network-bg .network-node {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00B8FF;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(0, 184, 255, 0.6);
    animation: floatGlobal 8s ease-in-out infinite;
}

.global-network-bg .network-node:nth-child(1) { top: 10%; left: 15%; animation-delay: 0s; animation-duration: 10s; }
.global-network-bg .network-node:nth-child(2) { top: 20%; left: 85%; animation-delay: 2s; animation-duration: 12s; }
.global-network-bg .network-node:nth-child(3) { top: 35%; left: 25%; animation-delay: 1s; animation-duration: 9s; }
.global-network-bg .network-node:nth-child(4) { top: 45%; left: 70%; animation-delay: 3s; animation-duration: 11s; }
.global-network-bg .network-node:nth-child(5) { top: 55%; left: 10%; animation-delay: 1.5s; animation-duration: 13s; }
.global-network-bg .network-node:nth-child(6) { top: 65%; left: 90%; animation-delay: 2.5s; animation-duration: 10s; }
.global-network-bg .network-node:nth-child(7) { top: 75%; left: 40%; animation-delay: 0.5s; animation-duration: 11s; }
.global-network-bg .network-node:nth-child(8) { top: 85%; left: 60%; animation-delay: 3.5s; animation-duration: 9s; }
.global-network-bg .network-node:nth-child(9) { top: 30%; left: 50%; animation-delay: 1.8s; animation-duration: 12s; }
.global-network-bg .network-node:nth-child(10) { top: 60%; left: 80%; animation-delay: 2.8s; animation-duration: 10s; }

@keyframes floatGlobal {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-30px) translateX(15px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-50px) translateX(-10px);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-30px) translateX(-20px);
        opacity: 0.6;
    }
}

section, nav, footer {
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
nav {
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background: #0D0D0D;
    backdrop-filter: blur(10px);
    z-index: 2000;
    border-bottom: 1px solid rgba(0, 184, 255, 0.1);
}

.logo {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    cursor: pointer;
    text-decoration: none;
    color: #FFFFFF;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo span {
    color: #00B8FF;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 13px;
}

.nav-links a:hover {
    color: #00B8FF;
}

.nav-cta {
    background: linear-gradient(135deg, #00B8FF, #00FFFF);
    color: #0D0D0D !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-cta:hover {
    box-shadow: 0 0 30px rgba(0, 184, 255, 0.6);
    transform: translateY(-2px);
    color: #0D0D0D !important;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #00B8FF;
    font-size: 28px;
    cursor: pointer;
    padding: 5px;
    z-index: 2001;
}

.mobile-menu-toggle:hover {
    color: #00FFFF;
}

.nav-links.mobile-active {
    display: flex;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #00B8FF, #00FFFF);
    color: #0D0D0D;
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 0 30px rgba(0, 184, 255, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #00B8FF;
    border: 2px solid #00B8FF;
}

.btn-secondary:hover {
    background: rgba(0, 184, 255, 0.1);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 120px 0 160px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 72px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -2px;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero h1 .highlight {
    color: #00B8FF;
    text-shadow: 0 0 40px rgba(0, 184, 255, 0.4);
}

.hero p {
    font-size: 22px;
    color: #CCCCCC;
    line-height: 1.6;
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.2s forwards;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

.email-signup {
    display: flex;
    gap: 12px;
    background: #1A1A1A;
    padding: 8px;
    border-radius: 12px;
    border: 1px solid rgba(0, 184, 255, 0.2);
    transition: all 0.3s ease;
}

.email-signup:focus-within {
    border-color: #00B8FF;
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.2);
}

.email-signup input {
    background: transparent;
    border: none;
    padding: 16px 24px;
    color: #FFFFFF;
    font-size: 16px;
    outline: none;
    min-width: 320px;
    font-family: 'Roboto', sans-serif;
}

.email-signup input::placeholder {
    color: #666666;
}

/* ===== SECTIONS ===== */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 18px;
    color: #CCCCCC;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== FEATURE CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #1A1A1A;
    border-radius: 20px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 184, 255, 0.1);
    transition: all 0.4s ease;
}

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

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00B8FF, #00FFFF);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 32px;
    background: transparent;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.4s ease;
}

.card-icon svg {
    width: 70px;
    height: 70px;
    filter: drop-shadow(0 0 15px rgba(0, 184, 255, 0.5));
}

.feature-card:hover .card-icon svg {
    filter: drop-shadow(0 0 25px rgba(0, 184, 255, 0.8));
    transform: scale(1.1);
}

/* Icon animations */
.scan-line {
    transform-origin: 50px 50px;
}

.feature-card:hover .scan-line {
    animation: scanRotate 2s linear infinite;
}

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

.scan-pulse-ring {
    animation: scanPulse 2s ease-in-out infinite;
}

@keyframes scanPulse {
    0%, 100% {
        opacity: 0.3;
        r: 40;
    }
    50% {
        opacity: 0.7;
        r: 42;
    }
}

.score-needle {
    transform-origin: 50px 50px;
    transition: transform 0.6s ease-in-out;
}

.feature-card:hover .score-needle {
    animation: needleMove 1.5s ease-in-out infinite;
}

@keyframes needleMove {
    0%, 100% {
        transform: rotate(-45deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

.lock-shackle {
    transition: transform 0.4s ease-out;
    transform-origin: 50px 45px;
}

.feature-card:hover .lock-shackle {
    animation: lockClose 0.6s ease-out forwards;
}

@keyframes lockClose {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
    }
}

.lock-keyhole {
    transition: opacity 0.3s ease;
}

.feature-card:hover .lock-keyhole {
    animation: keyholePulse 1s ease-in-out infinite;
}

@keyframes keyholePulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.icon-gradient-blue {
    stop-color: #00B8FF;
}

.icon-gradient-cyan {
    stop-color: #00FFFF;
}

.coming-soon {
    display: inline-block;
    background: rgba(0, 184, 255, 0.2);
    color: #00B8FF;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-card p {
    color: #CCCCCC;
    line-height: 1.6;
    font-size: 16px;
}

/* ===== WHY SECTION ===== */
.why-section {
    background: transparent;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-text h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
}

.why-text .highlight {
    color: #00B8FF;
}

.why-text > p {
    font-size: 18px;
    color: #CCCCCC;
    line-height: 1.7;
    margin-bottom: 40px;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.why-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: transparent;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 8px rgba(0, 184, 255, 0.4));
}

.feature-text h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-text p {
    color: #CCCCCC;
    font-size: 15px;
    line-height: 1.5;
}

.why-visual {
    position: relative;
    height: 500px;
}

.shield-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 340px;
}

.shield-outline {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.shield-outline svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 25px rgba(0, 184, 255, 0.6));
    animation: shieldGlow 4s ease-in-out infinite;
}

.shield-path {
    fill: none;
    stroke: url(#shieldGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shield-inner {
    fill: none;
    stroke: url(#shieldGradient);
    stroke-width: 10;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.5;
}

.shield-check {
    fill: none;
    stroke: url(#shieldGradient);
    stroke-width: 12;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes shieldGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 184, 255, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(0, 184, 255, 0.9));
    }
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 184, 255, 0.2);
    border-radius: 50%;
    animation: rotate 20s linear infinite, orbitPulse 3s ease-in-out infinite;
}

.orbit-ring-1 {
    width: 400px;
    height: 400px;
}

.orbit-ring-2 {
    width: 480px;
    height: 480px;
    animation: rotate 30s linear infinite reverse, orbitPulse 3s ease-in-out infinite;
    animation-delay: 0s, 1.5s;
}

@keyframes orbitPulse {
    0%, 100% {
        border-color: rgba(0, 184, 255, 0.15);
        box-shadow: 0 0 10px rgba(0, 184, 255, 0.1);
    }
    50% {
        border-color: rgba(0, 184, 255, 0.4);
        box-shadow: 0 0 20px rgba(0, 184, 255, 0.3);
    }
}

/* ===== EARLY ACCESS SECTION ===== */
.early-access {
    padding: 100px 0;
    text-align: center;
}

.early-access-box {
    background: linear-gradient(135deg, #1A1A1A 0%, #121212 100%);
    border-radius: 24px;
    padding: 80px 60px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0, 184, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.early-access-box h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.early-access-box > p {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 40px;
    line-height: 1.6;
}

.signup-form {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.signup-input {
    background: #0D0D0D;
    border: 2px solid rgba(0, 184, 255, 0.3);
    border-radius: 12px;
    padding: 18px 28px;
    color: #FFFFFF;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    min-width: 350px;
    transition: all 0.3s ease;
}

.signup-input:focus {
    outline: none;
    border-color: #00B8FF;
    box-shadow: 0 0 20px rgba(0, 184, 255, 0.3);
}

.signup-input::placeholder {
    color: #666666;
}

.trust-text {
    font-size: 14px;
    color: #999999;
    font-style: italic;
}

/* ===== FOOTER ===== */
footer {
    background: #121212;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(0, 184, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-brand h3 span {
    color: #00B8FF;
}

.footer-brand p {
    color: #CCCCCC;
    line-height: 1.6;
    font-size: 14px;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #00B8FF;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00B8FF;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 184, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00B8FF;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: rgba(0, 184, 255, 0.2);
    transform: translateY(-3px);
}

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

.footer-bottom p {
    color: #999999;
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #999999;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #00B8FF;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0D0D0D;
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
        border-bottom: 1px solid rgba(0, 184, 255, 0.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-links a {
        display: block;
        width: 100%;
    }

    .nav-cta {
        display: inline-block;
        width: auto;
    }

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

    .hero p {
        font-size: 18px;
    }

    .email-signup {
        flex-direction: column;
        width: 100%;
    }

    .email-signup input {
        min-width: auto;
        width: 100%;
    }

    .why-content {
        grid-template-columns: 1fr;
    }

    .why-visual {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .signup-input {
        min-width: auto;
        width: 100%;
    }

    .signup-form {
        flex-direction: column;
    }
}
