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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000;
    color: #fff;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-overflow-scrolling: touch;
}

/* Enhanced animated background */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 50px 50px, 50px 50px;
    animation: gridMove 30s linear infinite, gradientShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 0%, 100% 100%, 50% 50%, 0px 0px, 0px 0px;
    }
    50% { 
        background-position: 100% 100%, 0% 0%, 100% 100%, 25px 25px, 25px 25px;
    }
}

/* Enhanced cursor trail effect */
.cursor-trail {
    position: fixed;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: all 0.15s ease;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
    animation: cursorPulse 2s ease-in-out infinite;
}

.cursor-trail::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: cursorInner 1.5s ease-in-out infinite;
}

@keyframes cursorPulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes cursorInner {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.9;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.6;
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 5%;
    background: rgba(0,0,0,0.95);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.5rem;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-text {
    display: flex;
    align-items: center;
}

.logo-type {
    color: #fff;
    -webkit-text-fill-color: #fff;
}

.logo-software {
    color: #2c6bed;
    -webkit-text-fill-color: #2c6bed;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: scale(1.1);
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.nav-links a:hover {
    color: #2c6bed;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2c6bed;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.hero-badge svg {
    color: #fff;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -3px;
    line-height: 0.9;
    background: linear-gradient(135deg, #fff 0%, #999 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: 30px;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 0.5px;
}

.hero .description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: #aaa;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: #ccc;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 18px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 2px solid;
    min-height: 44px;
    touch-action: manipulation;
}

.cta-button.primary {
    background: #2c6bed;
    color: #fff;
    border-color: #2c6bed;
}

.cta-button.primary:hover {
    background: #245ab1;
    border-color: #245ab1;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.3);
}

.cta-button.secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Floating elements */
.floating-element {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
}

.floating-element:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-element:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

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

/* About Section */
.about {
    padding: 120px 5%;
    background: linear-gradient(135deg, #111 0%, #000 100%);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(120, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 0 15px;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: #ccc;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.3rem;
    color: #ccc;
    line-height: 1.8;
}

.about-features {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #aaa;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: #fff;
}

.about-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.website-window {
    width: 100%;
    max-width: 600px;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    -webkit-overflow-scrolling: touch;
}

.window-header {
    background: #2d2d2d;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f56;
    box-shadow: 0 0 5px rgba(255, 95, 86, 0.5);
    transition: all 0.3s ease;
}

.window-dots span:nth-child(2) {
    background: #ffbd2e;
    box-shadow: 0 0 5px rgba(255, 189, 46, 0.5);
}

.window-dots span:nth-child(3) {
    background: #27ca3f;
    box-shadow: 0 0 5px rgba(39, 202, 63, 0.5);
}

.window-dots span:hover {
    transform: scale(1.1);
    box-shadow: 0 0 10px currentColor;
}

.window-title {
    color: #8f8f8f;
    font-size: 0.85rem;
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', 'Monaco', 'Courier New', monospace;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.window-content {
    height: 400px;
    position: relative;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
}

.window-content iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

/* Terminal selection effect */
.code-snippet::selection {
    background: rgba(78, 201, 176, 0.3);
    color: #ffffff;
}

/* Command groups styling */
.command-group {
    margin-bottom: 16px;
    padding: 8px 0;
    border-left: 2px solid rgba(78, 201, 176, 0.2);
    padding-left: 16px;
    margin-left: -16px;
}

.command-group:last-child {
    margin-bottom: 0;
}

/* Status indicators */
.status-success {
    color: #4ec9b0;
    font-weight: 500;
}

.status-info {
    color: #569cd6;
    font-weight: 500;
}

.status-warning {
    color: #ffbd2e;
    font-weight: 500;
}

/* Info line styles for informational content */
.info-line {
    position: relative;
    padding: 8px 0;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    min-height: 24px;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-line:hover {
    background: rgba(255,255,255,0.03);
    border-radius: 4px;
}

.info-line:last-child {
    border-bottom: none;
}

.info-label {
    color: #4ec9b0;
    font-weight: 600;
    min-width: 80px;
    margin-right: 16px;
    text-shadow: 0 0 5px rgba(78, 201, 176, 0.3);
    font-size: 13px;
    letter-spacing: 0.5px;
}

.info-text {
    color: #d4d4d4;
    font-weight: 400;
    flex: 1;
    line-height: 1.4;
}

/* README styles for markdown-like content */
.code-snippet .readme-line {
    position: relative;
    padding: 4px 0;
    margin-bottom: 2px;
    display: flex !important;
    align-items: center;
    min-height: 20px;
    transition: background-color 0.2s ease;
    border: none !important;
    color: #d4d4d4;
    font-weight: 400;
    line-height: 1.5;
    font-size: 13px;
}

.code-snippet .readme-line:hover {
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
}

.code-snippet .readme-line::before {
    display: none !important;
}

/* Style headers (starting with #) */
.code-snippet .readme-line:first-child {
    color: #4285f4 !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    text-shadow: 0 0 5px rgba(66, 133, 244, 0.3);
    letter-spacing: 0.5px;
}

/* Style subheaders (starting with ##) */
.code-snippet .readme-line:nth-child(4),
.code-snippet .readme-line:nth-child(8),
.code-snippet .readme-line:nth-child(13),
.code-snippet .readme-line:nth-child(17),
.code-snippet .readme-line:nth-child(22) {
    color: #4ec9b0 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-shadow: 0 0 5px rgba(78, 201, 176, 0.3);
    letter-spacing: 0.3px;
    margin-top: 8px;
}

/* Style status line */
.code-snippet .readme-line:nth-child(15) {
    color: #4ec9b0 !important;
    font-weight: 500 !important;
}

/* Projects Section */
.projects {
    padding: 120px 5%;
    background: #000;
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 70% 30%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.project-card {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.project-card:active {
    transform: scale(0.98);
}

.project-card.featured {
    border-color: rgba(255,255,255,0.3);
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(255,255,255,0.1);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.project-icon {
    width: 32px;
    height: 32px;
    color: #fff;
}

.project-status {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-status.live {
    background: rgba(39, 202, 63, 0.2);
    color: #27ca3f;
    border: 1px solid rgba(39, 202, 63, 0.3);
}

.project-status.beta {
    background: rgba(255, 189, 46, 0.2);
    color: #ffbd2e;
    border: 1px solid rgba(255, 189, 46, 0.3);
}

.project-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.project-description {
    color: #aaa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-features {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    font-size: 0.75rem;
    color: #ccc;
    border: 1px solid rgba(255,255,255,0.1);
}

.project-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    min-height: 44px;
    touch-action: manipulation;
}

.btn-primary {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Features Section */
.features {
    padding: 120px 5%;
    background: linear-gradient(135deg, #000 0%, #111 100%);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(120, 219, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 20px 40px rgba(255,255,255,0.1);
}

.feature-card .feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    display: block;
    color: #fff;
    margin: 0 auto 20px;
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.feature-card p {
    color: #aaa;
    line-height: 1.6;
}

/* Community Section */
.community {
    padding: 120px 5%;
    background: #000;
    position: relative;
}

.community::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.community-text p {
    font-size: 1.3rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
}

.community-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.community-stat {
    text-align: center;
}

.community-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 5px;
}

.community-stat .stat-label {
    font-size: 1rem;
    color: #ccc;
    font-weight: 500;
}

.community-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.community-link {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
    border-radius: 15px;
    text-decoration: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    font-weight: 600;
    min-height: 60px;
    touch-action: manipulation;
}

.community-link:hover {
    transform: translateX(10px);
    border-color: rgba(255,255,255,0.3);
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
}

.community-link:active {
    transform: scale(0.98);
}

.link-icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.community-link.github {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.community-link.github:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.community-link.discord {
    background: rgba(88, 101, 242, 0.1);
    border-color: rgba(88, 101, 242, 0.3);
    color: #5865F2;
}

.community-link.discord:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
}

.community-link.twitter {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.community-link.twitter:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Footer */
footer {
    padding: 80px 5% 40px;
    background: #111;
    border-top: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #ccc;
    margin-top: 15px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-section a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: #666;
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
}

.footer-legal a:hover {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-links {
        display: none;
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 20px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 20px;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px 5%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        text-align: center;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

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

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

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

    /* Logo icon responsive sizing */
    .logo-icon {
        width: 28px;
        height: 28px;
    }

    .logo {
        gap: 10px;
        font-size: 1.3rem;
    }

    /* Grid background scaling for mobile */
    .bg-grid {
        background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px, 30px 30px;
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(30px, 30px); }
    }

    @keyframes gradientShift {
        0%, 100% { 
            background-position: 0% 0%, 100% 100%, 50% 50%, 0px 0px, 0px 0px;
        }
        50% { 
            background-position: 100% 100%, 0% 0%, 100% 100%, 15px 15px, 15px 15px;
        }
    }

    /* Hero Section */
    .hero {
        padding: 20px 5%;
        min-height: 90vh;
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
        letter-spacing: -1px;
    }

    .hero .subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .hero .description {
        font-size: clamp(0.9rem, 2.8vw, 1rem);
    }

    /* Logo icon for small mobile */
    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .logo {
        gap: 8px;
        font-size: 1.1rem;
    }

    .hero-stats {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        min-width: 120px;
    }

    .stat-number {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .stat-label {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
        text-align: center;
        padding: 15px 20px;
        font-size: 1rem;
    }

    /* About Section */
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text p {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }

    .about-features {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .feature {
        min-width: 140px;
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .website-window {
        margin: 20px 0;
        height: 300px;
    }

    .window-content iframe {
        height: 250px;
    }

    /* Projects Section */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .project-card {
        padding: 25px;
    }

    .project-title {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
    }

    .project-description {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }

    .project-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }

    /* Features Section */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .feature-card {
        padding: 25px;
    }

    .feature-card h3 {
        font-size: clamp(1.3rem, 4vw, 1.5rem);
    }

    .feature-card p {
        font-size: clamp(0.95rem, 3vw, 1rem);
    }

    /* Community Section */
    .community-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .community-text p {
        font-size: clamp(1.1rem, 3vw, 1.3rem);
    }

    .community-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .community-stat .stat-number {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .community-stat .stat-label {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }

    .community-links {
        gap: 15px;
    }

    .community-link {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-legal {
        justify-content: center;
        gap: 20px;
    }

    /* Project Pages */
    .project-hero {
        padding: 60px 5%;
    }

    .project-title-large {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .project-subtitle-large {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .project-details {
        padding: 60px 5%;
    }

    .project-details h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .project-details p, .project-details ul {
        font-size: clamp(1rem, 3vw, 1.1rem);
    }

    .project-details pre {
        font-size: 0.85rem;
        overflow-x: auto;
        padding: 15px;
    }

    .project-details code {
        font-size: 0.85rem;
    }

    /* Code blocks and keyboard shortcuts */
    .project-details div[style*="grid"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .project-details div[style*="grid"] h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .project-details div[style*="grid"] ul {
        font-size: 0.9rem;
    }

    .project-details div[style*="grid"] code {
        font-size: 0.8rem;
        padding: 2px 6px;
    }

    /* General mobile optimizations */
    .floating-element {
        display: none;
    }

    .cursor-trail {
        display: none;
    }

    /* Container adjustments */
    .container {
        padding: 0 20px;
    }

    /* Section padding adjustments */
    .about, .projects, .features, .community {
        padding: 80px 5%;
    }

    .section-title {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .section-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    /* Grid background scaling for small mobile */
    .bg-grid {
        background-size: 100% 100%, 100% 100%, 100% 100%, 20px 20px, 20px 20px;
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(20px, 20px); }
    }

    @keyframes gradientShift {
        0%, 100% { 
            background-position: 0% 0%, 100% 100%, 50% 50%, 0px 0px, 0px 0px;
        }
        50% { 
            background-position: 100% 100%, 0% 0%, 100% 100%, 10px 10px, 10px 10px;
        }
    }

    .hero h1 {
        font-size: clamp(2rem, 7vw, 2.5rem);
        letter-spacing: -1px;
    }

    .hero .subtitle {
        font-size: clamp(1rem, 3.5vw, 1.2rem);
    }

    .hero .description {
        font-size: clamp(0.9rem, 2.8vw, 1rem);
    }

    .project-title-large {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }

    .project-subtitle-large {
        font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    }

    .section-title {
        font-size: clamp(1.8rem, 4.5vw, 2.2rem);
    }

    .section-subtitle {
        font-size: clamp(0.9rem, 2.8vw, 1.1rem);
    }

    .hero-stats {
        gap: 10px;
    }

    .stat {
        min-width: 100px;
        padding: 10px;
    }

    .stat-number {
        font-size: clamp(1.5rem, 4vw, 1.8rem);
    }

    .stat-label {
        font-size: clamp(0.7rem, 2vw, 0.8rem);
    }

    .cta-button {
        max-width: 250px;
        padding: 12px 16px;
        font-size: 0.95rem;
    }

    .project-card {
        padding: 20px;
    }

    .feature-card {
        padding: 20px;
    }

    .community-link {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .about, .projects, .features, .community {
        padding: 50px 4%;
    }

    .project-details {
        padding: 50px 4%;
    }

    .container {
        padding: 0 10px;
    }
}

/* Landscape mobile */
@media (max-width: 768px) and (orientation: landscape) {
    /* Grid background scaling for landscape mobile */
    .bg-grid {
        background-size: 100% 100%, 100% 100%, 100% 100%, 25px 25px, 25px 25px;
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(25px, 25px); }
    }

    @keyframes gradientShift {
        0%, 100% { 
            background-position: 0% 0%, 100% 100%, 50% 50%, 0px 0px, 0px 0px;
        }
        50% { 
            background-position: 100% 100%, 0% 0%, 100% 100%, 12px 12px, 12px 12px;
        }
    }

    .hero {
        min-height: 70vh;
        padding: 15px 5%;
    }

    .hero h1 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero-stats {
        gap: 20px;
    }

    .about, .projects, .features, .community {
        padding: 50px 5%;
    }

    .project-details {
        padding: 50px 5%;
    }
}

/* Tablet styles */
@media (min-width: 769px) and (max-width: 1024px) {
    /* Grid background scaling for tablets */
    .bg-grid {
        background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
    }

    @keyframes gridMove {
        0% { transform: translate(0, 0); }
        100% { transform: translate(40px, 40px); }
    }

    @keyframes gradientShift {
        0%, 100% { 
            background-position: 0% 0%, 100% 100%, 50% 50%, 0px 0px, 0px 0px;
        }
        50% { 
            background-position: 100% 100%, 0% 0%, 100% 100%, 20px 20px, 20px 20px;
        }
    }

    .hero h1 {
        font-size: clamp(3rem, 6vw, 4rem);
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 50px;
    }

    .community-content {
        gap: 60px;
    }
}

/* Large screen optimizations */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
    }

    .hero-content {
        max-width: 1000px;
    }

    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .bg-grid {
        background-size: 25px 25px, 25px 25px;
    }
}

/* Print styles */
@media print {
    .bg-grid, .cursor-trail, .floating-element {
        display: none;
    }

    .nav-links, .mobile-menu-btn {
        display: none;
    }

    .hero-buttons {
        display: none;
    }

    .project-actions {
        display: none;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* High DPI mobile displays */
@media (-webkit-min-device-pixel-ratio: 2) and (max-width: 768px) {
    .project-card, .feature-card {
        border-width: 0.5px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-element {
        display: none !important;
    }
    
    .cursor-trail {
        display: none !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    /* Already dark theme, no changes needed */
}

/* Light mode support (if needed in future) */
@media (prefers-color-scheme: light) {
    /* Could add light theme variants here */
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.page-content {
    padding-top: 100px; /* Adjust for nav height */
}

.project-hero {
    text-align: center;
    padding: 80px 5%;
    background: radial-gradient(ellipse at top, rgba(44, 107, 237, 0.15) 0%, transparent 60%);
}

.project-header-details {
    max-width: 800px;
    margin: 0 auto;
}

.project-icon-large {
    width: 64px;
    height: 64px;
    color: #2c6bed;
    margin-bottom: 20px;
}

.project-title-large {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 15px;
    color: #fff;
}

.project-subtitle-large {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #ccc;
    font-weight: 300;
}

.project-details {
    padding: 80px 5%;
    max-width: 900px;
    margin: 0 auto;
}

.project-details h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.project-details p, .project-details ul {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
    margin-bottom: 20px;
}

.project-details ul {
    list-style: none;
    padding-left: 0;
}

.project-details li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 15px;
}

.project-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #2c6bed;
    font-weight: bold;
}

.project-details a {
    color: #2c6bed;
    text-decoration: none;
    font-weight: 600;
}

.project-details a:hover {
    text-decoration: underline;
}

.project-details .project-actions {
    margin-top: 30px;
}

.project-details p a, .project-details ul a {
    color: #2c6bed;
    text-decoration: none;
    font-weight: 600;
}

.project-details p a:hover, .project-details ul a:hover {
    text-decoration: underline;
}

.project-visual {
    margin: 40px 0;
} 