* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --electric-blue: #ffffff;
    --spark-speed: 2.5s;
    --card-bg: #00d88c;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    background: #0a1019;
    min-height: 100vh;
    padding: 0px 40px;
}

/* HEADER MAIN CONTAINER */
.header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    border-bottom: #047a45 1px solid;
}

/* LOGO */
.logo-box {
    flex-shrink: 0;
    width: 280px;
    height: 72px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 18px;
    background: rgba(0, 216, 140, 0.10);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 50px;
    border: 1px solid #047a45;
    box-shadow:
        0 8px 32px 0 #032214,
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

/* NAVBAR */
.navbar {
    flex: 1;
    min-width: 0;
    max-width: 800px;
    height: 72px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 0x;
    background: rgba(255, 166, 1, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 50px;
    border: 1px solid #047a45;
    box-shadow:
        0 8px 32px 0 #032214,
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

/* MENU LINKS */
.nav-link {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 12px 22px;
    border-radius: 25px;
    transition: 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.25),
        transparent
    );
    transition: left 0.5s;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover {
    color: #ffffff;
    background: #00d88c;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px #0a1019;
}

/* SEARCH BOX */
.search-box {
    flex-shrink: 0;
    width: 200px;
    height: 72px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    background: rgba(0, 216, 140, 0.10);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 50px;
    border: 1px solid #047a45;
    box-shadow:
        0 8px 32px 0 #032214,
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.search-box i {
    color: #ffffff;
    font-size: 16px;
    flex-shrink: 0;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-size: 15px;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 40px;
    gap: 40px;
}
.hero-text {
    width: 50%;
    min-width: 0;
}
.hero-text h1 {
    font-size: 42px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #00d88c;
}
.hero-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 18px;
}
.hero-title .line,
.hero-desc .p-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    width: 0;
}

/* ---------- H1 ---------- */
.hero-title .line {
    color: #00d88c;
}

.hero-title .line1 {
    font-size: 42px;
    line-height: 1.4;
    animation: line1Typing 10s steps(22) infinite;
}

.hero-title .line2 {
    font-size: 36px;
    line-height: 1.4;
    animation: line2Typing 10s steps(17) infinite;
}

/* ---------- P ---------- */
.hero-desc {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 20px;
}

.hero-desc .p-line {
    font-size: 18px;
    line-height: 1.6;
    color: #ffffff;
}

.hero-desc .p1 {
    animation: line3Typing 10s steps(74) infinite;
}

.hero-desc .p2 {
    animation: line4Typing 10s steps(36) infinite;
}

/* Main button */
.electric-btn {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Electric rotating border */
.electric-btn::before {
    content: '';
    position: absolute;
    width: 180%;
    height: 300%;
    background: conic-gradient(
        from 0deg,
        transparent 0%,
        var(--electric-blue) 2%,
        transparent 5%,
        transparent 40%,
        var(--electric-blue) 42%,
        transparent 45%,
        transparent 100%
    );
    animation:
        rotate var(--spark-speed) linear infinite,
        flicker 0.1s infinite;
    filter: blur(4px) contrast(1.5);
}

/* Glow layer */
.electric-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at center,
        #1eb486 0%,
        transparent 65%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Inner button body */
.btn-inner {
    position: relative;
    z-index: 2;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 34px;
    margin: 3px;
    background: var(--card-bg);
    color: white;
    border-radius: 11px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: capitalize;
    border: 1px solid rgba(255, 255, 255, 0.06);
    text-shadow: 0 0 8px #1eb486;
}

/* Hover effect */
.electric-btn:hover {
    transform: translateY(-2px);
    --spark-speed: 0.6s;
    box-shadow: 0 0 30px #00f2ff38;
}

.electric-btn:hover::after {
    opacity: 1;
}

/* Optional click effect */
.electric-btn:active {
    transform: scale(0.98);
}

/* ---------- KEYFRAMES ---------- */
@keyframes line1Typing {
    0% { width: 0; }
    15% { width: 22ch; }
    100% { width: 22ch; }
}

@keyframes line2Typing {
    0% { width: 0; }
    22% { width: 0; }
    38% { width: 17.3ch; }
    100% { width: 17.3ch; }
}

@keyframes line3Typing {
    0% { width: 0; }
    45% { width: 0; }
    70% { width: 70ch; }
    100% { width: 70ch; }
}

@keyframes line4Typing {
    0% { width: 0; }
    75% { width: 0; }
    92% { width: 34ch; }
    100% { width: 34ch; }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
    75% { opacity: 0.9; }
    85% { opacity: 0.4; }
}

.hero-image {
    width: 50%;
    text-align: center;
}
.hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 12px;
    transition: 0.3s;
}
.hero-image img:hover {
    transform: scale(1.10);
}

.smail-box {
    width: 5%;
    aspect-ratio: 1/1;
    background: #0d1b27;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    position: absolute;
    top: 450px;
    left: 850px;
    animation: rotate 3s infinite;
    box-shadow: 0 10px 25px #2a4d725b
}
.smail-box img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}