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

:root {
    --bg-black: #000000;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --accent-color: #ffffff;
    --accent-secondary: #333333;
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-black);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    cursor: default;
}

/* Ensure all main content is above the gas canvas */
nav, section, footer {
    position: relative;
    z-index: 1;
}

/* Ensure section content has proper stacking above gas */
.section > .container {
    position: relative;
    z-index: 6;
}

.hero > .container {
    position: relative;
    z-index: 6;
}

/* Ensure interactive elements are above gas */
input, textarea, button, a {
    position: relative;
}

html {
    scroll-behavior: smooth;
}

/* Gas Particle Effect Canvas */
#gasCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 5;
    opacity: 0.65;
    filter: blur(6px);
}

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

/* Sticky Navigation */
.sticky-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-nav.visible {
    transform: translateY(0);
}

.sticky-nav-content {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.sticky-nav-logo {
    height: 80px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    margin-left: 2rem;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-left: 1.5rem;
}

.sticky-nav-content .btn-primary {
    flex-shrink: 0;
    margin-right: 2rem;
}

.nav-link {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: var(--transition-smooth);
    letter-spacing: 0.02em;
    position: relative;
}

.nav-link:hover {
    color: var(--text-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-white);
    transition: width 0.3s ease;
}

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

.btn-small {
    padding: 0.75rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    background: transparent;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.changing-text {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 700;
    height: 1.5em;
    position: relative;
    margin: 2rem 0;
    letter-spacing: -0.04em;
    overflow: visible;
    padding-bottom: 0.2em;
}

.text-item {
    position: absolute;
    top: 0;
    left: 100%;
    opacity: 0;
    white-space: nowrap;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    visibility: hidden;
}

.text-item.animating {
    visibility: visible;
    animation: slideText 4s ease-in-out;
}

@keyframes slideText {
    0% {
        left: 100%;
        opacity: 0;
        transform: skewX(-5deg);
    }
    10% {
        opacity: 1;
        transform: skewX(-5deg);
    }
    30% {
        left: 0;
        opacity: 1;
        transform: skewX(-2deg);
    }
    35% {
        left: 0;
        opacity: 1;
        transform: skewX(0deg);
    }
    75% {
        left: 0;
        opacity: 1;
        transform: skewX(0deg);
    }
    90% {
        left: -40%;
        opacity: 0;
        transform: skewX(-5deg);
    }
    100% {
        left: -50%;
        opacity: 0;
        transform: skewX(-5deg);
    }
}

.subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--text-gray);
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    white-space: nowrap;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 2px;
    transition: var(--transition-smooth);
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.02em;
    transform-style: preserve-3d; /* Enable 3D transforms */
    will-change: transform; /* Optimize performance */
}

.btn-primary {
    background: var(--text-white);
    color: var(--bg-black);
    border: 2px solid var(--text-white);
}

.btn-primary:hover {
    background: transparent;
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--bg-black);
}


/* Sections */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--bg-black);
    z-index: 1;
}

.services-section {
    padding-top: 8rem;
    background: transparent;
}

.dark-section {
    background: transparent;
    position: relative;
}

.dark-section::before {
    content: '';
    position: absolute;
    top: -40vh;
    left: 0;
    right: 0;
    height: 60vh;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.05) 20%,
        rgba(0, 0, 0, 0.15) 35%,
        rgba(0, 0, 0, 0.3) 45%,
        rgba(0, 0, 0, 0.5) 55%,
        rgba(0, 0, 0, 0.7) 65%,
        rgba(0, 0, 0, 0.85) 75%,
        rgba(0, 0, 0, 0.95) 85%,
        rgb(0, 0, 0) 92%,
        rgb(0, 0, 0) 100%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 10;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 4rem;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 1.2;
    position: relative;
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-gray);
    margin-top: -2rem;
    margin-bottom: 3rem;
    font-weight: 300;
    position: relative;
}

/* Portfolio Section - Wider Container */
.portfolio-section {
    padding-top: 8rem;
}

.portfolio-section .container {
    max-width: 1200px !important;
    padding: 0 2rem !important;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    perspective: 1000px; /* Enable 3D perspective for child elements */
}

.portfolio-card {
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    background: rgba(255, 255, 255, 0.02);
    transform-style: preserve-3d; /* Enable 3D transforms */
    will-change: transform; /* Optimize performance */
}

.portfolio-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    background: #1a1a1a;
    transform: translateZ(20px); /* Add depth to image layer */
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.view-project {
    color: var(--text-white);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
}

.portfolio-info {
    padding: 1.5rem;
    transform: translateZ(10px); /* Slightly less depth than image */
}

.portfolio-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--text-gray);
    font-size: 0.95rem;
    font-weight: 300;
}

.portfolio-result {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-white);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Services Section */
.services-section {
    background: var(--bg-black);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.service-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2.5rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 4px;
    transition: var(--transition-smooth);
    align-items: center;
}

.service-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    transform: translateX(10px);
}

.service-card-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.service-card-left h3 {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.service-description {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.6;
}

.service-card-right {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.service-features li {
    color: var(--text-white);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    padding-left: 2rem;
}

.service-features li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--text-white);
    font-weight: 700;
}

.service-features li:last-child {
    border-bottom: none;
}

/* Pricing Section */
.pricing-section {
    background: var(--bg-black);
    padding-top: 8rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    align-items: stretch;
}

.pricing-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    padding: 2.5rem 2rem;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    transform: scale(1.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-10px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.pricing-card.selected {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05) translateY(-10px) !important;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card.featured.selected {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.05) translateY(-10px) !important;
    box-shadow: 0 10px 50px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card.selected:hover {
    transform: scale(1.05) translateY(-10px) !important;
}

.pricing-card.selected .btn-primary,
.pricing-card.selected .btn-secondary {
    background: var(--text-white) !important;
    color: #000000 !important;
    border-color: var(--text-white) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-white);
    color: var(--bg-black);
    padding: 0.5rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 20px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-description {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    color: var(--text-white);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    text-align: center;
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card .btn-primary:hover,
.pricing-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.pricing-note {
    text-align: center;
    margin-top: 3rem;
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Process Section */
.process-section {
    background: var(--bg-black);
    padding-top: 8rem;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 4rem;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    padding: 2rem;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.process-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.process-arrow svg {
    opacity: 0.6;
    transition: all 0.3s ease;
}

.process-arrow:hover svg {
    opacity: 1;
    transform: translateX(5px);
}

.step-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Responsive adjustments for process section */
@media (max-width: 1024px) {
    .process-arrow {
        display: none;
    }
    
    .process-steps {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
    }
    
    .process-step {
        max-width: none;
    }
}

/* Stats Section */
.stats-section {
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 4rem;
    text-align: center;
}

.stat-number {
    font-size: clamp(4rem, 8vw, 6rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #666666 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 300;
}

/* Contact Section */
.contact-section {
    background: var(--bg-black);
    padding-top: 8rem;
}

.contact-content-centered {
    max-width: 800px;
    margin: 4rem auto 0;
}

.contact-form-wide {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
    border-radius: 2px;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 3rem;
}

.form-group select option {
    background: var(--bg-black);
    color: var(--text-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--text-white);
    background: rgba(0, 0, 0, 0.9);
}

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

.contact-info-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-bottom p {
    color: var(--text-gray);
    font-size: 1rem;
}

.inline-link {
    color: var(--text-white);
    text-decoration: none;
    border-bottom: 1px solid var(--text-gray);
    transition: var(--transition-smooth);
}

.inline-link:hover {
    border-bottom-color: var(--text-white);
}

.form-message {
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 4px;
    display: none;
    text-align: center;
}

.form-message.success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid rgba(0, 255, 0, 0.3);
    color: #00ff00;
    display: block;
}

.form-message.error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff0000;
    display: block;
}

/* Footer */
.footer {
    background: var(--bg-black);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-gray);
    max-width: 300px;
}

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

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease 0.6s forwards;
}

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

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-smooth);
}

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

/* Responsive */
@media (max-width: 1200px) {
    .pricing-card.featured {
        transform: scale(1.02);
    }
}

@media (max-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .portfolio-image {
        height: 300px;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .section {
        padding: 4rem 0;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .portfolio-image {
        height: 350px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }

    .service-card:hover {
        transform: translateY(-5px);
    }

    .service-card-left h3 {
        font-size: 1.5rem;
    }

    .service-number {
        font-size: 2.5rem;
    }

    .service-features li {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
        padding-left: 1.8rem;
    }

    .services-section {
        padding-top: 6rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .contact-content-centered {
        margin-top: 2rem;
    }

    .footer-content {
        flex-direction: column;
    }

    .sticky-nav-content {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .sticky-nav-logo {
        height: 60px;
    }

    .nav-links {
        position: static;
        transform: none;
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .btn-small {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        width: auto;
    }
}

/* Smooth Scrollbar */
::selection {
    background: var(--text-white);
    color: var(--bg-black);
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: #000000;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Magnetic Elements */
.magnetic {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

/* Enhanced cursor for interactive elements */
.portfolio-card,
.btn-primary,
.btn-secondary,
.magnetic {
    cursor: pointer;
}

.portfolio-card:active,
.btn-primary:active,
.btn-secondary:active {
    transform: scale(0.98);
}

/* Work in Progress Card Styles */
.wip-card {
    opacity: 0.7;
    cursor: default;
    pointer-events: none;
    filter: grayscale(30%);
}

.wip-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.wip-overlay {
    opacity: 1 !important;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(3px);
}

.wip-badge {
    color: var(--text-white);
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.wip-text {
    color: var(--text-gray);
    font-style: italic;
    opacity: 0.6;
}

/* Privacy Policy Expandable Section */
.privacy-expandable {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.98) 0%, rgba(0, 0, 0, 1) 10%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 100;
}

.privacy-expandable.expanded {
    max-height: 3000px; /* Large enough to fit all content */
}

.privacy-content {
    padding: 4rem 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s;
}

.privacy-expandable.expanded .privacy-content {
    opacity: 1;
    transform: translateY(0);
}

.privacy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.privacy-header h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
}

.privacy-close {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

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

.privacy-body {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-updated {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.privacy-section-item {
    margin-bottom: 2.5rem;
}

.privacy-section-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.privacy-section-item p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.privacy-section-item ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.privacy-section-item ul li {
    color: var(--text-gray);
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    line-height: 1.6;
}

.privacy-section-item ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.2rem;
}

.privacy-section-item a {
    color: var(--text-white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition-smooth);
}

.privacy-section-item a:hover {
    border-bottom-color: var(--text-white);
}

/* Responsive adjustments for privacy section */
@media (max-width: 768px) {
    .privacy-content {
        padding: 3rem 0;
    }
    
    .privacy-header {
        flex-direction: row;
        gap: 1rem;
    }
    
    .privacy-header h2 {
        font-size: 1.8rem;
    }
    
    .privacy-close {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    
    .privacy-section-item h3 {
        font-size: 1.2rem;
    }
    
    .privacy-expandable.expanded {
        max-height: 5000px; /* More space on mobile due to text wrapping */
    }
}

