/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-bg: #2a2a2a;
    --primary-text: #ffffff;
    --secondary-text: #cccccc;
    --accent-color: #00ff88;
	--accent-color-hover: #00C66C;
    --hover-color: #00cc6a;
    --border-color: #333333;
    --gradient: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

::-webkit-scrollbar{width:12px;height:12px;}::-webkit-scrollbar-track{background:var(--accent-bg);}::-webkit-scrollbar-thumb{background-color:var(--accent-color);border-radius:6px;border:3px solid var(--accent-bg);}::-webkit-scrollbar-thumb:hover{background-color:var(--accent-color-hover);}html{scrollbar-width:thin;scrollbar-color:var(--accent-color) var(--accent-bg);}*{color-scheme:dark;}@media (forced-colors:active){::-webkit-scrollbar,::-webkit-scrollbar-track,::-webkit-scrollbar-thumb{forced-color-adjust:none;}}

html {
    scroll-behavior: smooth;
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--primary-text);
    background: var(--primary-bg);
    min-height: 100vh;
	overflow-x: hidden;
}

/* Header Styles */
header {
    background: var(--secondary-bg);
    border-bottom: 2px solid var(--accent-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.logo img {
    vertical-align: middle;
    margin-right: 10px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: var(--secondary-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--accent-color);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: var(--secondary-text);
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.social-icon:hover {
    color: var(--accent-color);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 0;
    background: var(--gradient);
    border-radius: 10px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--secondary-text);
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-color);
    color: var(--primary-bg);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: var(--primary-bg);
}

/* Cards */
.card {
    background: var(--gradient);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.1);
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

/* Section Styles */
.section {
    margin: 60px 0;
}

.section h2 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 30px;
    text-align: center;
}

.section h3 {
    font-size: 1.8rem;
    color: var(--primary-text);
    margin-bottom: 20px;
}

/* Footer */
footer {
    background: var(--secondary-bg);
    border-top: 2px solid var(--accent-color);
    padding: 40px 0 20px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
}

.footer-section p,
.footer-section a {
    color: var(--secondary-text);
    text-decoration: none;
    margin-bottom: 5px;
    display: block;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--accent-color);
    color: var(--primary-bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 255, 136, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.4);
}

.scroll-to-top:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
        font-size: 1.1rem;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
	body {
        padding-top: 0;
    }
    
    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }
    
    main {
        margin-top: 70px;
        padding: 20px 10px;
    }
    
    .header-container {
        position: relative;
    }
    
    .logo {
        order: 1;
    }
    
    .social-links {
        order: 2;
        margin-right: 20px;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 3;
    }
    
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--secondary-bg);
        border-top: 1px solid var(--accent-color);
        border-bottom: 1px solid var(--accent-color);
        box-shadow: 0 2px 10px rgba(0, 255, 136, 0.1);
        z-index: 999;
    }
    
    nav.active {
        display: block;
    }
    
    nav ul {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .card {
        padding: 20px;
    }
	.logo img {
		display: none;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}