/* ==============================
   KIZOFF - Main Stylesheet
   ============================== */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #050816;
    color: #fff;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Background Effects */
.bg-effect {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 1400px;
    background: url(../assets/hero-effect.png) no-repeat center center;
    background-size: contain;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* Particle Canvas */
#bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* ==============================
   Header / Navigation
   ============================== */

.header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 100;
    background: rgba(8, 12, 30, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(96, 165, 250, 0.20);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 40px rgba(96, 165, 250, 0.03);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo-neon {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
    text-shadow:
        0 0 7px #60a5fa,
        0 0 10px #60a5fa,
        0 0 21px #60a5fa,
        0 0 42px #3b82f6,
        0 0 82px #3b82f6,
        0 0 92px #3b82f6;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.01em;
}

.nav-links a:hover {
    color: #60a5fa;
}

.btn-secondary {
    padding: 10px 24px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #93bbfc;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.02em;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(59, 130, 246, 0.2));
    border-color: #60a5fa;
    color: #fff;
    box-shadow: 0 0 30px rgba(96, 165, 250, 0.2), inset 0 0 20px rgba(96, 165, 250, 0.05);
    transform: translateY(-1px);
}

/* ==============================
   Buttons
   ============================== */

.btn {
    display: inline-block;
    padding: 16px 44px;
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    color: #fff;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(96, 165, 250, 0.3);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(96, 165, 250, 0.4);
}

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

/* ==============================
   Hero Section
   ============================== */

.hero-layout {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 24px 80px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 90vh;
}

.hero-left {
    flex: 1;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-left p {
    font-size: 17px;
    line-height: 1.7;
    color: #94a3b8;
    max-width: 480px;
}

.hero-description {
    background: rgba(12, 18, 40, 0.75);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    margin-bottom: 36px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero-description p {
    color: #94a3b8;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

/* Hero Image without wrapper */
.hero-image {
    display: block;
    width: 100%;
    max-width: 520px;
    height: auto;
    border-radius: 16px;
    background: rgba(15, 20, 40, 0.6);
    border: 1px solid rgba(96, 165, 250, 0.15);
    box-shadow:
        0 0 40px rgba(96, 165, 250, 0.05),
        inset 0 0 80px rgba(96, 165, 250, 0.02);
}

/* ==============================
   Stats Bar
   ============================== */



.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #60a5fa;
    letter-spacing: -0.02em;
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(12, 18, 40, 0.85);
}

/* ==============================
   Features Section
   ============================== */

.features {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px 20px;
}

.features h2 {
    text-align: center;
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 60px;
    letter-spacing: -0.02em;
}

.features h2 .accent {
    background: linear-gradient(135deg, #60a5fa, #3b82f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.card {
    padding: 36px 24px 40px;
    background: rgba(12, 18, 40, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, transform 0.3s;
    position: relative;
}

.card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
}

.icon-container {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.card img {
    max-height: 80px;
    width: auto;
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.4));
    transition: filter 0.4s;
}

.card:hover img {
    filter: drop-shadow(0 0 25px rgba(96, 165, 250, 0.6));
}

.card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

/* ==============================
   Info Row
   ============================== */

.info-row {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 4px 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 8px;
    align-items: stretch;
}

.info-card {
    padding: 32px 28px;
    background: rgba(12, 18, 40, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s;
}

.info-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
}

.info-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #fff;
    line-height: 1.3;
}

.info-card p {
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.info-image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.server-icon {
    width: 80px;
    height: 80px;
}

.server-icon svg {
    width: 100%;
    height: 100%;
}

.server-caption {
    color: #64748b;
    font-size: 13px;
    margin-top: 12px;
    text-align: center;
}

.info-tri-block {
    display: flex;
    align-items: center;
    padding: 32px 32px;
}

.info-tri-bottom {
    display: flex;
    align-items: center;
    gap: 28px;
    width: 100%;
}

.info-tri-block h3 {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    flex: 1;
}

.info-tri-img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

/* ==============================
   Steps Section
   ============================== */

.steps-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.steps-section h2 {
    text-align: center;
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #93bbfc 30%, #60a5fa 70%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.step-card {
    padding: 32px 24px;
    background: rgba(12, 18, 40, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, transform 0.3s;
    overflow: hidden;
}

.step-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
}

.step-number {
    line-height: 0;
    margin-bottom: 16px;
}

.step-number-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.step-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    line-height: 1.3;
}

.step-card p {
    color: #94a3b8;
    font-size: 17px;
    line-height: 1.7;
}

/* ==============================
   Panel Section
   ============================== */

.panel-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.panel-section h2 {
    text-align: center;
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #93bbfc 30%, #60a5fa 70%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.3);
}

.panel-section img {
    max-width: 85%;
    margin: 0 auto;
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.85;
}





/* ==============================
   Digits Section
   ============================== */

.digits-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 24px 60px;
}

.digits-section h2 {
    text-align: center;
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 50px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 0%, #93bbfc 30%, #60a5fa 70%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.3);
}

.digits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
}

.digit-card {
    padding: 40px 24px;
    background: rgba(12, 18, 40, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 16px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: border-color 0.3s, transform 0.3s;
}

.digit-card:hover {
    border-color: rgba(96, 165, 250, 0.3);
    transform: translateY(-4px);
}

.digit-card .stat-number {
    font-size: 38px;
    margin-bottom: 8px;
    display: block;
}

.digit-card .stat-label {
    font-size: 14px;
    color: #94a3b8;
}

/* ==============================
   Security Section
   ============================== */


.security-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 24px;
    text-align: center;
}

.security-block {
    padding: 40px 40px;
    background: rgba(12, 18, 40, 0.85);
    border: 1px solid rgba(96, 165, 250, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    text-align: center;
}

.security-heading {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 30%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-img-wrapper {
    margin-bottom: 24px;
}

.security-img {
    display: inline-block;
    max-width: 600px;
    width: 100%;
    height: auto;
    opacity: 0.7;
    border-radius: 12px;
}

.security-block p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

/* ==============================
   CTA Section
   ============================== */

.cta-section {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    text-align: center;
}

.cta-section h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
}

/* ==============================
   Footer
   ============================== */

.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(12, 18, 40, 0.85);
    background: rgba(5, 8, 22, 0.5);
    backdrop-filter: blur(10px);
    margin-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px 40px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

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

.footer-col p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
}

.footer-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: contain;
    margin-bottom: 8px;
}

.footer-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.footer-col a {
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #60a5fa;
}

.footer-bottom {
    border-top: 1px solid rgba(12, 18, 40, 0.85);
    padding: 20px 24px;
    text-align: center;
}

.footer-bottom p {
    color: #475569;
    font-size: 13px;
}

/* ==============================
   Responsive: Tablet (< 768px)
   ============================== */

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 200;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(5, 8, 22, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.mobile-menu.open {
    opacity: 1;
    visibility: visible;
}

.mobile-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 20px;
    font-weight: 500;
    transition: color 0.3s;
}

.mobile-link:hover {
    color: #60a5fa;
}

.mobile-btn {
    padding: 12px 32px;
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.15), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #93bbfc;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
}

.mobile-btn:hover {
    background: linear-gradient(135deg, rgba(96, 165, 250, 0.25), rgba(59, 130, 246, 0.2));
    border-color: #60a5fa;
    color: #fff;
}

@media (max-width: 768px) {
    .header {
        top: 12px;
        width: calc(100% - 24px);
    }

    .header-container {
        padding: 12px 16px;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .btn-secondary {
        display: none;
    }

    .hero-layout {
        flex-direction: column;
        padding: 120px 16px 60px;
        gap: 40px;
        min-height: auto;
        text-align: center;
    }

    .hero-left {
        max-width: 100%;
    }

    .hero-left h1 {
        font-size: 36px;
        text-align: center;
    }

    .hero-left p {
        margin: 0 auto 30px;
        font-size: 15px;
    }

    .hero-description {
        max-width: 100%;
        text-align: left;
    }

    .hero-description p {
        max-width: 100%;
        font-size: 15px;
    }

    .hero-right {
        width: 100%;
    }

    .hero-image {
        max-width: 100%;
    }


    .stat-divider {
        width: 1px;
        height: 36px;
    }

    .features {
        padding: 60px 16px 40px;
    }

    .features h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .info-row {
        grid-template-columns: 1fr;
        padding: 20px 16px 40px;
    }

    .info-image-card {
        padding: 40px 28px;
    }

    .steps-section {
        padding: 40px 16px;
    }

    .steps-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .panel-section {
        padding: 40px 16px;
    }

    .panel-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .digits-section {
        padding: 40px 16px;
    }

    .digits-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .digits-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }

    .security-section {
        padding: 20px 16px;
    }

    .security-block {
        padding: 40px 24px;
    }

    .security-block h2 {
        font-size: 26px;
    }

    .cta-section {
        padding: 60px 16px 80px;
    }

    .cta-section h2 {
        font-size: 32px;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-col:first-child {
        grid-column: 1 / -1;
    }
}

/* ==============================
   Responsive: Mobile (< 480px)
   ============================== */

@media (max-width: 480px) {
    .header {
        top: 8px;
        width: calc(100% - 16px);
        border-radius: 12px;
    }

    .logo-neon {
        font-size: 26px;
    }

    .hero-left h1 {
        font-size: 28px;
    }

    .btn {
        padding: 14px 32px;
        font-size: 14px;
    }

    .stat-number {
        font-size: 24px;
    }

    .features h2 {
        font-size: 24px;
    }

    .card {
        padding: 28px 20px 32px;
    }

    .info-card h3 {
        font-size: 18px;
    }

    .steps-section h2 {
        font-size: 24px;
    }

    .step-card {
        padding: 24px 20px;
    }

    .step-card h3 {
        font-size: 17px;
    }

    .panel-section h2 {
        font-size: 24px;
    }

    .digits-section h2 {
        font-size: 24px;
    }

    .digit-card .stat-number {
        font-size: 30px;
    }

    .security-block h2 {
        font-size: 22px;
    }

    .security-block {
        padding: 30px 20px;
    }

    .cta-section h2 {
        font-size: 26px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }
}

/* ==============================
   Animations
   ============================== */

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

.hero-layout {
    animation: fadeInUp 0.8s ease-out;
}


.features {
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.info-row {
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.steps-section {
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.panel-section {
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.digits-section {
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.security-section {
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.cta-section {
    animation: fadeInUp 0.8s ease-out 1.0s both;
}

/* ==============================
   Selection
   ============================== */

::selection {
    background: rgba(96, 165, 250, 0.3);
    color: #fff;
}

/* ==============================
   Scrollbar
   ============================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #050816;
}

::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.4);
}
