@import url('https://api.fontshare.com/v2/css?f[]=oldschool-grotesk@400,700&display=swap');

/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    --color-bg: #1f1f1f;
    --color-primary: #F26716;
    --color-text: #ffffff;
    --color-text-dim: #a0a0a0;
    --color-accent: #FF6B35;
    --color-purple: #8B5CF6;
    --color-blue: #3B82F6;
    --color-green: #10B981;
    --color-yellow: #FBBF24;

    --font-family: 'Oldschool Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100vh;
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 0;
}

.nav-group {
    position: relative;
    display: inline-block;
}

.nav-bg {
    width: 650px;
    height: 72px;
    display: block;
}

@media (max-width: 768px) {
    .nav-bg {
        width: 320px;
        /* Much smaller for mobile */
        height: 48px;
    }

    .navbar {
        top: 10px;
    }
}

.nav-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 5rem 0 4.5rem;
    gap: 1.5rem;
    z-index: 10;
    overflow: hidden;
    clip-path: polygon(0% 0%, 94% 0%, 100% 50%, 94% 100%, 0% 100%);
}

@media (max-width: 768px) {
    .nav-content {
        padding: 0 1.5rem 0 1rem;
        gap: 0.5rem;
        clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
    }

    .nav-link {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.6rem !important;
    }

    .nav-logo svg {
        width: 24px !important;
        height: 24px !important;
    }
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 8px;
}

.nav-logo:hover {
    background: rgba(255, 255, 255, 0.05);
}

.nav-logo svg {
    width: 44px;
    height: 44px;
}

.nav-link {
    font-size: 1.1rem;
    /* Slightly larger font */
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    padding: 0.6rem 1.4rem;
    position: relative;
    transition: var(--transition-smooth);
    border-radius: 6px;
    white-space: nowrap;
}

.nav-link-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0);
    border-radius: 6px;
    transition: var(--transition-smooth);
    z-index: 0;
}

.nav-link:hover {
    color: #F26716;
}

.nav-link:hover .nav-link-bg {
    background: transparent;
    /* Removed white background as requested */
}

.nav-link.active .nav-link-bg {
    display: none;
}

.nav-link-bg {
    display: none;
}

.nav-link span {
    position: relative;
    z-index: 1;
}

.nav-link.active {
    color: #FFFFFF;
    font-weight: 600;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Removed fixed padding to ensure true centering */
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
    /* Removed the glow effect totally */
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.1);
    }
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    margin: 0;
    /* Centered without bottom margin */
    z-index: 10;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    margin: 0;
    padding: 0;
    letter-spacing: -0.04em;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line {
    display: block;
    background: linear-gradient(135deg, #FFFFFF 0%, #E0E0E0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.title-line:nth-child(1) {
    animation-delay: 0.2s;
}

.title-line:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    color: var(--color-text-dim);
    margin-bottom: 3rem;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.6s forwards;
    opacity: 0;
}

.download-button {
    background: var(--color-primary);
    color: var(--color-bg);
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 8px 30px rgba(196, 255, 97, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    animation: fadeInUp 1s ease-out 0.8s forwards;
    opacity: 0;
}

.download-button svg {
    width: 24px;
    height: 24px;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(196, 255, 97, 0.6);
    background: #D4FF81;
}

.download-button:active {
    transform: translateY(-1px);
}

/* ========================================
   Animated Icons
   ======================================== */
.icons-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    position: fixed;
    bottom: 32px;
    /* Raised from bottom for dock feel */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    padding: 12px 24px;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .icons-container {
        padding: 0 5%;
        gap: 0.5rem;
        bottom: 10px;
    }

    .icon-wrapper {
        flex: 1;
        max-width: 60px;
        /* Ensure they don't get too big but stay readable */
        min-width: 45px;
    }
}

.icon-wrapper {
    position: relative;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: iconEntrance 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
    overflow: hidden;
    /* Added to keep ripple inside */
}

.icon-wrapper .icon {
    height: 100%;
    width: auto;
}

@keyframes iconEntrance {
    0% {
        opacity: 0;
        transform: scale(0) translateY(100px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.icon-wrapper:nth-child(1) {
    animation-delay: 0.1s;
}

.icon-wrapper:nth-child(2) {
    animation-delay: 0.2s;
}

.icon-wrapper:nth-child(3) {
    animation-delay: 0.3s;
}

.icon-wrapper:nth-child(4) {
    animation-delay: 0.4s;
}

.icon-wrapper:nth-child(5) {
    animation-delay: 0.5s;
}

.icon {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
    transition: var(--transition-bounce);
}

.icon-wrapper:hover {
    transform: scale(1.1) translateY(-10px);
}

.icon-wrapper.icon-1:hover .icon {
    filter: drop-shadow(0 0 20px rgba(2, 62, 115, 0.8));
}

.icon-wrapper.icon-2:hover .icon {
    filter: drop-shadow(0 0 20px rgba(2, 115, 115, 0.8));
}

.icon-wrapper.icon-3:hover .icon {
    filter: drop-shadow(0 0 20px rgba(242, 159, 5, 0.8));
}

.icon-wrapper.icon-4:hover .icon {
    filter: drop-shadow(0 0 20px rgba(242, 135, 5, 0.8));
}

.icon-wrapper.icon-5:hover .icon {
    filter: drop-shadow(0 0 20px rgba(242, 103, 22, 0.8));
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 1024px) {
    .hero-content {
        padding: 0 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 3.5rem;
        /* Better scale for small phones */
    }
}

/* ========================================
   Snow Effect Animations
   ======================================== */
body {
    overflow-x: hidden;
    /* Kar tanelerinin sağa kaymasını önlemek için */
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 5;
}

.snowflake {
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    filter: blur(1px);
    z-index: 5;
}

@keyframes fall {
    0% {
        top: -10%
    }

    100% {
        top: 110%
    }
}

@keyframes move {
    0% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(50px);
    }

    50% {
        transform: translateX(-50px);
    }

    75% {
        transform: translateX(50px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes showSnow {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}