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

:root {
    --primary-green: #00ff88;
    --dark-green: #00cc6a;
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #333333;
    --light-gray: #f5f5f5;
}

body {
    font-family: "Arial", sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--black);
    overflow-x: hidden;
    position: relative;
}

.global-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.global-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.global-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
    opacity: 0.08;
    animation: floatGlobalShape 12s ease-in-out infinite;
}

@keyframes floatGlobalShape {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(90deg) scale(1.1);
    }
    50% {
        transform: translateY(-60px) translateX(-10px) rotate(180deg) scale(0.9);
    }
    75% {
        transform: translateY(-30px) translateX(-25px) rotate(270deg) scale(1.05);
    }
}

@keyframes floatGlobalShape2 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    33% {
        transform: translateY(40px) translateX(-30px) rotate(120deg) scale(1.2);
    }
    66% {
        transform: translateY(-20px) translateX(35px) rotate(240deg) scale(0.8);
    }
}

@keyframes floatGlobalShape3 {
    0%,
    100% {
        transform: translateY(0px) translateX(0px) rotate(0deg) scale(1);
    }
    20% {
        transform: translateY(-50px) translateX(15px) rotate(72deg) scale(1.1);
    }
    40% {
        transform: translateY(-30px) translateX(-40px) rotate(144deg) scale(0.9);
    }
    60% {
        transform: translateY(20px) translateX(25px) rotate(216deg) scale(1.15);
    }
    80% {
        transform: translateY(-10px) translateX(-20px) rotate(288deg) scale(0.95);
    }
}

.floating-particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}


/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1001;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-green);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-green);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

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


/* Hero Section */

.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 80px;
    height: 80px;
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.shape-4 {
    width: 120px;
    height: 120px;
    top: 10%;
    right: 30%;
    animation-delay: 1s;
}

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

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-line {
    display: block;
    animation: slideInLeft 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.highlight {
    color: var(--primary-green);
    position: relative;
}

.highlight::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-green);
    animation: expandWidth 1s ease-out 1.5s both;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeIn 1s ease-out 0.8s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.cta-button {
    text-decoration: none !important;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--primary-green);
    color: var(--black);
}

.cta-button.primary:hover {
    background: var(--dark-green);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 255, 136, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--primary-green);
}

.cta-button.secondary:hover {
    background: var(--primary-green);
    color: var(--black);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-green);
    position: relative;
}

.scroll-arrow::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: -5px;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    transform: rotate(45deg);
}

@keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}


/* Projects Section */

.projects {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--black) 0%, #1a1a1a 100%);
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-green);
    animation: fadeInUp 1s ease-out;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.1);
    position: relative;
    overflow: hidden;
    animation: slideInUp 0.8s ease-out;
}

.project-card:nth-child(even) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3n) {
    animation-delay: 0.4s;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 255, 136, 0.2);
    border-color: var(--primary-green);
}

.project-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1) 0%, rgba(0, 204, 106, 0.05) 100%);
}

.project-preview {
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 1rem;
    position: relative;
}

.browser-mockup {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
}

.browser-header {
    background: #f0f0f0;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-dots {
    display: flex;
    gap: 0.3rem;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ff5f57;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #28ca42;
}

.browser-url {
    background: var(--white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gray);
}

.browser-content {
    height: calc(100% - 40px);
    position: relative;
    overflow: hidden;
}

.browser-content.has-image {
    padding: 0;
    background: none;
}

.browser-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0 0 10px 10px;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.browser-mockup:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.project-overlay .tech-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.project-overlay .tech-tag-small {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary-green);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.mockup-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.mockup-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.placeholder-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px dashed rgba(0, 255, 136, 0.3);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.placeholder-content:hover {
    border-color: var(--primary-green);
    background: rgba(0, 255, 136, 0.1);
}

.placeholder-content i {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-green);
}

.project-info p {
    opacity: 0.8;
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tech-tag {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary-green);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}


/* Footer */

.footer {
    background: var(--black);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.footer-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.footer-shape {
    position: absolute;
    background: linear-gradient(45deg, var(--primary-green), var(--dark-green));
    opacity: 0.05;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.footer-shape:nth-child(1) {
    width: 200px;
    height: 200px;
    top: -50px;
    right: -50px;
}

.footer-shape:nth-child(2) {
    width: 150px;
    height: 150px;
    bottom: -30px;
    left: -30px;
    animation-delay: 4s;
}

.footer-content {
    position: relative;
    z-index: 1;
    padding: 3rem 0 1rem;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.footer-brand p {
    opacity: 0.8;
}

.footer-links {
    display: flex;
    gap: 3rem;
}

.footer-column h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary-green);
    opacity: 1;
}

.footer-social h4 {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-green);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    text-align: center;
    opacity: 0.6;
}


/* Responsive Design */

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card.featured {
        grid-column: span 1;
    }
    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-links {
        justify-content: center;
    }
    .nav-menu {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .section-title {
        font-size: 2rem;
    }
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}