@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 24px;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 16px 24px;
}

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

.nav-logo {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover {
    transform: skewX(-5deg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

.nav-links > li {
    position: relative;
}

.nav-links a {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links > li > a::before {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #c1ff9a;
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-links > li > a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

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

.nav-links .has-submenu > a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-links .has-submenu > a svg {
    transition: transform 0.3s ease;
}

.nav-links .has-submenu:hover > a svg {
    transform: rotate(180deg);
}

/* Submenu */
.submenu {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.has-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
}

.submenu-inner {
    background-color: rgba(17, 17, 17, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 200px;
    gap: 40px;
}

.submenu-column h4 {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.submenu-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.submenu-column ul a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.submenu-column ul a:hover {
    color: #c1ff9a;
}

.submenu-featured {
    background: rgba(193, 255, 154, 0.08);
    border: 1px solid rgba(193, 255, 154, 0.15);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.submenu-label {
    color: #c1ff9a;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.submenu-featured h5 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin: 10px 0 8px;
}

.submenu-featured p {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: auto;
    padding-bottom: 20px;
}

.submenu-cta {
    display: inline-block;
    text-align: center;
    color: #0a0a0a !important;
    background-color: #c1ff9a;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.submenu-cta:hover {
    background-color: #d4ffb8;
    color: #0a0a0a !important;
}

.nav-cta {
    color: #0a0a0a;
    background-color: #c1ff9a;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    transition: background-color 0.2s ease;
}

.nav-cta:hover {
    background-color: #d4ffb8;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav.open .nav-toggle span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}

.nav.open .nav-toggle span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}

.nav.open .nav-mobile {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-mobile-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.nav-mobile-links a {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
}

.nav-mobile-cta {
    display: block;
    width: 100%;
    text-align: center;
    color: #0a0a0a;
    background-color: #c1ff9a;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 50px;
}

/* Mobile submenu */
.mobile-submenu-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
}

.mobile-submenu-toggle svg {
    transition: transform 0.3s ease;
}

.mobile-has-submenu.open .mobile-submenu-toggle svg {
    transform: rotate(180deg);
}

.mobile-submenu {
    display: none;
    padding-top: 16px;
}

.mobile-has-submenu.open .mobile-submenu {
    display: block;
}

.mobile-submenu-group {
    margin-bottom: 20px;
}

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

.mobile-submenu-group h4 {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.mobile-submenu-group a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    padding: 8px 0;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: 
        radial-gradient(ellipse 50% 80% at 50% 0%, rgba(193, 255, 154, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 20% 20%, rgba(193, 255, 154, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 80% 30%, rgba(193, 255, 154, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        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: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 0%, transparent 70%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    text-align: center;
}

.hero .badge {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    color: #ffffff;
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-title span {
    background: linear-gradient(135deg, #c1ff9a 0%, #7fff5e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 44px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #c1ff9a;
    color: #0a0a0a;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-primary:hover {
    background-color: #d4ffb8;
}

.btn-primary svg {
    transition: transform 0.2s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.05);
}

/* Skills Section */
.skills-section {
    padding: 100px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.skills-container {
    max-width: 1100px;
    margin: 0 auto;
}

.skills-header {
    text-align: center;
    margin-bottom: 60px;
}

.skills-header .badge {
    opacity: 1;
    transform: none;
}

.skills-header h2 {
    color: #ffffff;
    font-size: clamp(32px, 5vw, 44px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 20px 0 16px;
}

.skills-header p {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    max-width: 400px;
    margin: 0 auto;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px;
}

.skill-category h3 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.skill-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.skill-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    transition-delay: calc(var(--delay, 0) * 0.1s);
}

.skills-section.in-view .skill-list li {
    opacity: 1;
    transform: translateX(0);
}

.skill-name {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.skill-bar {
    flex: 1;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
}

.skill-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #c1ff9a 0%, #7fff5e 100%);
    border-radius: 3px;
    width: 0 !important;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--delay, 0) * 0.1s);
}

.skills-section.in-view .skill-bar span {
    width: var(--skill-level) !important;
}

@media (max-width: 768px) {
    .skills-section {
        padding: 80px 20px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .skill-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .skill-bar {
        width: 100%;
    }
}

.slider-section {
    width: 100%;
    padding: 60px 0;
}

.slider-container {
    position: relative;
    width: 100%;
    overflow-x: clip;
    padding: 80px 0;
}

.slider-track {
    display: flex;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 24px;
    padding: 0 calc(50% - 230px);
}

.slide {
    flex-shrink: 0;
    width: 460px;
    height: 280px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1);
}

.slide.active {
    transform: scale(1.2);
    z-index: 1;
    box-shadow: 0 0 80px 40px rgba(0, 0, 0, 0.8);
}

.slide-inner {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.slide:not(.active) {
    cursor: pointer;
}

.slide.active .slide-inner:hover {
    transform: rotate(-1deg) scale(1.02);
}

.slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: scale(1.05);
}

.slide.active .slide-inner img {
    transform: scale(1);
}

.slide-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    pointer-events: none;
    transition: background-color 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-inner::after {
    background-color: rgba(0, 0, 0, 0.18);
}


.slide-content {
    position: absolute;
    inset: 0;
    padding: 28px;
    z-index: 2;
}

.slide.active .slide-content {
    opacity: 1;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #c1ff9a;
    color: #2c5c0f;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .badge {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.15s;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background-color: #2c5c0f;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}
.slide-content-inner {
    position: absolute;
    bottom: 32px;
}

.slide-content h2 {
    color: #ffffff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    max-width: 320px;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide.active .slide-content h2 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.25s;
}

.slide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), gap 0.3s ease;
}

.slide.active .slide-link {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.35s;
}

.slide-link:hover {
    gap: 12px;
}

.slide-link svg {
    transition: transform 0.3s ease;
}

.slide-link:hover svg {
    transform: translateX(4px);
}

/* Navigation */
.slider-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 40px;
}

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn:active {
    transform: scale(0.9);
}

.nav-btn.prev:hover {
    transform: translateX(-3px);
}

.nav-btn.next:hover {
    transform: translateX(3px);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
}

/* CTA Section */
.cta {
    position: relative;
    padding: 140px 24px;
    text-align: center;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(193, 255, 154, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.cta-container {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    color: #ffffff;
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.cta-description {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 36px;
}

.cta .btn-primary {
    transition: background-color 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.cta .btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(193, 255, 154, 0.3);
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.modal.active {
    pointer-events: auto;
}

.modal-overlay {
    position: fixed;
    width: 200vmax;
    height: 200vmax;
    background-color: #c1ff9a;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.modal.active .modal-overlay {
    transform: translate(-50%, -50%) scale(1);
}

.modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 480px;
    padding: 48px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease 0.3s, transform 0.4s ease 0.3s;
}

.modal.active .modal-content {
    opacity: 1;
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: #0a0a0a;
    cursor: pointer;
    padding: 8px;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: rotate(90deg);
}

.modal-content h2 {
    color: #0a0a0a;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.modal-content p {
    color: rgba(10, 10, 10, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background-color: rgba(10, 10, 10, 0.08);
    border: 1px solid rgba(10, 10, 10, 0.1);
    border-radius: 12px;
    padding: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #0a0a0a;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(10, 10, 10, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0a0a0a;
    background-color: rgba(10, 10, 10, 0.04);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: #0a0a0a;
    color: #ffffff;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    margin-top: 8px;
}

.form-submit:hover {
    background-color: #1a1a1a;
}

.form-submit:active {
    transform: scale(0.98);
}

.form-submit svg {
    transition: transform 0.2s ease;
}

.form-submit:hover svg {
    transform: translateX(3px);
}

.form-submit-loading {
    display: none;
}

.form-submit.loading .form-submit-text,
.form-submit.loading svg {
    display: none;
}

.form-submit.loading .form-submit-loading {
    display: inline;
}

.form-submit.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Success Message */
.modal-success {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.modal.success .modal-form {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.9);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.modal.success .modal-content h2,
.modal.success .modal-content > p {
    opacity: 0;
    visibility: hidden;
}

.modal.success .modal-success {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background-color: #0a0a0a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.success-icon svg {
    color: #c1ff9a;
}

.modal-success h3 {
    color: #0a0a0a;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.modal-success p {
    color: rgba(10, 10, 10, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 300px;
}

.success-close {
    background-color: #0a0a0a;
    color: #ffffff;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.success-close:hover {
    background-color: #1a1a1a;
}

/* Project Detail Modal */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
    opacity: 1;
    visibility: visible;
}

.project-modal-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.project-modal-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background-color: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active .project-modal-content {
    transform: translateY(0) scale(1);
}

.project-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

.project-modal-image {
    position: relative;
    overflow: hidden;
}

.project-image-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-image-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-image-track img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.project-image-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
    z-index: 5;
}

.project-modal-image:hover .project-image-nav {
    opacity: 1;
}

.project-image-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.project-image-nav.prev {
    left: 12px;
}

.project-image-nav.next {
    right: 12px;
}

.project-image-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.project-image-nav.hidden {
    display: none;
}

.project-image-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.project-image-dots.hidden {
    display: none;
}

.project-image-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-image-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.project-image-dot.active {
    background: #c1ff9a;
    transform: scale(1.2);
}

.project-modal-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.project-modal-details .badge {
    opacity: 1;
    transform: none;
    align-self: flex-start;
}

.project-modal-details h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 16px 0 12px;
}

.project-modal-details > p {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.project-tech {
    margin-bottom: 32px;
}

.project-tech h4 {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.project-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-link-btn.primary {
    background-color: #c1ff9a;
    color: #0a0a0a;
}

.project-link-btn.primary:hover {
    background-color: #d4ffb8;
}

.project-link-btn.secondary {
    background-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-link-btn.secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-link-btn svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .project-modal {
        padding: 16px;
    }

    .project-modal-content {
        grid-template-columns: 1fr;
        max-height: 85vh;
    }

    .project-modal-image {
        aspect-ratio: 16/9;
    }

    .project-modal-details {
        padding: 24px;
    }

    .project-modal-details h2 {
        font-size: 24px;
    }

    .project-links {
        flex-direction: column;
    }

    .project-link-btn {
        justify-content: center;
    }
}

/* Footer */
.footer {
    padding: 80px 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.footer-logo {
    display: inline-block;
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: text-shadow 0.3s ease;
}

.footer-logo:hover {
    text-shadow: 0 0 20px rgba(193, 255, 154, 0.5);
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    margin: 16px 0 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.2s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.footer-social a:hover {
    color: #c1ff9a;
    transform: translateY(-4px) rotate(-8deg);
}

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

.footer-column h4 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    position: relative;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #c1ff9a;
    transition: width 0.3s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1200px) {
    .slider-track {
        padding: 0 calc(50% - 200px);
    }
    
    .slide {
        width: 400px;
        height: 250px;
    }
    
    .slide-content h2 {
        font-size: 26px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-cta {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .hero {
        min-height: auto;
        padding: 100px 20px 60px;
    }
    
    .hero-title {
        margin-bottom: 20px;
    }
    
    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 16px 28px;
    }
    
    .slider-track {
        padding-left: calc(50% - 140px);
        padding-right: calc(50% - 140px);
        gap: 12px;
    }
    
    .slide {
        width: 280px;
        height: 200px;
    }
    
    .slide.active {
        transform: scale(1);
        box-shadow: none;
    }
    
    .slide-content {
        padding: 20px;
    }
    
    .slide-content h2 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .slide-link {
        font-size: 13px;
    }
    
    .cta {
        padding: 80px 20px;
    }
    
    .cta-description {
        font-size: 16px;
    }
    
    .footer {
        padding: 60px 20px 32px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .footer-bottom {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
    
    .modal-content h2 {
        font-size: 26px;
    }
}

