:root {
    --black: #050505;
    --dark-gray: #0a0a0a;
    --border: #1a1a1a;
    --green: #2dd4bf;
    --green-dim: rgba(45, 212, 191, 0.1);
    --text-dim: #888;
    --font-head: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Inter', sans-serif;
    --spring-easing: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--black);
    color: white;
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        linear-gradient(rgba(45, 212, 191, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(45, 212, 191, 0.02) 1px, transparent 1px);
    background-size: 30px 30px;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 40px; }

.glow-bg {
    position: fixed;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 100vw; height: 100vh;
    background: radial-gradient(circle at 50% -15%, rgba(45, 212, 191, 0.18) 0%, transparent 55%);
    z-index: -1;
    pointer-events: none;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--spring-easing);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(5,5,5,0.8);
    backdrop-filter: blur(20px);
    position: sticky; top: 0; z-index: 100;
}
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 32px; }
.nav-links { display: flex; gap: 40px; align-items: center; }
.nav-links a { color: var(--text-dim); text-transform: uppercase; font-size: 11px; letter-spacing: 2px; font-weight: 600; text-decoration: none; transition: 0.3s; }
.nav-links a:hover { color: var(--green); }
.nav-cta { border: 1px solid var(--green); padding: 8px 22px; border-radius: 4px; color: var(--green) !important; text-decoration: none; }

/* Hero */
.hero { padding: clamp(100px, 15vh, 180px) 0 100px; text-align: center; }
.hero-badge { 
    display: inline-block; border: 1px solid var(--green); color: var(--green); 
    padding: 6px 18px; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; 
    margin-bottom: 35px; background: var(--green-dim); border-radius: 2px;
}
.hero h1 { 
    font-family: var(--font-head); font-size: clamp(3rem, 10vw, 7.5rem); 
    line-height: 0.85; letter-spacing: -0.05em; margin-bottom: 35px; font-weight: 800;
}
.green-text { 
    background: linear-gradient(180deg, #fff 20%, var(--green) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p { max-width: 650px; margin: 0 auto 50px; color: var(--text-dim); font-size: clamp(16px, 2vw, 19px); font-weight: 300; }

/* Buttons */
.btn-main { 
    background: var(--green); color: black; padding: 18px 40px; text-decoration: none; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; transition: 0.4s var(--spring-easing); font-size: 13px;
    display: inline-block; border-radius: 2px;
}
.btn-main:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(45, 212, 191, 0.2); }
.btn-outline { 
    border: 1px solid #333; color: white; padding: 18px 40px; text-decoration: none; 
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-left: 20px; 
    transition: 0.3s; font-size: 13px; display: inline-block; border-radius: 2px;
}
.btn-outline:hover { border-color: var(--green); color: var(--green); }

/* Comparison Section */
.comparison-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.comparison-column {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 50px 40px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(5, 5, 5, 0.6) 100%);
    transition: all 0.5s var(--spring-easing);
}

.comparison-column-us {
    border-color: var(--green);
    background: linear-gradient(180deg, rgba(10, 26, 24, 0.4) 0%, rgba(5, 5, 5, 0.6) 100%);
    box-shadow: 0 0 40px rgba(45, 212, 191, 0.1);
}

.comparison-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(45, 212, 191, 0.1);
}

.comparison-column-us:hover {
    box-shadow: 0 20px 60px rgba(45, 212, 191, 0.2);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border);
}

.comparison-column-us .comparison-header {
    border-bottom-color: var(--green);
}

.comparison-header h3 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
}

.comparison-badge {
    padding: 6px 16px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
}

.comparison-badge-them {
    background: rgba(136, 136, 136, 0.1);
    border: 1px solid #333;
    color: var(--text-dim);
}

.comparison-badge-us {
    background: var(--green);
    border: 1px solid var(--green);
    color: black;
}

.comparison-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.comparison-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
}

.comparison-column-us .comparison-item {
    color: white;
}

.comparison-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    transition: transform 0.3s var(--spring-easing);
}

.comparison-column .comparison-item svg {
    color: #666;
}

.comparison-column-us .comparison-item svg {
    color: var(--green);
}

.comparison-item:hover svg {
    transform: scale(1.2);
}

.comparison-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
}

.divider-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--border), transparent);
}

.divider-text {
    font-family: var(--font-head);
    font-size: 24px;
    font-weight: 800;
    color: var(--green);
    padding: 12px 20px;
    border: 1px solid var(--green);
    border-radius: 50%;
    background: var(--green-dim);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.3);
}

/* Portfolio Grid */
.section { padding: 100px 0; }
.section-label { 
    font-size: 11px; text-transform: uppercase; letter-spacing: 6px; 
    color: var(--text-dim); margin-bottom: 80px; text-align: center;
}
.portfolio-grid { display: flex; flex-direction: column; gap: 120px; }
.work-card { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; }
.work-image { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: var(--dark-gray); position: relative; }
.work-image img { width: 100%; height: auto; display: block; transition: 1.2s var(--spring-easing); filter: brightness(0.9); }

/* Before/After Slider */
.before-after-slider {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: grab;
    user-select: none;
    touch-action: none;
}

.before-after-slider:active {
    cursor: grabbing;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.slider-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.after-image {
    display: block;
    width: 100%;
}

.before-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: inset(0 50% 0 0);
    will-change: clip-path;
}

.slider-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--green);
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 20px rgba(45, 212, 191, 0.6);
    transition: box-shadow 0.3s;
}

.before-after-slider:hover .slider-handle {
    box-shadow: 0 0 30px rgba(45, 212, 191, 0.8);
}

.slider-handle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--green);
    border: 3px solid var(--black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: black;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s var(--spring-easing);
}

.before-after-slider:hover .slider-handle-icon {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-label {
    position: absolute;
    top: 20px;
    padding: 8px 16px;
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid var(--border);
    color: white;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 4px;
    backdrop-filter: blur(10px);
    z-index: 11;
    transition: all 0.3s;
}

.slider-label-before {
    left: 20px;
    border-color: #666;
}

.slider-label-after {
    right: 20px;
    border-color: var(--green);
    color: var(--green);
}

.before-after-slider:hover .slider-label {
    background: rgba(5, 5, 5, 0.95);
}

.work-card:hover .slider-handle-icon {
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.4);
}

.work-content { display: flex; flex-direction: column; gap: 35px; }
.descriptor h4 { 
    font-family: var(--font-head); 
    font-size: 22px; 
    color: white; 
    margin-bottom: 10px; 
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(45, 212, 191, 0.4), 0 0 20px rgba(45, 212, 191, 0.2);
    transition: text-shadow 0.4s var(--spring-easing);
}
.descriptor:hover h4 {
    text-shadow: 0 0 15px rgba(45, 212, 191, 0.5), 0 0 30px rgba(45, 212, 191, 0.3);
}
.descriptor p { color: var(--text-dim); font-size: 15px; line-height: 1.6; font-weight: 300; }

/* Process Carousel Section */
.process-carousel-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.process-carousel {
    position: relative;
    min-height: 500px;
    overflow: hidden;
}

.process-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(60px);
    pointer-events: none;
    transition: all 0.8s var(--spring-easing);
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 60px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.6) 0%, rgba(5, 5, 5, 0.6) 100%);
    backdrop-filter: blur(10px);
}

.process-slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
    border-color: var(--green);
    box-shadow: 0 20px 60px rgba(45, 212, 191, 0.1);
}

.process-slide.prev {
    opacity: 0.3;
    transform: translateX(-60px);
}

.process-number {
    font-family: var(--font-head);
    font-size: clamp(4rem, 8vw, 8rem);
    font-weight: 800;
    color: var(--green);
    opacity: 0.15;
    line-height: 1;
    letter-spacing: -0.05em;
    position: absolute;
    top: 40px;
    right: 40px;
    transition: all 0.6s var(--spring-easing);
}

.process-slide.active .process-number {
    opacity: 0.25;
    transform: scale(1.05);
}

.process-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.process-content h3 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    letter-spacing: -1px;
    color: white;
}

.process-content p {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 300;
}

.process-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.process-tag {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid var(--border);
    color: var(--green);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 2px;
    background: var(--green-dim);
    transition: all 0.4s var(--spring-easing);
}

.process-slide.active .process-tag {
    border-color: var(--green);
}

.process-slide.active .process-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 212, 191, 0.2);
}

.carousel-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    gap: 30px;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-dim);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s var(--spring-easing);
    flex-shrink: 0;
}

.carousel-btn:hover {
    border-color: var(--green);
    color: var(--green);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(45, 212, 191, 0.2);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    transition: all 0.4s var(--spring-easing);
    padding: 0;
    flex-shrink: 0;
}

.carousel-dot:hover {
    border-color: var(--green);
    transform: scale(1.3);
}

.carousel-dot.active {
    background: var(--green);
    border-color: var(--green);
    width: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(45, 212, 191, 0.4);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(5, 5, 5, 0.8) 100%);
    border-radius: 8px;
    padding: 50px 40px;
    position: relative;
    transition: all 0.5s var(--spring-easing);
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--green);
    box-shadow: 0 20px 60px rgba(45, 212, 191, 0.15);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card-featured {
    border-color: var(--green);
    background: linear-gradient(180deg, rgba(10, 26, 24, 0.6) 0%, rgba(5, 5, 5, 0.8) 100%);
    box-shadow: 0 0 40px rgba(45, 212, 191, 0.1);
}

.pricing-card-featured::before {
    opacity: 1;
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--green);
    color: black;
    padding: 6px 14px;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: 2px;
}

.pricing-header {
    margin-bottom: 35px;
    position: relative;
}

.pricing-header h3 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 6px;
    color: white;
    line-height: 1.1;
}

.pricing-badge {
    display: inline-block;
    border: 1px solid var(--green);
    color: var(--green);
    padding: 4px 12px;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--green-dim);
    border-radius: 2px;
    font-weight: 600;
}

.price {
    margin-bottom: 25px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-amount {
    font-family: var(--font-head);
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    color: white;
    line-height: 1;
}

.price-period {
    color: var(--text-dim);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.pricing-description {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

.pricing-features {
    list-style: none;
    margin-bottom: 45px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: white;
    font-size: 15px;
    line-height: 1.6;
}

.pricing-features li svg {
    color: var(--green);
    flex-shrink: 0;
    margin-top: 2px;
    transition: transform 0.3s var(--spring-easing);
}

.pricing-card:hover .pricing-features li svg {
    transform: scale(1.15);
}

.pricing-cta {
    display: block;
    width: 100%;
    text-align: center;
    border: 1px solid #333;
    color: white;
    padding: 18px 40px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s var(--spring-easing);
    font-size: 13px;
    border-radius: 2px;
    background: transparent;
}

.pricing-cta:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(45, 212, 191, 0.2);
}

.pricing-cta-featured {
    background: var(--green);
    color: black;
    border-color: var(--green);
}

.pricing-cta-featured:hover {
    background: transparent;
    color: var(--green);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(45, 212, 191, 0.3);
}

/* CTA Box */
.cta-box { 
    border: 1px solid var(--green); padding: clamp(60px, 10vw, 120px) 40px; text-align: center; 
    background: linear-gradient(180deg, #0a1a18 0%, #050505 100%); border-radius: 4px;
}
.cta-box h2 { font-family: var(--font-head); font-size: clamp(2rem, 5vw, 4.5rem); margin-bottom: 20px; letter-spacing: -2px; }

/* Footer */
footer { padding: 50px 0; border-top: 1px solid var(--border); }
.footer-flex { display: flex; justify-content: space-between; color: #333; font-size: 10px; letter-spacing: 3px; }

/* Mobile Optimization */
@media (max-width: 900px) {
    .container { padding: 0 25px; }
    .work-card { grid-template-columns: 1fr; gap: 30px; }
    .nav-links { display: none; }
    .hero-actions { display: flex; flex-direction: column; gap: 15px; align-items: center; }
    .btn-outline { margin-left: 0; margin-top: 0; display: block; width: 100%; text-align: center; }
    .btn-main { width: 100%; text-align: center; }
    .portfolio-grid { gap: 80px; }
    .pricing-grid { grid-template-columns: 1fr; gap: 30px; }
    .pricing-card { padding: 35px 25px; }
    .pricing-header { margin-bottom: 25px; }
    .pricing-header h3 { margin-bottom: 5px; line-height: 1.15; }
    .pricing-description { margin-bottom: 30px; }
    .pricing-features { gap: 18px; margin-bottom: 35px; }
    .pricing-features li { font-size: 14px; }
    .featured-badge { top: 15px; right: 15px; font-size: 9px; padding: 5px 10px; }
    .process-slide { padding: 40px 25px; min-height: auto; }
    .process-number { font-size: 4rem; top: 30px; right: 30px; }
    .process-content h3 { font-size: 2rem; }
    .process-content p { font-size: 15px; }
    .carousel-controls { flex-wrap: wrap; justify-content: center; }
    .carousel-dots { order: -1; width: 100%; margin-bottom: 20px; }
    .carousel-btn { width: 45px; height: 45px; }
    .comparison-grid { grid-template-columns: 1fr; gap: 40px; }
    .comparison-divider { flex-direction: row; padding: 20px 0; }
    .divider-line { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--border), transparent); }
    .comparison-column { padding: 40px 25px; }
    .comparison-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .slider-handle-icon { width: 40px; height: 40px; }
    .slider-label { font-size: 10px; padding: 6px 12px; top: 15px; }
    .slider-label-before { left: 15px; }
    .slider-label-after { right: 15px; }
    .section { padding: 60px 0; }
    .hero { padding: clamp(80px, 12vh, 120px) 0 60px; }
    .cta-box { padding: clamp(50px, 8vw, 80px) 25px; }
    .cta-box h2 { font-size: clamp(1.8rem, 8vw, 3rem); }
}

@media (max-width: 480px) {
    .container { padding: 0 20px; }
    .pricing-card { padding: 30px 20px; }
    .price-amount { font-size: clamp(2.5rem, 10vw, 3.5rem); }
    .pricing-header h3 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .work-content { gap: 25px; }
    .descriptor h4 { font-size: 18px; }
    .descriptor p { font-size: 14px; }
}