/* ========================= */
/* GLOBAL STYLING */
/* ========================= */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #c9d1d9;
    background-color: #0d1117;
    overflow-x: hidden;
}

/* Animated ambient glow */
body::before {
    content: "";
    position: fixed;
    top: -200px;
    left: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(88,166,255,0.15), transparent 70%);
    z-index: -1;
    animation: floatGlow 20s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: translate(0, 0); }
    50% { transform: translate(80px, 40px); }
    100% { transform: translate(-40px, 80px); }
}


/* ========================= */
/* NAVBAR */
/* ========================= */

.navbar {
    background-color: #161b22;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
    border-bottom: 1px solid #30363d;
}

.nav-left {
    display: flex;
    align-items: center;
}

.navbar a {
    color: #c9d1d9;
    text-decoration: none;
    padding: 20px 18px;
    font-size: 14px;
    transition: color 0.2s ease;
}

.navbar a:hover {
    color: #58a6ff;
}


/* ========================= */
/* SOCIAL ICONS */
/* ========================= */

.nav-right-icons {
    display: flex;
    gap: 18px;
    align-items: center;
}

.icon-link {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b949e;
    transition: all 0.2s ease;
}

.icon-link svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

.icon-link:hover {
    color: #58a6ff;
    transform: translateY(-2px);
}


/* ========================= */
/* DROPDOWN */
/* ========================= */

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #161b22;
    min-width: 220px;
    border: 1px solid #30363d;
    box-shadow: 0px 8px 24px rgba(0,0,0,0.5);
    border-radius: 6px;
}

.dropdown-content a {
    display: block;
    padding: 12px 15px;
    font-size: 13px;
}

.dropdown-content a:hover {
    background-color: #21262d;
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* ========================= */
/* HERO SECTION */
/* ========================= */

.hero-container {
    padding: 140px 60px;
    max-width: 1000px;
}

.hero-text h1 {
    font-size: 52px;
    margin: 0;
    background: linear-gradient(90deg, #ffffff, #58a6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text h2 {
    font-size: 20px;
    font-weight: 400;
    color: #8b949e;
    margin-top: 10px;
}

.hero-text p {
    margin-top: 25px;
    line-height: 1.6;
    color: #8b949e;
    font-size: 16px;
    max-width: 700px;
}


/* ========================= */
/* BUTTONS */
/* ========================= */

.hero-buttons {
    margin-top: 40px;
}

.btn-primary {
    background-color: #238636;
    color: white;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    margin-right: 15px;
    transition: all 0.2s ease;
    box-shadow: 0 0 10px rgba(35,134,54,0.4);
}

.btn-primary:hover {
    background-color: #2ea043;
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid #30363d;
    padding: 12px 22px;
    border-radius: 6px;
    text-decoration: none;
    color: #c9d1d9;
    font-size: 14px;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background-color: #21262d;
    transform: translateY(-2px);
}


/* ========================= */
/* SECTION DIVIDER */
/* ========================= */

.divider {
    margin-top: 60px;
    border: none;
    height: 1px;
    background: linear-gradient(to right, transparent, #58a6ff, transparent);
}
