:root {
    --cyan: #00baff;
    --blue: #0059bc;
    --orange: #ffa400;
    --dark-blue: #173753;
    --white: #ffffff;
    --glass-bg: rgba(23, 55, 83, 0.6);
    --glass-border: rgba(0, 186, 255, 0.2);
    --nav-bg: rgba(23, 55, 83, 0.95);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-blue);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

.background-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background:
        radial-gradient(circle at 15% 50%, rgba(0, 186, 255, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 89, 188, 0.25) 0%, transparent 50%),
        linear-gradient(135deg, #0a192f 0%, #173753 100%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Sticky Nav */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
    background: rgba(23, 55, 83, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.4s ease-in-out;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.sticky-nav.visible {
    transform: translateY(0);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-icon {
    width: 40px;
    height: auto;
}

.nav-title {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-cta {
    background: var(--cyan);
    color: var(--dark-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: var(--white);
    transform: scale(1.05);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: relative;
}

.hero-icon-container {
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 40px rgba(0, 186, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

.hero-icon {
    width: 180px;
    height: auto;
    max-width: 100%;
}

.title {
    font-size: 5rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--cyan) 100%);
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0, 186, 255, 0.2);
}

.tagline {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.scroll-indicator span {
    width: 4px;
    height: 8px;
    background: var(--cyan);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(20px);
        opacity: 0;
    }
}

/* Sections */
.feature-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    opacity: 0;
    transition: opacity 1s ease, transform 1s ease;
    transform: translateY(50px);
}

.feature-section.in-view {
    opacity: 1;
    transform: translateY(0);
}

.content-wrapper {
    max-width: 900px;
    text-align: center;
    padding: 4rem;
    border-radius: 30px;
}

.depth-effect {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.37),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.depth-effect:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

.section-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: var(--orange);
    text-shadow: 0 4px 20px rgba(255, 164, 0, 0.2);
}

.section-text {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.8;
}

/* Footer */
.cta-footer {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
    opacity: 0;
    transition: opacity 1s ease;
}

.cta-footer.in-view {
    opacity: 1;
}

.footer-title {
    font-size: 3rem;
    margin-bottom: 3rem;
}

.download-btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--blue) 0%, var(--cyan) 100%);
    color: var(--white);
    padding: 1.2rem 4rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 186, 255, 0.3);
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 186, 255, 0.5);
}

.install-instructions {
    text-align: left;
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 20px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.install-instructions h3 {
    color: var(--cyan);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.install-instructions ol {
    padding-left: 1.5rem;
}

.install-instructions li {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.install-instructions code {
    background: rgba(0, 186, 255, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: var(--orange);
    border: 1px solid rgba(0, 186, 255, 0.2);
}

/* Hero Layout */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    gap: 4rem;
    z-index: 1;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-animation {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Browser Window Simulation */
.browser-window {
    width: 100%;
    max-width: 500px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    font-family: Arial, sans-serif;
    position: relative;
    transform: perspective(1000px) rotateY(-5deg);
    transition: transform 0.5s ease;
}

.browser-window:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.browser-header {
    background: #f1f3f4;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #ddd;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot.red {
    background: #ff5f56;
}

.dot.yellow {
    background: #ffbd2e;
}

.dot.green {
    background: #27c93f;
}

.browser-search-bar {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 5px 15px;
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-icon {
    opacity: 0.5;
}

.cursor-blink {
    animation: blink 1s infinite;
    opacity: 0.5;
}

.browser-body {
    background: #fff;
    height: 350px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.search-results {
    opacity: 0;
    animation: fadeInResults 0.5s forwards;
    animation-delay: 2.5s;
}

/* Google Search Style Results */
.result-item {
    margin-bottom: 24px;
    padding: 0;
    border-radius: 0;
    transition: none;
    position: relative;
    font-family: arial, sans-serif;
    text-align: left;
}

.result-header {
    margin-bottom: 4px;
}

.result-url-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 14px;
    color: #202124;
}

.url-icon {
    width: 26px;
    height: 26px;
    background: #f1f3f4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #5f6368;
    font-weight: 500;
}

.result-site-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.site-name {
    font-size: 14px;
    color: #202124;
}

.site-url {
    font-size: 12px;
    color: #202124;
}

.three-dots {
    color: #5f6368;
    margin-left: auto;
    font-size: 18px;
}

.result-title {
    color: #1a0dab;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 3px;
    text-decoration: none;
    cursor: pointer;
}

.result-title:hover {
    text-decoration: underline;
}

.result-desc {
    color: #4d5156;
    font-size: 14px;
    line-height: 1.58;
}

/* Safety Badge */
.safety-badge {
    position: absolute;
    right: 0;
    top: 0;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.safety-badge.safe {
    background: #e6f4ea;
    color: #137333;
    border: 1px solid #137333;
}

.safety-badge.unsafe {
    background: #fce8e6;
    color: #c5221f;
    border: 1px solid #c5221f;
}

/* Mouse Cursor */
.mouse-cursor {
    position: absolute;
    top: 100%;
    left: 100%;
    pointer-events: none;
    z-index: 10;
    animation: cursorMove 12s infinite;
}

/* Animations Keyframes */
@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes fadeInResults {
    to {
        opacity: 1;
    }
}

/* Badge Animations */
.safe-result .safety-badge {
    animation: showSafeBadge 12s infinite;
}

.unsafe-result .safety-badge {
    animation: showUnsafeBadge 12s infinite;
}

@keyframes showSafeBadge {

    0%,
    30% {
        opacity: 0;
        transform: scale(0.8);
    }

    32%,
    43% {
        opacity: 1;
        transform: scale(1);
    }

    45%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes showUnsafeBadge {

    0%,
    50% {
        opacity: 0;
        transform: scale(0.8);
    }

    52%,
    63% {
        opacity: 1;
        transform: scale(1);
    }

    65%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }
}

/* Typing Animation - Default (Movie) */
.typing-text::after {
    content: "movie download";
    animation: typing-movie 2s steps(14) infinite;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes typing-movie {
    0% {
        content: "";
    }

    100% {
        content: "movie download";
    }
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .nav-content {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .nav-logo-container {
        margin-bottom: 0.5rem;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text {
        text-align: center;
    }

    .hero-animation {
        width: 100%;
    }

    .browser-window {
        max-width: 100%;
    }
}

/* Adjust cursor animation to fit new layout */
@keyframes cursorMove {
    0% {
        top: 110%;
        left: 110%;
    }

    20% {
        top: 110%;
        left: 110%;
    }

    25% {
        top: 80%;
        left: 80%;
    }

    30% {
        top: 60px;
        left: 150px;
    }

    /* Safe Result Title */
    45% {
        top: 60px;
        left: 150px;
    }

    50% {
        top: 200px;
        left: 150px;
    }

    /* Unsafe Result Title */
    65% {
        top: 200px;
        left: 150px;
    }

    70% {
        top: 110%;
        left: 110%;
    }

    100% {
        top: 110%;
        left: 110%;
    }
}

/* Nav Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.github-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white) !important;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    border: 1px solid rgba(0, 186, 255, 0.3);
    transition: all 0.3s ease;
    background: rgba(0, 186, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 186, 255, 0.1);
}

.github-btn:hover {
    background: rgba(0, 186, 255, 0.2);
    border-color: var(--cyan);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 186, 255, 0.3);
    color: var(--white) !important;
}

.github-btn svg {
    fill: currentColor;
}