:root {
    --bg-dark: #020617;
    --bg-gradient: radial-gradient(circle at 50% 50%, #0f172a 0%, #020617 100%);
    --accent-blue: #38bdf8;
    --accent-purple: #8b5cf6;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

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

body {
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    padding-top: 100px;
}

/* Glassy Navigation */
nav {
    width: 100%;
    background: rgba(2, 6, 23, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    padding: 15px 5%;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--accent-blue);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-blue);
    border-radius: 2px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Main Container */
.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    background: linear-gradient(to right, #fff, var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

h2.heading {
    font-size: 1.75rem;
    font-weight: 700;
    margin: 40px 0 20px;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 15px;
}

h2.heading::before {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: var(--accent-blue);
}

.text-card {
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
}

.text-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--text-primary);
    font-weight: 500;
}

/* Images */
.image-container {
    margin: 40px 0;
    text-align: center;
}

.image-container img {
    max-width: 50%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.image-caption {
    display: block;
    margin-top: 15px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-style: italic;
}
.button{
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 12px;
    width: 200px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    text-decoration: none;
    display: inline-block;
    margin: 10px 0; 
    text-align: center;
}
/* Interactive Elements */
.btn {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
}

.nav-btn-container {
    text-align: right;
    margin: 20px 0;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.5);
    filter: brightness(1.1);
}

/* List Styles */
ul.list {
    list-style: none;
    margin: 20px 0;
}

ul.list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

ul.list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-blue);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(2, 6, 23, 0.95);
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    nav ul.show {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .text-card {
        padding: 20px;
    }

    .nav-btn-container {
        text-align: right;
    }
}