/* ===================================
   ZEROTIER SERVICE PAGE STYLES
   Premium Design for VIAMIKRO ZeroTier
   =================================== */

/* ZeroTier Hero Section */
/* ZeroTier Hero Section */
.zt-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

.zt-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1), transparent 70%);
    top: -200px;
    right: -200px;
    border-radius: 50%;
}

.zt-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.zt-hero-content {
    text-align: left;
}

.zt-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Typography Refinements */
.zt-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.zt-hero-content p {
    margin-bottom: 3rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

.zt-hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Stats Banner */
.zt-stats {
    display: flex;
    justify-content: flex-start;
    gap: 3rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #fb923c, #a855f7);
    /* Orange to Purple */
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animated Logo (Glass Planet) */
.zt-logo-wrapper {
    position: relative;
    width: 380px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatLogo 6s ease-in-out infinite;
    cursor: pointer;
}

.zt-glass-planet {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0));
    backdrop-filter: blur(8px);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 50%;
    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.1),
        inset 0 0 40px rgba(251, 146, 60, 0.1);
    transition: all 0.5s ease;
    z-index: 1;
}

.zt-main-logo {
    width: 60%;
    height: 60%;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(251, 146, 60, 0.2);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
    z-index: 0;
    transition: all 0.5s;
}

.ring-orbit-1 {
    width: 120%;
    height: 120%;
    border-style: dotted;
    animation: orbitRotate 40s linear infinite;
}

.ring-orbit-2 {
    width: 150%;
    height: 150%;
    border: 1px dashed rgba(168, 85, 247, 0.15);
    animation: orbitRotate 60s linear infinite reverse;
}

/* HOVER EFFECTS */
.zt-logo-wrapper:hover .zt-main-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(251, 146, 60, 0.5));
}

.zt-logo-wrapper:hover .zt-glass-planet {
    box-shadow:
        0 0 60px rgba(168, 85, 247, 0.3),
        inset 0 0 50px rgba(251, 146, 60, 0.2);
    border-color: rgba(251, 146, 60, 0.4);
}

.zt-logo-wrapper:hover .orbit-ring {
    opacity: 0.8;
    border-color: rgba(251, 146, 60, 0.4);
}

.zt-logo-wrapper:hover .ring-orbit-1 {
    animation-duration: 20s;
}

/* Animations */
@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes orbitRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* ZeroTier Features Grid */
.zt-features {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.zt-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.zt-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.3s ease;
}

.zt-card:hover {
    transform: translateY(-5px);
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.1);
}

.zt-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.zt-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.zt-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.zt-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zt-list li {
    color: #94A3B8;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Use Cases Section */
.zt-usecases {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #1e1b4b);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Updated to 4 cols */
    gap: 2rem;
    margin-top: 4rem;
}

.usecase-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.usecase-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.usecase-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: white;
}

.usecase-card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* How it Works Section */
.zt-how {
    padding: 6rem 0;
    background: var(--bg-dark);
}

.zt-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.zt-step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.zt-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: white;
}

.zt-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.zt-step-arrow {
    font-size: 2rem;
    color: rgba(168, 85, 247, 0.5);
    flex-shrink: 0;
}

/* FAQ */
.zt-faq {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--bg-dark), #1e1b4b);
}

/* ZeroTier CTA Section */
.zt-cta {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e1b4b, var(--bg-dark));
}

/* Responsive */
@media (max-width: 900px) {

    .zt-grid,
    .usecases-grid {
        grid-template-columns: 1fr;
    }

    .zt-steps {
        flex-direction: column;
    }

    .zt-step-arrow {
        transform: rotate(90deg);
    }

    .zt-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .zt-hero-content {
        text-align: center;
    }

    .zt-hero-cta {
        justify-content: center;
    }

    .zt-stats {
        justify-content: center;
    }

    .zt-logo-wrapper {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }

    .zt-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .zt-hero {
        padding: 8rem 0 4rem;
    }

    .zt-hero h1 {
        font-size: 2rem;
    }

    .zt-card,
    .usecase-card {
        padding: 2rem;
    }
}